query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
9caf139837d22d26b46c381e7ab55577
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_YR_REGION_2G_3G.DCR_3G
[ { "docid": "d4925a0e3f3e8e71c375f59b9980882a", "score": "0.6756048", "text": "public Float getDcr3g() {\n return dcr3g;\n }", "title": "" } ]
[ { "docid": "20fe9d578a567b5ee658a169a4d18d3f", "score": "0.63975966", "text": "public String getCOrg()\n {\n return ds.getString(\"CORG\");\n }", "title": "" }, { "docid": "20fe9d578a567b5ee658a169a4d18d3f", "score": "0.63975966", "text": "public String getCOrg()\n {\n return ds.getString(\"CORG\");\n }", "title": "" }, { "docid": "066175dce63a2698cb375c2f7f3714f6", "score": "0.6309701", "text": "public String getRsv3() {\r\n return rsv3;\r\n }", "title": "" }, { "docid": "d804de9b6de2bed8bf8c27b9e92d85b1", "score": "0.60150623", "text": "public Float getCssr3g() {\n return cssr3g;\n }", "title": "" }, { "docid": "404a7f0509efc4008d02ff369804f08a", "score": "0.59837556", "text": "public String getCGCRG_CODIGO(){\n\t\treturn this.myCgcrg_codigo;\n\t}", "title": "" }, { "docid": "27a74ee1e5a3b9c6849d3cd1b0cdfb11", "score": "0.5911976", "text": "public java.lang.String getCustGrp3() {\n return custGrp3;\n }", "title": "" }, { "docid": "3b0ccd746cc2284afcbbfbc1e2c4598e", "score": "0.59050024", "text": "public java.lang.String getCapMan__Revenue3__c() {\n return capMan__Revenue3__c;\n }", "title": "" }, { "docid": "6cec4a58f6ef782133ede9b80920829b", "score": "0.5891869", "text": "public innova.common.InnovaCommon.Float4 getR3() {\n return r3_ == null ? innova.common.InnovaCommon.Float4.getDefaultInstance() : r3_;\n }", "title": "" }, { "docid": "2e271d10f4fa20211faa8c7221767f4e", "score": "0.5827592", "text": "innova.common.InnovaCommon.Float4 getR3();", "title": "" }, { "docid": "58b897aa6ab19b2c020f673fac78c9ac", "score": "0.57809967", "text": "public innova.common.InnovaCommon.Float4 getR3() {\n if (r3Builder_ == null) {\n return r3_ == null ? innova.common.InnovaCommon.Float4.getDefaultInstance() : r3_;\n } else {\n return r3Builder_.getMessage();\n }\n }", "title": "" }, { "docid": "a3c32e7754f5cc2070130618577ba3a3", "score": "0.575796", "text": "public java.lang.String getCstcndgrp3() {\n return cstcndgrp3;\n }", "title": "" }, { "docid": "b2b13a651cc1eb1c8c6128796dfe21c2", "score": "0.5690786", "text": "public java.lang.String getCustomValue3() {\r\n return customValue3;\r\n }", "title": "" }, { "docid": "4fa45e4b238a0869ce65079bd07dabc3", "score": "0.5682574", "text": "public BigDecimal getRedu3() {\r\n\t\treturn this.redu3;\r\n\t}", "title": "" }, { "docid": "5c16ddbd6ba7133b8ba042d2e9dea1c6", "score": "0.5625673", "text": "public String getCRTSG_CODIGO(){\n\t\treturn this.myCrtsg_codigo;\n\t}", "title": "" }, { "docid": "3b0eabbbe6dd5456fefe32a5fb112806", "score": "0.56114036", "text": "public Float getDlData2g3g() {\n return dlData2g3g;\n }", "title": "" }, { "docid": "dcb1fdcc21c2455f24db7e01efd5b0d1", "score": "0.5529942", "text": "public java.lang.Double getCapMan__Q3PRd__c() {\n return capMan__Q3PRd__c;\n }", "title": "" }, { "docid": "f07d11bfe0918c09c6b21ceb68192171", "score": "0.5420993", "text": "public void setDcr3g(Float dcr3g) {\n this.dcr3g = dcr3g;\n }", "title": "" }, { "docid": "b167cf45b9d8a86530908ae6ce0690f8", "score": "0.5416052", "text": "public java.lang.Double getCapMan__Q3ARd__c() {\n return capMan__Q3ARd__c;\n }", "title": "" }, { "docid": "4e29b858344ca45e9f9e94806fb2f991", "score": "0.54083246", "text": "public java.lang.String getValor3() {\n\t\treturn _configuracionPerfilador.getValor3();\n\t}", "title": "" }, { "docid": "4b25a87b7ef4b7bf4fc7a528d64f2ba7", "score": "0.5379404", "text": "public innova.common.InnovaCommon.Float4OrBuilder getR3OrBuilder() {\n if (r3Builder_ != null) {\n return r3Builder_.getMessageOrBuilder();\n } else {\n return r3_ == null ?\n innova.common.InnovaCommon.Float4.getDefaultInstance() : r3_;\n }\n }", "title": "" }, { "docid": "489619cbad50f56e2a262c6a8f9c7499", "score": "0.5363282", "text": "public Float getDlData3g() {\n return dlData3g;\n }", "title": "" }, { "docid": "a63e8e61c7dc7f4e454aa8dfca395fa7", "score": "0.5344051", "text": "public String getRg() {\n return rg;\n }", "title": "" }, { "docid": "aa7a9534f790747b55a83fb098451b65", "score": "0.5329412", "text": "public Float getDcr2g() {\n return dcr2g;\n }", "title": "" }, { "docid": "3f85cee9aaf6dee2833ba6ecf2ef9ff3", "score": "0.53237885", "text": "public Integer getMudRc3() {\n return mudRc3;\n }", "title": "" }, { "docid": "c17df0660fb6d44de48e817498137ff8", "score": "0.5323204", "text": "public Float getBadCell3g() {\n return badCell3g;\n }", "title": "" }, { "docid": "ed0d1770d8a83318760645c45e72c951", "score": "0.5315265", "text": "public innova.common.InnovaCommon.Float4OrBuilder getR3OrBuilder() {\n return getR3();\n }", "title": "" }, { "docid": "3acc73d9e3fb7f3da1e852b3d448ce9f", "score": "0.5302206", "text": "public Float getUlData2g3g() {\n return ulData2g3g;\n }", "title": "" }, { "docid": "bc58ee5542bf1109397f830e184c707f", "score": "0.5286598", "text": "public String getEconomicRegion() {\n return economicRegion;\n }", "title": "" }, { "docid": "a8f5c362367333fa62fafb363238c28c", "score": "0.5269275", "text": "public Integer getF3() {\r\n return f3;\r\n }", "title": "" }, { "docid": "a8f5c362367333fa62fafb363238c28c", "score": "0.5269275", "text": "public Integer getF3() {\r\n return f3;\r\n }", "title": "" }, { "docid": "d0637102fa2d332c12f57d1460f87c09", "score": "0.5268232", "text": "@Override\n\tpublic java.lang.String getDgcode2() {\n\t\treturn _pathologyData.getDgcode2();\n\t}", "title": "" }, { "docid": "3944eec86bd79d6ecd824132ca45799b", "score": "0.5267735", "text": "public Group getGroup_3() { return cGroup_3; }", "title": "" }, { "docid": "3944eec86bd79d6ecd824132ca45799b", "score": "0.5267735", "text": "public Group getGroup_3() { return cGroup_3; }", "title": "" }, { "docid": "16646b9d2fb752c4fc8443a469e2327c", "score": "0.5263652", "text": "public static String getCOM3()\r\n {\r\n String rval = \"null\";\r\n if(queryRegistry(COM3_CMD, REGSTR_TOKEN) != null)\r\n {\r\n rval = queryRegistry(COM3_CMD, REGSTR_TOKEN);\r\n }\r\n return rval;\r\n }", "title": "" }, { "docid": "6c1fe5daacfb338ee433ab64b996126a", "score": "0.5259007", "text": "public java.lang.String getTaxClass3() {\n return taxClass3;\n }", "title": "" }, { "docid": "97a7dbf33a41b8bf3244278293f49d83", "score": "0.5257576", "text": "public java.lang.String getCustGrp4() {\n return custGrp4;\n }", "title": "" }, { "docid": "a73ac16d2c7801ca7521060016efdc15", "score": "0.52370065", "text": "public String getDef3() {\n return def3;\n }", "title": "" }, { "docid": "a73ac16d2c7801ca7521060016efdc15", "score": "0.52370065", "text": "public String getDef3() {\n return def3;\n }", "title": "" }, { "docid": "fc77653b6c844d2a9a3284619afb6aba", "score": "0.52260864", "text": "public String getRegionCode() {\n return regionCode;\n }", "title": "" }, { "docid": "fc77653b6c844d2a9a3284619afb6aba", "score": "0.52260864", "text": "public String getRegionCode() {\n return regionCode;\n }", "title": "" }, { "docid": "64423a8c5367acfc6e09736748b4e49f", "score": "0.52184397", "text": "public java.lang.String getRESERVED3() {\n return RESERVED3;\n }", "title": "" }, { "docid": "f588c447ea523fa2bd6e22d26b7e7043", "score": "0.5210032", "text": "public java.lang.Double getCapMan__Q3PGp__c() {\n return capMan__Q3PGp__c;\n }", "title": "" }, { "docid": "f0b55a85952a08b1ea2784855a5a54df", "score": "0.51843953", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n innova.common.InnovaCommon.Float4, innova.common.InnovaCommon.Float4.Builder, innova.common.InnovaCommon.Float4OrBuilder> \n getR3FieldBuilder() {\n if (r3Builder_ == null) {\n r3Builder_ = new com.google.protobuf.SingleFieldBuilderV3<\n innova.common.InnovaCommon.Float4, innova.common.InnovaCommon.Float4.Builder, innova.common.InnovaCommon.Float4OrBuilder>(\n getR3(),\n getParentForChildren(),\n isClean());\n r3_ = null;\n }\n return r3Builder_;\n }", "title": "" }, { "docid": "0e8cc4395a921e2498ef63f5bcdfb089", "score": "0.51698893", "text": "public java.lang.String getCstcndgrp4() {\n return cstcndgrp4;\n }", "title": "" }, { "docid": "75f1bffea333abca9b6e5191adc98411", "score": "0.5168377", "text": "public Integer getRegionCode(){\n int res = authorityID[2]<<8 | authorityID[3];\n return res;\n }", "title": "" }, { "docid": "cce2ee202070d1a89e3b3a94f0dbe66a", "score": "0.51509166", "text": "public String countryOrRegion() {\n return this.countryOrRegion;\n }", "title": "" }, { "docid": "0f7ca77828725c087c8c0796364bf558", "score": "0.51313776", "text": "@Required\n public String getValue() {\n return getCidrValue();\n }", "title": "" }, { "docid": "5037bb4e375d328ea5ffcbc91312ee48", "score": "0.5118568", "text": "public String getCGVCN_DIRECCION(){\n\t\treturn this.myCgvcn_direccion;\n\t}", "title": "" }, { "docid": "febd3ba383b74ec142f6e229fd3eefb1", "score": "0.5109852", "text": "public String getJP_COGS_Acct_Value () \n\t{\n\t\treturn (String)get_Value(COLUMNNAME_JP_COGS_Acct_Value);\n\t}", "title": "" }, { "docid": "702cf1e304c656c91baeaf10c94755de", "score": "0.5095046", "text": "@Override\n public java.lang.Object getSym3() throws G2AccessException {\n java.lang.Object retnValue = getAttributeValue (SYM_3_);\n return (java.lang.Object)retnValue;\n }", "title": "" }, { "docid": "6d7effca16f048addfc243ad1269296d", "score": "0.50904167", "text": "public IA5String getConsTimeZoneChgCd()\n {\n\treturn (IA5String)mComponents[34];\n }", "title": "" }, { "docid": "47194f02eb48a1833dfee20a784a07f9", "score": "0.5090018", "text": "public String getJP_Line_OrgTrx_Value();", "title": "" }, { "docid": "4d7739e04e4577bf3e6cab4223d82025", "score": "0.50856566", "text": "public java.lang.Double getCapMan__Q3PLic__c() {\n return capMan__Q3PLic__c;\n }", "title": "" }, { "docid": "04850a1ff82459b093ef5ac62815bd76", "score": "0.50826395", "text": "public java.lang.Double getCapMan__Q3PGa__c() {\n return capMan__Q3PGa__c;\n }", "title": "" }, { "docid": "2014e83256db73d65d7067af408848ee", "score": "0.5068139", "text": "public java.lang.Double getCapMan__Q3PCogs__c() {\n return capMan__Q3PCogs__c;\n }", "title": "" }, { "docid": "42a6dff8f202ed4cd5462038cd60d543", "score": "0.50624114", "text": "public String getCrv() {\n return this.crv;\n }", "title": "" }, { "docid": "377e238b42bed18e0affde81a87f245d", "score": "0.5057174", "text": "public com.besixplus.sii.objects.Cgg_kdx_vd_denominacion getCgg_kdx_vd_denominacion(){\n\t\treturn this.myCgg_kdx_vd_denominacion;\n\t}", "title": "" }, { "docid": "5f2d05271a64eeff9e808ca8687cee85", "score": "0.5051559", "text": "public us.ihmc.euclid.tuple3D.Vector3D getCom()\n {\n return com_;\n }", "title": "" }, { "docid": "ee4e4a0116f915238c0efead516885f3", "score": "0.50435853", "text": "public java.lang.String getCapMan__Q3_Actual__c() {\n return capMan__Q3_Actual__c;\n }", "title": "" }, { "docid": "7f78fa244181e3f32e9b6285c29b657f", "score": "0.50362927", "text": "public Float getCssr2g() {\n return cssr2g;\n }", "title": "" }, { "docid": "12632acb46c0137c8767b8d64be3eb9e", "score": "0.5030771", "text": "public java.lang.Double getCapMan__Q3POpEx__c() {\n return capMan__Q3POpEx__c;\n }", "title": "" }, { "docid": "ac6c3e1477f649dd03c608f76012fff8", "score": "0.50268006", "text": "public java.lang.String getCustomValue4() {\r\n return customValue4;\r\n }", "title": "" }, { "docid": "36895496e67e5d831443711995656b7a", "score": "0.501591", "text": "public double getAngle3() {\n return angle3;\n }", "title": "" }, { "docid": "53fd06019639bac7a3cb48a764dff4bb", "score": "0.50155723", "text": "public Float getCs64Drpr() {\n return cs64Drpr;\n }", "title": "" }, { "docid": "914f93bd3cd52ea99e18cb6861d4cdfd", "score": "0.5014743", "text": "public String getRsv4() {\r\n return rsv4;\r\n }", "title": "" }, { "docid": "3ffb5fc126f49d4321acf2e0e02694b8", "score": "0.5014294", "text": "private String getColorZone() {\n String reg = txtRegione.getText().toString();\n for(Regione r : lstRegioni) {\n if(r.regione.contains(reg))\n return r.colore;\n }\n return \"\";\n }", "title": "" }, { "docid": "0225ab721b174f43f8d6955a9c4b7d4c", "score": "0.501381", "text": "public java.lang.String getDef3()\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(DEF3$62, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "title": "" }, { "docid": "1cbf04387a9f77d7c4d59f2156b763b6", "score": "0.5002094", "text": "public void setRsv3(String rsv3) {\r\n this.rsv3 = rsv3;\r\n }", "title": "" }, { "docid": "892997687ad7084f066aed6628a918ed", "score": "0.5001749", "text": "public String getCGVCN_CODIGO(){\n\t\treturn this.myCgvcn_codigo;\n\t}", "title": "" }, { "docid": "f58af4d8a43173d0e4a61c0e63afe569", "score": "0.5000606", "text": "public final int getRegionalX() {\r\n return (x >> 3) - 6;\r\n }", "title": "" }, { "docid": "1d387b47c11d8f669499c2601eff3f9d", "score": "0.49998087", "text": "public java.lang.Double getCapMan__Q3ASvc__c() {\n return capMan__Q3ASvc__c;\n }", "title": "" }, { "docid": "22844356266a8ae6408683bd88a9e2f3", "score": "0.4995026", "text": "public int getThirdPartiesBillingIndicator()\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(THIRDPARTIESBILLINGINDICATOR$0, 0);\n if (target == null)\n {\n return 0;\n }\n return target.getIntValue();\n }\n }", "title": "" }, { "docid": "b9e1bbd0c0ea47ae462728f996d5a606", "score": "0.49936244", "text": "public BigDecimal getDEBIT_ACCRUALS_GRACE_PRD() {\r\n return DEBIT_ACCRUALS_GRACE_PRD;\r\n }", "title": "" }, { "docid": "a5bdad79a60860cc98b316034436250c", "score": "0.498863", "text": "@Override\n public double getZ3() {\n return this.coordinate.getCoords().getZ();\n }", "title": "" }, { "docid": "46a86ba5fb71a0a19e45b5ca349cb8fe", "score": "0.49882835", "text": "private void getQuarter3Value() {\r\n\t\tString monthTotal = TextUtils.isEmpty(ApplicationLoader\r\n\t\t\t\t.getPreferences().getQuarterTotal3()) ? \"0\" : ApplicationLoader\r\n\t\t\t\t.getPreferences().getQuarterTotal3();\r\n\t\tString kpiTotal = TextUtils.isEmpty(ApplicationLoader.getPreferences()\r\n\t\t\t\t.getKPITotalValue3()) ? \"0\" : ApplicationLoader\r\n\t\t\t\t.getPreferences().getKPITotalValue3();\r\n\t\tString productTotal = TextUtils.isEmpty(ApplicationLoader\r\n\t\t\t\t.getPreferences().getProductTotalValue3()) ? \"0\"\r\n\t\t\t\t: ApplicationLoader.getPreferences().getProductTotalValue3();\r\n\t\tString quarterTotal = TextUtils.isEmpty(ApplicationLoader\r\n\t\t\t\t.getPreferences().getQValue3()) ? \"0\" : ApplicationLoader\r\n\t\t\t\t.getPreferences().getQValue3();\r\n\r\n\t\tString quarter1Total = String.valueOf(Integer.parseInt(monthTotal)\r\n\t\t\t\t+ Integer.parseInt(kpiTotal) + Integer.parseInt(productTotal)\r\n\t\t\t\t+ Integer.parseInt(quarterTotal));\r\n\t\tmQuarterTotal3.setText(quarter1Total);\r\n\t}", "title": "" }, { "docid": "ff0500b74a60eee276c7efed16396109", "score": "0.498173", "text": "public String getVarfin3() {\r\n\t\treturn this.varfin3;\r\n\t}", "title": "" }, { "docid": "cbe9c1d90838fb4e020f41392be78443", "score": "0.4976058", "text": "public int getRegionX() {\n return getX() >> 3;\n }", "title": "" }, { "docid": "88bf9e77dbd0a9ecc7c351bddbfa665c", "score": "0.4972042", "text": "public x0401.oecdStandardAuditFileTaxPT1.ThirdPartiesBillingIndicatorDocument.ThirdPartiesBillingIndicator xgetThirdPartiesBillingIndicator()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0401.oecdStandardAuditFileTaxPT1.ThirdPartiesBillingIndicatorDocument.ThirdPartiesBillingIndicator target = null;\n target = (x0401.oecdStandardAuditFileTaxPT1.ThirdPartiesBillingIndicatorDocument.ThirdPartiesBillingIndicator)get_store().find_element_user(THIRDPARTIESBILLINGINDICATOR$0, 0);\n return target;\n }\n }", "title": "" }, { "docid": "74bcbb059448078040ee0d3480db757d", "score": "0.49635914", "text": "public String toEsriString(){ \r\n String result = \"\";\r\n String geoName = \"GCS_WGS_1984\";\r\n Projection proj = this.crs.getProjection();\r\n if (proj.getName().equals(\"longlat\")) {\r\n result = \"GEOGCS[\\\"\" + geoName + \"\\\",\" + toEsriString(this.crs.getDatum()) + \",\" + \"PRIMEM[\\\"Greenwich\\\",0.0]\"\r\n + \",\" + \"UNIT[\\\"Degree\\\",0.0174532925199433]\" + \"]\";\r\n return result;\r\n } else {\r\n String name = \"Custom\";\r\n result = \"PROJCS[\\\"\" + name + \"\\\",\" + \"GEOGCS[\\\"\" + geoName + \"\\\",\" + toEsriString(this.crs.getDatum()) + \",\"\r\n + \"PRIMEM[\\\"Greenwich\\\",0.0]\" + \",\" + \"UNIT[\\\"Degree\\\",0.0174532925199433]\" + \"]\" + \", \";\r\n }\r\n\r\n result += \"PROJECTION[\\\"\" + proj.getName() + \"\\\"],\"; \r\n result += \"PARAMETER[\\\"False_Easting\\\",\" + String.valueOf(proj.getFalseEasting()) + \"],\";\r\n result += \"PARAMETER[\\\"False_Northing\\\",\" + String.valueOf(proj.getFalseNorthing()) + \"],\";\r\n result += \"PARAMETER[\\\"Central_Meridian\\\",\" + String.valueOf(proj.getProjectionLongitudeDegrees()) + \"],\";\r\n result += \"PARAMETER[\\\"Standard_Parallel_1\\\",\" + String.valueOf(proj.getProjectionLatitude1Degrees()) + \"],\";\r\n result += \"PARAMETER[\\\"Standard_Parallel_2\\\",\" + String.valueOf(proj.getProjectionLatitude2Degrees()) + \"],\";\r\n result += \"PARAMETER[\\\"Scale_Factor\\\",\" + String.valueOf(proj.getScaleFactor()) + \"],\";\r\n result += \"PARAMETER[\\\"Latitude_Of_Origin\\\",\" + String.valueOf(proj.getProjectionLatitudeDegrees()) + \"],\";\r\n result += \"UNIT[\\\"Meter\\\",1.0]]\";\r\n return result;\r\n \r\n }", "title": "" }, { "docid": "3264ece30e7e5104bc61f2ad28fdaafa", "score": "0.49621028", "text": "public ExternalId getRegion() {\n return _region;\n }", "title": "" }, { "docid": "64ebec02361409d28ad30533459b8e72", "score": "0.4960715", "text": "public java.lang.Double getCapMan__Q3AGp__c() {\n return capMan__Q3AGp__c;\n }", "title": "" }, { "docid": "2e6a98d3601af5c16cb404d2315c387e", "score": "0.49592257", "text": "public String getTestcol3() {\r\n return testcol3;\r\n }", "title": "" }, { "docid": "91b8b67b7727d56617264f808eb32c0b", "score": "0.49538627", "text": "public java.lang.Double getCapMan__Q3AOpEx__c() {\n return capMan__Q3AOpEx__c;\n }", "title": "" }, { "docid": "6f602690c56e41365ad743cfabdd5a3a", "score": "0.49498928", "text": "@Field(4) \n\tpublic Pointer<gio.GVfsClass._g_reserved3_callback > _g_reserved3() {\n\t\treturn this.io.getPointerField(this, 4);\n\t}", "title": "" }, { "docid": "f1ebed7ccbadef1207c9019647dfc87c", "score": "0.49493474", "text": "public BigDecimal getGRACE_PERIOD_OPTION() {\r\n return GRACE_PERIOD_OPTION;\r\n }", "title": "" }, { "docid": "86c47f7ebdec2d17fe558edd8eef3c51", "score": "0.49474326", "text": "public String getCampo3() {\r\n\t\treturn this.campo3;\r\n\t}", "title": "" }, { "docid": "e036621e48d93cccd5b91eefee212bb9", "score": "0.4943701", "text": "public Float getUlData3g() {\n return ulData3g;\n }", "title": "" }, { "docid": "e594ce24151a1e6348a71d528774577a", "score": "0.49395093", "text": "public String getSpareCol3() {\n return spareCol3;\n }", "title": "" }, { "docid": "12da5c8fe1ae0a5f01dc9420f0a63574", "score": "0.4937765", "text": "@Override\n\tpublic java.lang.String getDgcode1() {\n\t\treturn _pathologyData.getDgcode1();\n\t}", "title": "" }, { "docid": "d3cc4fd09bd1d80d4eebb64f229a838e", "score": "0.49347958", "text": "public java.lang.String getBaseCurrCd () {\n\t\treturn baseCurrCd;\n\t}", "title": "" }, { "docid": "17113ed69ff07292a1b99d13fbdef97f", "score": "0.49326497", "text": "public Group getGroup_3_0() { return cGroup_3_0; }", "title": "" }, { "docid": "5563f7b39de37df13cd1ca440277f385", "score": "0.49271664", "text": "public innova.common.InnovaCommon.Float4.Builder getR3Builder() {\n \n onChanged();\n return getR3FieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ecbcb45f1d4f96626cf1538fb70ba526", "score": "0.4926005", "text": "public String getJP_OrgTrx_Value();", "title": "" }, { "docid": "e1b20936343230c4332ccae7423a5ff3", "score": "0.49226463", "text": "public org.drip.optimization.regularity.ConstraintQualifierLICQ licq()\n\t{\n\t\treturn _cqLICQ;\n\t}", "title": "" }, { "docid": "9fbd5f4c1b08843f0eb89c93dc60322c", "score": "0.49110875", "text": "public Group getGroup_1_3() { return cGroup_1_3; }", "title": "" }, { "docid": "9fbd5f4c1b08843f0eb89c93dc60322c", "score": "0.49110875", "text": "public Group getGroup_1_3() { return cGroup_1_3; }", "title": "" }, { "docid": "9fbd5f4c1b08843f0eb89c93dc60322c", "score": "0.49110875", "text": "public Group getGroup_1_3() { return cGroup_1_3; }", "title": "" }, { "docid": "b9c54c00daa06fa48029a7b4a8780f20", "score": "0.49107167", "text": "public java.lang.Double getCapMan__Q3ACogs__c() {\n return capMan__Q3ACogs__c;\n }", "title": "" }, { "docid": "29d94f3fe08522fc3553e2b19342fce3", "score": "0.49008304", "text": "public java.lang.Double getCapMan__Q3PSvc__c() {\n return capMan__Q3PSvc__c;\n }", "title": "" }, { "docid": "0d1a3fe0e5bce916d6bf7d3ae865a388", "score": "0.4894429", "text": "double getD3_double();", "title": "" } ]
55341efd349e3199198ab26af7995edc
Resets the scanner to read from a new input stream. Does not close the old reader. All internal variables are reset, the old input stream cannot be reused (internal buffer is discarded and lost). Lexical state is set to ZZ_INITIAL.
[ { "docid": "28d2cc861d7d3422a03904e5806e16a1", "score": "0.66649485", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n }", "title": "" } ]
[ { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.6968669", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.6968669", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.6968669", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.6968669", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.6968669", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.6968669", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.6968669", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.6968669", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFinalHighSurrogate = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "45013d81ce0706172d8dd3e6d93f5fc9", "score": "0.69421315", "text": "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n zzFinalHighSurrogate = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n if (zzBuffer.length > ZZ_BUFFERSIZE)\r\n zzBuffer = new char[ZZ_BUFFERSIZE];\r\n }", "title": "" }, { "docid": "45013d81ce0706172d8dd3e6d93f5fc9", "score": "0.69421315", "text": "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n zzFinalHighSurrogate = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n if (zzBuffer.length > ZZ_BUFFERSIZE)\r\n zzBuffer = new char[ZZ_BUFFERSIZE];\r\n }", "title": "" }, { "docid": "2d4304e6f55530ce72476dc242e93ff9", "score": "0.69246525", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "2d4304e6f55530ce72476dc242e93ff9", "score": "0.69246525", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n if (zzBuffer.length > ZZ_BUFFERSIZE)\n zzBuffer = new char[ZZ_BUFFERSIZE];\n }", "title": "" }, { "docid": "336938a0a8f1186331b101b84d436513", "score": "0.6659554", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n }", "title": "" }, { "docid": "336938a0a8f1186331b101b84d436513", "score": "0.6659554", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n }", "title": "" }, { "docid": "336938a0a8f1186331b101b84d436513", "score": "0.6659554", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n }", "title": "" }, { "docid": "5844a238ad136d97141060f4cdc2de9e", "score": "0.6645018", "text": "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n }", "title": "" }, { "docid": "5844a238ad136d97141060f4cdc2de9e", "score": "0.6645018", "text": "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n }", "title": "" }, { "docid": "5844a238ad136d97141060f4cdc2de9e", "score": "0.6645018", "text": "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n }", "title": "" }, { "docid": "5844a238ad136d97141060f4cdc2de9e", "score": "0.6645018", "text": "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEOFDone = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n }", "title": "" }, { "docid": "1bbb0d523cde91363cec573d9147dc94", "score": "0.6639168", "text": "public final void yyreset(java.io.Reader reader) {\r\n zzReader = reader;\r\n zzAtBOL = true;\r\n zzAtEOF = false;\r\n zzEndRead = zzStartRead = 0;\r\n zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;\r\n yyline = yychar = yycolumn = 0;\r\n zzLexicalState = YYINITIAL;\r\n }", "title": "" }, { "docid": "51c1a404acb634bcc46b185ca01eb899", "score": "0.663328", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n }", "title": "" }, { "docid": "e4206f25d2755f3e5a2d69dceb664a8b", "score": "0.6630187", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n zzLexicalState = YYINITIAL;\n }", "title": "" }, { "docid": "2287934cc5b00bbf010a90c517ad0e31", "score": "0.64643705", "text": "public Scanner reset() {\n delimiter = DEFAULT_DELIMITER;\n locale = Locale.getDefault();\n integerRadix = 10;\n return this;\n }", "title": "" }, { "docid": "c26762d4979a4b9ec5ca08fa9028547f", "score": "0.6461621", "text": "@Override\n public void reset(java.io.Reader in, int newOffset) {\n if (Debug.debugTokenizer) {\n System.out.println(\"resetting tokenizer\");//$NON-NLS-1$\n }\n fOffset = newOffset;\n\n /* the input device */\n yy_reader = in;\n\n /* the current state of the DFA */\n yy_state = 0;\n\n /* the current lexical state */\n yy_lexical_state = YYINITIAL;\n\n /*\n * this buffer contains the current text to be matched and is the source\n * of the yytext() string\n */\n java.util.Arrays.fill(yy_buffer, (char) 0);\n\n /* the textposition at the last accepting state */\n yy_markedPos = 0;\n\n /* the textposition at the last state to be included in yytext */\n yy_pushbackPos = 0;\n\n /* the current text position in the buffer */\n yy_currentPos = 0;\n\n /* startRead marks the beginning of the yytext() string in the buffer */\n yy_startRead = 0;\n\n /**\n * endRead marks the last character in the buffer, that has been read\n * from input\n */\n yy_endRead = 0;\n\n /* number of newlines encountered up to the start of the matched text */\n yyline = 0;\n\n /* the number of characters up to the start of the matched text */\n yychar = 0;\n\n /* yy_atEOF == true <=> the scanner has returned a value for EOF */\n yy_atEOF = false;\n\n /* denotes if the user-EOF-code has already been executed */\n yy_eof_done = false;\n\n /* user vars: */\n fLastInternalBlockStart = -1;\n\n fTokenCount = 0;\n\n fShouldLoadBuffered = false;\n fBufferedContext = null;\n fBufferedText = null;\n fBufferedStart = 1;\n fBufferedLength = 0;\n fStateStack = new IntStack();\n\n context = null;\n text = null;\n start = 0;\n textLength = 0;\n length = 0;\n }", "title": "" }, { "docid": "1722a5b37eb2600e1155ce26b9d82f08", "score": "0.6430774", "text": "public final void yyreset(java.io.Reader reader) throws java.io.IOException {\n yyclose();\n yy_reader = reader;\n yy_atBOL = true;\n yy_atEOF = false;\n yy_endRead = yy_startRead = 0;\n yy_currentPos = yy_markedPos = yy_pushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n yy_lexical_state = YYINITIAL;\n }", "title": "" }, { "docid": "acaef70c7bc75ebc3b9a719b8532a0e8", "score": "0.63772506", "text": "final public void yyreset(java.io.Reader reader) throws java.io.IOException {\n yyclose();\n yy_reader = reader;\n yy_atBOL = true;\n yy_atEOF = false;\n yy_endRead = yy_startRead = 0;\n yy_currentPos = yy_markedPos = yy_pushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n yy_lexical_state = YYINITIAL;\n }", "title": "" }, { "docid": "acaef70c7bc75ebc3b9a719b8532a0e8", "score": "0.63772506", "text": "final public void yyreset(java.io.Reader reader) throws java.io.IOException {\n yyclose();\n yy_reader = reader;\n yy_atBOL = true;\n yy_atEOF = false;\n yy_endRead = yy_startRead = 0;\n yy_currentPos = yy_markedPos = yy_pushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n yy_lexical_state = YYINITIAL;\n }", "title": "" }, { "docid": "acaef70c7bc75ebc3b9a719b8532a0e8", "score": "0.63772506", "text": "final public void yyreset(java.io.Reader reader) throws java.io.IOException {\n yyclose();\n yy_reader = reader;\n yy_atBOL = true;\n yy_atEOF = false;\n yy_endRead = yy_startRead = 0;\n yy_currentPos = yy_markedPos = yy_pushbackPos = 0;\n yyline = yychar = yycolumn = 0;\n yy_lexical_state = YYINITIAL;\n }", "title": "" }, { "docid": "e8b4bd5b163778eca5f23d7d213e40cc", "score": "0.63621247", "text": "private static void resetInput() {\n scanner = new Scanner(System.in);\n }", "title": "" }, { "docid": "721129eb4277168ccc7948f74c034546", "score": "0.6354774", "text": "public final void yyreset(java.io.Reader reader) {\n // 's' has been updated.\n this.zzBuffer = this.s.array;\n /*\n * We replaced the line below with the two below it because zzRefill\n * no longer \"refills\" the buffer (since the way we do it, it's always\n * \"full\" the first time through, since it points to the segment's\n * array). So, we assign zzEndRead here.\n */\n //zzStartRead = zzEndRead = s.offset;\n this.zzStartRead = this.s.offset;\n this.zzEndRead = this.zzStartRead + this.s.count - 1;\n this.zzCurrentPos = this.zzMarkedPos = this.zzPushbackPos = this.s.offset;\n this.zzLexicalState = YYINITIAL;\n this.zzReader = reader;\n this.zzAtBOL = true;\n this.zzAtEOF = false;\n }", "title": "" }, { "docid": "c7b7f821d8ccdb8520eb4c10d5930956", "score": "0.6342319", "text": "private final void yyResetPosition() {\n zzAtBOL = true;\n zzAtEOF = false;\n zzCurrentPos = 0;\n zzMarkedPos = 0;\n zzStartRead = 0;\n zzEndRead = 0;\n zzFinalHighSurrogate = 0;\n yyline = 0;\n yycolumn = 0;\n yychar = 0L;\n }", "title": "" }, { "docid": "c7b7f821d8ccdb8520eb4c10d5930956", "score": "0.6342319", "text": "private final void yyResetPosition() {\n zzAtBOL = true;\n zzAtEOF = false;\n zzCurrentPos = 0;\n zzMarkedPos = 0;\n zzStartRead = 0;\n zzEndRead = 0;\n zzFinalHighSurrogate = 0;\n yyline = 0;\n yycolumn = 0;\n yychar = 0L;\n }", "title": "" }, { "docid": "c7b7f821d8ccdb8520eb4c10d5930956", "score": "0.6342319", "text": "private final void yyResetPosition() {\n zzAtBOL = true;\n zzAtEOF = false;\n zzCurrentPos = 0;\n zzMarkedPos = 0;\n zzStartRead = 0;\n zzEndRead = 0;\n zzFinalHighSurrogate = 0;\n yyline = 0;\n yycolumn = 0;\n yychar = 0L;\n }", "title": "" }, { "docid": "5344b8c7473ad8b80ba980dd427f6ea8", "score": "0.6289307", "text": "@Override\n\t\tpublic void reset() throws IOException {\n\t\t\tsynchronized ( CircularByteBuffer.this ) {\n\t\t\t\tif ( inputStreamClosed )\n\t\t\t\t\tthrow new IOException( \"InputStream has been closed; cannot reset a closed InputStream.\" );\n\t\t\t\treadPosition = markPosition;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "048334a0abaa14af3083c9a8fc2899dc", "score": "0.61684304", "text": "public final void yyreset(Reader reader) { \n\n//este se queda \n // 's' has been updated. \n zzBuffer = s.array; \n /* \n * We replaced the line below with the two below it because zzRefill \n * no longer \"refills\" the buffer (since the way we do it, it's always \n * \"full\" the first time through, since it points to the segment's \n * array). So, we assign zzEndRead here. \n */ \n //zzStartRead = zzEndRead = s.offset; \n zzStartRead = s.offset; \n zzEndRead = zzStartRead + s.count - 1; \n zzCurrentPos = zzMarkedPos = zzPushbackPos = s.offset; \n zzLexicalState = YYINITIAL; \n zzReader = reader; \n zzAtBOL = true; \n zzAtEOF = false; \n }", "title": "" }, { "docid": "6c6e0a91bb24ae4de9abf229eca89b06", "score": "0.6154261", "text": "public final void yyreset(java.io.Reader reader) {\n\t\t// 's' has been updated.\n\t\tzzBuffer = s.array;\n\t\t/*\n\t\t * We replaced the line below with the two below it because zzRefill\n\t\t * no longer \"refills\" the buffer (since the way we do it, it's always\n\t\t * \"full\" the first time through, since it points to the segment's\n\t\t * array). So, we assign zzEndRead here.\n\t\t */\n\t\t//zzStartRead = zzEndRead = s.offset;\n\t\tzzStartRead = s.offset;\n\t\tzzEndRead = zzStartRead + s.count - 1;\n\t\tzzCurrentPos = zzMarkedPos = s.offset;\n\t\tzzLexicalState = YYINITIAL;\n\t\tzzReader = reader;\n\t\tzzAtEOF = false;\n\t}", "title": "" }, { "docid": "ffec8464a4df519ca63d86cf40f64ee0", "score": "0.6100591", "text": "public void reset() {\n\n nextTokenPos = 0;\n\n }", "title": "" }, { "docid": "4f002596e0fd392d8aa8103dcee6236b", "score": "0.60835314", "text": "private static void resync() {\n setScanner(new Scanner(new java.io.BufferedInputStream(System.in), CHARSET_NAME));\n }", "title": "" }, { "docid": "0f319a38582dfcf8f1d937eac513a74e", "score": "0.5990686", "text": "public void reset() throws IOException {\n scanner = new Scanner(file);\n }", "title": "" }, { "docid": "c4924f6fcea0cc6df2c9a0a8916d7dee", "score": "0.58797646", "text": "public void clearInput(){\n\t\t\t\ttry{\n\t\t\t\t\t\tmBufIn.skip(mBufIn.available());\n\t\t\t\t}catch(IOException ex){\n\t\t\t\t\t\tSystem.err.println(\"Error clearing stream\");\n\t\t\t\t}\n\t\t}", "title": "" }, { "docid": "6809e6800ee9ceb9738fa30ef9758cb6", "score": "0.5844356", "text": "public void reset() {\n\t\tif (this.cheating) {\n\t\t\ttry {\n\t\t\t\tthis.reader.reset();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tthis.close();\n\t\t\tthis.init(this.filename);\n\t\t}\n\t}", "title": "" }, { "docid": "0c772271c21d06316c1f8da69dd09069", "score": "0.5808677", "text": "@Override\n public void reset() throws IOException {\n if (null == in) {\n throw new IOException(\"Stream has been closed.\");\n }\n\n if (-1 == mark) {\n throw new IOException(\"reset() without mark(), or I dont know where mark is\");\n }\n\n super.reset();\n\n read = mark;\n }", "title": "" }, { "docid": "6eb92c282a94e2c7bbe910195c7a8626", "score": "0.5787916", "text": "@Override\n public void reset() throws IOException {\n fileReader.getChannel().position(0);\n br = new BufferedReader(new InputStreamReader(fileReader));\n }", "title": "" }, { "docid": "4398b467cb35bbda19f9f68363f00532", "score": "0.5699374", "text": "public void reset() throws IOException {\n abortIfNeeded();\n if (bytesReadPastMark <= bufferSize) {\n if (log.isDebugEnabled()) {\n log.debug(\"Reset after reading \" + bytesReadPastMark + \" bytes.\");\n }\n bufferOffset = 0;\n } else {\n throw new IOException(\n \"Input stream cannot be reset as \" + this.bytesReadPastMark\n + \" bytes have been written, exceeding the available buffer size of \" + this.bufferSize);\n }\n }", "title": "" }, { "docid": "f07bc2fdb558c6e98472e9caffa943f4", "score": "0.5690435", "text": "public void reset() {\r\n\t\tthis.cursor = this.head;\r\n\t}", "title": "" }, { "docid": "badc4d61c271c08eafcf6a8d668818ea", "score": "0.5682951", "text": "Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "41923af9f8d1fd17ce385a118a73ab15", "score": "0.56736904", "text": "public scanner(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "title": "" }, { "docid": "8dcb079eb4fd7c3d716449a5c0b7119d", "score": "0.56592727", "text": "public Scanner(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "title": "" }, { "docid": "68339a242551f9f2625b98df247de61d", "score": "0.56474394", "text": "SchemeLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "4e7fb68a824ea1ec894f3760e9bd5e49", "score": "0.56442904", "text": "public void refill() throws IOException {\n mEnd = readWrappedStream(mBuffer, 0, mBuffer.length);\n if (mEnd > 0) mReadFromStream += mEnd;\n mPos = 0;\n }", "title": "" }, { "docid": "85d3a84b602603b1f64414657b2ef4be", "score": "0.5639207", "text": "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "85d3a84b602603b1f64414657b2ef4be", "score": "0.5639207", "text": "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "3cb1ccf96ca72836f7bd13758db6d9b1", "score": "0.56304395", "text": "public Scanner(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "748f58d1b122e2043f2461e2016d9fe5", "score": "0.5568447", "text": "private void resetBuffer() throws IOException\n {\n bufferPos = 0;\n bufferEnd = 0;\n raPtrPos = raf.getFilePointer();\n }", "title": "" }, { "docid": "e387a147534bb886ab46f2c499b06ab2", "score": "0.5559151", "text": "@Override\n\tpublic void reset() {\n\t\tparentCursor.reset();\n\t\tfastForward = 0;\n\t}", "title": "" }, { "docid": "0bfcc93aebd8b345048215401e186b54", "score": "0.5547531", "text": "public lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "0bfcc93aebd8b345048215401e186b54", "score": "0.5547531", "text": "public lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "7f1ccfa95109d3175cae51508ac84ac1", "score": "0.5545197", "text": "Lexer(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "title": "" }, { "docid": "e00c3f2574d00af59ef44d17924b544a", "score": "0.55252314", "text": "public void resetIterator() {\r\n iterator = 0;\r\n }", "title": "" }, { "docid": "b9a904aae221c3e81a46e6a7cdaa84ae", "score": "0.55056065", "text": "@Override\r\n\tpublic synchronized void reset() throws IOException {\n\t\tsuper.reset();\r\n\t}", "title": "" }, { "docid": "1a248bf46f151408e3da0b08095565b5", "score": "0.5490376", "text": "protected void refillBuffer() {\n if (pendinglen > 0 || eof)\n return; // only if not pending data\n try {\n // try to read\n offset = 0;\n pendinglen = stream.read(buf);\n if (pendinglen < 0) {\n close();\n return;\n } else\n return;\n } catch (IOException e) {\n throw new PngjInputException(e);\n }\n }", "title": "" }, { "docid": "943fd06bb4c9efdd5ddd559627ffee06", "score": "0.54801834", "text": "public void reset() {\n\t\ttoken = 0;\n\t}", "title": "" }, { "docid": "f0d9a7cf1665d03bf291091ccb19d281", "score": "0.5466813", "text": "MipsLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "23807ab431654e580ec75556c70ff6b6", "score": "0.5458979", "text": "Lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "23807ab431654e580ec75556c70ff6b6", "score": "0.5458979", "text": "Lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "23807ab431654e580ec75556c70ff6b6", "score": "0.5458979", "text": "Lexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "22e41db6306c73f8aa0e6761f9f74d04", "score": "0.5441449", "text": "public Lexer(java.io.Reader in) {\r\n this.zzReader = in;\r\n }", "title": "" }, { "docid": "e4c74a86b4f37a6a218b348bd5c34e87", "score": "0.5438492", "text": "public void recycle() {\n\n state = INITIAL_STATE;\n\n // If usage of mark made the buffer too big, reallocate it\n if (cb.capacity() > size) {\n cb = CharBuffer.allocate(size);\n clear(cb);\n } else {\n clear(cb);\n }\n readLimit = size;\n markPos = -1;\n clear(bb);\n closed = false;\n\n if (conv != null) {\n conv.recycle();\n encoders.get(conv.getCharset()).push(conv);\n conv = null;\n }\n }", "title": "" }, { "docid": "deb3a123521a17ab7e47e3d02646abb1", "score": "0.5433101", "text": "public Scanner(InputStream inStream)\r\n {\r\n in = new BufferedReader(new InputStreamReader(inStream));\r\n eof = false;\r\n getNextChar();\r\n }", "title": "" }, { "docid": "1a884ccec2dc3cd2236686976e5a1a4e", "score": "0.5349141", "text": "@Override\n\tpublic void reset() {\n\t\ttry {\n\t\t\tif (tupleReader != null)\n\t\t\t\ttupleReader.reset();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "title": "" }, { "docid": "28fe3cccca88c9bdc5c4bbd985f89caa", "score": "0.5323368", "text": "public void reset() {\n byteOff = charOff = 0;\n savedSize = 0;\n }", "title": "" }, { "docid": "2d704fb435603a967817fcf39307cf38", "score": "0.53092813", "text": "@Override\n public final void reset()\n {\n m_currentCodepoint_ = 0;\n m_nextCodepoint_ = 0;\n m_nextIndex_ = 0;\n m_nextBlock_ = m_trie_.m_index_[0] << Trie.INDEX_STAGE_2_SHIFT_;\n if (m_nextBlock_ == m_trie_.m_dataOffset_) {\n m_nextValue_ = m_initialValue_;\n }\n else {\n m_nextValue_ = extract(m_trie_.getValue(m_nextBlock_));\n }\n m_nextBlockIndex_ = 0;\n m_nextTrailIndexOffset_ = TRAIL_SURROGATE_INDEX_BLOCK_LENGTH_;\n }", "title": "" }, { "docid": "ee45a884f7366b9bd57564d64f7685db", "score": "0.5308026", "text": "private void resetBuffer() {\n\n\t\t// Point _in at a ByteBuffer built around the _messageBuffer array\n\t\t_in = ByteBuffer.wrap(_messageBuffer);\n\n\t\t// Set _length to -1, we don't know how big the next message is yet\n\t\t_length = -1;\n\t}", "title": "" }, { "docid": "f63d6cc04115de8e11f8024377937bd8", "score": "0.5298422", "text": "public synchronized void reset() {\r\n ensureOpen();\r\n count = 0;\r\n }", "title": "" }, { "docid": "db540ed82e748174ec971d75cb1fde71", "score": "0.5285265", "text": "public void reset() {\n mCombinerChain.reset();\n mEvents.clear();\n mIsOnlyFirstCharCapitalized = false;\n mIsBatchMode = false;\n mCursorPositionWithinWord = 0;\n refreshTypedWordCache();\n }", "title": "" }, { "docid": "eb0d542961910b0ef82ba2690e92fbd3", "score": "0.5268135", "text": "void reset()\n {\n currentPosition = 0;\n }", "title": "" }, { "docid": "e573e07bda865016ff979cb05fcd77e8", "score": "0.5255405", "text": "public ElixirFlexLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "e1bedf19ce07957fe42ca94f5cd94d5c", "score": "0.5251301", "text": "@Override\r\n\tpublic void rewind() {\n\t\t\r\n\t}", "title": "" }, { "docid": "26891c4cb6296b97f703b8550d02d599", "score": "0.52415985", "text": "public SELF rewind() {\n position = 0;\n mark = -1;\n return self();\n }", "title": "" }, { "docid": "cb9414f76ad660f22cd2d635299c883c", "score": "0.5234889", "text": "public void rewind() {\n\t\tthis.data.rewind();\n\t}", "title": "" }, { "docid": "8d01b1235b45f4506a50b29185c173fb", "score": "0.5220241", "text": "public void resetBuffer() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "45d5a4f4c8ff98733e9005ca9b36d46d", "score": "0.5219843", "text": "PpLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "39f83c176b4aae17c5c01bb95a24f6d7", "score": "0.5205794", "text": "public void resetInput();", "title": "" }, { "docid": "90b229fbcf8e2952f95731f1269b2b49", "score": "0.51891017", "text": "public JflexSecLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "d5192c72205a13ee7fe1b6c6a11303f6", "score": "0.5178754", "text": "public Lexico(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "e6fc0f3342f290b338864ef8ffb98744", "score": "0.51770794", "text": "private void reset\n (\n ) {\n m_spec = null;\n m_outstream = null;\n }", "title": "" }, { "docid": "ffa878bee50ed948e2992a4abf3a24ef", "score": "0.51696306", "text": "public final void reset() {\n this.mPosition = -1;\n this.alN = C8415j.INVALID_ID;\n this.alO = false;\n this.alP = false;\n }", "title": "" }, { "docid": "b698bc669f1912be7aeba57d6067e49a", "score": "0.5163516", "text": "public void reset()\r\n\t{\r\n\t\tcurrent = cycle.listIterator();\r\n\t}", "title": "" }, { "docid": "86ab1c2f83cd1adc2a7484a30504984b", "score": "0.5160047", "text": "public LatexLexer(java.io.Reader in) {\n this.zzReader = in;\n }", "title": "" }, { "docid": "c1c8be27cf3dbd91241087000c07d686", "score": "0.51492393", "text": "public static void openScanner() {\n\t\tinput = new Scanner(System.in);\n\t\tisOpen = true;\n\t}", "title": "" }, { "docid": "b9def250dbc196e79ab404754e020cf1", "score": "0.5146807", "text": "protected void reset() {\n _formatCount = 0;\n _lastBreak = 0;\n _line = new StringBuilder();\n }", "title": "" }, { "docid": "116b9220920d8ec1485a785a197070df", "score": "0.5127516", "text": "private void reset() {\n\t\tpreviousOperator = null;\n\t\tpreviousNumber = 0.0;\n\t\tequalsPressed = false;\n\n\t\tsetCurrentValue(\"\");\n\n\t\t// a new number will need to be entered, so turn on the flag\n\t\tstartNewNumber = true;\n\t}", "title": "" }, { "docid": "57ad2827ea82eac2a621b60d79659f6a", "score": "0.512121", "text": "public void resetIterator(){\n\t\titerator.link = head;\n\t}", "title": "" }, { "docid": "98fdccece9c4b2b200d4843a41a25e4e", "score": "0.5118402", "text": "void resetParser() {\n\t\tclearUploadTracker();\n\t\tthis.parser = new HttpParser(server.getApplicationManagerImpl(), this, this.hostnames);\n\t\tthis.buffer = ByteBuffer.allocateDirect(BUFFER_SIZE);\n\t\tthis.lastAccessTimeMillis = System.currentTimeMillis();\n\t\tthis.pendingRead = true;\n\t}", "title": "" } ]
0047c1a7eab602459a591cff19f59ad2
/ / / / / / / / / / / / /
[ { "docid": "d18b8786ec3b1dea6c835d04d78746d6", "score": "0.0", "text": "@TsService\n/* */ public void removeInitiator(ManagedObjectReference clusterRef, InitiatorGroupInitiatorRemoveSpec spec) throws Exception {\n/* 112 */ if (!VsanCapabilityUtils.isIscsiTargetsSupportedOnVc(clusterRef)) {\n/* */ return;\n/* */ }\n/* */ \n/* 116 */ Validate.notNull(spec);\n/* 117 */ Validate.notEmpty(spec.initiatorGroupName);\n/* 118 */ Validate.notEmpty(spec.initiatorName);\n/* */ \n/* 120 */ Exception exception1 = null, exception2 = null;\n/* */ }", "title": "" } ]
[ { "docid": "c4e34c80d133071eef375083d1e10433", "score": "0.52121764", "text": "public void findPath()\r\n\t{\r\n\t\tBinaryHeap openlist = new BinaryHeap(XmultY);\r\n\t\tArrayList<Integer> closedlist = new ArrayList<Integer>();\r\n\t\tfor(int i=0; i<XmultY; i++) {closedlist.add(0);}\r\n\t\tint currentTile=start;\r\n\t\ttiles[start].setH(calculateH(start));\r\n\t\ttiles[start].setF(tiles[start].getH()); \t\r\n\t\ttiles[start].setG(0);\r\n\t\ttiles[destination].setPointsTo(-1); //gia na dw an eftase sto destination\r\n\t\twhile(currentTile!=destination)\r\n\t\t{\r\n\t\t\tclosedlist.set(currentTile, 1);\r\n\t\t\t\r\n\t\t\tif(currentTile>ySize && currentTile<XmultY-ySize && currentTile%ySize!=0 && (currentTile+1)%ySize!=0)\r\n\t\t\t{\r\n\t\t\t\tparentsAndGFH(currentTile-1, currentTile, openlist, closedlist);\r\n\t\t\t\tparentsAndGFH(currentTile+1, currentTile, openlist, closedlist);\r\n\t\t\t\tparentsAndGFH(currentTile-ySize, currentTile, openlist, closedlist);\r\n\t\t\t\tparentsAndGFH(currentTile+ySize, currentTile, openlist, closedlist);\r\n\t\t\t\tif(cutCorners)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(tiles[currentTile-1].getWeight()<cantPass && tiles[currentTile-ySize].getWeight()<cantPass) {parentsAndGFH(currentTile-ySize-1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(tiles[currentTile-1].getWeight()<cantPass && tiles[currentTile+ySize].getWeight()<cantPass) {parentsAndGFH(currentTile+ySize-1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(tiles[currentTile+1].getWeight()<cantPass && tiles[currentTile-ySize].getWeight()<cantPass) {parentsAndGFH(currentTile-ySize+1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(tiles[currentTile+1].getWeight()<cantPass && tiles[currentTile+ySize].getWeight()<cantPass) {parentsAndGFH(currentTile+ySize+1, currentTile, openlist, closedlist);}\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tparentsAndGFH(currentTile-ySize-1, currentTile, openlist, closedlist);\r\n\t\t\t\t\tparentsAndGFH(currentTile+ySize-1, currentTile, openlist, closedlist);\r\n\t\t\t\t\tparentsAndGFH(currentTile-ySize+1, currentTile, openlist, closedlist);\r\n\t\t\t\t\tparentsAndGFH(currentTile+ySize+1, currentTile, openlist, closedlist);\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\tif(exist(currentTile-1, currentTile)) {parentsAndGFH(currentTile-1, currentTile, openlist, closedlist);}\r\n\t\t\t\tif(exist(currentTile+1, currentTile)) {parentsAndGFH(currentTile+1, currentTile, openlist, closedlist);}\r\n\t\t\t\tif(exist(currentTile-ySize, currentTile)) {parentsAndGFH(currentTile-ySize, currentTile, openlist, closedlist);}\r\n\t\t\t\tif(exist(currentTile+ySize, currentTile)) {parentsAndGFH(currentTile+ySize, currentTile, openlist, closedlist);}\r\n\t\t\t\tif(cutCorners)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(exist(currentTile-1, currentTile) && exist(currentTile-ySize, currentTile) && tiles[currentTile-1].getWeight()<cantPass && tiles[currentTile-ySize].getWeight()<cantPass) {parentsAndGFH(currentTile-ySize-1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(exist(currentTile-1, currentTile) && exist(currentTile+ySize, currentTile) && tiles[currentTile-1].getWeight()<cantPass && tiles[currentTile+ySize].getWeight()<cantPass) {parentsAndGFH(currentTile+ySize-1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(exist(currentTile+1, currentTile) && exist(currentTile-ySize, currentTile) && tiles[currentTile+1].getWeight()<cantPass && tiles[currentTile-ySize].getWeight()<cantPass) {parentsAndGFH(currentTile-ySize+1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(exist(currentTile+1, currentTile) && exist(currentTile+ySize, currentTile) && tiles[currentTile+1].getWeight()<cantPass && tiles[currentTile+ySize].getWeight()<cantPass) {parentsAndGFH(currentTile+ySize+1, currentTile, openlist, closedlist);}\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tif(exist(currentTile-ySize-1, currentTile)) {parentsAndGFH(currentTile-ySize-1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(exist(currentTile+ySize-1, currentTile)) {parentsAndGFH(currentTile+ySize-1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(exist(currentTile-ySize+1, currentTile)) {parentsAndGFH(currentTile-ySize+1, currentTile, openlist, closedlist);}\r\n\t\t\t\t\tif(exist(currentTile+ySize+1, currentTile)) {parentsAndGFH(currentTile+ySize+1, currentTile, openlist, closedlist);}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(openlist.heapEmpty())\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tcurrentTile=openlist.getMin().getNumber();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "eedf1c015c2337ffb18a06691e7c5db8", "score": "0.50473726", "text": "public int width(){\n return w;\r\n }", "title": "" }, { "docid": "4c4b6155a92153e635ad6b15d0da7d47", "score": "0.50380355", "text": "public int size() {\n return 1 + this.left.size() + this.right.size();\n }", "title": "" }, { "docid": "00514a396111acdb8c4773cd851920d2", "score": "0.50128675", "text": "@Test\npublic void testUniquePaths() throws Exception { \n//TODO: Test goes here...\n UniquePathsDP uniquePathsDP = new UniquePathsDP();\n int paths = uniquePathsDP.uniquePaths(3, 7);\n int pathsBetter = uniquePathsDP.uniquePathsBetter(3, 7);\n System.out.println(paths+\"优化算法后\"+pathsBetter);\n}", "title": "" }, { "docid": "a49b2d411619c6f2680e9b0e8c21a20f", "score": "0.49795172", "text": "private void erledigt() {\n\t\t\r\n\t}", "title": "" }, { "docid": "94eb5a56f4c185d386f071ca9b50926a", "score": "0.49785584", "text": "public double getAverageEncoderDistance() {\n return (getLeftDistance() + getRightDistance()) / 2.0;\n}", "title": "" }, { "docid": "ceb132b80c1985c9e65b6360da426a30", "score": "0.49657", "text": "public abstract int getRadix();", "title": "" }, { "docid": "36a9185e11b8e732b645ef4e774244a1", "score": "0.49620587", "text": "private static void perparfood() {\n\r\n\t}", "title": "" }, { "docid": "83de82e22c7337cdc1d8e5308143c0e9", "score": "0.49429664", "text": "public int size(){return size(root);}", "title": "" }, { "docid": "f1258027a2e824ae47e9a5eff8a1a286", "score": "0.49392352", "text": "private int getLeftChildIndex(int parentIndex){return 2* parentIndex+1;}", "title": "" }, { "docid": "4818151df539cda4c00eec45dce5d3a5", "score": "0.49350792", "text": "public static void reduceCenter(){\n\t}", "title": "" }, { "docid": "0bf3a3cefdd9ff32efe095e2df446d86", "score": "0.49311778", "text": "public int getWidth() {\n return hi - low + 1; \n }", "title": "" }, { "docid": "c1d6fa08d4285e5ddff0936d938f8278", "score": "0.4925462", "text": "static void get_path(String show, String square[][])\n\t{\n\t\tString source[] = show.split(\",\");\t\n \tint sx = Integer.parseInt(source[0]);\n \tint sy = Integer.parseInt(source[1]);\n \tint dx = Integer.parseInt(source[2]);\n \tint dy = Integer.parseInt(source[3]);\n\t\t\n//\t\tint sx = 9;\n// \tint sy = 9;\n// \tint dx = 13;\n// \tint dy = 13;\n\t\t\n\t\tint dr[] = {-1,-1,-1,0,0,1,1,1};\n\t\tint dc[] = {-1,0,1,-1,1,-1,0,1};\n\t\t\n\t\tString goal = dx + \",\" + dy;\n\t\t\n\t\tint flag = 0;\n\t\tif(flag==0)\n\t\t{\n\t\t\tint rr=0,cc=0;\n\t\t\tfor(int i=0; i<8; i++)\n\t\t\t{\n\t\t\t\trr = sx + dr[i];\n\t\t\t\tcc = sy + dc[i];\n\t\t\t\tif(rr==dx && cc==dy)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\"E\" + \" \" + sy +\",\" + sx + \" \" + dy + \",\" + dx);\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif(flag==0) \n\t\t{\n\t\t\t\t\n\t\t\t\n\t\t\tQueue<String> q = new LinkedList<>();\n\t\t\tboolean visited[][] = new boolean[16][16];\n\t\t\tString parent[][] = new String[16][16];\n\t\t\tfor(int i=0; i<16; i++)\n\t\t\t{\n\t\t\t\tfor(int j=0; j<16; j++)\n\t\t\t\t{\n\t\t\t\t\tvisited[i][j]=false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif(!(sx<0 || sy <0 || sx >= 16 || sy >= 16))\n\t\t\t{\n\t\t\t\tString root = sx + \",\"+ sy;\t\t\n\t\t\t\tq.add(root);\n\t\t\t\tvisited[sx][sy]=true;\n\t\t\t\tparent[sx][sy]=\"root\";\n\t\t\t\t//System.out.println(parent[sx][sy]);\n\t\t\t}\n \t\n\t\t\n\t\t\tString node;\n\t\t\tString arg[];\n\t\t\tArrayList<String> list = new ArrayList<>();\n\t\t\tdo\n\t\t\t{\n\t\t\t\tif(q.isEmpty())\n\t\t\t\t{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tnode = q.remove();\n\t\t\t\tif(node.equalsIgnoreCase(goal)) \n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tString dest[] = node.split(\",\");\n\t\t\t\t\tint x = Integer.parseInt(dest[0]);\n\t\t\t\t\tint y = Integer.parseInt(dest[1]);\n\t\t\t\t\tString print = y + \",\" + x;\n\t\t\t\t\tlist.add(print);\n\t\t\t\t\twhile(!(parent[x][y].equals(\"root\")))\n\t\t\t\t\t{\n\t\t\t\t\t\tdest = parent[x][y].split(\",\");\n\t\t\t\t\t\tx = Integer.parseInt(dest[0]);\n\t\t\t\t\t\ty = Integer.parseInt(dest[1]);\n\t\t\t\t\t\tprint = y + \",\" + x;\n\t\t\t\t\t\tlist.add(print);\n\t\t\t\t\t}\n\t\t\t\t\tCollections.reverse(list);\n\t\t\t\t\tfor (int i = 0; i < list.size()-1;i++) \n\t\t\t\t\t{ \t\n\t\t\t\t\t\tif(i>0)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t}\t\n\t\t\t\t\t\tSystem.out.print(\"J \" + list.get(i) + \" \" + list.get(i+1));\n\t\t\t\t\t} \n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\targ = node.split(\",\");\n\t\t\t\tint c1;\n\t\t\t\tint c2;\n\t\t\t\t\n\t\t\t\t//int dr[] = {-1,-1,-1,0,0,1,1,1};\n\t\t\t\t//int dc[] = {-1,0,1,-1,1,-1,0,1};\n\t\t\t\tint rr=0,cc=0;\n\t\t\t\t//System.out.println(\"h\");\n\t\t\t\tfor(int i=0; i<8; i++)\n\t\t\t\t{\n\t\t\t\t\tc1 = Integer.parseInt(arg[0]);\n\t\t\t\t\tc2 = Integer.parseInt(arg[1]);\n\t\t\t\t\t//System.out.println(\"*******\" + c1 + \"*******\" + c2);\n\t\t\t\t\trr = c1 + dr[i];\n\t\t\t\t\tcc = c2 + dc[i];\n\t\t\t\t\t//System.out.println(\"*******\" + rr + \"*******\" + cc);\n\t\t\t\t\tif(rr<0 || cc<0 || rr >= 16 || cc >= 16 || visited[rr][cc]==true)\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif(square[rr][cc].equals(\".\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\trr = c1 + dr[i] + dr[i];\n\t\t\t\t\tcc = c2 + dc[i] + dc[i];\n\t\t\t\t\t//System.out.println(\"h\");\n\t\t\t\t\tif(rr<0 || cc<0 || rr >= 16 || cc >= 16 || visited[rr][cc]==true)\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t//System.out.println(\"h\");\n\t\t\t\t\tif(!square[rr][cc].equals(\".\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t//System.out.println(\"h\");\n\t\t\t\t\tq.add(rr + \",\" + cc);\n\t\t\t\t\tparent[rr][cc] = c1 + \",\" + c2;\n\t\t\t\t\tvisited[rr][cc]=true;\n\t\t\t\t\t//System.out.println(visited[rr][cc] + \"\"+cc +\"\"+ rr);\n\t\t\t\t}\n\t\t\t}while(true);\n\t\t}\n\t}", "title": "" }, { "docid": "4ec5ca78878fcfa00fc164d4fa0ebdac", "score": "0.49180937", "text": "public int getSizeModX() {\n/* 2640 */ return this.sizeModX;\n/* */ }", "title": "" }, { "docid": "5a79a91a70f55b66220c98e6d495d6bd", "score": "0.49048522", "text": "@Override\n protected void getAllUniformLocations(){\n }", "title": "" }, { "docid": "0f9666b00d141aa427eaa8901f7bad67", "score": "0.48984742", "text": "protected int b()\r\n/* 43: */ {\r\n/* 44: 52 */ return this.w.length;\r\n/* 45: */ }", "title": "" }, { "docid": "90d38cf4c82fd60cbeaa6a03cce01eb3", "score": "0.48959452", "text": "public int getBlockLength()\r\n/* 28: */ {\r\n/* 29: 76 */ return -12;\r\n/* 30: */ }", "title": "" }, { "docid": "4527baf5c7f157027fb24fb28cc991ad", "score": "0.4889628", "text": "int length() {\r\n return pe - ps;\r\n }", "title": "" }, { "docid": "a0ee80ea3263c2f38962e6d213e07e17", "score": "0.4885047", "text": "int getSteps(int address) {\n if (address == 1) return 0;\n\n int shellDist = 0;\n int width = 1;\n for(; width*width < address; width += 2) {\n shellDist += 1;\n }\n int posInSide = (address - (width-2)*(width-2)) % (width-1);\n int distToSideMidpoint = Math.abs((width / 2) - posInSide);\n return distToSideMidpoint + shellDist;\n }", "title": "" }, { "docid": "c46104482bbae66d3e41c21205c6dec3", "score": "0.48805538", "text": "@Override\n public void fastwalk() {\n\n }", "title": "" }, { "docid": "f47d33c845bd1b76a40f58162c1c895d", "score": "0.48716193", "text": "public int getWidth() {\n return right-left;\n }", "title": "" }, { "docid": "c4b93321902e6f164c775aa2d9d063ff", "score": "0.48655152", "text": "public void computeDirection(){\n\t}", "title": "" }, { "docid": "4ca76d47b66bb461aeffcc1221b3834e", "score": "0.48389724", "text": "@Override\n public double getWidth() {\n return 0;\n }", "title": "" }, { "docid": "548e15ff29ecc98e0d12be741f2429de", "score": "0.48359814", "text": "@Override\n public double getInternWidth() {\n return 0;\n }", "title": "" }, { "docid": "c78ef7fcc934ccc9639ecd5dfe63ff45", "score": "0.48154217", "text": "@Override\n public float w() {\n\treturn 0;\n }", "title": "" }, { "docid": "c4845662b6678fe5155217c2e3812416", "score": "0.48107284", "text": "public void calculateChunks(){\n }", "title": "" }, { "docid": "6112e38ec54ab6f5e399f4b9b12a91b9", "score": "0.48061043", "text": "double volume(){\n return width*length*height;\n }", "title": "" }, { "docid": "65c7cd436579088b7393a8bf576ce163", "score": "0.48060635", "text": "String root();", "title": "" }, { "docid": "3e8fc7b34c5c18208c471bcaba472fa3", "score": "0.47983724", "text": "long dispatchBehindBytes();", "title": "" }, { "docid": "dc3257bd3966ef7e8f32a811eafaee9d", "score": "0.47930086", "text": "int calculateVolume() {\n return (length * height * width); \n }", "title": "" }, { "docid": "2839cfe8c4b748e2f3fcb2d2ca7feecd", "score": "0.47921693", "text": "int getDisplacement();", "title": "" }, { "docid": "034d9ee63505902a926e00fefa016d47", "score": "0.47906384", "text": "public int getWidth()\n {\n return(getVertex(1).x - getVertex(0).x);\n }", "title": "" }, { "docid": "5eb64de2dd291159ff143c6f4dc4cff3", "score": "0.47889775", "text": "public float getWidth(){ return width; }", "title": "" }, { "docid": "5621ab9a475e83a35128de484320b9d4", "score": "0.47845593", "text": "public int getWidth(){\r\n return this.sideLength;\r\n }", "title": "" }, { "docid": "2289643e16ec4fd1762dae6d3ee863f3", "score": "0.47663903", "text": "private short longestSideIndex()\n {\n return 0;\n }", "title": "" }, { "docid": "5d1b29b288f8f93d868f1e4e72ff403c", "score": "0.4756266", "text": "public String physicalTopReact()//mario head hits the bottom\r\n\t{\r\n\t\treturn \"_\";\r\n\t}", "title": "" }, { "docid": "541343f595c1636bda848a47981b3e40", "score": "0.47487748", "text": "public static void main (String[] args) {\n\n // 8.1 Triple Step\n // System.out.println(countSteps(35));\n // HashMap<String, Integer> map = new HashMap<String, Integer>();\n // System.out.println(countStepsMem(map, 35));\n\n // 8.2 Robot in a Grid\n int[][] grid = {{0,0,1,0,0,0},\n {0,0,0,0,0,0},\n {0,0,1,0,0,0},\n {0,0,1,0,0,0},\n {0,0,1,0,0,0},\n {0,0,1,0,0,0}};\n // System.out.println(countPath(grid, 0,0));\n // HashMap<String, Integer> map = new HashMap<String, Integer>();\n // System.out.println(countPathMem(map, grid, 0,0));\n // System.out.println(printPath(grid, 0,0, \"\"));\n\n // 8.3 Magic Index\n // 0, 1, 2,3,4,5,6,7,8,9,10\n // int[] array = {-40,-20,-1,1,2,3,5,7,9,12,13};\n // System.out.println(sortedMagicIndex(array, 0, array.length-1));\n // 0, 1, 2,3,4,5,6,7,8,9,10\n // int[] array = {-10,-5,2,2,2,3,4,7,9,12,13};\n // System.out.println(magicIndex(array, 0, array.length-1));\n\n // 8.4 Return all subsets\n // int[] set = {1,2,3}; // {}, {1}, {2}, {3}, {1,2}, {1,3}, {2,3}, {1,2,3};\n // ArrayList<ArrayList<Integer>> result = new ArrayList<ArrayList<Integer>>();\n // result = subSets(result, set, set.length, 0);\n // System.out.println(result.toString());\n\n // 8.5 Recursive Multiply\n System.out.println(multiply(6,5));\n\n // 8.6 Towers of Hanoi;\n // Stack<Integer> s1 = new Stack<Integer>();\n // s1.push(3);\n // s1.push(2);\n // s1.push(1);\n // Stack<Integer> s2 = new Stack<Integer>();\n // Stack<Integer> s3 = new Stack<Integer>();\n // // towers(s1,s2,s3,3);\n // int nDisks = 3;\n // doTowers(nDisks, 'A', 'B', 'C');\n\n // 8.7 Permutation without duplicates.\n // String str = \"a\";\n String str = \"abc\";\n permutations(\"\", str);\n }", "title": "" }, { "docid": "f1bcd9ace00d1437e7dee078afed7da3", "score": "0.4738868", "text": "public void stretchGrab() {\r\n\r\n\t}", "title": "" }, { "docid": "ccc7cc6588f7d8aaaa7a1fca05c4d188", "score": "0.4727491", "text": "@Override\r\n\tpublic int getWidth() {\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "38133df9b50a9a6bf70159ab22539c3d", "score": "0.4726395", "text": "private void adjust(){\r\n\t}", "title": "" }, { "docid": "0855573f14efac8e0db075cdb099fbc1", "score": "0.47203943", "text": "@Override\r\n\tpublic int getWidth() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "e7168ddd86b922e392b004ba8700a3c3", "score": "0.47170597", "text": "@Override\n public int getWidth() {\n return (width - 10);\n }", "title": "" }, { "docid": "41dcf405eb16afee8fabbc74946fd80c", "score": "0.47109133", "text": "public int getOccupiedSpace(){ \r\n return length+dataLines+outputLines; \r\n }", "title": "" }, { "docid": "d870d7c229a7eeea91f38a5cd387dda0", "score": "0.47100183", "text": "public int getWidthInTiles ();", "title": "" }, { "docid": "a8dae7f932c12a2ca24bfc5c10adac12", "score": "0.47096094", "text": "float getWidth();", "title": "" }, { "docid": "a8dae7f932c12a2ca24bfc5c10adac12", "score": "0.47096094", "text": "float getWidth();", "title": "" }, { "docid": "a8dae7f932c12a2ca24bfc5c10adac12", "score": "0.47096094", "text": "float getWidth();", "title": "" }, { "docid": "daf1ec4e6ab7dd5dc6c4338679cf6cad", "score": "0.470881", "text": "private GameGeometry makeGeometry_EuclideanFlat(){\n return new GameGeometry() {\n @Override\n Point[] getAdjacentPoint(Point p) {\n Point[] out = new Point[8];\n int leftX = p.x-1;\n int rightX = p.x+1;\n int topY = p.y-1;\n int bottomY = p.y+1;\n\n if (topY>=0) {\n if (leftX>=0) { out[0] = new Point(leftX, topY); }\n out[1] = new Point (p.x, topY);\n if (rightX<size.width) { out[2] = new Point(rightX, topY); }\n }\n if (leftX>=0) {out[3] = new Point(leftX, p.y);}\n if (rightX<size.width) {out[4] = new Point(rightX, p.y);}\n if (bottomY<size.height) {\n if (leftX>=0) {out[5] = new Point(leftX, bottomY);}\n out[6] = new Point(p.x, bottomY);\n if (rightX<size.width) {out[7] = new Point(rightX, bottomY);}\n }\n return out;\n }\n };\n }", "title": "" }, { "docid": "1a6b88bf6c7636a50fd69c0e07a6bba5", "score": "0.47082216", "text": "private int getPixelWidth() {\n\t\tint width = SpriteManager.getInstance().IMAGE_PLATFORM_LEFT.getWidth(null);\n\t\twidth += SpriteManager.getInstance().IMAGE_PLATFORM_TOP.getWidth(null)*length;\n\t\twidth += SpriteManager.getInstance().IMAGE_PLATFORM_RIGHT.getWidth(null);\n\t\treturn width-length;\n\t}", "title": "" }, { "docid": "749b69fa35f4eed5d4b784f2b00e6b7c", "score": "0.4707709", "text": "private void SubBytes() {\n\t\t\n\t}", "title": "" }, { "docid": "ee85274225a9dd7d47665a7377450353", "score": "0.47061262", "text": "private int createIndex() {\n if((x == 0) && (y == 0) && (z == 0))\n return 0;\n if(equalsAxis(-1, 0, 1)) // south west corner\n return 1;\n if(equalsAxis(0,-1, 1)) // south east corner\n return 2;\n if(equalsAxis(1, -1, 0)) // east corner\n return 3;\n if(equalsAxis(1, 0, -1)) // north east corner\n return 4;\n if(equalsAxis(0, 1, -1)) // north west corner\n return 5;\n if(equalsAxis(-1, 1, 0)) // west corner\n return 6;\n int radius = this.radiusFromCenter();\n // HexTile first = new HexTile(-radius, 0, radius, false);\n if(x == -radius && y == 0 && z == radius)\n return 1 + countInnerRingsTiles(radius); // the element + inner rings\n return countInnerRingsTiles(radius) + countTilesRing(radius);\n }", "title": "" }, { "docid": "d89e88b9d0e0e50d85ed7ffe28746fb2", "score": "0.47006482", "text": "private static int divmethod() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "6dd50452ce32bfbaceb15ee09a0cd44f", "score": "0.47001523", "text": "public Point getUpperLeft(){return topLeftCorner;}", "title": "" }, { "docid": "a7bcd5b56afff6d681942ae61554e484", "score": "0.469808", "text": "private static int RetParentS(nodeRB<Integer> root, int data) {\n\treturn 0;\r\n}", "title": "" }, { "docid": "fae28dcd713b0a3587aec2ed9f162c9b", "score": "0.46974438", "text": "public void spiele();", "title": "" }, { "docid": "093c4b6d0b404593980934bacce670b6", "score": "0.46968314", "text": "public void StarBoard() {\r\n\t\tif (direct == 1) {\r\n\t\t\tya = -1;\r\n\t\t\txa = 0;\r\n\t\t}\r\n\t\tif (direct == 2) {\r\n\t\t\tya = 0;\r\n\t\t\txa = 1;\r\n\t\t}\r\n\t\tif (direct == 3) {\r\n\t\t\tya = 1;\r\n\t\t\txa = 0;\r\n\t\t}\r\n\t\tif (direct == 4) {\r\n\t\t\tya = 0;\r\n\t\t\txa = -1;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "dc14b065c46072fb5d5b157f26ed56d2", "score": "0.46901494", "text": "@Override\n public void walk() {\n\n }", "title": "" }, { "docid": "f893a99f73f933b782ef5ea8b4f43779", "score": "0.46836266", "text": "public void divideSpecialsTest()\n\t{\n\t}", "title": "" }, { "docid": "7d1db213217bd71422c0413d71a6df8f", "score": "0.46830577", "text": "public int getR()\r\n {\r\n return 0;\r\n }", "title": "" }, { "docid": "051cdf8b01429ecd2e9ec5ec66b12513", "score": "0.46830204", "text": "int getOperateLen();", "title": "" }, { "docid": "051cdf8b01429ecd2e9ec5ec66b12513", "score": "0.46830204", "text": "int getOperateLen();", "title": "" }, { "docid": "c16daf693a0646c6b0ced3dc0247757d", "score": "0.46810585", "text": "private int hopDistance() {\n\n }", "title": "" }, { "docid": "96c411963a2f99d24c7a0064cf66b0f5", "score": "0.4676584", "text": "private int inn(){\n\t\t\t\t\t\t\tclosv2 += closv1;\n\t\t\t\t\t\t\tclosv1 += 1;\n\t\t\t\t\t\t\treturn closv2;\n\t\t\t\t\t}", "title": "" }, { "docid": "82ab90ffadf9b8d43e60c8510a33beba", "score": "0.4674242", "text": "@Override\r\n\tpublic void morirse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "fccf39977e3c91155fad978d0d4a51bf", "score": "0.46715656", "text": "int getWidth();", "title": "" }, { "docid": "0bc4d9518caddd4b70e859c17b0a7b18", "score": "0.46701884", "text": "int getPos ();", "title": "" }, { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.4667737", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a650cb10d3fc5a2f6853dc6588718739", "score": "0.4665351", "text": "private int parentIndex(int index) {\n return (index - 1) / 2;\n }", "title": "" }, { "docid": "abcb8dcc9b8fec4c307afa165b469924", "score": "0.46631232", "text": "public RowCol getEndPoint()\n{\n return pathpoints.get(pathpoints.size()-1);\n}", "title": "" }, { "docid": "c5793c0790352a015c86cabf9a423d81", "score": "0.46608678", "text": "@Override\t\n\tpublic void swim () {\n\t}", "title": "" }, { "docid": "9bd8a9bd34c7052f1cade50e51992d0c", "score": "0.46575367", "text": "double getWidth();", "title": "" }, { "docid": "9bd8a9bd34c7052f1cade50e51992d0c", "score": "0.46575367", "text": "double getWidth();", "title": "" }, { "docid": "1b986b12a136fa8416bb62099174789b", "score": "0.4656114", "text": "protected int parent(int j) { return (j-1) / 2;}", "title": "" }, { "docid": "bafa0cf2cd9babea9c81fb56305a1cbc", "score": "0.46546203", "text": "String blockPointer();", "title": "" }, { "docid": "154af809c08124b491687655b4966387", "score": "0.4653166", "text": "public int horizontal(){\n return horionztal;\n }", "title": "" }, { "docid": "2a229cdc7b3b93352478bacd7c49b432", "score": "0.4650433", "text": "public void b(int r25, int r26, int r27, int r28) {\n /*\n r24 = this;\n r6 = r24\n boolean r0 = androidx.appcompat.widget.ViewUtils.isLayoutRtl(r24)\n int r7 = r24.getPaddingTop()\n int r1 = r28 - r26\n int r2 = r24.getPaddingBottom()\n int r8 = r1 - r2\n int r1 = r1 - r7\n int r2 = r24.getPaddingBottom()\n int r9 = r1 - r2\n int r10 = r24.getVirtualChildCount()\n int r1 = r6.mGravity\n r2 = 8388615(0x800007, float:1.1754953E-38)\n r2 = r2 & r1\n r11 = r1 & 112(0x70, float:1.57E-43)\n boolean r12 = r6.mBaselineAligned\n int[] r13 = r6.mMaxAscent\n int[] r14 = r6.mMaxDescent\n int r1 = androidx.core.view.ViewCompat.getLayoutDirection(r24)\n int r1 = androidx.core.view.GravityCompat.getAbsoluteGravity(r2, r1)\n r15 = 2\n r5 = 1\n if (r1 == r5) goto L_0x004b\n r2 = 5\n if (r1 == r2) goto L_0x003f\n int r1 = r24.getPaddingLeft()\n goto L_0x0056\n L_0x003f:\n int r1 = r24.getPaddingLeft()\n int r1 = r1 + r27\n int r1 = r1 - r25\n int r2 = r6.mTotalLength\n int r1 = r1 - r2\n goto L_0x0056\n L_0x004b:\n int r1 = r24.getPaddingLeft()\n int r2 = r27 - r25\n int r3 = r6.mTotalLength\n int r2 = r2 - r3\n int r2 = r2 / r15\n int r1 = r1 + r2\n L_0x0056:\n r2 = 0\n if (r0 == 0) goto L_0x0060\n int r0 = r10 + -1\n r16 = r0\n r17 = -1\n goto L_0x0064\n L_0x0060:\n r16 = 0\n r17 = 1\n L_0x0064:\n r3 = 0\n L_0x0065:\n if (r3 >= r10) goto L_0x0145\n int r0 = r17 * r3\n int r2 = r16 + r0\n android.view.View r0 = r6.b((int) r2)\n if (r0 != 0) goto L_0x0078\n int r0 = r6.d(r2)\n int r1 = r1 + r0\n goto L_0x012f\n L_0x0078:\n int r5 = r0.getVisibility()\n r15 = 8\n if (r5 == r15) goto L_0x012d\n int r15 = r0.getMeasuredWidth()\n int r5 = r0.getMeasuredHeight()\n android.view.ViewGroup$LayoutParams r18 = r0.getLayoutParams()\n r4 = r18\n androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r4 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r4\n if (r12 == 0) goto L_0x00a0\n r18 = r3\n int r3 = r4.height\n r19 = r10\n r10 = -1\n if (r3 == r10) goto L_0x00a4\n int r3 = r0.getBaseline()\n goto L_0x00a5\n L_0x00a0:\n r18 = r3\n r19 = r10\n L_0x00a4:\n r3 = -1\n L_0x00a5:\n int r10 = r4.gravity\n if (r10 >= 0) goto L_0x00aa\n r10 = r11\n L_0x00aa:\n r10 = r10 & 112(0x70, float:1.57E-43)\n r20 = r11\n r11 = 16\n if (r10 == r11) goto L_0x00e9\n r11 = 48\n if (r10 == r11) goto L_0x00d6\n r11 = 80\n if (r10 == r11) goto L_0x00bf\n r3 = r7\n r11 = -1\n L_0x00bc:\n r21 = 1\n goto L_0x00f7\n L_0x00bf:\n int r10 = r8 - r5\n int r11 = r4.bottomMargin\n int r10 = r10 - r11\n r11 = -1\n if (r3 == r11) goto L_0x00d4\n int r21 = r0.getMeasuredHeight()\n int r21 = r21 - r3\n r3 = 2\n r22 = r14[r3]\n int r22 = r22 - r21\n int r10 = r10 - r22\n L_0x00d4:\n r3 = r10\n goto L_0x00bc\n L_0x00d6:\n r11 = -1\n int r10 = r4.topMargin\n int r10 = r10 + r7\n if (r3 == r11) goto L_0x00e5\n r21 = 1\n r22 = r13[r21]\n int r22 = r22 - r3\n int r10 = r10 + r22\n goto L_0x00e7\n L_0x00e5:\n r21 = 1\n L_0x00e7:\n r3 = r10\n goto L_0x00f7\n L_0x00e9:\n r11 = -1\n r21 = 1\n int r3 = r9 - r5\n r10 = 2\n int r3 = r3 / r10\n int r3 = r3 + r7\n int r10 = r4.topMargin\n int r3 = r3 + r10\n int r10 = r4.bottomMargin\n int r3 = r3 - r10\n L_0x00f7:\n boolean r10 = r6.c(r2)\n if (r10 == 0) goto L_0x0100\n int r10 = r6.mDividerWidth\n int r1 = r1 + r10\n L_0x0100:\n int r10 = r4.leftMargin\n int r10 = r10 + r1\n int r1 = r6.a((android.view.View) r0)\n int r22 = r10 + r1\n r1 = r0\n r0 = r24\n r25 = r1\n r11 = r2\n r2 = r22\n r22 = r7\n r23 = -1\n r7 = r4\n r4 = r15\n r0.setChildFrame(r1, r2, r3, r4, r5)\n int r0 = r7.rightMargin\n int r15 = r15 + r0\n r0 = r25\n int r1 = r6.b((android.view.View) r0)\n int r15 = r15 + r1\n int r10 = r10 + r15\n int r0 = r6.a((android.view.View) r0, (int) r11)\n int r3 = r18 + r0\n r1 = r10\n goto L_0x0139\n L_0x012d:\n r18 = r3\n L_0x012f:\n r22 = r7\n r19 = r10\n r20 = r11\n r21 = 1\n r23 = -1\n L_0x0139:\n int r3 = r3 + 1\n r10 = r19\n r11 = r20\n r7 = r22\n r5 = 1\n r15 = 2\n goto L_0x0065\n L_0x0145:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: androidx.appcompat.widget.LinearLayoutCompat.b(int, int, int, int):void\");\n }", "title": "" }, { "docid": "02e90b9e7080760891c0b378d24df83e", "score": "0.4642632", "text": "public abstract int mo3966w();", "title": "" }, { "docid": "f95e24981675e675121146f90a85bfe2", "score": "0.46406272", "text": "protected abstract void mo3673S();", "title": "" }, { "docid": "2499a8e902d7610507f0a5036ebc605b", "score": "0.46405318", "text": "public int getConnectableMask()\r\n/* 76: */ {\r\n/* 77: 63 */ return 15;\r\n/* 78: */ }", "title": "" }, { "docid": "0f8212c7fbf5799cc985910ee038e9f2", "score": "0.4640432", "text": "@Override\n public int getWidth() {\n return 0;\n }", "title": "" }, { "docid": "38c417be5ee37eb1b2a76260ed8b1783", "score": "0.46398628", "text": "static int getInnerPoints(int w, int h){\n\t\treturn ((h-1)*(w-1) - (gcdMemo[w][h] - 1))/2;\n\t}", "title": "" }, { "docid": "2d2b3537b94938d1ce4ca26c140fc1aa", "score": "0.46377853", "text": "public int getHeads();", "title": "" }, { "docid": "5a98165a247e75b9626e4fea1cbdb280", "score": "0.46350124", "text": "protected static Map[][] getSpriteQuadCompactMaps() {\n/* 1042 */ return spriteQuadCompactMaps;\n/* */ }", "title": "" }, { "docid": "f96c92776f7cc10da4653b8b150edce8", "score": "0.46318614", "text": "public int tile_width()\r\n\t {\r\n\t return largeur_bloc;\r\n\t }", "title": "" }, { "docid": "b76863387c9910df331c20ea98031e1e", "score": "0.46298558", "text": "public void digBestPath() {\n int x = 1;\n int y = 1;\n int energy = startingEnergy;\n\n while (x < xwidth - 1) {\n energy--;\n map[y][x] = '.';\n if (energy == 0) {\n energy += 10;\n energyTiles++;\n map[y][x] = 'E';\n }\n x++;\n }\n x = xwidth - 2;\n while (y < ywidth) {\n energy--;\n map[y][x] = '.';\n if (energy == 0) {\n energy += 10;\n energyTiles++;\n\n map[y][x] = 'E';\n }\n y++;\n }\n }", "title": "" }, { "docid": "a2aa423512e4f8d4a2992116ef262ebf", "score": "0.46242544", "text": "double getElng();", "title": "" }, { "docid": "62ec657ac8e5bbe6ec2bd8ddd1bd56a0", "score": "0.46238747", "text": "String getCypherMountPoint();", "title": "" }, { "docid": "5715874e11865840e7ef10b597a8c9a3", "score": "0.46230102", "text": "public double getWidth() {\n return ur.x - ll.x;\n }", "title": "" }, { "docid": "e20e2fe186bfaf3c6f93e857580eebec", "score": "0.46216258", "text": "public abstract int getSide();", "title": "" } ]
b46ebc50ebf70b96dc58bf7e204dd9cd
Fixe le personnage actif
[ { "docid": "e5ed70f7177410188f5c3cc38435cae2", "score": "0.5521351", "text": "public void setPersonnageActif(Personnage personnageActif) {\r\n\t\tthis.personnageActif = personnageActif;\r\n\t}", "title": "" } ]
[ { "docid": "b60d9c181dba79cbda67bef2b7cef6e4", "score": "0.61450833", "text": "public void afficherJoueurActif();", "title": "" }, { "docid": "bfe80724b9a827eb1aa5bbd5110e170f", "score": "0.6005851", "text": "public void clearPersonnageActif(){\r\n\t\tsetPersonnageActif(null);\r\n\t}", "title": "" }, { "docid": "39ca201da12afe32415aaf1bc2d35821", "score": "0.59620196", "text": "public void cambioDeTurno() {\n procesoAuxiliar.nombre = procesos[0].nombre;\n procesoAuxiliar.duracion = procesos[0].duracion;\n for(int i = 0; i < apuntadorSiguienteProceso - 1; i++) {\n procesos[i].nombre = procesos[i + 1].nombre;\n procesos[i].duracion = procesos[i + 1].duracion;\n }\n procesos[apuntadorSiguienteProceso - 1].nombre = procesoAuxiliar.nombre;\n procesos[apuntadorSiguienteProceso - 1].duracion = procesoAuxiliar.duracion;\n if(procesos[apuntadorSiguienteProceso - 1].duracion <= 0) {\n procesos[apuntadorSiguienteProceso - 1].nombre = \"\";\n procesos[apuntadorSiguienteProceso - 1].duracion = 0;\n apuntadorSiguienteProceso--;\n }\n }", "title": "" }, { "docid": "f94b613005310797bf89e8a4d00848b5", "score": "0.5937186", "text": "public void changementDeJoueur() {\n joueurActif = (joueurActif + 1) % nbJoueur;\n }", "title": "" }, { "docid": "c8be3ea6ab5eecf7de9e9612e22462be", "score": "0.5911127", "text": "public void toss() {\n joueurActif = (int) (Math.random() * nbJoueur);\n }", "title": "" }, { "docid": "c715e6440f7456fda1567d823810ddce", "score": "0.5908164", "text": "void limpiarPuntos(){\n\t\tsetPuntuacion(0);\n\t}", "title": "" }, { "docid": "7cb0237900e051b1946dc703de355288", "score": "0.5862503", "text": "public void imprimirPorNiveles() {\r\n imprimirPorNiveles(r);\r\n }", "title": "" }, { "docid": "010895dfc7110f9499edd876f17246a9", "score": "0.58013076", "text": "public void atingir() {\n\t\tthis.vida = vida - 1;\n\t}", "title": "" }, { "docid": "496bd9f6f0fcfdccd24e87149709d838", "score": "0.5782875", "text": "public void killPacman(){\r\n \tsubstractOneLife();\r\n\t\treturnEverythingToStartPosition();\r\n }", "title": "" }, { "docid": "8c088658f3a66de4aaaf8b1f9028a11b", "score": "0.57350636", "text": "public void cambiarTurno() {\n if (turnoJ1) {\n turnoJ1 = false;\n } else {\n turnoJ1 = true;\n }\n tiros++;\n }", "title": "" }, { "docid": "eac0d55bec31075d93c13e69704f2868", "score": "0.5730825", "text": "public static void tourSuivant(){\n\t\tif(Equipe.liste.size() == 1){\n\t\t\tvictoire(Equipe.liste.get(0));\n\t\t}else{\n\t\tequipeActive = Equipe.aQuiLeTour() ;\n\t\tequipeActive.reinitialiser();\n\t\tactif = equipeActive.membre.get(0);\n\t\tp.afficher();\n\t\tif(equipeActive.ia){\n\t\t\tIA.jouer(equipeActive);\n\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "58a0eec713875c707753a059cf0f8f23", "score": "0.57096916", "text": "public void resetEdadTipica();", "title": "" }, { "docid": "d06d7b25bab89f81d630ce812fd120d9", "score": "0.5690671", "text": "public void act() \n {\n setLocation(getX()-speed, getY());\n turn(1);\n \n if(getX()==0)\n { \n MyWorld myNewWorld = (MyWorld)getWorld(); \n int aNB=myNewWorld.getNumberOfCrabMissed();\n aNB++;\n myNewWorld.setNumberOfCrabMissed(aNB);\n myNewWorld.addScore(-2);\n myNewWorld.removeObject(this);\n } \n }", "title": "" }, { "docid": "3d98e26956312f411587da6218499b74", "score": "0.5677956", "text": "public void resetNivelInteractividad();", "title": "" }, { "docid": "455f71d535e473f5c9d058837bf8b42e", "score": "0.5661183", "text": "private void giocaUnTurno()\n\t{\n\t\tint mossa;\n\t\tSystem.out.println(player);\n\t\tif (player.getTurniInPrigione() == 0)\n\t\t{\n\t\t\tSystem.out.println(\"LANCIO DEI DADI\");\n\t\t\tlancioDeiDadi();\n\t\t\tint primoDado = EstrazioniCasuali.estraiIntero(1, 6);\n\t\t\tSystem.out.print(primoDado + \" \");\n\t\t\tint secondoDado = EstrazioniCasuali.estraiIntero(1, 6);\n\t\t\tSystem.out.println(secondoDado);\n\t\t\tmossa = primoDado + secondoDado;\n\t\t\tSystem.out.println(\"TI MUOVERAI DI \" + mossa + \" CASELLE\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tmossa = 0;\n\t\t}\n\t\tmappa.muovi(mossa, player);\n\n\t}", "title": "" }, { "docid": "e71f24224ab9797f0b0c228db1a530e9", "score": "0.5650417", "text": "public void act()\n {\n movement(4); \n despawn(900);\n }", "title": "" }, { "docid": "641c00c44fc20df3b87d1a92b186a6e6", "score": "0.56426084", "text": "public void removeCaliBird() { actors.remove(0); }", "title": "" }, { "docid": "05060b6cb269c70fa3c277427c79b542", "score": "0.5633053", "text": "public void act() \n {\n // gerakkan peluru semut.\n move(4);\n \n if ( isAtEdge() ){\n getWorld().removeObject(this);\n } else {\n if ( isTouching(Lalat.class) ) {\n // peluru meledak\n Ledakan ledakan = new Ledakan();\n \n getWorld().addObject(ledakan, getX(), getY());\n }\n }\n }", "title": "" }, { "docid": "591499fae3453acf97d05164c1d2adbc", "score": "0.5632591", "text": "public void solicitudModificarActor() {\n\t\tmodeloGestionDatos.modificarActor(gestionActores.getNombre(), gestionActores.getEdad(),\n\t\t\t\tgestionActores.getGenero(), gestionActores.getIdioma(), gestionActores.getComplexion(),\n\t\t\t\tgestionActores.getActivo(), gestionActores.getCodigo_actor());\n\t}", "title": "" }, { "docid": "b1f3b5e646d0236db3e8e548b075c863", "score": "0.5623361", "text": "public void act()\r\n {\r\n if( ((SpidermanWorld)getWorld()).getNivel() == 2 )\r\n move( -1 );\r\n super.act();\r\n }", "title": "" }, { "docid": "2d5675022b7bf4337d17ca2222d0b89b", "score": "0.5616123", "text": "@Override\n\tpublic void caminar() {\n\t\tSystem.out.println(\"prueba interfaz tradicional\");\n\t\t\n\t}", "title": "" }, { "docid": "74dc8f75099599b67ec39c6836c988be", "score": "0.5615865", "text": "public void act() \n { \n rzucPilke();\n move(8);\n czyPunkt(); \n }", "title": "" }, { "docid": "0046b8e3335091b1ca3d7d0798a8ee62", "score": "0.56086576", "text": "public void reset(){\r\n\tthis.asus=false;\r\n\tthis.aux=false;\r\n\tthis.iconoActual = 0;\r\n\tthis.imagenActual = iconos[0].getImagenIndex(0);\r\n\tthis.nombre=\"Inky\";\r\n\tthis.modo=Mode.INACTIVO; //estara inactivo hasta que el pacman coma 30 puntos\r\n\tthis.pos = new Position (14,15); \r\n}", "title": "" }, { "docid": "e332efeece130b0ac0391f711ef2c759", "score": "0.56077534", "text": "public void act()\n {\n Reloj= Reloj + 0.000001;\n Puntaje = Puntaje + Reloj;\n Mostrar = (int) Puntaje;\n //Mostrar++;\n setImage(new GreenfootImage(\"Puntaje Actual: \" + Mostrar, 50, Color.GREEN, Color.BLACK));\n }", "title": "" }, { "docid": "c87711fb7782ba7ef0216549a6ed0f33", "score": "0.5580375", "text": "public void changerTour()\n\t{\n\t\testTourHumain = !estTourHumain;\n\t}", "title": "" }, { "docid": "1f4b4f0b75077ab0ca3c124eaefcf8b2", "score": "0.55792415", "text": "@Override\n public void intercambiarArmaA(PersonajesImp a) {\n Armas auxiliar;\n auxiliar = a.arma;\n a.arma = this.arma;\n this.arma = auxiliar;\n }", "title": "" }, { "docid": "21382a57eda1a8d9741bdc3596ca5692", "score": "0.5560127", "text": "public void tour() {\n\t\t\n\t\t\t\t\tfor (Neuneu neuneu : this.listeNeuneu) {\n\t\t\t\t\t\tneuneu.marcher();\n\t\t\t\t\t}\n\t\t\n\t\t// un autre balayage pour action(),\n\t\tfor (int i = 0; i < Loft.largeurLoftX; i++) {\n\t\t\tfor (int j = 0; j < Loft.longueurLoftY; j++) {\n\t\t\t\tthis.grille[i][j].action();\n\t\t\t}\n\t\t}\n/*\n\t\t// un autre pour nettoyer les neuneus à zéro d'énergie et la bouffe à 0 également\n\t\tfor (int i = 0; i < Loft.largeurLoftX; i++) {\n\t\t\tfor (int j = 0; j < Loft.longueurLoftY; j++) {\n\t\t\t\tCase currentCase = this.grille[i][j];\n\n\t\t\t\tif (currentCase.aNeuneu()) {\n\t\t\t\t\t\n\t\t\t\t\tArrayList<Neuneu> listeE=new ArrayList<Neuneu>();\n\t\t\t\t\tfor (Neuneu neuneu : currentCase.getNeuneus()) {\n\t\t\t\t\t\tif (neuneu.getEnergie() == 0)\n\t\t\t\t\t\t\tlisteE.add(neuneu);\t\n \n\t\t\t\t\t}\n\t\t\t\t\tfor (Neuneu neuneu : listeE) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tthis.supprimerNeuneu(neuneu);\n\t\t\t\t}\n\t\t\t\t}\n \n if (currentCase.aNourriture()) {\n if (currentCase.bouffe.getEnergie() == 0){\n currentCase.supprimerNourriture();\n this.listeNourriture.remove(currentCase.bouffe);\n }\n }\n\n\t\t\t}\n\t\t}\n\n\t\t// Random pour le nombre de bouffe et de neuneu à rajouter\n\n\t\tint nbBouffe = (int) (Math.random() * 5);\n\t\tint nbNeuneu = (int) (Math.random() * 2);\n\n\t\tfor (int i = 0; i < nbBouffe; i++) {\n\t\t\tthis.ajoutBouffe();\n\t\t}\n\n\t\tif (nbNeuneu == 1)\n\t\t\tthis.ajoutNeuneu();\n*/\n\t}", "title": "" }, { "docid": "feb859f09886a5c441bff559becfbfa9", "score": "0.55532575", "text": "public void frenar() {\n\t\tdouble velocidad = velocidadDeBici(1);\n\t\t\n\t\tsetEspacioRecorrido(espacioDePedalada());\n\t\t\n\t\tdouble decrementovelocidad = velocidad * 0.1;\n\t\t\n\t\tsetVelocidadIncremento(-decrementovelocidad);\n\t}", "title": "" }, { "docid": "c4220b56119fcdf4976c2d92b3fec9a8", "score": "0.5526095", "text": "@Override\n\tpublic void rebotar() {\n\t\tSystem.out.println(\"La pelota de futbol está rebotando\");\n\t}", "title": "" }, { "docid": "3902423fde9a3fc7607b99c81dacca15", "score": "0.5511573", "text": "void actualizar(Persona persona);", "title": "" }, { "docid": "d7e2c8393fa7538075e31b7ec0b35673", "score": "0.5508337", "text": "@Fix(GratextValidator.ACCION_CAMARA)\r\n public void arreglarCamaraDesactivar(final Issue issue, final IssueResolutionAcceptor acceptor) {\r\n final IModification _function = (IModificationContext context) -> {\r\n final IXtextDocument xtextDocumente = context.getXtextDocument();\r\n xtextDocumente.replace((issue.getOffset()).intValue(), (issue.getLength()).intValue(), \" quiero DESACTIVAR\");\r\n };\r\n acceptor.accept(issue, \"Modificacion de la accion por DESACTIVAR\", \"Se modificara por la accion DESACTIVAR\", \"acciones.gif\", _function);\r\n }", "title": "" }, { "docid": "41d0fcba6946d6c0354f201b701ea6a1", "score": "0.55027676", "text": "public void resetTurn() {\n if (inhabitant instanceof Herbivore) {\n ((Herbivore) inhabitant).resetTurn();\n }\n }", "title": "" }, { "docid": "5178b5fd20a7140103e6860144f71c17", "score": "0.5490423", "text": "private void atira() {\n\t\t\n\t\tif (temMunicao()) {\n\t\t\tround=(round - 1);\n\t\t\tConstantes.projeteis.add( new Projetil (this,angulo,Constantes.TIPO_ASSASINO_PLAYER ));\n\t\t\tGerenciadorDeSom.tiroAK();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "3cb029094ecabaaa99b7990bb4e69d1a", "score": "0.54873323", "text": "public void lutar(ArrayList<Personagem> personagens, Mochila mochila){\n //variaveis auxiliares\n int saida=0;\n int entradaHabilidade;\n int entradaAlvo;\n int entradaItem=-1;\n \n while(saida==0){//saida caso todos os inimigos estejam mortos\n \n System.out.println(\"- - - Turno dos jogadores - - -\\n\");\n for(int i=0;i<personagens.size();i++){\n \n if(personagens.get(i).taMorto()==false){//checando se o Personagem esta morto\n \n personagens.get(i).showActions();\n while(true){//repetir entrada caso invalido\n \n System.out.println(\"Qual habilidade usar?\\n\");\n entradaHabilidade=teclado.nextInt();//habilidades comecam do 1, diferente do Array, 0 para mochila\n \n if(entradaHabilidade==0){//escolhendo item\n mochila.imprime();\n System.out.println(\"Qual item usar?\\n\");\n entradaItem=teclado.nextInt()-1;\n }\n \n System.out.println(\"Qual alvo?\\n\");\n entradaAlvo=teclado.nextInt()-1; //-1 pois tratamos de Array, logo posicao 1 = 0\n\n if(entradaHabilidade==0){if(mochila.usaItem(entradaItem, personagens.get(i), inimigos, entradaAlvo)>=0)break;}\n else if(personagens.get(i) instanceof WhiteMage & entradaHabilidade>1){//trocar para modo cura no caso especifico do clerigo\n if(personagens.get(i).habilidades(entradaHabilidade, personagens, entradaAlvo)>=0)break;\n }else if(personagens.get(i).habilidades(entradaHabilidade, this.inimigos, entradaAlvo)>=0)break;\n }\n for(int j=this.inimigos.size()-1; j>=0;j--){//tira os inimigos da lista antes que o proximo heroi/inimigo ataque\n if(this.inimigos.get(j).taMorto())this.inimigos.remove(j);\n }\n }if(this.inimigos.isEmpty())break;\n }if(this.inimigos.isEmpty())break;\n \n System.out.println(\"- - - Turno dos inimigos - - -\\n\");\n for(Inimigo inimigoTemp:inimigos){\n System.out.println(\"Vez do \"+inimigoTemp.getNome()+\"\\n\");\n \n if(((Guerreiro)personagens.get(0)).isTaunting() & ((Guerreiro)personagens.get(0)).taMorto()==false)inimigoTemp.atacar(personagens.get(0));//mecanica Taunt do Guerreiro\n else {//cria um array com todas as opcoes de alvos vivos, random escolhe um numero nesse array. Garantida escolha de alvo vivo\n ArrayList<Integer> targets=new ArrayList<Integer>();\n for(int i=0; i<personagens.size();i++){\n if(personagens.get(i).taMorto()==false)targets.add(i);\n }\n inimigoTemp.atacar(personagens.get(targets.get(RandomRoll.danoroll(targets.size()))));\n targets.clear();\n }\n \n for(int i=0; i<personagens.size();i++){//checa quantos personagens estao mortos\n if(personagens.get(i).taMorto()){\n saida--;\n }\n }if(saida!=(-1)*personagens.size())saida=0;\n else if(saida==(-1)*personagens.size())break;\n }\n \n //checando condicoes de parada e resetando algumas mecanicas\n ((Guerreiro)personagens.get(0)).fimTaunt();//So funciona pq o Guerreiro ta na posicao 1 (0)\n \n if(saida!=(-1)*personagens.size())saida=0;\n else if(saida==(-1)*personagens.size())break; //se todos os personagens morreram \n \n }//fim do while\n \n //mensagens de fim de Combate, recompensas, resets finais\n ((WhiteMage)personagens.get(2)).fimHeroism(personagens);//reseta mecanica Heroism do WhiteMage\n \n if (saida>=0){\n System.out.print(\"Os personagens derrotaram \"+nomeI+\"!\\nReceberam \"+xp+\" de experiencia!\\n\");\n for(int i=0;i<4;i++) {\n \tpersonagens.get(i).ganhaXp(xp);\n }\n }else if(saida<0){\n System.out.print(\"Os personagens foram derrotados!\\n\");\n }\n }", "title": "" }, { "docid": "52c100c667ed2ad7a394b99c4a11caa4", "score": "0.54829925", "text": "public void Restart(){\r\n cancionF.stop();\r\n tonybr=null;\r\n Boss = null;\r\n malo = null;\r\n vida = 5;\r\n balathermo=balathermo1=balathermo2=balathermo3=balathermo4=balathermo5= null;\r\n init();\r\n \r\n }", "title": "" }, { "docid": "dcc28971994aec76d6b3f57396330d77", "score": "0.5481494", "text": "@Override\n public void digerirAlimento() {\n suicidarse();\n }", "title": "" }, { "docid": "df9a916cae93a86b3b35ccdabe50a85c", "score": "0.5479101", "text": "@Override\n public final void actualizar() {\n mundo.actualizar();\n entidadPersonaje.actualizar();\n }", "title": "" }, { "docid": "c0a141357ca17bd5092358376b4b71b1", "score": "0.54758185", "text": "public void resetProceso() {\r\n\r\n//\t\tfor (int i = 0; i < personajes.length; i++) {\r\n//\r\n//\t\t\tif (personajes[i].getPosX() >= 1200) {\r\n//\r\n//\t\t\t\tpersonajes[i].setPosX(random.nextInt(X_MAX + 1 - (X_MIN)) + X_MIN);\r\n//\t\t\t\tpersonajes[i].setPosY(random.nextInt(Y_RANDOM));\r\n//\r\n//\t\t\t}\r\n//\r\n//\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "12d99767a2305c7ac22a3fafb9de3a45", "score": "0.54750407", "text": "@Override\r\n\tpublic void updateLettre_motivation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d6eb8775c76a3b668401dbf0c87242d0", "score": "0.5459867", "text": "@Override\n\tpublic void RespingeComanda() {\n\t\tSystem.out.println(\"Comanda nu afost preluata\");\n\t}", "title": "" }, { "docid": "114fa6e38148a855a3be3678bba44362", "score": "0.5454489", "text": "public void abandonarGrupoFamiliar(){\r\n\r\n\t}", "title": "" }, { "docid": "ac7a3d2cfc074b28be67cdd557d21d6b", "score": "0.5445208", "text": "@Override\n\tpublic void ReprimireComanda() {\n\t\tSystem.out.println(\"Comanda a fost reluata\");\n\t}", "title": "" }, { "docid": "bbc9a51cf91c6c0babc8eedbb0dee4ff", "score": "0.5445103", "text": "public void reiniciar() {\n\t\tgravedad = false;\n\t\taplastado = false;\n\t\tnoqueado = false;\n\t\tagachado = false;\n\n\t\tif (idPlayer == \"Uno\") {\n\t\t\tperspectiva = \"der\";\n\t\t\tpos.x = 40;\n\t\t\tpos.y = app.height / 2;\n\t\t} else {\n\t\t\tperspectiva = \"izq\";\n\t\t\tpos.x = 275;\n\t\t\tpos.y = app.height / 2;\n\t\t}\n\n\t}", "title": "" }, { "docid": "7a22facba04c6b654671481577081505", "score": "0.5440775", "text": "@Fix(GratextValidator.ACCION_CAMARA)\r\n public void arreglarCamaraActivar(final Issue issue, final IssueResolutionAcceptor acceptor) {\r\n final IModification _function = (IModificationContext context) -> {\r\n final IXtextDocument xtextDocumente = context.getXtextDocument();\r\n xtextDocumente.replace((issue.getOffset()).intValue(), (issue.getLength()).intValue(), \" quiero ACTIVAR\");\r\n };\r\n acceptor.accept(issue, \"Modificacion de la accion por ACTIVAR\", \"Se modificara por la accion ACTIVAR\", \"acciones.gif\", _function);\r\n }", "title": "" }, { "docid": "772a5859facdbeb30243145b52c2fc22", "score": "0.54380745", "text": "public void act() \n {\n spawn();\n shootjeda--;\n }", "title": "" }, { "docid": "3d2d83b8664d9e0227d48b81b6a2a930", "score": "0.54373425", "text": "void diminuerCompteARebours();", "title": "" }, { "docid": "493bf1f6d9bf138f518adf4fe2f18655", "score": "0.5426487", "text": "public void act() \n {\n if(((Jupiter)getWorld()).turnoJg2){\n enCombate();\n ((Jupiter)getWorld()).cambiarTurno2();\n } \n }", "title": "" }, { "docid": "df03b7a4dd638cee7a2e70a4bf413159", "score": "0.5415156", "text": "public void refrescarPantalla(ActionEvent e){\n\t\tSystem.out.println(\"Ingreso a refrescar pantalla\");\n\t}", "title": "" }, { "docid": "8a47faafe33e51fd2b6a90cb7daa377d", "score": "0.5409867", "text": "@Override\r\n\tpublic int editar(Persona p) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "bdf872fa0f5c2369461c46483cc8981b", "score": "0.53995275", "text": "public void act() \n {\n move(7);\n World m = getWorld();\n /*\n * Estas condicionales se encargan de dar movimiento y rotacion \n * aleatoria al objeto \"Enemy\"\n */\n if (getX()>=m.getWidth()-5|| getX()<=5){\n turn (180) ;\n if(Greenfoot.getRandomNumber(100)<90){\n turn(Greenfoot.getRandomNumber(90-45));\n }\n }\n if (getY()>=m.getHeight()-5||getY()<=5){\n turn(180);\n if(Greenfoot.getRandomNumber(100)<90){\n turn(Greenfoot.getRandomNumber(90-45));\n }\n } \n /*\n * Esta linea de codigo indica que el jugador \"Player1\" colicionó con el \n * \"Enemy\"\n */\n Actor Player1=getOneObjectAtOffset(0,0,Player1.class);\n /*\n * La primer condicion indica que cada vez que el \"Player1\" toque al \"Enemy\"\n * el \"Player1\"desaparecerá, se restará una vida al contador de vidas y\n * si aún quedan vidas disponebles el \"Player1\" reaparecerá en el centro\n * del mapa.\n * la segunda condicion es valida para cuando las vidas del \"Player1\" se \n * han agotado, cuando el contador de vidas llega a cero, el \"Player1\"\n * desaparece del mapa y se retorna al menú del juego.\n */\n if(Player1!=null){\n MyWorld world=(MyWorld)getWorld();\n getWorld().removeObject(Player1);\n getWorld().addObject(Player1,300,200);\n MyWorld.player1LifeCount.add(-1);\n if(MyWorld.player1LifeCount.getValue() ==0){\n \n Greenfoot.setWorld(new Menu());\n }\n \n \n }\n \n}", "title": "" }, { "docid": "472aaa321af7bafc8b6008a0962fc924", "score": "0.5389523", "text": "void limpiarRepeticiones(){\n\t\tsetNumRepeticiones(0);\n\t}", "title": "" }, { "docid": "c4e8eff75b15d338f3fa7bd4270c6fe1", "score": "0.5362437", "text": "public void redefineActivity(Activity act) {\n try {\n Person p = (Person)act.getIntent().getSerializableExtra(\"PERSON\");\n if(p != null) {\n user_in_intent = true;\n }\n } catch (NullPointerException e) {\n user_in_intent = false;\n }\n this.mAct = act;\n }", "title": "" }, { "docid": "b7958d20bbb7d15e2bd9956890dda4db", "score": "0.53611773", "text": "public void RomperEnlaceAnterior(){\r\n this.anteriorNodo=null;\r\n }", "title": "" }, { "docid": "25d2f157fe1cef6b773cc51595e7721a", "score": "0.5357374", "text": "@Override\n public void actionPerformed(ActionEvent ae) {\n CrearProfesor();\n //Metodo para generar la grafica\n panelProfesores.remove(7);\n panelProfesores.repaint();\n graficaPro();\n }", "title": "" }, { "docid": "8cabc7a7516af2f58ef2e6272170ea8b", "score": "0.5351353", "text": "public void act() \n {\n getImage().scale(length, length);\n if(length!=75){\n length--;\n }else{\n f=true;\n }\n if(f==true){\n time--;\n }\n if(time==0){\n if(flash==true){\n getImage().setTransparency(0);\n flash=false;\n }else{\n getImage().setTransparency(255);\n flash=true;\n }\n time=5;\n fire--;\n }\n \n if(fire==0){\n setImage(\"explode.png\");\n getImage().scale(length-20,length-20);\n length=length-5;\n if(getOneObjectAtOffset(0,0,Hippo.class)!=null){\n getWorld().removeObjects(getWorld().getObjects(Hippo.class));\n getWorld().addObject(new DeadHippo(),getX(),getY());\n }\n f=false;\n time=5;\n if(length<=60){\n getWorld().removeObject(this);\n }\n }\n }", "title": "" }, { "docid": "c06c267552d46bf1c37282e862c76906", "score": "0.5350966", "text": "public void limpiaRealces() {\n posicionesRealzadas.clear();\n }", "title": "" }, { "docid": "205fee230526d35c53e1a3d6f8eea3a5", "score": "0.5350481", "text": "public void ataqueRata(Personaje p) {\n\t\tint dano=50+50*(fuerza + fuerzaExtra)/50;\n\t\tp.recibeDano(dano);\n\t}", "title": "" }, { "docid": "41d7eefdd8a2426c66555a4fb14c421a", "score": "0.5343214", "text": "public void comFome(){\n Janela.estado[this.ID] = 1;\n System.out.println( getName() + \"estß FAMINTO\");\n }", "title": "" }, { "docid": "ea05dc3fc80377d707b975353e4f1d23", "score": "0.53420544", "text": "private void actionTour(Joueur j) {\n Scanner sc = new Scanner(System.in);\n int choix;\n ProprieteAConstruire p;\n CarreauPropriete cp;\n afficherInfosJoueurs();\n do {\n System.out.println(\"\\n\\t1 - Acheter la case sur laquelle on se trouve\");\n System.out.println(\"\\t2 - Construire\\n\");\n System.out.println(\"******************************************************************\");\n System.out.println(\"\\t0 - Fin du tour\");\n System.out.println(\"******************************************************************\");\n System.out.print(\"\\tVotre Choix : \");\n choix = -1;\n String stringChoix;\n char ch = 47;\n while (choix == -1)//Tant que la variable nbJoueur n'a pas �t� modifi�e, on continue la boucle\n {\n stringChoix = sc.nextLine(); //On r�cup�re la r�ponse de l'utilisateur\n if (stringChoix.length() == 1) {\n ch = stringChoix.charAt(0);/*ch contient le premier caract�re entr�. \n S'il ne se trouve pas entre 49 et 54 (code ascii), \n c'est que l'utilisateur a rentr� une valeur qui n'est pas valable.*/\n\n if ((ch > 47 && ch < 51)) {\n choix = ch - 48;\n } else {\n System.out.print(\"\\tChoisissez un nombre entre 0 et 2 : \");\n }\n } else {\n System.out.print(\"\\tChoisissez un nombre entre 0 et 2 : \");\n }\n\n }\n switch (choix) {\n case 1: {\n if (j.getPositionCourante() instanceof CarreauPropriete) {\n if (((CarreauPropriete) j.getPositionCourante()).getProprietaire() == null) {\n ((CarreauPropriete) j.getPositionCourante()).acheterPropriete(j);\n }\n } else {\n System.out.println(\"Vous ne pouvez pas acheter cette case ! \");\n }\n\n break;\n }\n\n case 2: {\n int taille = j.afficherProprietesJoueur();\n if (taille != 0) {\n System.out.print(\"Faites vos choix : \");\n int longueur = 0;\n for (ProprieteAConstruire p1 : j.getProprietes()) {\n longueur++;\n }\n char ch2 = 48;\n int i = -1;\n String stringI = \"11\";\n while (i <= 0 || i > longueur) {\n if ((i == 0 || i > longueur) && ((ch > 47 && ch < 57 && ch2 > 47 && ch2 < 57 && stringI.length() <= 2 && stringI.length() >= 1))) {\n System.out.print(\"Choisissez un nombre valide : \");\n }\n stringI = sc.nextLine(); //On r�cup�re la r�ponse de l'utilisateur\n if (stringI.length() == 1 || stringI.length() == 2) {\n ch = stringI.charAt(0);\n\n ch2 = 48;\n if (stringI.length() == 2) {\n ch2 = stringI.charAt(1);\n }\n if ((ch > 47 && ch < 57) && ch2 > 47 && ch2 < 57) {\n if (stringI.length() == 2) {\n i = (ch2 - 48) + 10 * (ch - 48);\n } else {\n i = ch - 48;\n }\n } else {\n System.out.print(\"Choisissez un nombre valide : \");\n }\n } else {\n System.out.print(\"Choisissez un nombre valide : \");\n }\n\n }\n p = (ProprieteAConstruire) j.choix(i);\n p.construire(monopoly);\n } else {\n System.out.println(\"Vous ne pouvez pas construire sur cette case\"); // Soit carte chance, caisse communauté, soit aucune propriété possèdée\n }\n break;\n\n }\n default:\n break;\n } // switch\n\n if (j.getPositionCourante() instanceof CarreauPropriete) {\n cp = (CarreauPropriete) j.getPositionCourante();\n if (cp.getProprietaire() != null && cp.getProprietaire() != j) {\n cp.payerLoyer(j);\n }\n\n }\n\n } while (choix != 0);\n messageEtatJoueur(j);\n }", "title": "" }, { "docid": "19935afc99205e49451a8f07b739ac62", "score": "0.5340386", "text": "public void rencontrer(Salle salle, PersonnagePrincipal joueur) throws InterruptedException;", "title": "" }, { "docid": "2215b449e5ca798bd1417f1219bd7ca8", "score": "0.53393924", "text": "public void antiSauteMoutonDroit (int x, int y, int deltaX, int deltaY, Affichage affichage) {\r\n saut = false;\r\n\r\n\r\n if (deltaX > 0) {\r\n System.out.println(\"1\");\r\n for (int i = x + 1; i < x + deltaX; i++) {\r\n System.out.println(\"affichage.plateauEnum[i][y] = \" + affichage.plateauEnum[i][y]);\r\n if (affichage.plateauEnum[i][y] != Affichage.typePiece._vide_) {\r\n System.out.println(\"mouvement illicite\");\r\n setSaut(true);\r\n mouvementIllicite = true;\r\n }\r\n }\r\n }\r\n\r\n if (deltaX < 0) {\r\n System.out.println(\"2\");\r\n for (int i = x - 1; i > x + deltaX; i--) {\r\n System.out.println(\"affichage.plateauEnum[i][y] = \" + affichage.plateauEnum[i][y]);\r\n if (affichage.plateauEnum[i][y] != Affichage.typePiece._vide_) {\r\n System.out.println(\"mouvement illicite\");\r\n setSaut(true);\r\n mouvementIllicite = true;\r\n }\r\n }\r\n }\r\n\r\n if (deltaY > 0) {\r\n System.out.println(\"3\");\r\n for (int i = y + 1; i < y + deltaY; i++) {\r\n System.out.println(\"affichage.plateauEnum[x][i] = \" + affichage.plateauEnum[x][i]);\r\n if (affichage.plateauEnum[x][i] != Affichage.typePiece._vide_) {\r\n System.out.println(\"mouvement illicite\");\r\n setSaut(true);\r\n mouvementIllicite = true;\r\n }\r\n }\r\n }\r\n\r\n if (deltaY < 0) {\r\n System.out.println(\"4\");\r\n for (int i = y - 1; i > y + deltaY; i--) {\r\n System.out.println(\"affichage.plateauEnum[x][i] = \" + affichage.plateauEnum[x][i]);\r\n if (affichage.plateauEnum[x][i] != Affichage.typePiece._vide_) {\r\n System.out.println(\"mouvement illicite\");\r\n setSaut(true);\r\n mouvementIllicite = true;\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "ce57a60d888f9e7525ec59025b1eca23", "score": "0.5333956", "text": "public void alimentoMayorIndiceCalorico()\n {\n \n System.out.println(\"Alimento más calórico ingerido por el usuario hasta el momento: \" + nombreMasCalorico);\n }", "title": "" }, { "docid": "a8f219d911042a01cdb2483e2d9e0d5d", "score": "0.53326833", "text": "public void resetTiempoAprendizaje();", "title": "" }, { "docid": "a08c5755dae095521d3076881e994dd6", "score": "0.53293073", "text": "public void Desapilar() {\n\t\tcant--;\n\t}", "title": "" }, { "docid": "b5257081295e28c2f6195e582b396ef9", "score": "0.53260696", "text": "public void lancerPhaseFinale() {\n\t\tpartie.getSalleDeRepos().ajouteSortie(Sortie.valueOf(\"NORD\"), partie.getSceneFinal());\n\t\tpartie.setZoneCourante(partie.getSalleDeRepos());\n\t\tpartie.getGuideDuJeu().setImage(\"mentrisMechante.gif\");\n\t\ttry {\n\t\t\tThread.sleep(3000);\n\t\t} catch (InterruptedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tafficherLocalisation();\n\t\tgui.afficher(partie.getGuideDuJeu().dialogueFinQuete().replaceAll(\"Joueur\",partie.getJoueur().getNom()));\n\t}", "title": "" }, { "docid": "b556332990e62ad99603a0cbe3518103", "score": "0.53183496", "text": "public void marcarCorrigido(){\r\n this.corrigido = true;\r\n }", "title": "" }, { "docid": "d7834aa5d93b6a32bc23eb5a482d92c4", "score": "0.53172004", "text": "public void act() \n {\n if (lifeTime > 0)\n {\n lifeTime--;\n }\n else\n {\n getWorld().removeObject(this);\n }\n }", "title": "" }, { "docid": "d3d227afd194129f66a8ff2906782260", "score": "0.53102046", "text": "public void retirer() {\n getPions().clear();\n this.posee=false;\n }", "title": "" }, { "docid": "d1a46449f6f5f2423651e8a49e659b48", "score": "0.5309925", "text": "public void resetAnterior();", "title": "" }, { "docid": "3c0959d47157020022c44fdc43bbd486", "score": "0.5308092", "text": "public void act() \n {\n // Add your action code here.\n move(4);\n Actor enemy = getOneIntersectingObject(Zombie1.class);\n \n if(enemy != null) {\n getWorld().removeObject(enemy);\n getWorld().removeObject(this);\n } else if(getX() > getWorld().getWidth() -10) {\n getWorld().removeObject(this);\n }\n }", "title": "" }, { "docid": "79ef9dbf11fd08bef4797423a42d66dc", "score": "0.5295677", "text": "void descubir()\n {\n setCubierto(false);\n }", "title": "" }, { "docid": "4dbf580afecf9b56f3db8a8f5fc974bb", "score": "0.52926356", "text": "public void alimentar() {\r\n\t\tcomer();\r\n\t}", "title": "" }, { "docid": "836432fcc72114372ccae1e84b58281d", "score": "0.5289229", "text": "public void imprimeContactos() {\n\t\tRegistro actual = head;\n\t\t//hay que revisar nodo por nodo hasta el final\n\t\twhile(actual != null){\n\t\t\t//recorrera la lista nodo por nodo imprimiendolo\n\t\t\tSystem.out.println(actual.getNombre());\n\t\t\tactual = actual.getSiguiente();\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "2c5835bb540ede19a3ec2bc3a26d9c49", "score": "0.52876896", "text": "public void rimuoviMorti() {\n\t\tfor(Tamagotchi tamaMorto:listaTamagotchi) {\n\t\t\tif(tamaMorto.sonoMorto())\n\t\t\t\tlistaTamagotchi.remove(tamaMorto);\n\t\t}\n\t}", "title": "" }, { "docid": "63913bde007eb2e03430fc797ef221b2", "score": "0.52847844", "text": "public void act() \r\n {\n if(Greenfoot.mouseMoved(null)){\r\n MouseInfo mouse = Greenfoot.getMouseInfo();\r\n setLocation(mouse.getX(), mouse.getY());\r\n }\r\n if(Greenfoot.mouseClicked(null)) {\r\n pl.addObject(new peluru1(),getX()+getImage().getHeight(),getY());\r\n Greenfoot.playSound(\"p1.wav\");\r\n }\r\n Actor a=getOneObjectAtOffset(0,0,ufo.class);\r\n if(a!=null){\r\n getWorld().addObject(new api(),getX(),getY());\r\n ((bg)getWorld()).selesai();\r\n getWorld().removeObject(a);\r\n getWorld().removeObject(this);\r\n } \r\n }", "title": "" }, { "docid": "fbd6680adc1c7602885026d6464b1023", "score": "0.52785075", "text": "public void aumentarFrecuenciaAbsoluta() {\r\n\t\tthis.frecuenciaAbsoluta++;\r\n\t}", "title": "" }, { "docid": "4004699ada0856fdba1ecf18963377ca", "score": "0.52750987", "text": "public void jouerTour() {\n\t\tthis.miseAJourEtat();\n\t\tthis.miseAJourDestination();\n\t\tif(isVivant()) {\n\t\t\tboolean action = agir();\n\t\t\t// soit l ennemi mange/attaque, soit il prend en chasse une fourmi, soit il se deplace aleatoirement\n\t\t\tif(action == false) {\n\t\t\t\tthis.seDeplacerAleatoirement();\n\t\t\t}\n\t\t\tsuper.jouerTour();\n\t\t}\n\t}", "title": "" }, { "docid": "afd5cd96556c2d1162f932db3e9a02de", "score": "0.5273587", "text": "public void tuer() { this.vie = 0; }", "title": "" }, { "docid": "e58272d704f7f49e7493362a2cdccd4a", "score": "0.527349", "text": "public void triBateauImpact() {\n\t\t\n\t\tArrayList<Bateau> lf = new ArrayList<Bateau>();\t\n\t\twhile(this.listeBateau.isEmpty() == false) {\n\t\t\tdouble t = -1;\n\t\t\tBateau ba = null;\n\t\t\tint indice = 0;\n\t\t\tint parcours = 0;\n\t\t\tfor(Bateau b : this.listeBateau) {\n\t\t\t\tif (b.pourcentageImpact()>t) {\n\t\t\t\t\tt = b.pourcentageImpact();\n\t\t\t\t\tba = b;\n\t\t\t\t\tindice = parcours;\n\t\t\t\t}\n\t\t\t\tparcours +=1;\n\t\t\t}\n\t\t\tthis.listeBateau.remove(indice);\n\t\t\tlf.add(ba);\n\t\t}\t\n\t\tthis.listeBateau = lf;\n\t}", "title": "" }, { "docid": "af8b911127c351125791d6ea9401a6a2", "score": "0.5272179", "text": "public void actualizarDetalleContratoVenta() {}", "title": "" }, { "docid": "cfff1fd3e30c83f8be3d680a0c72b5f9", "score": "0.52700156", "text": "public void RomperEnlaceSiguiente(){\r\n this.siguienteNodo=null;\r\n }", "title": "" }, { "docid": "a1434867614a09ec5b0c5112b7e03112", "score": "0.5267981", "text": "private void setPsActividadEstadoOK(ActividadEJBDTO act) throws ATiempoAppEx {\n\t\n\t\ttry {\n//\t\t\tDAVID: Abril 27 2011, Si es auto instalación, reversa y está en control instalación con todos los ps's quebrados, no inhiba la actividad. \n\t\t\tPeticionesDelegate peticionesDelegate = new PeticionesDelegate();\n\t\t\tboolean esAutoInstalacionSoloBA= peticionesDelegate.esAutoInstalacionSoloBA(act.getNumeroPeticion());\n\t\t\t\n\t\t\tif(!act.getDato(DATOS_ATVPISTBBA.DIRECTOR_DE_FLUJOS.fluj_reversa).equals(\"S\")){\n\t\t\t\tPeticionesInterfaces pI = new PeticionesDelegate();\n\t\t\t\t\n\t\t\t\t// adocarmo - CR9664 - inicio\n\t\t\t\t//if(act.getIdActividadFlujo()!=null && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGI\")).intValue() && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGC\")).intValue() && !\"Director de Flujos.Configuracion_Terra.Control_Configurar_Terra\".equals(act.getCodigoActividad())){\n\t\t\t\tif(act.getIdActividadFlujo()!=null && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGACS\")).intValue() &&act.getIdActividadFlujo()!=null && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGF\")).intValue() && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGI\")).intValue() && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGC\")).intValue() \n\t\t\t\t\t&& !\"Director de Flujos.Configuracion_Terra.Control_Configurar_Terra\".equals(act.getCodigoActividad())\n\t\t\t\t\t&& !\"Director de Flujos.Configuracion_Aula.Control_Configurar_Aula\".equals(act.getCodigoActividad())\n\t\t\t\t\t&& !(esAutoInstalacionSoloBA&&act.getCodigoActividad().equals(ComunInterfaces.ACT_CTRL_INSTALACION))\n\t\t\t\t\t)\t\t\t\n\t\t\t\t{\t\t\t\n\t\t\t\t\t//Recupero los ps asociados a la Actividad por el director de flujos\n\t\t\t\t\tact.setPsOk(pI.listaDePsDelaActividadEstadoOKFinal(act.getNumeroPeticion(),act.getIdActividadFlujo()));\t\n\t\t\t\t}\n\t\t\t\t//else if(\"Director de Flujos.Configuracion_Terra.Control_Configurar_Terra\".equals(act.getCodigoActividad()))\n\t\t\t\telse if(esAutoInstalacionSoloBA&&act.getCodigoActividad().equals(ComunInterfaces.ACT_CTRL_INSTALACION)\n\t\t\t\t\t\t||(\"Director de Flujos.Configuracion_Terra.Control_Configurar_Terra\".equals(act.getCodigoActividad()))\n\t\t\t\t\t\t|| (\"Director de Flujos.Configuracion_Aula.Control_Configurar_Aula\".equals(act.getCodigoActividad())))\n\t\t\t\t{//Parche picante para pasar a la actividad de control terra con ps con quiebres\n\t\t\t\t\t//Busco los ps de la actividad sin importar su estado\n\t\t\t\t\tact.setPsOk(pI.listaDePsDelaActividadEstadoFinal(act.getNumeroPeticion(),act.getIdActividadFlujo()));\n\t\t\t\t}else{\n\t\t\t\t\t//Recupero Todo los PS de la peticion\n\t\t\t\t\tact.setPsOk(pI.listaDePsDePeticion(act.getNumeroPeticion()));\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\n\t\t\t\t//Si es reversa\n\t\t\t\tPeticionesInterfaces pI = new PeticionesDelegate();\n\t\t\t\t//if(act.getIdActividadFlujo()!=null && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGI\")).intValue() && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGC\")).intValue() && !\"Director de Flujos.Configuracion_Terra.Control_Configurar_Terra\".equals(act.getCodigoActividad())){\n\t\t\t\tif(act.getIdActividadFlujo()!=null&& act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGACS\")).intValue() && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGF\")).intValue() && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGI\")).intValue() && act.getIdActividadFlujo().intValue()!= new Integer(VpistbbaConfig.getVariable(\"IDPGC\")).intValue() \n\t\t\t\t\t&& !\"Director de Flujos.Configuracion_Terra.Control_Configurar_Terra\".equals(act.getCodigoActividad())\n\t\t\t\t\t&& !\"Director de Flujos.Configuracion_Aula.Control_Configurar_Aula\".equals(act.getCodigoActividad())\n\t\t\t\t\t&& !(esAutoInstalacionSoloBA&&act.getCodigoActividad().equals(ComunInterfaces.ACT_CTRL_INSTALACION))\n\t\t\t\t\t){\n\t\t\t\t\tlog.debug(\"No es PGI,PGC,GESTION\");\n\t\t\t\t\t//Recupero los ps asociados a la Actividad por el director de flujos y que fueron puestos como OK en la actividad\n\t\t\t\t\tArrayList psTemp=null;\n\t\t\t\t\tArrayList psOk =new ArrayList();\n\t\t\t\t\tpsTemp=pI.listaDePsDelaActividadConEstadoOKEnAct(act.getNumeroPeticion(),act.getIdActividadFlujo(),act.getActividadBD().getIdActividad());\n\t\t\t\t\tfor (Iterator iter=psTemp.iterator();iter.hasNext();){\n\t\t\t\t\t\tPsVsOcVO psVO=(PsVsOcVO)iter.next();\n\t\t\t\t\t\tif(!pI.estaOKProductoServicioPeticion(act.getNumeroPeticion(),psVO)){\n\t\t\t\t\t\t\tpsOk.add(psVO);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tact.setPsOk(psOk);\n\t\t\t\t}\n\t\t\t\t//error nullpointer\n\t\t\t\t//else if(\"Director de Flujos.Configuracion_Terra.Control_Configurar_Terra\".equals(act.getCodigoActividad()))\n\t\t\t\telse if ((act.getIdActividadFlujo()!=null && act.getIdActividadFlujo().intValue()!= new Integer(\"141\").intValue())\n\t\t\t\t\t\t|| (act.getIdActividadFlujo()!=null &&act.getIdActividadFlujo().intValue()!= new Integer(\"142\").intValue())\n\t\t\t\t\t\t||esAutoInstalacionSoloBA && act.getCodigoActividad().equals(ComunInterfaces.ACT_CTRL_INSTALACION)\n\t\t\t\t\t\t||(\"Director de Flujos.Configuracion_Terra.Control_Configurar_Terra\".equals(act.getCodigoActividad()))\n\t\t\t\t || (\"Director de Flujos.Configuracion_Aula.Control_Configurar_Aula\".equals(act.getCodigoActividad())))\n\t\t\t\t{//Parche picante para pasar a la actividad de control terra con ps con quiebres\n\t\t\t\t\t//Busco los ps de la actividad sin importar su estado\n\t\t\t\t\tlog.debug(\"Entra por Reversa con la actividad \"+act.getIdActividadFlujo()+\" de la peticion \"+act.getNumeroPeticion());\n\t\t\t\t\tact.setPsOk(pI.listaDePsDelaActividadEstadoFinal(act.getNumeroPeticion(),act.getIdActividadFlujo()));\n\t\t\t\t}\t\t\t\n\t\t\t\telse{\n\t\t\t\t\tlog.debug(\"Es Difernten.....\");\n\t\t\t\t\t//Recupero Todo los PS\n\t\t\t\t\tact.setPsOk(pI.listaDePsDePeticion(act.getNumeroPeticion()));\n\t\t\t\t}\t\t\t\n\t\t\t}\n\n\t\t\tfor (Iterator iterI=act.getPsOk().iterator();iterI.hasNext();){\n\t\t\t\tPsVsOcVO psVO=(PsVsOcVO)iterI.next();\n\t\t\t\tlog.debug(\"PS:\" + psVO.getPsId());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.debug(\"ActividadVPI_EJB.setPsActividadEstadoOK: \", e);\n\t\t\tlog.error(\"ActividadVPI_EJB.setPsActividadEstadoOK: \", e);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "6075eace4a94f9a1347e0795f044ece8", "score": "0.5267091", "text": "public void refrescar() {\t\n\t\t\n\t\tthis.update();\n\t\t\n\t\tpantalla.resetear();\n\n\t\tfor(Element elem: elements.values()) {\n\t\t\tpantalla.addImagen(elem.getPosition().getX(), elem.getPosition().getY(), elem.getImage());\n\t\t}\n\t\t\n\t\tfor(int i =0; i < this.getHeights(); i++) {\n\t\t\tfor(int j = 0; j < this.getWidth(); j++) {\n\t\t\t\tif(panels[i][j].isVisible())\tthis.pantalla.addImagen(panels[i][j].getPosition().getX(), panels[i][j].getPosition().getY(), panels[i][j].getImagen());\n\t\t\t}\n\t\t}\n\t\t\n\t\tpantalla.setBarraEstado(\"Time Left: \" + this.getGameManagment().getTimeLeft() + \" - shots available: \" + this.getGameManagment().getPendingShots()\n\t\t\t\t\t+ \" - Score: \" + this.getGameManagment().getPoints() + \"- Max Points: \"+this.getGameManagment().getTotalPoints());\n\t\t\n\t\tpantalla.addImagen(this.getTarget().getX(), this.getTarget().getY(), \"imagenes/objetivo.png\");\n\t\t\t\n\t\tpantalla.dibujar();\n\t}", "title": "" }, { "docid": "ea9dc5193973708f923d88a9f0a0a352", "score": "0.5265418", "text": "public static void ifchangeThisTurn() {\n if (getUnit(3, 0).getIfHasAnimal() || getUnit(3, 8).getIfHasAnimal()) thisTurn++;\n else if (Animal.getIfChangeTeam() == 0) thisTurn = -thisTurn;\n }", "title": "" }, { "docid": "252ff2d4fcdebc96fe44a00d38368ba2", "score": "0.52632904", "text": "private void verifierVictoireMoussaillon() {\n\t\t\n\t\tPionMoussaillon pm = (PionMoussaillon)getTerrain().tabPion[indiceJoueur];\n\t\tif(getTerrain().tab[pm.x][pm.y] == 3) // s'il est sur la barque\n\t\t{\n\t\t\tif(pm.hasATresor()) // s'il a un tresor\n\t\t\t{\n\t\t\t\tgetTerrain().tabPion[indiceJoueur]=null; // On le sort de la partie, il a gagné\n\t\t\t\tthis.listeGagnant.add(indiceJoueur);\n\t\t\t\tSystem.out.println(\"Le joueur \" + indiceJoueur + \" a gagne !\");\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "593604a67362675609285b6be7ebf4e6", "score": "0.5262827", "text": "public void comer(){\r\n\t\testado=EstadoFantasma.Muerto;\r\n\t\tvelocidad=2*this.velocidadNativa;\r\n\t\tJuego juegoActual=this.laberinto.getJuego();\r\n\t\tjuegoActual.fantasmaComido(this);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1a5a2736435386adfab1cf6d61946f67", "score": "0.5261388", "text": "private void gererFinDuTour()\n\t{\n\t\t System.out.println(\"Bouton FinDuTour appuye\");\n\t\t this.getTextField().setJL(\"Fin du joueur moussaillon \" + (indiceJoueur+1));\n\t\t verifierVictoireMoussaillon();\n\t\t joueurSuivant();\n\t\t getTerrain().initTour(); //init listCase, resultatDe = 0;\n\t\t this.getTerrain().repaint();\n\t}", "title": "" }, { "docid": "d31cb77121bd1bfe5fe5c0b47ff62abf", "score": "0.5260804", "text": "private void camionesPrueba() {\n \t\tcamionesControler.crearNuevoCamion(\"eui003\", Calendar.getInstance(), 900);\n \t\tcamionesControler.crearNuevoCamion(\"eui103\", Calendar.getInstance(), 1211);\n \t\tcamionesControler.crearNuevoCamion(\"an213qw\", Calendar.getInstance(), 2321);\n \t\tcamionesControler.crearNuevoCamion(\"asd123\", Calendar.getInstance(), 3214);\n \t\tcamionesControler.crearNuevoCamion(\"req436\", Calendar.getInstance(), 6);\n\n \t\ttry {\n\t\t\t\ttravelsControler.crearViajeCorto(\"eui003\", 12, 12);\n\t\t\t\ttravelsControler.crearViajeLargo(\"an213qw\", 1223, 1000);\n\t\t\t\ttravelsControler.crearViajeLargo(\"asd123\", 1223, 132);\n\n\t\t\t\ttravelsControler.devolverUnViaje(travelsControler.getNumeroDeUnViajeActivop(\"eui003\")).agregarPeonAlViaje(peonesCreator.getPeon(32837475));\n\t\t\t\ttravelsControler.devolverUnViaje(travelsControler.getNumeroDeUnViajeActivop(\"asd123\")).agregarPeonAlViaje(peonesCreator.getPeon(12854556));\n\t\t\t\ttravelsControler.devolverUnViaje(travelsControler.getNumeroDeUnViajeActivop(\"asd123\")).setCustodia(true);\n\t\t\t\ttravelsControler.devolverUnViaje(travelsControler.getNumeroDeUnViajeActivop(\"asd123\")).setFechaDeLlegada(new GregorianCalendar(2018, 10, 12, 12, 12));\n\n\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t}", "title": "" }, { "docid": "7deef217bc759d115f4cdf5a5175c954", "score": "0.5259836", "text": "public void act(){\n Dunia dn = (Dunia)getWorld();\n if(Greenfoot.isKeyDown(\"Right\")&&dn.cek().getX()>=380)\n setLocation(getX()-2, getY());\n if(isTouching(Polisi.class)){\n dn.level++;\n dn.chooseLVL();\n }\n }", "title": "" }, { "docid": "c409c6bc95fd247690bf16851dbbb92b", "score": "0.5253942", "text": "public void reduceLife() {\n\t\tlife--;\n\t}", "title": "" }, { "docid": "11b8558cc678a3c9abf8701714c28532", "score": "0.52425796", "text": "public void zailtasunaHanditu() {\n\t\tsetZailtasuna(zailtasuna+1);\n\t}", "title": "" }, { "docid": "690d84e9b491de08e69bb96f59020250", "score": "0.52421224", "text": "public void act() \n {\n removePlant();\n }", "title": "" }, { "docid": "f6bbe27d6d5fe761572f3b050831b19a", "score": "0.52359116", "text": "public void removeLife ()\n {\n lives--;\n testEndGame();\n }", "title": "" }, { "docid": "50caa7460cf016e286430f6b7ab4f6b6", "score": "0.5234235", "text": "@Override\n\tpublic void supprimerAffectationSeance(Long id) {\n\t\t\n\t\tDateFormat fXX= DateFormat.getDateInstance(DateFormat.SHORT);\n\t\tCalendar dXX = Calendar.getInstance();\n\t\t\n\t\t//a supprimer ************************************\n\t\tdXX.set(this.a, this.m, this.d);\n\t\t\n\t\tDate dateActuelle=dXX.getTime();\n\t\tString type = periodeExamen(dateActuelle);\n\t\t\n\t\t\n\t\t\n\t\tint m = getDateActuelle().getMonth()+1;\n\t\tint a = getDateActuelle().getYear()+1900;\n\t\tint AU = 0 ;\n\t\tif(9<=m && m<=12)\n\t\t\tAU = a;\n\t\tif(1<=m && m<=6)\n\t\t\tAU = a-1;\n\t\t\n\t\tCollection<AffectationSeance> aff = findAffectationById(id);\n\t\tfor(AffectationSeance af : aff)\n\t {\t\n\t\t\tDate date11=af.getDateJour();\n\t\t\tint m1 =date11.getMonth()+1;\n\t\t\tint a1 =date11.getYear()+1900;\n\t\t\tint AU1 = 0 ;\n\t\t\tif(9<=m1 && m1<=12)\n\t\t\t\tAU1 = a1;\n\t\t\tif(1<=m1 && m1<=6)\n\t\t\t\tAU1 = a1-1;\n\t\t\t\n\t\t\tif(AU==AU1 && periodeExamen(date11).equals(type))\n\t\t\t\tem.remove(af);\n\t }\n\t\t\n\t}", "title": "" }, { "docid": "d887b65c7afbbe9f8e02c5c93cd0581a", "score": "0.52286553", "text": "public void tourSuivant() throws RemoteException{\n\t\tthis.tour++;\n\t\tthis.phase=1;\n\t\tthis.jouerPhase();\n\t}", "title": "" }, { "docid": "a4abab665577331367f4ed42cb950ff0", "score": "0.5224887", "text": "public void act()\n {\n this.makeMeMove();\n if ( this.isTouching(Flower.class) == true )\n {\n this.removeTouching(Flower.class);\n this.score = this.score +1;\n World w = this.getWorld();\n w.showText(\"Score: \"+this.score, 50, 20);\n \n }\n }", "title": "" }, { "docid": "1d097b57d8bbe6efe89236ffe684ff20", "score": "0.5220802", "text": "public void annullaUltimo() {\n /* variabili e costanti locali di lavoro */\n boolean continua;\n int ultimoRecord;\n MessaggioDialogo messaggio;\n String testo;\n Modulo modTesta;\n Date data = null;\n\n try { // prova ad eseguire il codice\n\n ultimoRecord = this.ultimoRecordStampato();\n continua = (ultimoRecord > 0);\n\n if (continua) {\n modTesta = this.getModTesta();\n data = modTesta.query().valoreData(TestaStampe.Cam.data.get(), ultimoRecord);\n }// fine del blocco if\n\n /* chiede conferma */\n if (continua) {\n testo = \"Confermi l'annullamento della stampa del \"\n + Lib.Data.getStringa(data)\n + \"?\";\n messaggio = new MessaggioDialogo(testo);\n continua = messaggio.isConfermato();\n }// fine del blocco if\n\n /* esegue */\n if (continua) {\n this.annulla();\n } // fine del blocco if\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n }", "title": "" }, { "docid": "0a5063db239bde38e5ad8e11efcd1fab", "score": "0.522014", "text": "public void activaDesactiva(boolean accion) {\n }", "title": "" }, { "docid": "b6ce833a487e0b7a81ffa91322d217c4", "score": "0.5219285", "text": "private void rehacer(ActionEvent e) {\r\n\t\tif (e.getSource().equals(botones[21])) {\r\n\t\t\tif (posMemoria < interRepo.getEstadoOperandos().size()) {\r\n\t\t\t\tposMemoria -= 1;\r\n\t\t\t\tvolverAlEstadoAnterior(posMemoria);\r\n\t\t\t}\r\n\t\t\tif (posMemoria >= interRepo.getEstadoOperandos().size() || posMemoria < -1)\r\n\t\t\t\tposMemoria = -1;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "163f4244cba956019b791db57b095c67", "score": "0.5217437", "text": "public Etat transiter(Etat etat, char a,automate a1);", "title": "" } ]
4c47214add250c75ee9a8841dccde376
Directs the user to the add listings page
[ { "docid": "d00fb0d1b3c5afb32f47e28570446d50", "score": "0.5566124", "text": "@RequestMapping(value = \"/addListing\", method = RequestMethod.GET)\n\tpublic String home(Locale locale, Model model) {\n\t\tlogger.info(\"Welcome home! The client locale is {}.\", locale);\n\n\t\tDate date = new Date();\n\t\tDateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG,\n\t\t\t\tDateFormat.LONG, locale);\n\n\t\tString formattedDate = dateFormat.format(date);\n\n\t\tmodel.addAttribute(\"serverTime\", formattedDate);\n\n\t\treturn \"addListing\";\n\t}", "title": "" } ]
[ { "docid": "948b36ba8e2bcd33446cfad69cefcd14", "score": "0.6295874", "text": "private void Add(HttpServletRequest request, HttpServletResponse response) throws IOException {\n\t\tHttpSession session=request.getSession();\n\t\tPostDAO postdao= new PostDAO();\n\t\tList ls=new ArrayList();\n\t\tls=postdao.SearchPost();\n\t\tsession.setAttribute(\"postlist\", ls);\n\t\tresponse.sendRedirect(\"Project_Admin/manageWages.jsp\");\n\t}", "title": "" }, { "docid": "30d8b93e41fd72bccc5bbe45feca1d29", "score": "0.61757874", "text": "public void submitListing() {\n Intent intent = new Intent(mContext, ViewListingActivity.class);\n intent.putExtra(USER_ID, mUserId);\n intent.putExtra(LISTING_KEY, mListingKey);\n mContext.startActivity(intent);\n }", "title": "" }, { "docid": "e9918038412b749361186dfb7e39abc9", "score": "0.6061722", "text": "@RequestMapping(value = \"/collectable/add\", method = RequestMethod.GET)\n\t\tpublic String collectibleAdd() {\n\t\t\treturn \"/add.html\";\n\t\t}", "title": "" }, { "docid": "b0590c5fb46322b53021d047e425aca7", "score": "0.5787525", "text": "@OnClick(R.id.addShoppingList)\n public void addShoppingListClicked() {\n Intent intent = new Intent(this, CreateShoppingListActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "6781605fa623be3ff07ff8021001772a", "score": "0.5748204", "text": "public void goToNewCustomerPage() {\n this.getAcmeUI().customerAddUpdate(null);\r\n }", "title": "" }, { "docid": "b1d1fa749ddf028544806d169094ea23", "score": "0.5737569", "text": "public void create() {\n\t\tprintLabel.setText(\"Creating...\");\n\t\tbutton.setDisable(true);\n\n\t\ttry {\n\t\t\tMain.getUser().addShoppingList(new ShoppingList(name.getText()));\n\t\t\tDialogView.hide();\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tprintLabel.setText(e.getMessage());\n\t\t}\n\t\tbutton.setDisable(false);\n\t}", "title": "" }, { "docid": "d1aa7a088e00288c75ceecec57ada188", "score": "0.5716981", "text": "@RequestMapping(\"/add\")\n public String addExcursionPage(ModelMap modelMap) {\n List<WorkerNamesDto> workers = workerService.findAllGuide();\n modelMap.addAttribute(\"workers\", workers);\n return \"excursion/addAndEditExcursion\";\n }", "title": "" }, { "docid": "7fccb45394a614f9feb91ceb398d920a", "score": "0.5700445", "text": "public void addButtonClicked(){\n\t\tArrayList<User> userList = adminController.getUsers();\n\t\tString input = usernameTextField.getText().toLowerCase();\n\t\tif (input.equals(\"\")){\n\t\t\tSystem.out.println(\"No username specified\");\n\t\t}else{\n\t\t\tfor (User user : userList){\n\t\t\t\tif (user.getName().equals(input)){\n\t\t\t\t\tSystem.out.println(\"User exists\");\n\t\t\t\t\tshowMessage(\"User \" + input + \" already exists!\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"Adding user \" + input);\n\t\t\tuserList.add(new User(input));\n\t\t\tCollections.sort(userList);\n\t\t\tmStage.close();\n\t\t}\n\t}", "title": "" }, { "docid": "564508920e754b9a428c01f61b5f5cc5", "score": "0.5692403", "text": "private void addPage(EditListsConfigWizardPage editListsConfigPage2) {\n\t\t\n\t}", "title": "" }, { "docid": "c30584dcb0fa65dce0e067fe070a6fab", "score": "0.562922", "text": "private void form_addpatient(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n RequestDispatcher rd = request.getRequestDispatcher(\"addpatient.jsp\");\n rd.forward(request, response);\n }", "title": "" }, { "docid": "a8b6c6b3f34567071116e108ade3b450", "score": "0.5622549", "text": "public void addPage() {\n addOrSelectProgram(Collections.singletonList(\"\"));\n }", "title": "" }, { "docid": "2501ff09cb5519bae4d19dc4482bc1c8", "score": "0.56184185", "text": "public void addedToPage() {}", "title": "" }, { "docid": "0f437cdec61e623b5c68cb86e82bb8ff", "score": "0.5602463", "text": "private void Add(HttpServletRequest request, HttpServletResponse response) throws IOException {\n\t\tHttpSession session=request.getSession();\n\t\tBranchDAO Branchdao= new BranchDAO();\n\t\tList lsb=new ArrayList();\n\t\tlsb=Branchdao.searchBranch();\n\t\tsession.setAttribute(\"branchlist\", lsb);\n\t\tSemesterDAO semesterDAO=new SemesterDAO();\n\t\tList lss=semesterDAO.SearchSemester();\n\t\tsession.setAttribute(\"semesterlist\", lss);\n\t\t\n\t\tresponse.sendRedirect(\"Project_Admin/manage_exam.jsp\");\n\t}", "title": "" }, { "docid": "9c4bdeed7a1ba176f4b878e3884f36d8", "score": "0.559994", "text": "public void goToNewListScreen (View v){\n if (v.getId() == R.id.newListButton) {\n startActivity(new Intent(mainScreen.this, newList.class));\n }\n }", "title": "" }, { "docid": "9c937ea3ac55711f40ba42bccb34639b", "score": "0.5485417", "text": "private void onAddClick() {\n\t\tif (activeChat != null) {\n\t\t\t// make sure just chatadmin can remove / add contacts\n\t\t\tif (activeChat.getAdmin().isEqual(sharkNetModel.getMyProfile().getContact())) {\n\t\t\t\tstatus = Status.ADDCONTACT;\n\t\t\t\t// open add contacts window\n\t\t\t\tChatContactsController c = new ChatContactsController(activeChat);\n\t\t\t\tc.addListener(this);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tAlert alert = new Alert(Alert.AlertType.ERROR);\n\t\t\t\talert.setTitle(\"Error editing Chat\");\n\t\t\t\talert.setContentText(\"You have to be admin in order to do this!\");\n\t\t\t\talert.setHeaderText(\"\");\n\t\t\t\talert.showAndWait();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "91eee5bfc2510d3e5a2207b5e8a3a940", "score": "0.54757255", "text": "public String toBusinessAdditionPage() {\n ProcedureDAOHE cdhe = new ProcedureDAOHE();\n List lstTTHC = cdhe.getAllProcedure();\n lstCategory = new ArrayList();\n lstCategory.addAll(lstTTHC);\n lstCategory.add(0, new Procedure(Constants.COMBOBOX_HEADER_VALUE, Constants.COMBOBOX_HEADER_TEXT_SELECT));\n getRequest().setAttribute(\"lstFileType\", lstCategory);\n return businessAdditionPage;\n }", "title": "" }, { "docid": "740a26b279d4de6f591a03c5658feff0", "score": "0.54694766", "text": "@Override\n\tpublic String add(HttpServletRequest request, HttpServletResponse response, Page page) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "52a15e628c92c0aa026c3d8e9c699e4f", "score": "0.546903", "text": "private void showAddItemScreen() {\n boolean hasTasks = false;\n\n try {\n int currentUserTaskCount = databaseHandler.getAllTasks(userId);\n if(currentUserTaskCount > 0){\n hasTasks = true;\n }\n } catch (SQLException|ClassNotFoundException e) {\n e.printStackTrace();\n }\n\n\n\n //sets the user id\n\n\n if(!hasTasks){\n displayScreen.loadAndChangeDisplayScreen(loginButton,ConstViews.ADD_ITEM_SCREEN);\n setUserId(displayScreen);\n }else{\n setUserId(userId);\n displayScreen.loadAndChangeDisplayScreen(loginButton,ConstViews.ADD_ITEM_FORM_SCREEN);\n }\n fadeLoginScreen(displayScreen.getRoot());\n }", "title": "" }, { "docid": "181698adb494cb90c7e2ee3e7c305a17", "score": "0.5466241", "text": "private void addSpot() {\n // open EditSpotActivity activity in add mode\n Intent intent = new Intent(this, EditSpotActivity.class);\n Bundle bundle = new Bundle();\n bundle.putString(\"mode\", \"add\");\n intent.putExtras(bundle);\n startActivity(intent);\n }", "title": "" }, { "docid": "3ba706dfea3153818b1012e39f9359dc", "score": "0.5450893", "text": "public void addPages() {\n\t\tpage = new NewThingWizardPage(selection);\n\t\taddPage(page);\n\t}", "title": "" }, { "docid": "9f3a6534b71a5698d264c24ffd1e4cb5", "score": "0.5448494", "text": "public void onListingStart();", "title": "" }, { "docid": "287f8209adcba0d1a414b533cfc1dabd", "score": "0.5443406", "text": "@Override\n public void onClick(View v) {\n addArrayList();\n\n }", "title": "" }, { "docid": "b682760c30df67704ea8444077f9b8fe", "score": "0.54329205", "text": "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n mainPresenter.addAdressInList(requestCode, resultCode, data);\n }", "title": "" }, { "docid": "a5f58a85f82403af6328220ff9867d92", "score": "0.54255974", "text": "@GetMapping(\"/addscreening\")\r\n public String addScreening(Model model) {\r\n\r\n ScreeningForm screeningForm = new ScreeningForm();\r\n List<Movie> movieList = movieRepo.showAllMovies();\r\n List<Theater> theaterList= theaterRepo.findAllTheaters();\r\n model.addAttribute( \"movielist\", movieList );\r\n model.addAttribute( \"theaterlist\", theaterList );\r\n model.addAttribute( \"screeningForm\", screeningForm);\r\n\r\n return \"add-screening\";\r\n }", "title": "" }, { "docid": "e6e7b30ad6db5de9cf48b750bf82dcb8", "score": "0.5388321", "text": "public void onAddNewEntry(View v)\n {\n \t\tIntent intent = new Intent(getApplicationContext(), NewEntry.class);\n \t\tstartActivityForResult(intent, ADD_NEW_ENTRY_REQUEST); \t\n }", "title": "" }, { "docid": "f7f6588fab168a3168cfc186652342c2", "score": "0.53871197", "text": "private static void addAnItem() {\n\t\t\tSystem.out.print(\"Enter an appliance maker: \");\n\t\t\tString maker = in.nextLine();\n\t\t\tSystem.out.print(\"Enter the appliance model: \");\n\t\t\tString model = in.nextLine();\n\t\t\tSystem.out.print(\"Enter the appliance category type: \");\n\t\t\tString category = in.nextLine();\n\t\t\tListItem toAdd = new ListItem(maker, model, category);\n\t\t\tlih.insertItem(toAdd);\n\n\t\t}", "title": "" }, { "docid": "7072307c1c4e725a1b8d9e008e242832", "score": "0.5385563", "text": "public void onAddButtonClicked();", "title": "" }, { "docid": "0035d487f3446656f711a300d1e7e40f", "score": "0.5373223", "text": "@RequestMapping(value=\"/create_list\", method = RequestMethod.GET)\n\tpublic String create_list(Model model) {\n\t\tmodel.addAttribute(\"listaForm\", new ResultList());\n\t\treturn \"crear_lista\";\n\t}", "title": "" }, { "docid": "86b5639eda3181eefdde1581b466cc4d", "score": "0.53679144", "text": "@RequestMapping(value = \"add\", method = RequestMethod.GET)\r\n\tpublic String add(final Post post) {\r\n\t\tlogger.debug(\"Post add requested\");\r\n\t\treturn \"blog/add\";\r\n\t}", "title": "" }, { "docid": "2356bbd1b54a84e1f4a764a2e2ce7518", "score": "0.53536034", "text": "public String navigateLoansCollection() {\n if (this.getSelected() != null) {\n FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put(\"Loans_items\", this.getSelected().getLoansCollection());\n }\n return this.mobilePageController.getMobilePagesPrefix() + \"/loans/index\";\n }", "title": "" }, { "docid": "6d6908f8d7d826eec62ac13353e13d58", "score": "0.5350757", "text": "public String addItem() {\r\n\t\tVisaDetailsModel model = new VisaDetailsModel();\r\n\t\t model.initiate(context, session);\r\n\t\t resetVisa();\r\n\t\t\r\n\t\t boolean finalResult=false;\r\n\t\t visaBean.getPassport();\r\n\t\t model.getVisaRecord(visaBean);\r\n\t\t model.getPassportRecord(visaBean);\r\n\t\tfinalResult =model.getpassportNumber(visaBean);\r\n\t\tSystem.out.println(\"*******************************\" +finalResult);\r\n if(finalResult)\r\n {\t\t\t\r\n\t\t\t\r\n\t\t\tvisaBean.setDisplayFlag(\"true\");\r\n\t\t\tvisaBean.setAddFlag(true);\r\n\t\t\tvisaBean.setEditFlag(false);\r\n\t\t\t\r\n\t\t\r\n }\r\n else\r\n {\r\n \t visaBean.setEditFlag(true);\r\n \t visaBean.setAddFlag(false);\r\n \t addActionMessage(\"Please Click Save Button\");\r\n }\r\n getProfileImage();\r\n\t\t model.terminate();\r\n return \"success\";\r\n\t}", "title": "" }, { "docid": "31368d261bdcc11ae7baa4f05e2394f4", "score": "0.53454024", "text": "@RequestMapping(value = \"/admin/addProduct\", method = RequestMethod.GET)\n\tpublic String addProduct(ModelMap model) {\n\t\tmodel.addAttribute(\"books\", new Sach());\n\t\tmodel.addAttribute(\"listAllBooks\", bookService.findAll());\n\t\treturn \"admin/them_sp\";\n\t}", "title": "" }, { "docid": "89a022b5ca972fb0f9c60017e64edc10", "score": "0.5321722", "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": "90989487dfbab5fdedea93e5275266dc", "score": "0.5318114", "text": "public void addView(View newPage) {\n int pageIndex = adapter.addView(newPage);\n adapter.notifyDataSetChanged();\n // You might want to make \"newPage\" the currently displayed page:\n vpNewTripPager.setCurrentItem(pageIndex, true);\n }", "title": "" }, { "docid": "9341ae549adae8aa4ebc654370a1fe14", "score": "0.5317127", "text": "public ActionForward displayMyrequestList(ActionMapping mapping,\n\t\t\tActionForm form, HttpServletRequest request,\n\t\t\tHttpServletResponse response) {\n\t\t\n\t\tTravelRequestForm requestForm = (TravelRequestForm)form;\n\t\t\n\t\n\t\tArrayList listOfMyRequest=new ArrayList();\n\t\ttry{\n\t\t\t\t\t\n\t\t\tif(requestForm.getReqStatus()==null)\n\t\t\trequestForm.setReqStatus(\"\");\t\n\t\t\tif(requestForm.getReqStatus().equalsIgnoreCase(\"\"))\n\t\t\t\t\t\trequestForm.setReqStatus(\"Pending\");\t\n\t\t \tlistOfMyRequest=displayMyrequest(mapping, requestForm, request, response);\n\n \n\t\t\n\t\tArrayList newList=new ArrayList();\n\t\t\n\t\tIterator it=listOfMyRequest.iterator();\n\t\t\n\t\tint i=0;\n\t\twhile(i<10){\n\t\t\tif(it.hasNext()){\n\t\t\t\tnewList.add(it.next());\n\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\trequestForm.setStartRecord(1);\n\t\trequestForm.setEndRecord(i);\n\t\trequestForm.setNext(i);\n\tif(i>=10){\n\t\t\n\t\trequest.setAttribute(\"displayRecordNo\",\"ok\");\n\t\tif(it.hasNext()){\n\t\trequest.setAttribute(\"nextButton\", \"yes\");\n\t\trequest.setAttribute(\"disablePreviousButton\", \"ok\");\n\t\trequest.setAttribute(\"displayRecordNo\",\"ok\");\n\t\t}}\n\t\telse{\n\t\trequest.setAttribute(\"disablePreviousButton\", \"ok\");\n\t\trequest.setAttribute(\"disableNextButton\",\"yes\");\n\t\t\n\t\t}\n\t\t //myReqForm.setMyRequestRecords(listOfMyRequest);\n\tif(!requestForm.getReqStatus().equalsIgnoreCase(\"Reverted\"))\t\n\t{\n\t\trequest.setAttribute(\"travellist\", newList);\n\t}\n\telse\n\t{\n\t\trequest.setAttribute(\"travellist1\", newList);\n\t}\n\t\n\t\t//request.setAttribute(\"myRequestList1\", listOfMyRequest);\n\t\t\n\t\t}catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tif(listOfMyRequest.size()==0)\n\t\t{\n\t\t\t\n\t\t\trequest.setAttribute(\"noRecords\", \"noRecords\");\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tString fromdate=\"\";\n\t\tString todate=\"\";\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"dd/MM/YYYY\");\n\n Date date = new Date();\n String today = dateFormat.format(date);\n\n Calendar cal = Calendar.getInstance();\n cal.add(Calendar.DATE, -7);\n Date todate1 = cal.getTime(); \n String befordate = dateFormat.format(todate1);\n \n if(requestForm.getFromdate()==null)\n {\n \trequestForm.setFromdate(\"\");\n }\n if(requestForm.getTodate()==null)\n {\n \trequestForm.setTodate(\"\");\n }\n\t\n\t\tif(requestForm.getFromdate().equalsIgnoreCase(\"\"))\n\t\t{\n\t\t\trequestForm.setFromdate(befordate);\n\t\t}\n\t\tif(requestForm.getTodate().equalsIgnoreCase(\"\"))\n\t\t{\n\t\t\trequestForm.setTodate(today);\n\t\t}\n\t\t\n\t\t String from[]=requestForm.getFromdate().split(\"/\");\n\t\t fromdate=from[2]+\"-\"+from[1]+\"-\"+from[0];\n\t\t \n\t\t String to[]=requestForm.getTodate().split(\"/\");\n\t\t todate=to[2]+\"-\"+to[1]+\"-\"+to[0];\n\t\t\n\t\t requestForm.setReqStatus(\"\");\n\t\t\n\t\treturn mapping.findForward(\"mytravellist\");\n\t}", "title": "" }, { "docid": "9c34b790c1f4cbeb3aacf88402a906aa", "score": "0.5295941", "text": "@When ( \"I navigate to the add user page\" )\n public void addUserPage () {\n ( (JavascriptExecutor) driver ).executeScript( \"document.getElementById('users').click();\" );\n }", "title": "" }, { "docid": "23ee2727490e90bfd44ac76ce044d629", "score": "0.52951497", "text": "@RequestMapping(value = \"/usersPtn\", method = RequestMethod.GET)\n\tpublic String addPatient(ModelMap model) {\n\t\tmodel.addAttribute(\"allPatients\", userService.findAllValidPatients());\n\t\treturn \"usersPtn\";\n\t}", "title": "" }, { "docid": "9d07054b9b2362c6985458fb06445785", "score": "0.529455", "text": "private void addPage(NewItemWizardPage newItemPage2) {\n\t\t\n\t}", "title": "" }, { "docid": "825a1553603219a13e10ddf6cb05c287", "score": "0.5290048", "text": "public void onClick_AddRecord(View v) {\r\n\r\n\t\t// Add it to the DB and re-draw the ListView\r\n\t\tmyHotelDb.insertRow(\"2014-09-18\", \"london\", \"hotel location\");\r\n\t\tpopulateListViewFromDB();\r\n\t}", "title": "" }, { "docid": "7c2c93417e371621f6c4cb48d2bdf019", "score": "0.5284207", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n //request.getRequestDispatcher(\"admin/listFormation.jsp\").forward(request, response);\n\n }", "title": "" }, { "docid": "6a43efca982914387409eb5391cdd1f8", "score": "0.5275923", "text": "@PostMapping(path = \"/place/add\", consumes = \"application/json\")\n\tpublic String addListpalce(@RequestBody List<PlaceDTO> dto) {\n\n\t\tif (placeService.isAddListPlace(dto)) {\n\t\t\treturn \"Added New List of Place\";\n\t\t} else {\n\t\t\tSystem.out.println(\"faild\");\n\t\t\treturn \"Faild to Add\";\n\t\t}\n\n\t}", "title": "" }, { "docid": "89fed607880a188ffa1dccf667154554", "score": "0.5274206", "text": "public void onClickAdd(View view) {\n if (!locListData.contains(selLoc)) {\n locListData.add(selLoc);\n editor.putBoolean(selLoc,true);\n editor.commit();\n } else {\n Toast.makeText(this, \"Location already added\", Toast.LENGTH_SHORT).show();\n }\n\n mAdapter = new LocListAdapter(this, locJsonData,locListData);\n locListRecycler.setAdapter(mAdapter);\n locListRecycler.setLayoutManager(new LinearLayoutManager(this));\n }", "title": "" }, { "docid": "6a0e9fe4bab24d4281508c3be0d2e07e", "score": "0.5261481", "text": "@RequestMapping(value = RequestMappings.ADD_NEW_LESSONS, \n method = RequestMethod.GET)\n public ModelAndView showAddNewLessonsPage(HttpServletRequest request) {\n \n // check if there is any form\n // in the session scope\n LessonManagementForm form = (LessonManagementForm)\n getFromSessionScope(request, LessonManagementForm.class);\n if (form == null)\n form = new LessonManagementForm();\n else form.resetForm();\n \n // populate the lesson status\n LessonDao lessonDao = new LessonDaoImpl();\n form.setLessonStatus(new TreeMap<Long, LessonStatus>()); \n for (LessonStatus status : lessonDao.getAllLessonStatuses())\n form.getLessonStatus().put(status.getId(), status);\n \n // populate the subjects\n SubjectDAO subjectDao = new SubjectDAOImpl();\n form.setSubjects(new TreeMap<Long, Subject>());\n for (Subject subject : subjectDao.getAllSubjects())\n form.getSubjects().put(subject.getId(), subject);\n \n // resolve any alert blocks in the\n // session into the request scope\n resolveSessionScopedAlertBlock(request); \n \n // save the form to the session\n // scope\n saveToSessionScope(request, form);\n \n // return a view\n return createModelAndView(Views.ADD_NEW_LESSONS);\n }", "title": "" }, { "docid": "0cad8234c1d26d01eb8efb1192c75baf", "score": "0.526013", "text": "public void NavigateToEmpListPage() {\n\t\tEmpList.click();\n\t}", "title": "" }, { "docid": "e4c196a1efa0d45ca1ec756d78edae39", "score": "0.5259189", "text": "@RequestMapping(value = \"/add\", method = RequestMethod.GET)\n\tpublic final String book(final Model model) {\n\t\tmodel.addAttribute(ModelConstants.NEW_BOOK, new BookTo());\n\t\treturn ViewNames.ADD_BOOK;\n\t}", "title": "" }, { "docid": "654bfe0a9816891529ee77536b03c2ad", "score": "0.52549654", "text": "private void listFlight(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows SQLException, IOException, ServletException {\r\n\r\n\t\tList<Flight> listAccount = FlightDAO.getAllRecords();\r\n\t\trequest.setAttribute(\"listAccount\", listAccount);\r\n\t\tRequestDispatcher dispatcher = request.getRequestDispatcher(\"flightDetail.jsp\");\r\n\t\tdispatcher.forward(request, response);\r\n\r\n\t}", "title": "" }, { "docid": "e12860d3874abc2d0fcbdea45fb706fa", "score": "0.5248812", "text": "public String getAddActionURL();", "title": "" }, { "docid": "26cc45a6bcdb6d86281b253d62b01727", "score": "0.52459186", "text": "public void AddToBlog(ActionEvent event) {\r\n\r\n\t\t//if guest hide add to blog\r\n\r\n\t\tBlog newBlog=new Blog();\r\n\r\n\t\tnewBlog.setTitle(Title.getText());\r\n\r\n\t\tnewBlog.setBody(Body.getText());\r\n\r\n\t\tBlog1.add(newBlog);\r\n\r\n\t\tBody.clear();\r\n\r\n\t\tTitle.clear();\r\n\r\n\t\tList.getItems().addAll(newBlog.getTitle());\r\n\r\n\t}", "title": "" }, { "docid": "caf1192906eff868a2f89ea2f3b73ca0", "score": "0.5238204", "text": "@When ( \"I navigate to the Add User page\" )\n public void addUserPage () {\n ( (JavascriptExecutor) driver ).executeScript( \"document.getElementById('users').click();\" );\n }", "title": "" }, { "docid": "cf564b76e994a6b28ae318814d464036", "score": "0.52308697", "text": "public void goToAddSubstance() {\n Intent intent = new Intent(SubstanceListActivity.this, AddCustomSubstanceActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "c19b9ff865905f44c64f345275ba4fc1", "score": "0.5229774", "text": "@FXML \n void buttonConfirmClicked(MouseEvent event){\n String inputEntryName = fieldNewEntry.getText();\n T createdEntry = newEntry(inputEntryName);\n if(inputEntryName.isBlank()){\n labelInvalidAddition.setVisible(true);\n return;\n }\n\n if(!isGoodEntry(createdEntry)){\n labelInvalidAddition.setVisible(true);\n return;\n }\n \n getCollection().add(createdEntry);\n\n \n refreshList(createdEntry);\n listView.getSelectionModel().select(createdEntry);\n allowSelect = true;\n\n paneConfirmCreate.setVisible(false);\n fieldNewEntry.setEditable(false);\n labelInvalidAddition.setVisible(false);\n writeUsers();\n }", "title": "" }, { "docid": "d0bef157e3a4a59b1597031ee8c24cc3", "score": "0.52258754", "text": "public void gotoList ()\n {\n entryList.requestFocusInWindow () ;\n entryList.setSelectedIndex ( 0 ) ;\n }", "title": "" }, { "docid": "f1dee6809b9580d1c4476bf7de4bc4ea", "score": "0.5222294", "text": "@RequestMapping(value = \"/add\")\n\tpublic ModelAndView addGroup() {\n\t\t// if (session.getAttribute(\"account\") == null)\n\t\t// return new ModelAndView(\"redirect:/account\");\n\t\tModelAndView mv = new ModelAndView(\"group\");\n\t\tmv.addObject(\"mode\", \"add\");\n\t\treturn mv;\n\t}", "title": "" }, { "docid": "018f8c94a30de8df7d15715c15096580", "score": "0.52135813", "text": "@RequestMapping(value=\"/addok.action\")\n\tpublic String addok() {\n\t\t\n\t\treturn \"addok\"; //addok.jsp\n\t}", "title": "" }, { "docid": "bf0e74756845abc1a51678914e243104", "score": "0.52122223", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tif (!Utilities.checkLogin(req.getSession())) {\n\t\t\tresp.sendRedirect(\"Login.jsp\");\n\t\t\treturn;\n\t\t}\n\n\t\tString title = req.getParameter(\"title\");\n\t\tString description = req.getParameter(\"description\");\n\t\tint userId = (int) req.getSession().getAttribute(\"userid\");\n\n\t\tToDoListService todoListService = new ToDoListService();\n\t\ttodoListService.addItem(title, description, userId);\n\n\t\tresp.sendRedirect(\"TodoListController\");\n\t}", "title": "" }, { "docid": "2b70154d16d582e9d271155038a4350d", "score": "0.5204664", "text": "@GetMapping(\"/new\")\r\n public String add(Model model) {\r\n model.addAttribute(\"User\", new User());\r\n //return to new page\r\n\t return \"new\";\r\n }", "title": "" }, { "docid": "777c8e8e829f7a795b9bfdd77452eec6", "score": "0.52043474", "text": "@RequestMapping(value=\"/list.action\")\n\tpublic String list() {\n\t\t\n\t\treturn \"list\"; //list.jsp\n\t}", "title": "" }, { "docid": "dabe2b7a60e38dd616059b3a431f5897", "score": "0.52043414", "text": "@And(\"^I click on New Account$\")\n public void iClickOnNew() {\n accountFormPage = accountListPage.clickNewButton();\n }", "title": "" }, { "docid": "1511e8b6d6bde6d6f7ebc308b3184101", "score": "0.5190379", "text": "@OnClick(R.id.add_devices)\n public void addDevices() {\n gotoActivity(SearchActivty.class, false);\n }", "title": "" }, { "docid": "f3e29f0163edb5aa23e000ab51c0879b", "score": "0.51852596", "text": "@Test\n\tpublic void test19_addNewPageWithList(){\n\t\tString title = \"TestCase 019\";\n\t\tString content = \"* item 1\\n\";\n\t\tcontent += \"** item 2\\n\";\n\t\tcontent += \"*** item 3\\n\";\n\t\tcontent += \"* item 4\\n\";\n\t\tint mode = 0;\n\t\tBy ELEMENT_CONTENT = By.xpath(\"//div[@class='uiWikiContentDisplay']//ul/li[text()='item 1']/ul/li[text()='item 2']/ul/li[text()='item 3']/../../../../following::li[text()='item 4']\");\n\t\t//Create new page with a blank template\n\t\tgoToWiki();\n\t\taddBlankWikiPage(title, content, mode);\n\t\twaitForAndGetElement(ELEMENT_CONTENT);\n\t\tinfo(\"Create new page successfully\");\n\t\t//Reset data\n\t\tgoToWikiPage(\"Wiki Home/\"+title);\n\t\tdeleteCurrentWikiPage();\n\t}", "title": "" }, { "docid": "5ac6fa26986613f518431ed2cae02cef", "score": "0.51755387", "text": "private void eventHandleAddButton() {\n\t\tString text = this.view.getfilmNameTextField().getText().trim();\n\t\tFilm f = new Film(text);\n\t\tif ((!text.isEmpty()) && (!this.model.hasfilmItem(f))) {\n\t\t\tthis.model.addfilm(f);\n\t\t\tthis.view.getfilmNameTextField().setText(\"\");\n\t\t}\n\t\tthis.view.update();\n\t}", "title": "" }, { "docid": "1431cae554d01e4bc689fdbdf7584ea2", "score": "0.5167328", "text": "public void Adding_to_a_List_Particular_Location()\n\t {\n\t\t animals.add(2, \"Zebra\");\n\t\t animals.add(1,\"x\");\n\t\t animals.add(4,\"y\");\n\t\t System.out.println(\"List Iteration after specific input \"+animals);\t\t \n\t }", "title": "" }, { "docid": "222646fd50afa3a5d2e0f765a2167000", "score": "0.5164807", "text": "private static void returnToPaymentsList() {\n successPage.goToPaymentsList();\n\n Log.altVerify(true, removingPage.waitForExistence(\n removingPage.imgPageHeader(), removingPage.btnDelete()),\n \"Is this scheduled payments page?\");\n }", "title": "" }, { "docid": "6819ec70941d49beb2676890d94caa30", "score": "0.51646495", "text": "public void addListingId(String key) {\n loggedInUser.addListingId(key);\n }", "title": "" }, { "docid": "2bb241bd8611dc74eff85023b2ccb0b5", "score": "0.5153198", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n ShoppingListAdapter adapter = (ShoppingListAdapter) shoppingLists.getAdapter();\n try {\n // Create new listItem from inputed data\n ShoppingList item = new ShoppingList(input.getText().toString());\n\n // Store item in database\n DatabaseReference userListRef = dbRef.child(\"users\")\n .child(currentUser.getUid())\n .child(\"lists\");\n userListRef.push().setValue(item);\n\n // Store original version of item in adapter\n adapter.add(item);\n\n // Open new list in singleList editor\n listItemClicked(item);\n\n } catch (StringEmptyException e) {\n Log.d(ERROR_TAG, e.getMessage());\n }\n }", "title": "" }, { "docid": "1ef725950a3065cd992e00f38eae37dc", "score": "0.5151219", "text": "@Override\n\tpublic void actionAdd() {\n\t\t\n\t}", "title": "" }, { "docid": "337d28fd0dd1434a38a2f4bc7134fb7f", "score": "0.51472324", "text": "@Override\n\tpublic ActionForward showAdd(ActionMapping mapping, ActionForm form,\n\t\t\tHttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows Exception {\n\t\t\n\t\t\tActionForward forward=new ActionForward();\n\t\t\tLanguageActionForm actionForm=(LanguageActionForm)form;\n\t\t\tHttpSession session=request.getSession();\n\t\t\tLocationVO location=(LocationVO)session.getAttribute(SGSYConstants.SGSY_LOCATIONVO);\n\t\t\tlangVO=new LanguageVO();\n\t\t\trequest.setAttribute(\"allLanguageList\", service.getAllLanguage(langVO));\n\t\t\tif(actionForm.getLanguage()!=null && !actionForm.getLanguage().trim().equals(\"\")){\n\t\t\t\trequest.setAttribute(\"SETSTATELIST\", service.getAssignLanguage(actionForm.getLanguage()));\n\t\t\t\trequest.setAttribute(Constants.STATE_LIST, service.getState(location));\n\t\t\t}\n\t\t\tforward=mapping.findForward(\"showAssign\");\n\t\t\treturn forward;\n\t}", "title": "" }, { "docid": "f1fbd97532d95ecf29e122017f26b8e2", "score": "0.5139811", "text": "@GetMapping(\"/newListPage\")\n\tpublic String newListPage(Model theModel,\n\t\t\tHttpSession session, \n HttpServletRequest request, \n @RequestParam(value=\"f\", required=false) String flush,\n @RequestParam(value=\"message\", required=false) String message) {\n\t\tList<Customer> theCustomers = customerService.getCustomers();\n\t\tCustomerListContainer customerListContainer = new CustomerListContainer();\n\t\t\n\t\tif (theCustomers.size() == 0 && flush != null)\n\t\t{\n\t\t\ttheModel.addAttribute(\"customerListContainer\", getDummyPersonListContainer());\n\t\t\t//session.setAttribute(\"customerListContainer\", getDummyPersonListContainer());\n\t\t}\n\t\telse\n\t\t{\n\t\t\tcustomerListContainer.setCustomerList(theCustomers);\n\t\t\ttheModel.addAttribute(\"customerListContainer\", customerListContainer);\n\n\t\t}\n\t\t\n\t\t/*\n\t\tif( flush != null )\n session.setAttribute(\"customerListContainer\", getDummyPersonListContainer());\n\t\t//if in an existing session there are no customers to display then add some dummy rows.\t\n if( session.getAttribute(\"customerListContainer\") == null )\n session.setAttribute(\"customerListContainer\", getDummyPersonListContainer());\n\t\t// what if there are already some customers for the first time... \t\n theModel.addAttribute(\"customerListContainer\", (CustomerListContainer)session.getAttribute(\"customerListContainer\"));\n\t\t\n if( message != null )\n \ttheModel.addAttribute(\"message\", message);\n theModel.addAttribute(\"cp\", request.getContextPath());\n*/\n return \"listcustomersnew\";\n\n\t}", "title": "" }, { "docid": "79d6afd6b774e4879f0ba3cc60215f94", "score": "0.5134162", "text": "public void addTagToList()\r\n\t{\r\n\t\tif (txtNewTagBox.getText().length() != 0)\r\n\t\t{\r\n\t\t\ttagListModel.addElement(txtNewTagBox.getText());\r\n\t\t\tclearNewTag();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "05db7aa2cf5ef5134c524f49da9250d4", "score": "0.51334524", "text": "public void letusaddthistodolistnow(){\n }", "title": "" }, { "docid": "b082464df6ff1dcde3d7b9e6aa42dcaa", "score": "0.5124711", "text": "@Override\r\n\t\t\tpublic void onClick(ClickEvent event) {\n\t\t\t\tWindow.Location.assign(\"Pedido.html\");\r\n\t\t\t}", "title": "" }, { "docid": "4e815352e1c2bfd3a6d13ae36549942f", "score": "0.5117981", "text": "protected void handlePlusButtonClicked(AjaxRequestTarget target, Form form)\n\t {\n\t \tEntityAtributePanelFactory factory = new EntityAtributePanelFactory();\t \n\t \tClass<?> newPanelClass = getPanelClass();\n\t \tObject object = factory.createEmptyObject(newPanelClass);\t \t\n\t \tlistItems.add(object);\n\t \t\n\t \t// Note that this creation is delegated to the wrapper in EOF\n\t \tlogger.debug(\"item class: \" + listItems.get(0).getClass().getCanonicalName());\n\t }", "title": "" }, { "docid": "f5cb74e96cd8617ae12521f4cd410c36", "score": "0.5108241", "text": "public ActionForward addNew(ActionMapping mapping, ActionForm form,\n\t\t\tHttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows TPlusException, Exception {\n\t\t\n\t\tEMVProfileSetupForm objOldForm = (EMVProfileSetupForm) form;\n\t\tEMVProfileSetupForm objForm = new EMVProfileSetupForm();\n\t\t\n\t\ttry {\n\t\t\tif (\"change\".equals(objOldForm.getScreen()) || \"list\".equals(objOldForm.getScreen())) {\n\t\t\t\tBeanUtils.copyProperties(objOldForm, objForm);\n\t\t\t}\n\t\t\tobjOldForm.getPreListData();\n\t\t\tobjOldForm.setScreen(\"addNew\");\n\t\t} catch (Exception ex) {\n\t\t\tSystem.out\n\t\t\t.println(\"Error converting to form bean in EMVProfileDispathAction addNew : \"\n\t\t\t\t\t+ ex.getMessage());\n\t\t\tthrow new TPlusException(\n\t\t\t\t\t\"Error converting to form bean in EMVProfileDispathAction addNew : \"\n\t\t\t\t\t\t\t+ ex);\n\t\t}\n\t\t\n\t\t// Success\n\t\treturn mapping.findForward(\"success\");\n\t}", "title": "" }, { "docid": "dd013e2e81684e7bb40c4b5dee2f5f47", "score": "0.5101941", "text": "private void newEntryButtonPressed(ActionEvent eventInfo) {\n if (changedWithoutSaving) {\n if (!promptSaveEntry()) {\n return;\n } else {\n changedWithoutSaving = false;\n }\n } else if(currentEntry != null) {\n currentEntry.deselected(false);\n }\n UIEntry newEntry = new UIEntry(this, new Entry(\"\", \"\", null));\n newEntry.selected();\n displayEntry(newEntry);\n entriesBox.add(newEntry, entriesBox.getComponentCount() - 1);\n entries.add(newEntry);\n entryScrollPane.revalidate();\n SwingUtilities.invokeLater(() -> {\n JScrollBar scrollBar = entryScrollPane.getVerticalScrollBar();\n scrollBar.setValue(scrollBar.getMaximum());\n });\n setFormEnabled(true);\n websiteField.requestFocus();\n }", "title": "" }, { "docid": "f48afcc6754f60a166b4005bbb9708f4", "score": "0.5101483", "text": "@GetMapping(\"/add\")\n\tpublic String save(Model model)\n\t{\n\t\tCollection<Department> departments = departmentDao.getDepartmentList();\n\t\tmodel.addAttribute(\"d\", departments);\n\t\treturn \"emp/add\";\n\t}", "title": "" }, { "docid": "d8c3410f521437e6f8c19d15d544679a", "score": "0.5101461", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == R.id.add_item) {\n //TODO: Add item to listview\n Log.d(\"Main Activity\", \"Item added\");\n objects.add(\"Item 1\" + (objects.size()));\n adapter.notifyDataSetChanged();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }", "title": "" }, { "docid": "edd82bf6d63096a62e2bb95678d8942f", "score": "0.5098835", "text": "@RequestMapping(value = \"admin/carparks/addPage\", method = RequestMethod.GET)\n public ModelAndView addCarparkPage(ModelAndView modell, @ModelAttribute(\"carpark\") Carpark carpark) {\n\n\n modell.addObject(\"airportx\", airportService.findAllAirports());\n\n modell.setViewName(\"/admin/addCarpark\");\n\n return modell;\n }", "title": "" }, { "docid": "5625fd1e3e3e589c9837fbd8b26040fb", "score": "0.50974303", "text": "@RequestMapping(value=\"/addPlacePage\")\n\tpublic String redirectToAddPlacePage(HttpServletRequest request, Map<String, Object> model) {\n\t\tString countryId = request.getParameter(\"countryId\");\n\t\t// preuzmemo drzavu sa tim id-om kako bi njene trenutne podatke prikazali korisniku\n\t\tCountry country = countryService.findOne(Integer.valueOf(countryId));\n\t\t// ubacimo drzavu u model da bi njene podatke prikazali na jsp stranici\n\t\tmodel.put(\"country\", country);\n\t\t\n\t\t// redirekcija na stranicu za dodavanje grada\n\t\treturn \"addPlace\";\n\t}", "title": "" }, { "docid": "9ee489cb9693ea93ed74b33a736340ae", "score": "0.50949407", "text": "@Override\n\tpublic String perform(HttpServletRequest request) {\n\t\tList<String> errors = new ArrayList<String>();\n\t\trequest.setAttribute(\"errors\",errors);\n\n\t\ttry {\n\t\t\t// Set up user list for nav bar\n\t\t\trequest.setAttribute(\"userList\",userDAO.getList());\n\n\t\t\tUserBean user = (UserBean) request.getSession(false).getAttribute(\"user\");\n\t\t\tFavoriteBean[] favoriteList = favoriteDAO.getUserFavorite(user.getUserId());\n\t\t\trequest.setAttribute(\"favoriteList\", favoriteList);\n\t\t\treturn \"manage.jsp\";\n\t\t} catch (Exception e) {\n\t\t\terrors.add(e.getMessage());\n\t\t\treturn \"error.jsp\";\n\t\t}\n\t}", "title": "" }, { "docid": "bd2370ecb035b9f4a85099231ffa1fac", "score": "0.50891185", "text": "@RequestMapping(value = \"/admin/addType\", method = RequestMethod.GET)\n\tpublic ModelAndView addType(ModelMap model) {\n\t\tModelAndView mav = new ModelAndView(\"admin/them_loai_sp\");\n\t\tmodel.addAttribute(\"category\", new Theloaisach());\n\t\tmodel.addAttribute(\"listcategory\", category.findAll());\n\t\treturn mav;\n\t}", "title": "" }, { "docid": "f75d07180ec89ac91c0f06baba01e82f", "score": "0.5089065", "text": "public void sendToEdit(int position) {\n Intent switchIntent = new Intent(this, ListingApplicants.class);\n Listing temp = listings.get(position);\n // 6 == num properties of a listing\n // putExtra() listing properties to listing detail page -- currently sends to my listing applicants page\n switchIntent.putExtra(\"key\", keys.get(position));\n switchIntent.putExtra(\"employer\", employers.get(position));\n switchIntent.putExtra(\"title\", temp.getTaskTitle());\n switchIntent.putExtra(\"date\", temp.getDate());\n switchIntent.putExtra(\"pay\", temp.getPay());\n switchIntent.putExtra(\"status\", temp.getStatus());\n switchIntent.putExtra(\"description\", temp.getTaskDescription());\n switchIntent.putExtra(\"urgency\", temp.getUrgency());\n startActivity(switchIntent);\n }", "title": "" }, { "docid": "176e8a16f98735cf6916ebf94bda93ef", "score": "0.50876135", "text": "public String addAttachmentsRedirect() {\n try\t{\n List filePickerList = new ArrayList();\n if (attachmentList != null){\n filePickerList = prepareReferenceList(attachmentList);\n }\n log.debug(\"**filePicker list=\"+filePickerList.size());\n ToolSession currentToolSession = SessionManager.getCurrentToolSession();\n currentToolSession.setAttribute(FilePickerHelper.FILE_PICKER_ATTACHMENTS, filePickerList);\n ExternalContext context = FacesContext.getCurrentInstance().getExternalContext();\n context.redirect(\"sakai.filepicker.helper/tool\");\n }\n catch(Exception e){\n log.error(\"fail to redirect to attachment page: \" + e.getMessage());\n }\n return getOutcome();\n }", "title": "" }, { "docid": "6cac31e9f4c5ebe68d6bd9a9ea6f8b29", "score": "0.5086691", "text": "@RequestMapping(value = \"/addbook\")\r\n\t public String addBook(Model model){\r\n\t \tmodel.addAttribute(\"book\", new Book());\r\n\t return \"addbookTemplate\";\r\n\t }", "title": "" }, { "docid": "4fc213818110653affc439c1424fa5a6", "score": "0.5080729", "text": "@RequestMapping(value = \"/doctors/add\",method = RequestMethod.GET)\n public ModelAndView form_Add() {\n ModelAndView mv = new ModelAndView();\n Doctor doctor = new Doctor();\n mv.addObject(doctor);\n mv.setViewName(\"doctor\");\n mv.addObject(\"Formdoctor\",doctor);\n return mv;\n }", "title": "" }, { "docid": "2f98b8016ebb82daaa2bee90f645a153", "score": "0.5074659", "text": "public void addItemToDefaultList(View view) {\n this.defaultList.addItem(new ShoppingListItem(this.itemName.getText().toString(), Integer.parseInt(this.itemQuantity.getText().toString())));\n\n try {\n data.writeData(this.defaultList, this.listKey);\n Toast.makeText(this, \"The shopping list has been saved.\", Toast.LENGTH_LONG).show();\n } catch (Exception e) {\n Toast.makeText(this, \"There was an error saving the shopping list.\", Toast.LENGTH_LONG).show();\n Log.i(\"Save Error:\",e.toString());\n }\n\n clearFields();\n displayDefaultList(this.defaultList);\n }", "title": "" }, { "docid": "b35650bf077f6444e95193bd628ba1d2", "score": "0.5070332", "text": "@RequestMapping(value = \"/admin/addUser\", method = RequestMethod.GET)\n\tpublic ModelAndView addUser(ModelMap model) {\n\t\tModelAndView mav = new ModelAndView(\"admin/them_khach_hang\");\n\t\tmodel.addAttribute(\"user\", new User());\n\t\tmodel.addAttribute(\"listAllUser\", userService.findAll());\n\t\treturn mav;\n\t}", "title": "" }, { "docid": "1b98ce65f6936b3d852752e23a06e2dd", "score": "0.5064346", "text": "public void addToHistory(View v){\n int itemNumber = focus;\n if(itemNumber != 404){\n Wine w = (Wine) sa.getItem(focus);\n if(ha.insertEntry(w)){\n Toast.makeText(this, \"added to history\", Toast.LENGTH_SHORT).show();\n }else{\n Toast.makeText(this, \"already in history\", Toast.LENGTH_SHORT).show();\n }\n\n }else{\n Toast.makeText(this, \"you must select a wine to insert\", Toast.LENGTH_SHORT).show();\n }\n\n }", "title": "" }, { "docid": "3580c129d775aa4fc97b4d94be6b6571", "score": "0.50553936", "text": "@RequestMapping(method = RequestMethod.GET, path=\"/userList\")\n public String userList(ModelMap model)\n {\n if(logged.getLoggedUser().getId() != 2 ) return \"redirect:/\";\n List<User> users = userRepository.findAll();\n model.addAttribute(\"users\",users);\n return \"userList\";\n }", "title": "" }, { "docid": "d4006e1539c148f5741f410494fe12c6", "score": "0.50542265", "text": "public void addUserToList (String name) {\n userList.add(name);\n adaptor.notifyDataSetChanged();\n }", "title": "" }, { "docid": "52ee3e13cd1a628b57833f3809b065a1", "score": "0.5053299", "text": "@And(\"^I want to Add new list items$\")\n public void iWantToAddNewListItems() {\n\n driver.findElementById(\"autocomplete_add_item\").sendKeys(\"Orange\");\n driver.findElementById(\"org.openintents.shopping:id/button_add_item\").click();\n driver.findElementById(\"autocomplete_add_item\").sendKeys(\"Apple\");\n driver.findElementById(\"org.openintents.shopping:id/button_add_item\").click();\n driver.findElementById(\"autocomplete_add_item\").sendKeys(\"PineApple\");\n driver.findElementById(\"org.openintents.shopping:id/button_add_item\").click();\n }", "title": "" }, { "docid": "1de4ce0a01d72830acbc776064bf9d3a", "score": "0.505047", "text": "@Override\r\n public void onClick(View view) {\n Intent intent = new Intent(getApplicationContext(), AddActivity.class);\r\n startActivity(intent);\r\n\r\n }", "title": "" }, { "docid": "89033468861d74db83a7fcccb242764f", "score": "0.50360745", "text": "@Override\n public void returnToList() {\n if (!isList) {\n getActivity().getActionBar().setDisplayHomeAsUpEnabled(false); //FIXME check for null\n getFragmentManager().beginTransaction().replace(R.id.information_content, listFragment).commit();\n isList = true;\n\n }\n }", "title": "" }, { "docid": "9445877345319688a1da7049dfc35997", "score": "0.5034303", "text": "String getListForm() {\n\treturn \"DepartmentCarsList\";\n}", "title": "" }, { "docid": "a2cb7369e33a7f3914c5d3f3bcb68ee9", "score": "0.50311285", "text": "@RequestMapping(path=\"/admin/leavetype/add\", method = RequestMethod.GET)\r\n\tpublic String displayAddLeaveMainpage(Model model) {\r\n\t\tLeaveType leavetype = new LeaveType();\r\n\t\tmodel.addAttribute(\"leavetype\", leavetype);\r\n\t\treturn \"leavetype-add\";\r\n\t}", "title": "" }, { "docid": "a0662ae84b55fdea30f9c4437289cafb", "score": "0.5031059", "text": "public void onListingQuery() {\n adapter = new SoldListingsRecyclerAdapter(getContext(),list);\n recyclerView.setAdapter(adapter);\n }", "title": "" }, { "docid": "8df5876ed9d031c7b6f634785c3e590f", "score": "0.50278103", "text": "@Override\n public void onClick(View v) {\n plantsList.add(plantsList.size(),editText.getText().toString());\n\n // Update the GridView\n gridViewArrayAdapter.notifyDataSetChanged();\n\n // Get the newly added item from ArrayAdapter\n String addedItemText = plantsList.get(plantsList.size()-1);\n\n // Confirm the addition\n Toast.makeText(getApplicationContext(),\n \"Item added : \" + addedItemText, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "010160ad311e4023913b5a9e33c80145", "score": "0.502635", "text": "@Override\n\tpublic void showList() {\n\t\t\n\t}", "title": "" }, { "docid": "af2f976ba7fb6720510269ed94849d19", "score": "0.5024991", "text": "public void launchAddFeedView() {\n\t\tAddFeedScene addFeedScene = new AddFeedScene(this.categories, this.mainViewController);\n\t\taddFeedScene.launchAddFeedView();\n\t}", "title": "" }, { "docid": "fd2a5edaf53c63c4f6ed25f68e33015f", "score": "0.5023626", "text": "@RequestMapping(method=RequestMethod.GET)\n\t@ResponseStatus(value=HttpStatus.CREATED)\n\tpublic ModelAndView add(HttpServletRequest request/*,@RequestBody Student s,@RequestParam(required=false) String roll*/){\n\t\tList<Student> list=new ArrayList();\n\t\tStudent s1=new Student();\n\t\tStudent s2=new Student();\n\t\t\n\t\t/*s1.setId(s.getId());\n\t\ts1.setName(s.getName());\n\t\ts1.setRoll(roll);\n\t\t\n\t\ts2.setId(s.getId());\n\t\ts2.setName(s.getName());\n\t\ts2.setRoll(roll);\n\t\t\n\t\tlist.add(s1);\n\t\tlist.add(s2);\n\t\t\n\t\tModelAndView mv=new ModelAndView();\n\t\t//mv.addObject(\"result\", s);\n\t\tmv.addObject(\"display.jsp\");*/\n\t\t\n\t\t//return mv;\n\t\tModelAndView mv=new ModelAndView();\n\t\tmv.addObject(\"result\", 30);\n\t\tmv.addObject(\"Display.jsp\");\n\t\t\n\t\treturn mv;\n\t}", "title": "" }, { "docid": "d4139ec45850923f0bc7441d973ff5c1", "score": "0.501611", "text": "public void onAddFriendClicked(View v) {\n startActivity(new Intent(FriendsListActivity.this, AddFriendsActivity.class));\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "52738de93ced8729af6a04be1460d2e5", "score": "0.0", "text": "@Override\n\tpublic void msgNeedHelp(MarketCashier mcashier, String name) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "title": "" }, { "docid": "76a80470fd21f5a9092c258ed3a8a632", "score": "0.68199706", "text": "private static void 로또번호리스트() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bfad11e436c98998f434617a4d2907e5", "score": "0.6690517", "text": "@Override\r\n\tpublic void adharno() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "9969c2cd0a26f223be9eea348d1c6160", "score": "0.6571234", "text": "private static void 로또수동생성() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1dd3d9bdd67d8cc8bddfe021796a9286", "score": "0.6433148", "text": "@Override\n protected void lodate() {\n\n }", "title": "" }, { "docid": "b62655d47438ae6875a06d0702721dbc", "score": "0.6424808", "text": "@Override\r\n\t\t\tpublic void koklama() {\n\r\n\t\t\t}", "title": "" }, { "docid": "d92d5fe4c6efcfe66d53457e76817518", "score": "0.64108074", "text": "@Override\r\n\t\t\tprotected void init() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.63912827", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dda3b5a5b8e9e69b6eec0807bf162606", "score": "0.63636446", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t\t\r\n\t}", "title": "" }, { "docid": "00075c50e26b18237953cd05ffd5428b", "score": "0.63032013", "text": "@Override\n\tpublic void beber() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "76e3d99118a00e74a082f6a955778f7d", "score": "0.62293875", "text": "Grensesnitt(){}", "title": "" }, { "docid": "61358eff9372995c8157b02d47a44a6a", "score": "0.6186996", "text": "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "title": "" }, { "docid": "bf8fefe7b85b49281edb456698bfd556", "score": "0.616781", "text": "@Override\r\n\tpublic void descansar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c612bcadafd393d086f44fd19558a8be", "score": "0.61533993", "text": "@Override\r\n\tpublic void inicialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "106ce0ada7b978eeffda7ec9cccc29e2", "score": "0.61470556", "text": "public void дразнит() {\n\n\t}", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.6139653", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "958663dc976180cba7b91b2a4ebcb522", "score": "0.61089844", "text": "@Override\n\tpublic void atualiza() {\n\n\t}", "title": "" }, { "docid": "2bd152bb33ecbe797b9818e175c5d4ec", "score": "0.6105675", "text": "public void mo55659a() {\n }", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.6063955", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.6063628", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "c95af00aee2fa41e8a03e3640ca30750", "score": "0.6041561", "text": "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "title": "" }, { "docid": "b7d3c2b49702a5ed673b243bf8d2b7c0", "score": "0.60215324", "text": "@Override\n\tprotected void funcionario() {\n\t\t\n\t}", "title": "" }, { "docid": "0d996fa345e18b74a73dce6394fc0b15", "score": "0.60198766", "text": "@Override\r\n\tpublic void sunricers() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "27c725838f280928d869cc973588317c", "score": "0.6001773", "text": "@Override\r\n\tpublic void doSelfOpertion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f350fb57d7c81ec6d70f2643960940a8", "score": "0.5986621", "text": "@Override \r\n public void init() {\n \r\n }", "title": "" }, { "docid": "4f035da85a44bb830509e046190e6ee5", "score": "0.59682363", "text": "@Override\r\n\tpublic void rajastanroyals() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a0486d5f3890f3b56ce5a39122c4bdd7", "score": "0.59527355", "text": "@Override\r\n\tvoid metodo4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c744960aa067b28111e99db9ddf6aeed", "score": "0.59477377", "text": "@Override\r\n\tpublic void fragancia() {\n\t\t\r\n\t}", "title": "" }, { "docid": "288fd3ee71b736e770bbef790831c263", "score": "0.59301406", "text": "User mo18615e();", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59270483", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "9808ba3c113b79c3677f2c08c09e60a1", "score": "0.59020513", "text": "@Override\n\tpublic void resert() {\n\t\t\n\t}", "title": "" }, { "docid": "416a053368cfd700d9d09414458911cd", "score": "0.58986443", "text": "@Override\n\tpublic void assamblyOfControlhead() {\n\t\t\n\t\t\n\t\t\n\t\n\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": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.5897873", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5891585", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "40577cf33330bd70c08bc8e310b4436d", "score": "0.58706117", "text": "@Override\n\tpublic void falar() {\n\n\t}", "title": "" }, { "docid": "79c707f3d28263fcc89902b0527d5c14", "score": "0.58528596", "text": "public void mo736a() {\n }", "title": "" }, { "docid": "42c3f8e63385f8e328b6828c1f7243d4", "score": "0.584987", "text": "@Override\r\n\t\tpublic void method_4() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "60e50abec8df6d4d5a80de13ba750171", "score": "0.5842782", "text": "@Override\r\n\tpublic void retour() {\n\t\t\r\n\t}", "title": "" }, { "docid": "debc6b4612a5fe9f0680a6bff73f25e6", "score": "0.58388203", "text": "@Override\r\n\t\tpublic void emettreSon() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "d56c498b25d1ea77dc09f49efcf80f6c", "score": "0.58347356", "text": "@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}", "title": "" }, { "docid": "a5d63cf5eb472d80fba18b0149c96501", "score": "0.5825308", "text": "@Override\n\tpublic void memberSecession() {\n\t\t\n\t}", "title": "" }, { "docid": "f4f7bcdf27874d7a17a80f57f8df43e0", "score": "0.5822819", "text": "public void mo10744d() {\n }", "title": "" }, { "docid": "d45e7311f809d3019d7382af887cb3cf", "score": "0.5799729", "text": "@Override\r\n\tpublic void dehlidervels() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "89b37f5fcca98bdfa7c243fc99d06675", "score": "0.5790634", "text": "@Override\r\n\tpublic void reanudar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\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": "4a3a3aeaffc4b367a8aa8488e4b59610", "score": "0.57720804", "text": "public void mo10856b() {\n }", "title": "" }, { "docid": "1c10afc999966d89d84d1fb549910281", "score": "0.5770528", "text": "@Override \n\t\tprotected void parse() {\t\t\t\n\t\t}", "title": "" }, { "docid": "a46afb3a57efda28ee1b37c4a9b1960f", "score": "0.57642525", "text": "private void getEx() {\n\r\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5761362", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "b95bbed498007dfeba9b078798c02e53", "score": "0.5754483", "text": "@Override\r\n\tpublic void exibir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "03b93c6668ea7af171bbcdb3af74bb4a", "score": "0.57524616", "text": "@Override\n public void bicar() {\n }", "title": "" }, { "docid": "b2cde12cf50e0ec60f909684878e936c", "score": "0.57514966", "text": "@Override\n\tpublic void wykonajZamknij() {\n\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\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": "a53d232dac89259f961cbc93762f65b2", "score": "0.5731746", "text": "@Override\r\n\t\t\tvoid n() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "cf193ee51fc2ac8c94c94264e19ff99c", "score": "0.57304704", "text": "@Override\n public boolean cannibale() {\n return false;\n }", "title": "" }, { "docid": "cf193ee51fc2ac8c94c94264e19ff99c", "score": "0.57304704", "text": "@Override\n public boolean cannibale() {\n return false;\n }", "title": "" }, { "docid": "3b072172b17a5e5ab0081f24545795f2", "score": "0.57235396", "text": "public void przymocowac() {\n\t\t\n\t}", "title": "" }, { "docid": "17e507b0166d99f88c8237ad30d967b7", "score": "0.5716563", "text": "public void zamowic() {\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": "7bbf3f0011f317b7faa88562e06495b7", "score": "0.5714223", "text": "@Override\r\n public void reculer() {\n }", "title": "" }, { "docid": "1ba6f6b334c51461b3fe944110e91ef5", "score": "0.5707728", "text": "@Override\n\tpublic void comerHojas() {\n\t\t\n\t}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "2d9072b54f55f18557f92b99be58ec2f", "score": "0.56886935", "text": "@Override\r\n public String toString() {\n\treturn null;\r\n }", "title": "" }, { "docid": "0ca16e78cddd3c7d9de74c662606bbac", "score": "0.5686997", "text": "public void mo4570b() {\n }", "title": "" }, { "docid": "359579516b65b36ff8c4344d8363a3ed", "score": "0.5686103", "text": "@Override\r\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "09488e6c7d4190869b37b126a578249f", "score": "0.56821704", "text": "@Override\r\n\t/**\r\n\t * \r\n\t */\r\n\tpublic int size() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "001227e6b58a587f9eb4f77b15fc3588", "score": "0.5668976", "text": "@Override\n\tprotected void local() {\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": "" } ]
6172e1f1a7ebc7fdf6860df0102930e1
/ Manual test plan to be carried out when testing if everything works correctly. Test plan for testing if editing a question works: 1. Launch the server 2. Launch the client application twice. 3. Create a room in one of the windows. 4. Join that room in the other window as a student. 5. Ask a question as a student. 6. Upon pressing the edit button, the field containing the text should unlock itself and be available for edition until the ENTER key is pressed 7. That will make the text not editable again and set the new question to the modified text.
[ { "docid": "6d2a06119614211fe5e514bb8080b65c", "score": "0.0", "text": "@Test\n void edit() {\n }", "title": "" } ]
[ { "docid": "9c90707956da6079347152826014bf96", "score": "0.64162827", "text": "public void editTextForQuestion(Question question, String newText) {\n\t\t\n\t}", "title": "" }, { "docid": "690ec39b775403ac48d460d8d815dc66", "score": "0.60537773", "text": "@Test\n\tpublic void helloWorldShouldBeEditedOnEnterSaveButton() {\n\t\tAssume.assumeFalse(System.getProperty(\"os.name\").equals(\"Mac OS X\"));\n\n\t\tMockUpUtils.setMockupMidoFile(\"mockups/\" + helloWorldMido);\n\t\tMockUpUtils.setMockupPropertiesFile(\"mockups/empty.properties\");\n\t\tstartApplication();\n\n\t\tDialogFixture editDialog = openEditDialog(0);\n\t\teditDialog.textBox(EditDialog.NAME_NAME_TEXT_FIELD).setText(\n\t\t\t\t\"Hello World Edit\");\n\t\teditDialog.textBox(EditDialog.NAME_FILE_TEXT_FIELD).setText(\n\t\t\t\tcurrentPath + \"/testfiles/Hello World edit.rtf\");\n\t\teditDialog.textBox(EditDialog.NAME_PROGRAM_TEXT_FIELD).setText(\n\t\t\t\teditedProgramPath);\n\t\tsaveDialogByEnter(editDialog);\n\n\t\tassertEquals(getFileList().contents()[0], \"1 Hello World Edit\");\n\t}", "title": "" }, { "docid": "51b97c15d55b7a84827b97197e661c46", "score": "0.60524833", "text": "public void editTextForAnswer(Answer answer, String newText) {\n\t\t\n\t}", "title": "" }, { "docid": "158c40146829b9756e3550e1d18fdaba", "score": "0.599765", "text": "public void editExamObject() {\n\n if (tableviewExams.getSelectionModel().getSelectedItem() != null && tableviewExamsInsisted.getSelectionModel().getSelectedItem() != null) {\n\n tableviewExams.getSelectionModel().clearSelection();\n tableviewExamsInsisted.getSelectionModel().clearSelection();\n return;\n }\n\n Exam exam;\n exam = tableviewExams.getSelectionModel().getSelectedItem();\n tableviewExams.getSelectionModel().clearSelection();\n if (exam == null) {\n exam = tableviewExamsInsisted.getSelectionModel().getSelectedItem();\n tableviewExamsInsisted.getSelectionModel().clearSelection();\n }\n if (exam == null) {\n\n return;\n }\n if (!exam.isInsisted()) {\n ControllerEditWindow controllerLesson = new ControllerEditWindow(this, exam);\n loadWindowEditExams(exam, pathControllerEditWindowLesson, controllerLesson);\n\n } else if (exam.isInsisted()) {\n ControllerEditWindowExamResult controllerLessonInsisted = new ControllerEditWindowExamResult(this, exam);\n loadWindowEditExams(exam, pathControllerEditWindowLessonInsisted, controllerLessonInsisted);\n }\n }", "title": "" }, { "docid": "ecc08f205a78d09f05bdf2f208d3a0fc", "score": "0.5947483", "text": "@Override\n public void edit(Question question) {\n }", "title": "" }, { "docid": "b22993256654817c3d34c442c9e11e79", "score": "0.5916426", "text": "public void presentEditRoomInstruction() {\n System.out.println(\"Which information do you want to edit?\");\n System.out.println(\"[1] Set Name\");\n System.out.println(\"[2] Set Location\");\n System.out.println(\"[3] Set Capacity\");\n System.out.println(\"[4] Set Equipment\");\n System.out.println(\"[0] Exit\");\n }", "title": "" }, { "docid": "61641252451c680861462ea08b5f5c3e", "score": "0.5880152", "text": "public void presentEditRoomIdInstruction() {\n System.out.println(\"Please enter the <room id> of the room that you want to make change to, enter [0] to exit\");\n }", "title": "" }, { "docid": "e3bbf71cbc4200ad1f013c76a1c6d2d0", "score": "0.58401525", "text": "private void updateMessage() {\n //Set the message for editText\n editMessage = QBChatMessagesHolder.getInstance().getChatMessagesByDialogId(qbChatDialog.getDialogId()).get(contextMenuIndexClicked);\n editContent.setText(editMessage.getBody());\n\n //Set edit mode to true\n isEditMode = true;\n }", "title": "" }, { "docid": "c5a8deb21212ea444ad47b5fe78f0442", "score": "0.5825533", "text": "public void fillPanel() {\r\n \t\tif (question == null)\r\n \t\t\treturn; // danger will robinson!\r\n \r\n \r\n \t\t// we may need some string substitutions for $$1 and $$2\r\n \t\tString[] alterNames = egoClient.getInterview().getAlterStrings(question);\r\n \r\n \t\tString notes = egoClient.getInterview().getNotes();\r\n \t\tnotesTextArea.setText(notes);\r\n \t\t\r\n \t\t// prepare the buttons\r\n \t\tsetButtonNextState();\r\n \t\tquestionButtonPrevious.setEnabled(egoClient.getInterview().hasPrevious());\r\n \r\n \t\t\r\n \t\tString strTitle = question.questionType.title;\r\n \t\tif(strTitle.contains(\"$$1\"))\r\n \t\t strTitle = strTitle.replace(\"$$1\", alterNames[0]);\r\n \t\tif(strTitle.contains(\"$$2\"))\r\n strTitle = strTitle.replace(\"$$2\", alterNames[1]);\r\n \t\ttitleText.setText(strTitle);\r\n \r\n \t\tanswerPanel.setVisible(false);\r\n \t\tif ((question.questionType == Shared.QuestionType.ALTER_PROMPT)\r\n \t\t\t\t&& egoClient.getStudy().getUIType().equals(\r\n \t\t\t\t\t\tShared.TRADITIONAL_QUESTIONS)) {\r\n \t\t\tString qs = \"Enter the names of \"\r\n \t\t\t\t+ egoClient.getStudy().getNetworkSize() + \" people. \";\r\n \r\n \t\t\tif (egoClient.getInterview().isLastAlterPrompt()) {\r\n \t\t\t\tqs += \"After entering \" + egoClient.getStudy().getNetworkSize()\r\n \t\t\t\t+ \" names you can continue.\";\r\n \t\t\t} else {\r\n \t\t\t\tqs += \"\";\r\n \t\t\t}\r\n \r\n \t\t\tsetQuestionText(question.text);\r\n \t\t\tquestionText.setCaretPosition(0);\r\n \r\n \t\t\tanswerPanel.showCard(ALTER_CARD);\r\n \t\t\talterList.setMaxListSize(egoClient.getStudy().getNetworkSize());\r\n \t\t\talterList.setDescription(qs);\r\n \t\t\talterList.setElementName(\"Name: \");\r\n \t\t\talterList.setPresetListsActive(false);\r\n \t\t\talterList.setNameModel(egoClient.getStudy().getAlterNameModel());\r\n \t\t\talterList.setTitle(\"Your Acquaintances\");\r\n \r\n \t\t\t// set alter Strings IF they exist yet\r\n \t\t\talterList.setListStrings(egoClient.getInterview().getAlterList());\r\n \t\t\talterList.setEditable(egoClient.getUiPath() == ClientFrame.DO_INTERVIEW);\r\n \r\n \t\t\tegoClient.getFrame().flood();\r\n \t\t\tanswerPanel.setVisible(true);\r\n \t\t\talterList.requestFocusOnFirstVisibleComponent();\r\n \t\t} else if (question.answerType == Shared.AnswerType.INFORMATIONAL) {\r\n \t\t\tsetQuestionText(question.text);\r\n \t\t\tquestionText.setCaretPosition(0);\r\n \t\t} else if (question.answerType == Shared.AnswerType.TEXT) {\r\n \t\t\tsetQuestionText(question.text);\r\n \t\t\tquestionText.setCaretPosition(0);\r\n \r\n \t\t\tanswerPanel.showCard(TEXT_CARD);\r\n \t\t\tanswerPanel.validate();\r\n \t\t\tanswerTextField.setDocument(plainDocument);\r\n \t\t\tanswerTextField.requestFocus();\r\n \r\n \t\t\tif (question.answer.answered) {\r\n \t\t\t\tanswerTextField.setText(question.answer.string);\r\n \t\t\t} else {\r\n \t\t\t\tanswerTextField.setText(\"\");\r\n \t\t\t}\r\n \r\n \t\t\tanswerTextField\r\n \t\t\t.setEditable((egoClient.getUiPath() == ClientFrame.DO_INTERVIEW)\r\n \t\t\t\t\t|| (egoClient.getUiPath() == ClientFrame.VIEW_INTERVIEW));\r\n \t\t\tanswerPanel.setVisible(true);\r\n \t\t\tanswerTextField.requestFocusInWindow();\r\n \t\t} else if (question.answerType == Shared.AnswerType.NUMERICAL) {\r\n \t\t\tsetQuestionText(question.text);\r\n \t\t\tquestionText.setCaretPosition(0);\r\n \r\n \t\t\tanswerPanel.showCard(NUMERICAL_CARD);\r\n \t\t\tnumericalTextField.setDocument(wholeNumberDocument);\r\n \t\t\tnumericalTextField.requestFocusInWindow();\r\n \r\n \t\t\tif (question.answer.answered) {\r\n \t\t\t\tif (question.answer.getValue() != -1) {\r\n \t\t\t\t\tnumericalTextField.setText(question.answer.string);\r\n \t\t\t\t\tnoAnswerBox.setSelected(false);\r\n \t\t\t\t} else {\r\n \t\t\t\t\tnoAnswerBox.setSelected(true);\r\n \t\t\t\t\tnumericalTextField.setText(\"\");\r\n \t\t\t\t}\r\n \t\t\t} else {\r\n \t\t\t\tnumericalTextField.setText(\"\");\r\n \t\t\t\tnoAnswerBox.setSelected(false);\r\n \t\t\t}\r\n \r\n \t\t\tboolean doInterview = (egoClient.getUiPath() == ClientFrame.DO_INTERVIEW);\r\n \t\t\tnumericalTextField.setEditable(doInterview\r\n \t\t\t\t\t|| (egoClient.getUiPath() == ClientFrame.VIEW_INTERVIEW));\r\n \t\t\tnoAnswerBox.setEnabled(doInterview\r\n \t\t\t\t\t|| (egoClient.getUiPath() == ClientFrame.VIEW_INTERVIEW));\r\n \t\t\tanswerPanel.setVisible(true);\r\n \t\t\tnumericalTextField.requestFocusInWindow();\r\n \t\t} else if(question.answerType == Shared.AnswerType.CATEGORICAL) {\r\n \r\n \t\t\tlogger.info(\"Displaying CATEGORICAL question: \" + question.text);\r\n \t\t\tsetQuestionText(question.text);\r\n \t\t\tquestionText.setCaretPosition(0);\r\n \t\t\t\r\n \t\t\t// can we do radio buttons or do we need the dropdown?\r\n \t\t\tif (question.getSelections().length <= answerButtons.length) { // radio buttons!\r\n \t\t\t\tlogger.info(\" -- doing radio buttons since there's room!\");\r\n \t\t\t\t\r\n \t\t\t\tfor(int i = 0; i < answerButtons.length; i++)\r\n \t\t\t\t{\r\n \t\t\t\t\tanswerButtons[i].setActionCommand(\"Initialization\");\r\n \t\t\t\t\tanswerButtons[i].setSelected(false);\r\n \t\t\t\t\tanswerButtons[i].setVisible(false);\r\n \t\t\t\t\tanswerButtons[i].setActionCommand(\"User Input\");\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t\tfor (int i = 0; i < question.getSelections().length && i < answerButtons.length; i++) {\r\n \t\t\t\t\tanswerButtons[i].setActionCommand(\"Initialization\");\r\n \t\t\t\t\tanswerButtons[i].setText(question.getSelections()[i].getString() + \" (\" + question.getSelections()[i].getValue() + \")\" );\r\n \t\t\t\t\tanswerButtons[i].setVisible(true);\r\n \t\t\t\t\tanswerButtons[i].setEnabled((egoClient.getUiPath() == ClientFrame.DO_INTERVIEW) || (egoClient.getUiPath() == ClientFrame.VIEW_INTERVIEW));\r\n \t\t\t\t\tanswerButtons[i].setActionCommand(\"User Input\");\r\n \t\t\t\t\t\r\n \t\t\t\t\tlogger.info(\"Creating radio button \" + i + \": \" + answerButtons[i].getText());\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t\tlogger.info(\"-- answer: \" + question.answer.answered + \", answer index: \" + question.answer.getIndex());\r\n \t\t\t\tif (question.answer.answered && (question.answer.getIndex() >= -1)) {\r\n \t\t\t\t\tlogger.info(\" -- was it actually answered with index >= -1 (not unselected)\");\r\n \t\t\t\t\t//int idx = question.selections.length - (question.answer.getValue() + 1);\r\n \t\t\t\t\tif (answerButtons != null && answerButtons.length != 0) {\r\n \t\t\t\t\t\tanswerButtons[question.answer.getIndex()].setSelected(true);\r\n \t\t\t\t\t\tlogger.info(\"-- YES -- setting a selection for the new loaded question's answer!\");\r\n \t\t\t\t\t}\r\n \t\t\t\t} else {\r\n \t\t\t\t\t// Unselect visible buttons by selecting invisible button in same group\r\n \t\t\t\t\t// Workaround because ButtonGroup doesn't allow total selections to drop from 1 to 0\r\n \t\t\t\t\tnoAnswerButton.setSelected(true); \r\n \t\t\t\t}\r\n \t\t\t\t\r\n answerPanel.showCard(RADIO_CARD);\r\n \t\t\t\tanswerPanel.setVisible(true);\r\n \t\t\t} else { // drop downs!\r\n \t\t\t\tlogger.info(\" -- doing drop downs!\");\r\n \t\t\t\tsetQuestionText(question.text);\r\n \t\t\t\tquestionText.setCaretPosition(0);\r\n \t\t\t\tanswerPanel.showCard(MENU_CARD);\r\n \r\n \t\t\t\tanswerMenu.setActionCommand(\"Initialization\"); // suspend the answer listener while we mess w/ the box\r\n \t\t\t\tanswerMenu.removeAllItems();\r\n \t\t\t\tanswerMenu.addItem(\"Select an answer\");\r\n \t\t\t\t\r\n \t\t\t\tfor (int i = 0; i < question.getSelections().length; i++) {\r\n \t\t\t\t\tanswerMenu.addItem(question.getSelections()[i]);\r\n \t\t\t\t\t// If question already answered, then select that answer\r\n \t\t\t\t\tif(\ti > 0 && \r\n \t\t\t\t\t\tquestion.answer.getIndex() >= 0 &&\r\n \t\t\t\t\t\tquestion.answer.getIndex()+1 == i\r\n \t\t\t\t\t\t)\r\n \t\t\t\t\t\tanswerMenu.setSelectedIndex(i);\t\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t\t// Question not answered yet, so should start on \"Select an answer\"\r\n \t\t\t\tif(( ! question.answer.answered) || question.answer.getIndex() < 0) {\r\n \t\t\t\t\tanswerMenu.setSelectedIndex(0);\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \r\n \t\t\t\tanswerMenu.setActionCommand(\"User Input\"); // reactive the answer listener since we're done\r\n \t\t\t\tanswerMenu.setEnabled((egoClient.getUiPath() == ClientFrame.DO_INTERVIEW) || (egoClient.getUiPath() == ClientFrame.VIEW_INTERVIEW));\r\n \t\t\t\r\n \t\t\t\tanswerPanel.setVisible(true);\r\n \t\t\t\tanswerMenu.requestFocusInWindow();\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\t\r\n \t\t\t\r\n \t\t\t\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "dcf251fab63c2999da1c01a0def69319", "score": "0.5737521", "text": "private void editItem() {\n System.out.println(\"--------Edit Item--------\");\n String id = this.input.ask(\"Enter an Item id to be replaced : \");\n Item item = tracker.findById(id);\n System.out.println(\"Edit item ID\" + id);\n String name = this.input.ask(\"Enter an Item new name : \");\n String desc = this.input.ask(\"Enter an Item new description : \");\n item.setName(name);\n item.setDescription(desc);\n System.out.println(\"----------Item ID\" + item.getId() + \"updated successfully\");\n\n }", "title": "" }, { "docid": "9c5f843f6afcedf37ca1b960b8498f44", "score": "0.5719093", "text": "public void talkMarvin()\r\n {\r\n position = \"talkMarvin\";\r\n\t if(item.equals(\"Key\"))\r\n\t mainTextArea.setText(\"You stick in the key and find that the door was already unlocked. You found the key to my comic collection! Been looking for that for ages. Thanks mate.\\\"\");\r\n\t else \r\n mainTextArea.setText(\"You open the door to see a small robot. \\n\\\"Oh.You're awake. Great.\\\"\"); \r\n\t \r\n choice1.setText(\"\\\"Who are you?\\\"\"); \r\n choice2.setText(\"\\\"Who am I?\\\"\");\r\n choice3.setText(\"\\\"Where am I?\\\"\"); \r\n choice4.setText(\"\\\"How did I get here?\\\"\"); \r\n }", "title": "" }, { "docid": "cab0240375e2649ecf789655e15f4c9f", "score": "0.57153374", "text": "private void updateQuestionText() {\n // Log.d(TAG, \"Updating question text for question #\" + mCurrentQuestionIndex, new Exception());\n int question = mCollectionQuestions[mCurrentQuestionIndex].getTextResourceId();\n mTextQuestion.setText(question);\n Log.d(TAG, \"Current question index: \" + mCurrentQuestionIndex);\n\n }", "title": "" }, { "docid": "6bd9862b4b3b69317c7c94661dca4a39", "score": "0.5676578", "text": "public void who()\r\n {\r\n position = \"who\";\r\n mainTextArea.setText(\"\\\"I'm Marvin.\\\"\");\r\n choice1.setText(\"Continue\"); \r\n choice2.setText(\"\");\r\n choice3.setText(\"\"); \r\n choice4.setText(\"\");\r\n \r\n }", "title": "" }, { "docid": "4e59c326f5e40a532a71923b361c6013", "score": "0.5633582", "text": "private static void editProvider()\r\n {\n boolean editingProvider = true;\r\n char menuChoice = ' ';\r\n boolean loopThis = true;\r\n Integer providerNumber = 0;\r\n Provider providerToEdit;\r\n \r\n while(loopThis == true)\r\n {\r\n try\r\n {\r\n terminal.sendOutput(\"Edit Provider\");\r\n terminal.sendOutput(\"Test Provider numbers: 111222333 or 111222555\");\r\n providerNumber = Integer.parseInt(terminal.getInput(\"Enter provider number, or 0 to return to previous menu:\"));\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n }\r\n \r\n if (providerController.getProvider(providerNumber)!= null)\r\n {\r\n try\r\n {\r\n providerToEdit = providerController.getProvider(providerNumber);\r\n terminal.sendOutput(\"Edit:\");\r\n terminal.sendOutput(\"1) Name: \" + providerToEdit.getName());\r\n terminal.sendOutput(\"2) Address: \" + providerToEdit.getStreetAddress());\r\n terminal.sendOutput(\"3) City: \" + providerToEdit.getCity());\r\n terminal.sendOutput(\"4) State: \" + providerToEdit.getState());\r\n terminal.sendOutput(\"5) Zip: \" + providerToEdit.getZipcode());\r\n terminal.sendOutput(\"0) Exit to previous menu\");\r\n menuChoice = terminal.getInput(\"Enter Menu Option\").toUpperCase().charAt(0);\r\n \r\n String newData = \"\";\r\n switch (menuChoice)\r\n {\r\n case '1': // Edit member name\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new name or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n providerToEdit.setName(newData);\r\n providerController.save(PROVIDER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '2': // edit member address\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new street address or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n providerToEdit.setStreetAddress(newData);\r\n providerController.save(PROVIDER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '3': // edit member city\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new city or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n providerToEdit.setCity(newData);\r\n providerController.save(PROVIDER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '4': // edit member state\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new state or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n providerToEdit.setState(newData);\r\n providerController.save(PROVIDER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '5': // edit member zip\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new zipcode or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n providerToEdit.setZipcode(Integer.parseInt(newData));\r\n providerController.save(PROVIDER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '0': // exit to previous menu\r\n loopThis = false;\r\n break;\r\n default:\r\n terminal.sendOutput(String.format(\"%c is not a valid menu choice. \", menuChoice));\r\n break;\r\n }\r\n }\r\n catch (Exception ex)\r\n {\r\n // TODO: log exception here and display error message\r\n terminal.sendOutput(ex.getMessage());\r\n }\r\n \r\n \r\n }\r\n else if (providerNumber == 0)\r\n {\r\n loopThis = false;\r\n }\r\n else\r\n {\r\n terminal.sendOutput(\"No provider of that number was found\");\r\n }\r\n \r\n }\r\n \r\n }", "title": "" }, { "docid": "070bf2c93bedbc0dba52f5feebc95022", "score": "0.56228113", "text": "private void updateQuestion() {\n int question = mQuestionBank[mCurrentIndex].getTextResId();\n // Set the question text\n mQuestionTextView.setText(question);\n }", "title": "" }, { "docid": "157e7cda1c01043a72d9b4e64a45e788", "score": "0.56089175", "text": "public void changePressed() {\n\t\tGlobal.messageOccurred = false;\n\t\ttry {\n\t\t\tdba.readRecordForUpdate();\n\t\t} catch (SQLException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tif (Global.messageOccurred == true)\n\t\t\t// an message was displayed in readRecordForUodate - we don't want to proceed\n\t\t\treturn;\n\t\t\n\t\tGlobal.scrnFunction = \"Change\";\n \tGlobal.scrnMode = \"Entry\";\n \tsetupScreen();\n \tclearScreenFields();\n \tmoveDataRectoScreenFields();\n \ttextName.grabFocus();\n\t}", "title": "" }, { "docid": "8f2679e16161b5e24d1a9b32c2f76f7b", "score": "0.5549054", "text": "private void edit() {\n\t\tOKCancelDialog dialog = new OKCancelDialog(dialogPanel, null, dialogTitle, \"OK\", \"Cancel\");\n\t\t\n\t\t//The user has clicked the cell, so\n\t\t//bring up the dialog.\n\t\ttextArea.setText(currentText);\n\t\tdialog.setVisible(true);\n\n\t\t//This runs when the dialog is closed\n\t\tif (dialog.lastClickWasOK()) {\n\t\t\tcurrentText = textArea.getText();\n\t\t}\n\t\t\n\t\t//Make the renderer reappear, after all editing completes\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tfireEditingStopped();\t\t\t\n\t\t\t}\n\t\t});\n\t\t \n\t}", "title": "" }, { "docid": "fd0ac4c37ae3f9bf7a5c62a092ffe0a5", "score": "0.55465686", "text": "public void startEditing();", "title": "" }, { "docid": "cb13737697bc942a597c96b467f3346f", "score": "0.5539033", "text": "@Test\n public void userCanEditNote() {\n TestUtils.registerUser(driver, appUrl, \"editNoteUser\");\n TestUtils.loginUser(driver, appUrl, \"editNoteUser\");\n NotesTab notesTab = setupNoteForUser(driver);\n // can edit note\n // edit modal\n notesTab.editNoteModal(driver);\n // reload page from driver\n notesTab = new NotesTab(driver);\n assertTrue(notesTab.addNoteModalLoaded());\n // add values\n notesTab.editDummyNote(driver);\n // submit modal\n notesTab.saveNote(driver);\n // redirects to home so need to reselect the Notes tab\n HomePage homePage = new HomePage(driver);\n homePage.chooseNotesTab(driver);\n // assert changes show in page\n notesTab = new NotesTab(driver);\n assertTrue(notesTab.isNoteInPage(NotesTab.EDITED_NOTE_TITLE, NotesTab.EDITED_NOTE_DESC));\n TestUtils.pause(5000);\n }", "title": "" }, { "docid": "a122bc93eacdeb399b6bb88172babda7", "score": "0.54696274", "text": "public void where()\r\n {\r\n position = \"why\";\r\n mainTextArea.setText(\"\\\"The Moon.\\\"\");\r\n choice1.setText(\"Continue\"); \r\n choice2.setText(\"\");\r\n choice3.setText(\"\"); \r\n choice4.setText(\"\"); \r\n }", "title": "" }, { "docid": "0239aab9e0d29f064c09e9559ae66a58", "score": "0.54622865", "text": "private void modifyACourse() {\n System.out.print(Constants.colorWrapper(\"Course id: \", Constants.WHITE_BOLD));\n String courseId = Constants.IN.nextLine();\n if (Database.courses.containsKey(courseId)) {\n\n System.out.println();\n System.out.println(Database.courses.get(courseId));\n boolean exitMenu = false;\n\n while (!exitMenu) {\n\n String fieldToModify;\n System.out.println();\n System.out.println(\" +------------------------------------+\");\n System.out.println(\" | \" + Constants.colorWrapper(\"COURSE SETTING\", Constants.WHITE_BOLD) + \" |\");\n System.out.println(\" +------------------------------------+\");\n System.out.println(\" | 1. Modify course name |\");\n System.out.println(\" | 2. Modify course description |\");\n System.out.println(\" | 3. Modify course prerequisites |\");\n System.out.println(\" | 4. Modify course antirequisites |\");\n System.out.println(\" | 5. Modify course repeats |\");\n System.out.println(\" | 6. Return |\");\n System.out.println(\" +------------------------------------+\");\n System.out.println();\n System.out.println(Constants.colorWrapper(\" Note : Invalid value will remain the original data \" +\n \"unchanged!\", Constants.YELLOW_BOLD));\n System.out.println();\n System.out.print(Constants.colorWrapper(\"Select number: \", Constants.WHITE_BOLD));\n fieldToModify = Constants.IN.nextLine();\n\n switch (fieldToModify) {\n case \"1\":\n System.out.print(Constants.colorWrapper(\"New COURSE NAME: \", Constants.WHITE_BOLD));\n String newCourseName = Constants.IN.nextLine();\n Database.courses.get(courseId).setCourseName(newCourseName);\n Database.courseUpdateCommit(courseId, Constants.COURSE_FIELD.COURSE_NAME);\n break;\n case \"2\":\n System.out.print(Constants.colorWrapper(\"New COURSE DESCRIPTION: \", Constants.WHITE_BOLD));\n String newCourseDescription = Constants.IN.nextLine();\n Database.courses.get(courseId).setCourseDescription(newCourseDescription);\n Database.courseUpdateCommit(courseId, Constants.COURSE_FIELD.COURSE_DESCRIPTION);\n break;\n case \"3\":\n System.out.print(Constants.colorWrapper(\"New PREREQUISITES (Format: A B C): \",\n Constants.WHITE_BOLD));\n String newPrerequisites = Constants.IN.nextLine();\n\n // new prerequisites cannot contain course id which are already in the anti-requisites\n HashSet<String> temp0 = Course.parser(newPrerequisites);\n HashSet<String> temp1 = Database.courses.get(courseId).getAntirequisites();\n boolean noCommonCourses0 = true;\n for (String i : temp0) {\n if (temp1.contains(i)) {\n noCommonCourses0 = false;\n System.out.print(Constants.colorWrapper(i + \" is already \" +\n \"in the anti-requisites \", Constants.RED));\n System.out.println();\n break;\n }\n }\n if (noCommonCourses0) {\n Database.courses.get(courseId).setPrerequisitesAsNew(newPrerequisites);\n Database.courseUpdateCommit(courseId, Constants.COURSE_FIELD.PREREQUISITES);\n }\n\n break;\n case \"4\":\n System.out.print(Constants.colorWrapper(\"New ANTIREQUISITES (Format: A B C): \", Constants.WHITE_BOLD));\n String newAntirequisites = Constants.IN.nextLine();\n\n // new antirequisites cannot contain course id which are already in the prerequisites\n HashSet<String> temp2 = Course.parser(newAntirequisites);\n HashSet<String> temp3 = Database.courses.get(courseId).getPrerequisites();\n boolean noCommonCourses1 = true;\n for (String i : temp2) {\n if (temp3.contains(i)) {\n noCommonCourses1 = false;\n System.out.print(Constants.colorWrapper(i + \" is already \" +\n \"in the prerequisites \", Constants.RED));\n System.out.println();\n break;\n }\n }\n if (noCommonCourses1) {\n Database.courses.get(courseId).setAntirequisitesAsNew(newAntirequisites);\n Database.courseUpdateCommit(courseId, Constants.COURSE_FIELD.ANTIREQUISITES);\n }\n\n break;\n case \"5\":\n System.out.print(Constants.colorWrapper(\"Can the course be repeated for GPA? \",\n Constants.WHITE_BOLD) + \" (YES/NO) \");\n String newCanBeRepeated = Constants.IN.nextLine();\n Database.courses.get(courseId).setCanBeRepeated(newCanBeRepeated);\n Database.courseUpdateCommit(courseId, Constants.COURSE_FIELD.CAN_BE_REPEATED);\n break;\n case \"6\":\n exitMenu = true;\n break;\n default:\n System.out.println(Constants.INVALID_INPUT);\n Constants.pressEnterToContinue();\n }\n\n // print course info after the modification if the user chose from 1-5\n for (int i = 1; i <= 5; ++i) {\n if (fieldToModify.equals(String.valueOf(i))) {\n System.out.println();\n System.out.println(Database.courses.get(courseId));\n System.out.println();\n // log\n Log.updateACourse(new Timestamp(System.currentTimeMillis()), MenuTextUI.uuid, courseId);\n Constants.pressEnterToContinue();\n break;\n }\n }\n }\n } else {\n System.out.println(Constants.colorWrapper(\"Course id does not exist!\", Constants.RED));\n Constants.pressEnterToContinue();\n System.out.println();\n }\n }", "title": "" }, { "docid": "a14a7c8ffb0cff1444468f860ebfb796", "score": "0.5459402", "text": "private void updateQuestion(){\n int question = mQuestionBank[mCurrentIndex].getTextResId();\n mTvQuestion.setText(question);\n }", "title": "" }, { "docid": "54da8b670431c42ee3286045a6e9a5fe", "score": "0.54495806", "text": "public void setEditMessageMode() {\n\t\tmode = Mode.EDITMESSAGE;\n\t}", "title": "" }, { "docid": "f90d4862d3355871c4fd49ad25952dce", "score": "0.54480845", "text": "private void showEditScreen() {\r\n }", "title": "" }, { "docid": "a4c1b745be439f90a7ee54424f000861", "score": "0.5446831", "text": "public void edit(String type)throws IOException, ClassNotFoundException {\n \n int number;\n Scanner keyboard = new Scanner(System.in);\n \n //load the files from user for editing\n out.print(\"\\nWhat \" + type + \" do you wish to modify\");\n load(type);\n\n //if fails on loading return\n if(this.current == null){\n return ;\n }\n\n display();\n\n out.print(\"\\nWhat question do you wish to modify?\");\n out.print(\"Enter existing question: \");\n\n //handling invalid input\n try{\n number = keyboard.nextInt();\n this.current.editQuestion(number);\n }\n catch(Exception e){\n out.print(\"Enter existing question: \");\n number = keyboard.nextInt();\n this.current.editQuestion(number);\n }\n}", "title": "" }, { "docid": "c95f1a97953c36c4d23d160c135383eb", "score": "0.5445467", "text": "private void editProviderInfo(){\n Scanner sc = new Scanner(System.in);\n int providerID = getValidProvider();\n ProviderRecord toChange = new ProviderRecord();\n\n //user chose to return from getValidProvider\n if(providerID == -1)\n return;\n try {\n toChange = database.getProviderRecord(providerID);\n } catch (SQLException e){\n e.printStackTrace();\n }\n\n Utilities.clearConsole();\n System.out.println(\"Name: \" + toChange.name + \"\\nAddress: \" + toChange.address + \", \" + toChange.city + \" \" + toChange.state + \" \" + toChange.zip + \"\\nProvider ID: \" + toChange.ID);\n System.out.println(\"Edit this provider?\");\n if(Utilities.confirm()) {\n do {\n int selection = 0;\n Utilities.clearConsole();\n System.out.println(\n \"Which field would you like to change? \" +\n \"\\n1. Name\" +\n \"\\n2. Address\" +\n \"\\n3. City\" +\n \"\\n4. State\" +\n \"\\n5. Go back, aborting changes\" +\n \"\\n6. Submit changes\" +\n \"\\nMake a selection: \");\n\n // get valid user choice\n boolean valid = false;\n do {\n if (!sc.hasNextInt()) {\n System.out.println(\"Invalid selection.\\n\");\n sc.next();\n continue;\n }\n selection = sc.nextInt();\n if (selection <= 0 || selection > 6) {\n System.out.println(\"Invalid selection.\\n\");\n sc.next();\n } else {\n valid = true;\n }\n } while (!valid);\n // enact user choice\n sc.nextLine();\n switch (selection) {\n case (1):\n // change name\n String newName;\n do {\n System.out.println(\"Enter the new name, or enter 'x' to cancel: \");\n if(sc.hasNext(\"x\"))\n return;\n newName = sc.nextLine();\n if(newName.length() > 45){ // cut off extra characters if too long\n newName = newName.substring(0, 45);\n }\n System.out.println(\"Change \" + toChange.name + \" to \" + newName + \"?\");\n } while(!Utilities.confirm());\n toChange.name = newName;\n break;\n case (2):\n // change address\n String newAddress;\n do {\n System.out.println(\"Enter the new street address, or enter 'x' to cancel: \");\n if(sc.hasNext(\"x\"))\n return;\n newAddress = sc.nextLine();\n if(newAddress.length() > 45){ // cut off extra characters if too long\n newAddress = newAddress.substring(0, 45);\n }\n System.out.println(\"Change \" + toChange.address + \" to \" + newAddress + \"?\");\n } while(!Utilities.confirm());\n toChange.address = newAddress;\n break;\n case (3):\n // change city\n String newCity;\n do {\n System.out.println(\"Enter the new city, or enter 'x' to cancel: \");\n if(sc.hasNext(\"x\"))\n return;\n newCity = sc.nextLine();\n if(newCity.length() > 45){ // cut off extra characters if too long\n newCity = newCity.substring(0, 45);\n }\n System.out.println(\"Change \" + toChange.city+ \" to \" + newCity + \"?\");\n } while(!Utilities.confirm());\n toChange.city = newCity;\n break;\n case (4): // change state\n String newState;\n do {\n System.out.println(\"Enter the new state, or enter 'x' to cancel: \");\n if(sc.hasNext(\"x\"))\n return;\n newState = sc.nextLine();\n if(newState.length() > 2){ // cut off extra characters if too long\n newState= newState.substring(0, 2);\n }\n System.out.println(\"Change \" + toChange.state + \" to \" + newState + \"?\");\n } while(!Utilities.confirm());\n toChange.state = newState;\n break;\n case (5): // go back, aborting all changes\n return;\n case (6): // go back, aborting all changes\n try {\n database.updateProvider(toChange);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n System.out.println(\"Changes saved! Press enter to continue.\");\n sc.nextLine();\n return;\n default: // fall through\n }\n System.out.println(\"Change another field?\");\n } while (true);\n }\n }", "title": "" }, { "docid": "feaa167f67ac45b33084417af743b896", "score": "0.5442936", "text": "public void how()\r\n {\r\n position = \"how\"; \r\n mainTextArea.setText(\"\\\"You came here on a school field trip but seperated from the group and fell and hit your head. You were found and taken to the nursing room and have been here for a few hours.\\\"\"); \r\n choice1.setText(\"Continue\"); \r\n choice2.setText(\"\");\r\n choice3.setText(\"\"); \r\n choice4.setText(\"\");\r\n }", "title": "" }, { "docid": "edf0647534a1f27c003976e84d959c1e", "score": "0.5437082", "text": "private PresentationObject getAPQuestionForm(IWContext iwc, Question question, Question previous, Question latter) {\n Paragraph p = new Paragraph();\n p.setStyleClass(\"question_form\");\n \n Integer categoryId = new Integer(question.getCategoryId());\n String catPK = categoryId.toString();\n Integer questionId = (Integer) question.getPrimaryKey();\n \n //edit link\n Link editLink = new Link();\n editLink.setStyleClass(\"edit\");\n editLink.setWindowToOpen(QandAEditorWindow.class);\n editLink.addParameter(QandAEditorWindow.PRM_CATEGORY, categoryId.toString()); \n editLink.setImage(iwb.getImage(\"open.gif\", iwrb.getLocalizedString(\"button_edit_question\", \"Edit question\")));\n editLink.addParameter(QandAEditorWindow.PRM_QA_ID, questionId.toString());\n if (!showAllCategories && valViewCategory != null ) { \n editLink.addParameter(prmViewCategory, catPK.toString());\n }\n p.getChildren().add(editLink);\n \n \n if (showDeleteButton) {\n \n // trash\n Link trash = new Link(iwb.getImage(\"trashcan_empty.gif\", iwrb\n .getLocalizedString(\"button_invalidate\", \"Trashcan\")));\n trash.setStyleClass(\"trash\");\n trash.addParameter(\"ent_id\", questionId.toString());\n trash.addParameter(\"trash_quest\", \"true\");\n if (!showAllCategories && valViewCategory != null ) { \n trash.addParameter(prmViewCategory, catPK.toString());\n } \n p.getChildren().add(trash);\n \n // delete\n Link delete = new Link(iwb.getImage(\"delete.gif\", iwrb\n .getLocalizedString(\"button_remove\", \"Remove from list\")));\n delete.setStyleClass(\"delete\");\n delete.addParameter(\"ent_id\", questionId.toString());\n delete.addParameter(\"delete_quest\", \"true\");\n if (!showAllCategories && valViewCategory != null ) { \n delete.addParameter(prmViewCategory, catPK.toString());\n }\n p.getChildren().add(delete);\n }\n \n if (showMoveButtons) {\n \n // up\n if (previous != null) {\n Link up = new Link(iwb.getImage(\"up.gif\", iwrb\n .getLocalizedString(\"button_up\", \"Move up\")));\n up.setStyleClass(\"up\");\n up.addParameter(\"move_up\", \"true\");\n up.addParameter(\"ent_id\", questionId.toString());\n up.addParameter(\"swap_up_quest_id\" + questionId, previous\n .getPrimaryKey().toString());\n if (!showAllCategories && valViewCategory != null ) { \n up.addParameter(prmViewCategory, catPK.toString());\n }\n p.getChildren().add(up);\n }\n \n // down\n if (latter != null) {\n Link down = new Link(iwb.getImage(\"down.gif\", iwrb\n .getLocalizedString(\"button_down\", \"Move down\")));\n down.setStyleClass(\"down\");\n down.addParameter(\"move_down\", \"true\");\n down.addParameter(\"ent_id\", questionId.toString());\n down.addParameter(\"swap_down_quest_id\" + questionId, latter\n .getPrimaryKey().toString());\n if (!showAllCategories && valViewCategory != null ) { \n down.addParameter(prmViewCategory, catPK.toString());\n }\n p.getChildren().add(down);\n }\n }\n \n return p;\n }", "title": "" }, { "docid": "a736967cf3c424a6de475ee802f68f94", "score": "0.54331386", "text": "public void edit();", "title": "" }, { "docid": "f33a32b5050f97ccc9ad82e385faa83a", "score": "0.5398041", "text": "private static void editMember()\r\n {\n boolean editingMember = true;\r\n char menuChoice = ' ';\r\n boolean loopThis = true;\r\n Integer memberNumber = 0;\r\n Member memberToEdit;\r\n \r\n while(loopThis == true)\r\n {\r\n try\r\n {\r\n terminal.sendOutput(\"Edit Member\");\r\n terminal.sendOutput(\"Test member numbers: 333222333 or 333222339\");\r\n memberNumber = Integer.parseInt(terminal.getInput(\"Enter member number, or 0 to return to previous menu:\"));\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n }\r\n \r\n if (memberController.getMember(memberNumber)!= null)\r\n {\r\n try\r\n {\r\n memberToEdit = memberController.getMember(memberNumber);\r\n terminal.sendOutput(\"Edit:\");\r\n terminal.sendOutput(\"1) Name: \" + memberToEdit.getName());\r\n terminal.sendOutput(\"2) Address: \" + memberToEdit.getStreetAddress());\r\n terminal.sendOutput(\"3) City: \" + memberToEdit.getCity());\r\n terminal.sendOutput(\"4) State: \" + memberToEdit.getState());\r\n terminal.sendOutput(\"5) Zip: \" + memberToEdit.getZipcode());\r\n terminal.sendOutput(\"0) Exit to previous menu\");\r\n menuChoice = terminal.getInput(\"Enter Menu Option\").toUpperCase().charAt(0);\r\n \r\n String newData = \"\";\r\n switch (menuChoice)\r\n {\r\n case '1': // Edit member name\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new name or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n memberToEdit.setName(newData);\r\n memberController.save(MEMBER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '2': // edit member address\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new street address or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n memberToEdit.setStreetAddress(newData);\r\n memberController.save(MEMBER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '3': // edit member city\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new city or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n memberToEdit.setCity(newData);\r\n memberController.save(MEMBER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '4': // edit member state\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new state or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n memberToEdit.setState(newData);\r\n memberController.save(MEMBER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '5': // edit member zip\r\n try\r\n {\r\n newData = terminal.getInput(\"Enter new zipcode or 0 to exit:\");\r\n }\r\n catch(Exception ex)\r\n {\r\n terminal.sendOutput(ex.getMessage());\r\n break;\r\n }\r\n if (!newData.equals(\"\") && !newData.equals(\"0\"))\r\n {\r\n memberToEdit.setZipcode(Integer.parseInt(newData));\r\n memberController.save(MEMBER_CONTROLLER_FILE);\r\n }\r\n break;\r\n case '0': // exit to previous menu\r\n loopThis = false;\r\n break;\r\n default:\r\n terminal.sendOutput(String.format(\"%c is not a valid menu choice. \", menuChoice));\r\n break;\r\n }\r\n }\r\n catch (Exception ex)\r\n {\r\n // TODO: log exception here and display error message\r\n terminal.sendOutput(ex.getMessage());\r\n }\r\n \r\n \r\n }\r\n else if (memberNumber == 0)\r\n {\r\n loopThis = false;\r\n }\r\n else\r\n {\r\n terminal.sendOutput(\"No member of that number was found\");\r\n }\r\n \r\n }\r\n \r\n }", "title": "" }, { "docid": "36e351065247711235295531cd1a0371", "score": "0.5392336", "text": "void updateTextField();", "title": "" }, { "docid": "eb2a19fe3248a652d8ba6a1febe83d8d", "score": "0.538211", "text": "public void testEditSurvey() throws Throwable {\n String result = null;\n try {\n this.setUserOnSession(\"admin\");\n\n // with no params at all it must NOT crash!\n this.initAction(\"/do/jpsurvey/Survey\", \"editSurvey\");\n result = this.executeAction();\n assertNotNull(result);\n assertEquals(BaseAction.FAILURE, result);\n // invalid questioannaire\n this.initAction(\"/do/jpsurvey/Survey\", \"editSurvey\");\n this.addParameter(\"surveyId\", \"-1\");\n this.addParameter(\"questionnaire\", true);\n result = this.executeAction();\n assertNotNull(result);\n assertEquals(\"listSurveys\", result);\n // invalid poll\n this.initAction(\"/do/jpsurvey/Survey\", \"editSurvey\");\n this.addParameter(\"surveyId\", \"-1\");\n this.addParameter(\"questionnaire\", false);\n result = this.executeAction();\n assertNotNull(result);\n assertEquals(\"listSurveys\", result);\n // existing questionnaire\n this.initAction(\"/do/jpsurvey/Survey\", \"editSurvey\");\n this.addParameter(\"surveyId\", \"1\");\n this.addParameter(\"questionnaire\", true);\n result = this.executeAction();\n assertNotNull(result);\n assertEquals(Action.SUCCESS, result);\n // existing polls\n this.initAction(\"/do/jpsurvey/Survey\", \"editSurvey\");\n this.addParameter(\"surveyId\", \"2\");\n this.addParameter(\"questionnaire\", false);\n result = this.executeAction();\n assertNotNull(result);\n assertEquals(Action.SUCCESS, result);\n } catch (Throwable t) {\n throw t;\n }\n }", "title": "" }, { "docid": "6861a5937cdfb3658501bd0c5fe5d2a0", "score": "0.53796506", "text": "public void dontMatter()\r\n {\r\n position = \"dontMatter\";\r\n mainTextArea.setText(\"\\\"Doesn't really matter what you want I'm required to bring you back anyway.\\\"\");\r\n choice1.setText(\"Okay :c\"); \r\n choice2.setText(\"\");\r\n choice3.setText(\"\"); \r\n choice4.setText(\"\");\r\n choice2.setVisible(false);\r\n\t choice3.setVisible(false);\r\n\t choice4.setVisible(false);\r\n \r\n }", "title": "" }, { "docid": "0d6c2ae31fcfb6bfe4b9dd1b4a4d6c6e", "score": "0.53755677", "text": "public void startEdit(){\n\t\tmClientDataTable.edit();\n\t}", "title": "" }, { "docid": "abb8dccb9c33edf8539c73bf5dadacbc", "score": "0.5367244", "text": "public void me()\r\n {\r\n position = \"me\";\r\n mainTextArea.setText(\"\\\"You tell me.\\\"\");\r\n choice1.setText(\"Continue\"); \r\n choice2.setText(\"\");\r\n choice3.setText(\"\"); \r\n choice4.setText(\"\");\r\n \r\n }", "title": "" }, { "docid": "8c2f82997c8b1adb57cf04aa86a9543a", "score": "0.5364362", "text": "public QuestionWindow(QuestionCommand a){\r\n\t\tthis.introField.setText(a.getIntroField());\r\n\t\tif(a.getIntroField().length()>0 && a.getIntroField() != \"none\")\r\n\t\t{\r\n\t\t\ttext.setText(\"Edit Text\");\r\n\t\t\ttext.setForeground(Color.magenta);\r\n\t\t}\r\n\t\telse if(a.getIntroAudio()!= \"none\")\r\n\t\t{\r\n\t\t\trecord.setText(\"Rerecord Audio\");\r\n\t\t\trecord.setForeground(Color.magenta);\r\n\t\t}\r\n\t\telse if(a.getIntroSound()!=\"none\")\r\n\t\t{\r\n\t\t\tplay.setText(\"Reselect Audio\");\r\n\t\t\tplay.setForeground(Color.magenta);\r\n\t\t}\r\n\t\t\r\n\t\tif(a.getRepeatField().length()>0 && a.getRepeatField() != \"none\")\r\n\t\t{\r\n\t\t\ttextIncorrect.setText(\"Edit Text\");\r\n\t\t\ttextIncorrect.setForeground(Color.magenta);\r\n\t\t}\r\n\t\telse if(a.getIncorrectAudio()!= \"none\")\r\n\t\t{\r\n\t\t\trecordIncorrect.setText(\"Rerecord Audio\");\r\n\t\t\trecordIncorrect.setForeground(Color.magenta);\r\n\t\t}\r\n\t\telse if(a.getIncorrectSound()!=\"none\")\r\n\t\t{\r\n\t\t\tplayIncorrect.setText(\"Reselect Audio\");\r\n\t\t\tplayIncorrect.setForeground(Color.magenta);\r\n\t\t}\r\n\t\tif(a.getCorrectField().length()>0 && a.getCorrectField() != \"none\")\r\n\t\t{\r\n\t\t\ttextCorrect.setText(\"Edit Text\");\r\n\t\t\ttextCorrect.setForeground(Color.magenta);\r\n\t\t}\r\n\t\telse if(a.getCorrectAudio()!= \"none\")\r\n\t\t{\r\n\t\t\trecordCorrect.setText(\"Rerecord Audio\");\r\n\t\t\trecordCorrect.setForeground(Color.magenta);\r\n\t\t}\r\n\t\telse if(a.getCorrectSound()!=\"none\")\r\n\t\t{\r\n\t\t\tplayCorrect.setText(\"Reselect Audio\");\r\n\t\t\tplayCorrect.setForeground(Color.magenta);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tthis.buttons.setEnabled(false);\r\n\t\tthis.brailleField.setText(a.getBrailleField());\r\n\t\tthis.repeatField.setText(a.getRepeatField());\r\n\t\tthis.correctField.setText(a.getCorrectField());\r\n\t\tthis.index=a.getCorrectButton()-1;\r\n\t\tstrNumOfButtons = a.getTotalButtons();\r\n\t\tthis.gui= a.getGUI();\r\n\t\tinitialize();\r\n\t}", "title": "" }, { "docid": "2dc9c8d0f11ebb00692aa6b6e5b29599", "score": "0.53592247", "text": "private void editOptionAction() {\r\n removeButton.setVisible(editOption);\r\n buyButton.setVisible(editOption);\r\n boxToBuy.setVisible(editOption);\r\n priceToBuy.textProperty().bindBidirectional(buyProperty);\r\n namelabel.textProperty().bindBidirectional(spolka.getNameProperty());\r\n }", "title": "" }, { "docid": "8ec528544ea55948ac5cfe23cc2b8846", "score": "0.53337234", "text": "public static void modifyCourse() throws SQLException\r\n\t{\r\n\t\tConnection conn = getConnection();\r\n\t\r\n\t\tPreparedStatement query = conn.prepareStatement(\r\n\t\t\t\t\t\"SELECT * FROM COURSES WHERE COURSE_ID = ?\");\r\n\t\t\r\n\t\tSystem.out.println(\"Enter -1 to quit program\");\r\n\r\n\t\tString c_id = readEntry(\"Enter the course ID: \");\r\n\t\tString cidToBeMod = String.valueOf(c_id).toUpperCase();\r\n\t\tSystem.out.println();\r\n\t\r\n\t\twhile (!\"-1\".equals(cidToBeMod)) {\r\n\t\t\tquery.setString(1, cidToBeMod);\r\n\t\t\t\r\n\t\t\tResultSet rs = query.executeQuery();\r\n\t\t\t\r\n\t\t\tif(rs.next()){\r\n\t\t\t\tSystem.out.println(\"1. Modify course id\");\r\n\t\t\t\tSystem.out.println(\"2. Modify course title\");\r\n\t\t\t\tSystem.out.println(\"3. Modify staff name\");\r\n\t\t\t\tSystem.out.println(\"4. Modify course section\");\r\n\t\t\t\t\r\n\t\t\t\tString ad_choice = readEntry(\"Enter the number (1 or 2 or 3 or 4): \");\r\n\t\t\t\t\r\n\t\t\t\tswitch( ad_choice ){\r\n\t\t\t\tcase\"1\":\r\n\t\t\t\t\tString newc_id = readEntry(\"Enter the new course ID: \");\r\n\t\t\t\t\tString modc_id = String.valueOf(newc_id);\r\n\t\t\r\n\t\t\t\t\tPreparedStatement p1 = conn.prepareStatement(\r\n\t\t\t\t\t\t\"UPDATE COURSES SET COURSE_ID = ? WHERE COURSE_ID = ?\");\r\n\t\t\t\t\tp1.setString(1, modc_id);\r\n\t\t\t\t\tp1.setString(2, cidToBeMod);\r\n\r\n\t\t\t\t\tp1.executeQuery();\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println();\r\n\t\t\t\t\tviewCourseInfo(modc_id);\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\t\tcase\"2\":\r\n\t\t\t\t\tString newCT = readEntry(\"Enter the new course title: \");\r\n\t\t\t\t\tString modCT = String.valueOf(newCT);\r\n\t\t\r\n\t\t\t\t\tPreparedStatement p2 = conn.prepareStatement(\r\n\t\t\t\t\t\t\"UPDATE COURSES SET COURSE_TITLE = ? WHERE COURSE_ID = ?\");\r\n\t\t\t\t\tp2.setString(1, modCT);\r\n\t\t\t\t\tp2.setString(2, cidToBeMod);\r\n\r\n\t\t\t\t\tp2.executeQuery();\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println();\r\n\t\t\t\t\tviewCourseInfo(cidToBeMod);\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\t\tcase\"3\":\r\n\t\t\t\t\tString newSN = readEntry(\"Enter the new staff name: \");\r\n\t\t\t\t\tString modSN = String.valueOf(newSN);\r\n\t\t\r\n\t\t\t\t\tPreparedStatement p3 = conn.prepareStatement(\r\n\t\t\t\t\t\t\"UPDATE COURSES SET STAFF_NAME = ? WHERE COURSE_ID = ?\");\r\n\t\t\t\t\tp3.setString(1, modSN);\r\n\t\t\t\t\tp3.setString(2, cidToBeMod);\r\n\r\n\t\t\t\t\tp3.executeQuery();\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println();\r\n\t\t\t\t\tviewCourseInfo(cidToBeMod);\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\t\tcase\"4\":\r\n\t\t\t\t\tString newSec = readEntry(\"Enter the new section: \");\r\n\t\t\t\t\tString modSec = String.valueOf(newSec);\r\n\t\t\r\n\t\t\t\t\tPreparedStatement p4 = conn.prepareStatement(\r\n\t\t\t\t\t\t\"UPDATE COURSES SET SECTION = ? WHERE COURSE_ID = ?\");\r\n\t\t\t\t\tp4.setString(1, modSec);\r\n\t\t\t\t\tp4.setString(2, cidToBeMod);\r\n\r\n\t\t\t\t\tp4.executeQuery();\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println();\r\n\t\t\t\t\tviewCourseInfo(cidToBeMod);\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\telse {\r\n\t\t\t\tSystem.out.println(\"ERROR: Course doesn't exist\");\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Enter -1 to quit program\");\r\n\t\t\t\r\n\t\t\tc_id = readEntry(\"Enter the course ID: \");\r\n\t\t\tcidToBeMod = String.valueOf(c_id).toUpperCase();\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t\tconn.close();\r\n\r\n\t}", "title": "" }, { "docid": "b857fd806f2985dab26c2c4ef209f47e", "score": "0.532895", "text": "private void GuiInteraction (Integer relativeOffset, UserState nextState, VBox textBox) {\n\n // checking whether index is reachable when relativeOffset\n // is added to current index...\n if (indexCurrentQuestion + relativeOffset < 0\n || indexCurrentQuestion + relativeOffset > questionList.size()) return;\n\n currentState = nextState;\n indexCurrentQuestion += relativeOffset;\n\n\n // if located on first question and first stage,\n // disable back button.\n if (indexCurrentQuestion.equals(0) && !leftButton.isDisabled()\n && currentState.equals(UserState.READING_QUESTION)) {\n leftButton.setDisable(true);\n } else if (leftButton.isDisabled()){\n leftButton.setDisable(false);\n }\n\n // if located on last question and last stage,\n // change right button to 'Finish!'.\n if (indexCurrentQuestion.equals(questionList.size() - 1)\n && currentState.equals(UserState.SHOWING_ANSWER)) rightButton.setText(\"Finish \\u2714\");\n else if (currentState.equals(UserState.READING_QUESTION)) rightButton.setText(\"Forward \\u25B6\");\n\n // go to the end scene if finished with all questions.\n if (indexCurrentQuestion.equals(questionList.size())) {\n theEndScene();\n return;\n }\n\n\n // setting ordering numbers on beginning of every question.\n BaseQuestion tempQuestionObject = questionList.get(indexCurrentQuestion);\n String info = \"(\" + (indexCurrentQuestion + 1) + \"/\" + questionList.size() + \") \";\n double progress = (indexCurrentQuestion + 1.0) / questionList.size();\n\n\n // clearing old data to put new.\n textBox.getChildren().clear();\n\n // adding question number\n Text questionNumberText = new Text(info);\n questionNumberText.setFill(getColorByPercentage(progress, Color.GREEN, Color.RED));\n questionNumberText.setTextAlignment(TextAlignment.CENTER);\n textBox.getChildren().add(questionNumberText);\n\n // adding question text\n ModifiedText questionText = new ModifiedText(tempQuestionObject.getQuestionText() + \"\\n\");\n questionText.setStyle(\"-fx-font-weight: bolder; -fx-font-size: 120%;\");\n textBox.getChildren().add(questionText);\n\n // adding question answers ( + its logic )\n if (tempQuestionObject instanceof MultipleAnswerQuestion) {\n\n\n int i = 0;\n for (MultipleAnswerQuestion.answerPair tempPair : ((MultipleAnswerQuestion) tempQuestionObject).getAnswerList()) {\n\n ModifiedText answer =\n new ModifiedText(Character.toString((char)(97+i)) + \") \" + tempPair.getAnswer());\n if (tempPair.getIsCorrect() && nextState.equals(UserState.SHOWING_ANSWER)) {\n answer.setFill(Color.GREEN);\n answer.setStyle(\"-fx-font-weight: bolder; -fx-font-size: 120%;\");\n }\n else if (nextState.equals(UserState.SHOWING_ANSWER)) answer.setFill(Color.GREY);\n textBox.getChildren().add(answer);\n i++;\n }\n } else {\n if (nextState.equals(UserState.SHOWING_ANSWER)) {\n ModifiedText answer = new ModifiedText(((SingleAnswerQuestion) tempQuestionObject).getAnswer());\n answer.setFill(Color.GREEN);\n answer.setStyle(\"-fx-font-weight: bolder; -fx-font-size: 120%;\");\n textBox.getChildren().add(answer);\n }\n }\n\n if (nextState.equals(UserState.SHOWING_ANSWER)) {\n ModifiedText explanation = new ModifiedText(\"\\n\" + tempQuestionObject.getQuestionExplanation());\n explanation.setFill(Color.ORANGE);\n textBox.getChildren().add(explanation);\n }\n }", "title": "" }, { "docid": "94e64b1da6af7903f813e2fb0032be0e", "score": "0.53289235", "text": "public void handleSaveButton(){\n //oldAssignees = new ArrayList<>(parent.request.getGenericRequest().getAssignees());\n ArrayList<String> locationsToAdd = new ArrayList<String>();\n for(String s :editLocationsListView.getItems()){\n locationsToAdd.add(longNamestoID.get(s));\n }\n ArrayList<String> assigneesToAdd = new ArrayList<>(editAssigneesListView.getItems());\n// assigneesToAdd.forEach(s -> {\n// if (oldAssignees.contains(s)){\n// assigneesToAdd.remove(s);\n// }\n// });\n Comment c = parent.request.updateRequest(editTitleField.getText(), editDescriptionField.getText(),\n Timestamp.valueOf(LocalDateTime.of(editDateNeededField.getValue(), editTimeNeededField.getValue())),\n locationsToAdd, assigneesToAdd, requestSpecificItems());\n App.requestService.updateRequest(parent.request, c);\n\n //todo : change to observable list thing Kohmei said\n Thread t = new Thread(() ->{\n Platform.runLater(() ->{\n for (String r : assigneesToAdd){\n if (!oldAssignees.contains(r)){\n System.out.println(\"New username: \" + r);\n switch (App.userService.getPreferredContactMethod(r)) {\n case \"Both\":\n System.out.println(\"Here at BOTH\");\n App.emailService.sendMail(App.userService.getEmail(r), parent.request);\n App.textingService.sendText(App.userService.getPhoneNumberFromUserName(r), parent.request);\n break;\n case \"Email\":\n System.out.println(\"Here at EMAIL\");\n App.emailService.sendMail(App.userService.getEmail(r), parent.request);\n break;\n case \"SMS\":\n System.out.println(\"Here at SMS\");\n App.textingService.sendText(App.userService.getPhoneNumberFromUserName(r), parent.request);\n break;\n }\n }\n }\n });\n });\n t.start();\n this.parent.needUpdate.set(!this.parent.needUpdate.get());\n this.parent.switchFromEditToExpanded();\n }", "title": "" }, { "docid": "c0bb4a2156bd4b14ba7dbd7bf609bf81", "score": "0.53230137", "text": "private void handleUpdateClientDetails() {\n\t\tClientAttributes[] availableAttributes = new ClientAttributes[]{ClientAttributes.ADDRESS, ClientAttributes.EMAIL, ClientAttributes.PHONE};\n\t\tClientAttributes attribute = null;\n\t\tint userChoice = 0;\n\t\tdo\n\t\t{\n\t\t\tSystem.out.println(\"Select the client detail you wish to update: \");\n\t\t\tfor (int i = 0; i < availableAttributes.length; i++) {\n\t\t\t\tSystem.out.println((i + 1 + \". \" + availableAttributes[i].getAttribute()));\n\t\t\t}\n\t\t\tuserChoice = getIntegerInput();\n\t\t\tif (userChoice > availableAttributes.length || userChoice < 1)\n\t\t\t{\n\t\t\t\tSystem.out.println(UNRECOGNIZED_COMMAND);\n\t\t\t}\n\t\t} while (userChoice > availableAttributes.length || userChoice < 1);\n\t\t\n\t\tattribute = availableAttributes[userChoice - 1];\n\t\t\n\t\tString updatedDetail = getValidStringInput(\"Enter the new value: \");\n\t\tTableValue tableValue = new TableValue(attribute.getAttribute(), updatedDetail);\n\t\ttry \n\t\t{\n\t\t\tthis.clientAction.updateClientDetails(tableValue);\n\t\t} catch (MBankException e) \n\t\t{\n\t\t\tSystem.out.println(AN_ERROR_OCCURED + e.getLocalizedMessage());\n\t\t\tclientActionMenu();\n\t\t}\n\t}", "title": "" }, { "docid": "c3f92f051afed6d3c5015c87cf742e68", "score": "0.52966595", "text": "@Override\n\tpublic void Modifier() {\n\t\tif(All_champs_is_empty()==true)\n {\n\t JOptionPane.showInternalMessageDialog(fen, \"Veuillez Remplir les champs \", \"Champs Vide \", JOptionPane.WARNING_MESSAGE); \n }\t\n\t\t else if(Tester_formlaire()==false)\n\t\t {\n\t\t\t JOptionPane.showInternalMessageDialog(fen, \" Veuillez saisi des informations Correct slvp \"\n\t\t\t\t\t , \" Erreur \", JOptionPane.WARNING_MESSAGE); \n\t\t }\n\t\t else \n\t\t {\n\t\t \t int cin=Integer.parseInt(fen.txt_cin.getText());\n\t\t \t Client test=d.getById(cin);\n\t\t \t if(test==null)\n\t\t \t {\n\t\t \t\t JOptionPane.showInternalMessageDialog(fen, \" Client N'Existe pas \", \" Erreur \", JOptionPane.WARNING_MESSAGE); \n\t\t\t\t }\n\n\t\t \t else if(JOptionPane.showConfirmDialog(null, \" Voulez vous Modifier cette Client ? \")==0)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t Create();\t\t \n\t\t\t\t\t\t d.Modifier(Inst);\n\t\t\t\t\t\t UpdateTable();\n\t\t\t\t\t\t clear();\n\t\t\t\t\t\t} \n\t\t }\n\t\t\n\t}", "title": "" }, { "docid": "87cf9061e360e602c7748f6fcb7fc473", "score": "0.52931035", "text": "@FXML\n public void editSerialClick() throws IOException {\n boolean check;\n EditItem edit = new EditItem();\n String path;\n File file = new File(\"tempHTML.txt\");\n\n if(file.exists()) {\n path = \"tempHTML.txt\";\n }\n else {\n path = pathToFile.getText();\n }\n\n if(itemTable.getSelectionModel().getSelectedItem()!=null) {\n ItemObject selectedObject = itemTable.getSelectionModel().getSelectedItem();\n check = edit.editSerial(path, selectedObject, updateSerial.getText());\n if(check) {\n edit.editSerial(path, selectedObject, updateSerial.getText());\n }\n else {\n Alert noSelection = new Alert(Alert.AlertType.INFORMATION);\n noSelection.setTitle(\"Unable to edit Serial!\");\n noSelection.setHeaderText(\"Requirements not met!\");\n noSelection.setContentText(\"Serial must be unique!\\n\");\n noSelection.show();\n }\n }\n else {\n Alert noSelection = new Alert(Alert.AlertType.INFORMATION);\n noSelection.setTitle(\"Unable to edit Serial!\");\n noSelection.setHeaderText(\"No item selected!\");\n noSelection.setContentText(\"Please select an Item\");\n noSelection.show();\n }\n updateSerial.setText(\"\");\n loadHelper();\n }", "title": "" }, { "docid": "f520d69382674bb956102be360a8911b", "score": "0.5275735", "text": "public void actionPerformed(ActionEvent event) {\n\t\t\t\t\t\tJTextField field1 = new JTextField(2), field2 = new JTextField(2);\n\t\t\t\t\t\tJPanel fillablePanel = new JPanel();\n\t\t\t\t\t\tfillablePanel.setLayout(new BoxLayout(fillablePanel, BoxLayout.Y_AXIS));\n\t\t\t\t\t\tfillablePanel.add(new JLabel(\"Room Number:\"));\n\t\t\t\t\t\tfillablePanel.add(field1);\n\t\t\t\t\t\tfillablePanel.add(Box.createHorizontalStrut(2));\n\t\t\t\t\t\tfillablePanel.add(new JLabel(\"Room Type (Standard, Deluxe, Suite):\"));\n\t\t\t\t\t\tfillablePanel.add(field2);\n \t\t\n\t\t\t\t\t\tint result = JOptionPane.showConfirmDialog(null, fillablePanel, \"Please enter the following:\", JOptionPane.OK_CANCEL_OPTION);\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (result == JOptionPane.YES_OPTION) {\n\t\t\t\t\t\t\tString insertRoomID = field1.getText();\n\t\t\t\t\t\t\tString insertRoomType = field2.getText();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// perform a new query\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\ttableModel.setQuery(\"INSERT INTO Room(rmID, roomType) VALUES(\" + \"'\" + insertRoomID + \"'\" + \",\" + \"'\" + insertRoomType + \"');\");\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println(\"Room has been entered into the system.\");\n\t\t\t\t\t\t\t\ttableModel.setQuery(\"SELECT * FROM Room WHERE rmID = '\" + insertRoomID + \"' and roomType = '\" + insertRoomType + \"';\");\n\t\t\t\t\t\t\t} // end try\n\t\t\t\t\t\t\tcatch (SQLException sqlException) {\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, sqlException.getMessage(), \"Database error\", JOptionPane.ERROR_MESSAGE );\n \n\t\t\t\t\t\t\t\t// try to recover from invalid user query by executing default query\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\ttableModel.setQuery(DEFAULT_QUERY);\n\t\t\t\t\t\t\t\t\tqueryArea.setText(DEFAULT_QUERY);\n\t\t\t\t\t\t\t\t} // end try\n\t\t\t\t\t\t\t\tcatch (SQLException sqlException2) {\n\t\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, sqlException2.getMessage(), \"Database error\", JOptionPane.ERROR_MESSAGE);\n \n\t\t\t\t\t\t\t\t\t// ensure database connection is closed\n\t\t\t\t\t\t\t\t\ttableModel.disconnectFromDatabase();\n \n\t\t\t\t\t\t\t\t\tSystem.exit(1); // terminate application\n\t\t\t\t\t\t\t\t} // end inner catch \n\t\t\t\t\t\t\t} // end outer catch\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tSystem.out.println(\"New room has not been added to the system.\");\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\ttableModel.setQuery(DEFAULT_QUERY);\n\t\t\t\t\t\t\t\tqueryArea.setText(DEFAULT_QUERY);\n\t\t\t\t\t\t\t} // end try\n\t\t\t\t\t\t\tcatch (SQLException sqlException2) {\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, sqlException2.getMessage(), \"Database error\", JOptionPane.ERROR_MESSAGE);\n\n\t\t\t\t\t\t\t\t// ensure database connection is closed\n\t\t\t\t\t\t\t\ttableModel.disconnectFromDatabase();\n\n\t\t\t\t\t\t\t\tSystem.exit(1); // terminate application\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "title": "" }, { "docid": "ae3c1cb920be85be3feadef23192a920", "score": "0.52616596", "text": "@Test\n public void getAnswerShouldReturnNewAnswerWhenTextFieldIsUpdated() {\n super.getAnswerShouldReturnNullIfPromptDoesNotHaveExistingAnswer();\n\n W widget = getSpyWidget();\n IAnswerData answer = getNextAnswer();\n\n when(widget.getAnswerText()).thenReturn(answer.getDisplayText());\n IAnswerData computedAnswer = widget.getAnswer();\n\n assertEquals(answer.getDisplayText(), computedAnswer.getDisplayText());\n }", "title": "" }, { "docid": "bea21bb6e639ab32ccc979289a44587f", "score": "0.52588856", "text": "public void writeQuestion() {\n\t\tclearAnswerPanels();\n\t\tQuestion q = controller.getModel().getQuestions().get(controller.getModel().getQuestionNb() - 1);\n\t\tsetQuestion(q.getIntitule());\n\t\tsetRepA(q.getReponses().get(0).getIntitule());\n\t\tsetRepB(q.getReponses().get(1).getIntitule());\n\t\tsetRepC(q.getReponses().get(2).getIntitule());\n\t\tsetRepD(q.getReponses().get(3).getIntitule());\n\t\tsetResponsesListeners(true, true, true, true);\n\n\t}", "title": "" }, { "docid": "8ec71484b49e1dc655820b176259bb6a", "score": "0.52573776", "text": "@Override\r\n\tpublic void updateQuestion(SimpleQuestion question) {\n\t\t\r\n\t}", "title": "" }, { "docid": "34b78888d96e4f96872ae4ff42450824", "score": "0.52513176", "text": "public void addComments()\r\n{\r\n\ttextAreaGuest.sendKeys(\"This product is nice\");\r\n\tcontinueBtnDelMtd.click();\r\n\t \t\r\n}", "title": "" }, { "docid": "25e8542089ac137d22c1c2184106d322", "score": "0.5249558", "text": "public void edit()\n\t{\n\t\tinstanced_module.show_window.emit();\n\t}", "title": "" }, { "docid": "7ff1a4bb16c3619ffc9343086fec09b7", "score": "0.52430546", "text": "private void editStudent() {\n\t\tint row = table.getSelectedRow();\n\t\tif (row > -1) {\n\t\t\tEditStudentFrame esf = new EditStudentFrame(studentenTM\n\t\t\t\t\t.getStudentAt(row), EditStudentFrame.Mode.Update);\n\t\t\tplaceNewFrame(esf);\n\t\t\tesf.pack();\n\t\t\tesf.addUpdateListener(new UpdateListener());\n\t\t\tesf.setVisible(true);\n\t\t}\n\t}", "title": "" }, { "docid": "e77a35d16f11395e0bf515005dd12196", "score": "0.5242355", "text": "@Test\n\tpublic void testUpdateSinglechoice(){\n\t\tsc.setId(1);\n\t\tsc.setAnswer(\"c\");\n\t\tSystem.out.println(schd.updateSinglechoiceById(sc));\n\t}", "title": "" }, { "docid": "5aa1f978489908020d562dbf01814849", "score": "0.5229174", "text": "public boolean questionUpdate(String qno, String question, String opt1, String opt2, String opt3) throws RemoteException {\n\n try {\n \n\n String sql = \"UPDATE questionnaire SET question=?,option1=?,option2=?,option3=? WHERE qid=?\";\n database.pst = database.con.prepareStatement(sql);\n\n database.pst.setString(1, question);\n database.pst.setString(2, opt1);\n database.pst.setString(3, opt2);\n database.pst.setString(4, opt3);\n database.pst.setString(5, qno);\n database.pst.executeUpdate();\n questionUpdate = true;\n\n } catch (SQLException ex) {\n\n questionUpdate = false;\n }\n\n return questionUpdate;\n\n }", "title": "" }, { "docid": "40c4baa0d02c1cd05179872a7f1c719e", "score": "0.5224126", "text": "void newWindow() throws InterruptedException {\n\t\tSet<String> tabSet = driver.getWindowHandles();\r\n\t\tfor (String newWindow : tabSet) {\r\n\t\t\tif (!parentWindow.equals(newWindow)) {\r\n\t\t\tdriver.switchTo().window(newWindow);\r\n\t\t\t}\r\n\t\t} \r\n\t\t// driver.switchTo().window(parentWindow);\r\n\t\tWebElement edit = driver.findElement(By.linkText(\"Edit\"));\r\n\t\tedit.click();\r\n\t\tWebElement email = driver.findElement(By.id(\"email\"));\r\n\t\temail.sendKeys(\"hari.777.a12mail.com\" + Keys.TAB);\r\n\t\tWebElement appendText = driver.findElement(By.xpath(\"//*[@id=\\\"contentblock\\\"]/section/div[2]/div/div/input\"));\r\n\t\tString valueString = appendText.getAttribute(\"value\");\r\n\t\tSystem.out.println(\"The value of the appendText: \" + valueString);\r\n\t\tappendText.clear();\r\n\t\tappendText.sendKeys(\"Now I am Single\", Keys.TAB);\r\n\t\tWebElement defaultText = driver.findElement(By.xpath(\"//*[@id=\\\"contentblock\\\"]/section/div[2]/div/div/input\"));\r\n\t\tString valueString1 = defaultText.getAttribute(\"value\");\r\n\t\tSystem.out.println(\"The default text is:\" + valueString1);\r\n\t\tWebElement clearField = driver.findElement(By.xpath(\"//*[@id=\\\"contentblock\\\"]/section/div[4]/div/div/input\"));\r\n\t\tString valueString3 = clearField.getAttribute(\"value\");\r\n\t\tSystem.out.println(\"The clear text field is: \" + valueString3);\r\n\t\tclearField.clear();\r\n\t\tWebElement defaultElement = driver\r\n\t\t\t\t.findElement(By.xpath(\"//*[@id=\\\"contentblock\\\"]/section/div[5]/div/div/input\"));\r\n\t\tboolean isEnabled = defaultElement.isEnabled();\r\n\t\tSystem.out.println(\"The field type is disabled : \" + isEnabled);\r\n\r\n\t\tif (isEnabled != false) {\r\n\t\t\tSystem.out.println(\"The field type is open\");\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"The field type is disabled : \" + isEnabled);\r\n\t\t}\r\n\t\tdriver.close();\r\n\t\t\r\n\t\twindowCount();\r\n\t}", "title": "" }, { "docid": "c0b96dc15de12c3d7ddff7d51a67821d", "score": "0.52232647", "text": "public void updateInquiry(String currentInquiry) {\r\n /* The previous user inquiry is replaced with currentInquiry */\r\n taInquiry.setText(currentInquiry);\r\n\r\n /* The caret position of the text area is set to 0 to negate the\r\n * automatic scroll feature for long inquiries\r\n */\r\n taInquiry.setCaretPosition(0);\r\n }", "title": "" }, { "docid": "63c9f9a0968c0c9e249887be31ba9cc1", "score": "0.5220011", "text": "boolean editClient(IClient e);", "title": "" }, { "docid": "d9b8068d53d21d1e9c06ac636b1fcefe", "score": "0.52160865", "text": "public void editMessage(MessageContainer message) {\n String decodedMessage = message.getMessage();\n messageItem.setValue(deconvertCrLf(decodedMessage));\n myIsEditing = true;\n myEditingMessageSeq = message.getMessageSeqId();\n infoItem.setHTML(\"Édition du message <b>\" + myEditingMessageSeq + \"</b>. ESC pour annuler\");\n infoItem.setVisible(true);\n setFocus();\n }", "title": "" }, { "docid": "a3af8e54ba1e181fb7ae9d4d82ed6621", "score": "0.52018434", "text": "public void acceptEdits();", "title": "" }, { "docid": "e0f49fdeb3a76efabd9af2b6c1905598", "score": "0.5201136", "text": "public EditUserAccount(String account){\n\n final JFrame editUser = new JFrame();\n editUser.setContentPane(panel1);\n editUser.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n editUser.setTitle(\"DB Energy Solutions\");\n editUser.pack();\n editUser.setVisible(true);\n\n // the boolean values below are used to check if the user has entered anything into the respective text fields\n uact = account;\n nameChange = false;\n phoneChange = false;\n emailChange = false;\n passwordChange = false;\n passwordChangeConfirm = false;\n\n /*\n submitChanges button\n */\n submitChanges.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n super.mouseClicked(e);\n\n if(!(nameChange || phoneChange || emailChange || passwordChange || passwordChangeConfirm)){\n JOptionPane.showMessageDialog(editUser,\"No changes made.\");\n// editUser.dispose();\n// UserAccount.getFrame();\n }\n else{\n if(passwordChangeConfirm || passwordChange) {\n\n if (phoneChange)\n ConnectionManager.setUserPhone(textField2.getText().trim(), uact);\n\n if(nameChange){\n\n if (!ConnectionManager.userNameExists(textField1.getText().trim()) && nameChange)\n ConnectionManager.setUserName(textField1.getText().trim(), uact);\n else{\n JOptionPane.showMessageDialog(null,\"Username already exists!\");\n return;\n }\n\n }\n\n if(emailChange){\n\n if (!ConnectionManager.emailExists(textField3.getText().trim()))\n ConnectionManager.setUserEmail(textField3.getText().trim(), uact);\n else{\n JOptionPane.showMessageDialog(null,\"Email already exists!\");\n return;\n }\n\n }\n\n if(String.valueOf(textField4.getPassword()).equals(String.valueOf(textField5.getPassword()))){\n ConnectionManager.setUserPassword(String.valueOf(textField4.getPassword()),uact);\n }\n else{\n JOptionPane.showMessageDialog(editUser,\"Passwords do not match!\");\n }\n\n JOptionPane.showMessageDialog(editUser, \"Changes saved!\");\n CustDashboard newDash = new CustDashboard(ConnectionManager.getUserName(uact), uact);\n editUser.dispose();\n\n }\n else{\n if (phoneChange)\n ConnectionManager.setUserPhone(textField2.getText().trim(), uact);\n\n if(nameChange){\n\n if (!ConnectionManager.userNameExists(textField1.getText().trim()) && nameChange)\n ConnectionManager.setUserName(textField1.getText().trim(), uact);\n else{\n JOptionPane.showMessageDialog(null,\"Username already exists!\");\n return;\n }\n\n }\n\n if(emailChange){\n\n if(!ConnectionManager.emailExists(textField3.getText().trim()))\n ConnectionManager.setUserEmail(textField3.getText().trim(),uact);\n else{\n JOptionPane.showMessageDialog(null,\"Email already exists!\");\n return;\n }\n\n }\n\n JOptionPane.showMessageDialog(editUser, \"Changes saved!\");\n CustDashboard newDash = new CustDashboard(ConnectionManager.getUserName(uact), uact);\n editUser.dispose();\n\n }\n }\n }\n });\n\n cancelChanges.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent e) {\n super.mouseClicked(e);\n editUser.dispose();\n UserAccount.getFrame();\n }\n });\n\n textField1.addKeyListener(new KeyAdapter() {\n public void keyTyped(KeyEvent e) {\n super.keyTyped(e);\n nameChange = true;\n System.out.println(nameChange);\n }\n });\n\n textField2.addKeyListener(new KeyAdapter() {\n public void keyTyped(KeyEvent e) {\n super.keyTyped(e);\n phoneChange = true;\n }\n });\n\n textField3.addKeyListener(new KeyAdapter() {\n public void keyTyped(KeyEvent e) {\n super.keyTyped(e);\n emailChange = true;\n }\n });\n\n textField4.addKeyListener(new KeyAdapter() {\n public void keyTyped(KeyEvent e) {\n super.keyTyped(e);\n passwordChange = true;\n }\n });\n textField5.addKeyListener(new KeyAdapter() {\n public void keyTyped(KeyEvent e) {\n super.keyTyped(e);\n passwordChangeConfirm = true;\n }\n });\n }", "title": "" }, { "docid": "c1cda68399d463f261e2a0f72453d0c0", "score": "0.51923203", "text": "public void updateQuestions (){\n\n questionField.setText(mQuestions.getQuestion(QuestionNumber));\n\n // for checkbox questions\n if (QuestionNumber ==0 || QuestionNumber == 1 ){\n\n //clear checked boxes\n multiAnswer1.setChecked(false);\n multiAnswer2.setChecked(false);\n multiAnswer3.setChecked(false);\n multiAnswer4.setChecked(false);\n\n // write the possible choices\n multiAnswer1.setText(mQuestions.getFirstChoice(QuestionNumber));\n multiAnswer2.setText(mQuestions.getSecondChoice(QuestionNumber));\n multiAnswer3.setText(mQuestions.getThirdChoice(QuestionNumber));\n multiAnswer4.setText(mQuestions.getForthChoice(QuestionNumber));\n\n // make the answers appear\n multiAnswer1.setVisibility(View.VISIBLE);\n multiAnswer2.setVisibility(View.VISIBLE);\n multiAnswer3.setVisibility(View.VISIBLE);\n multiAnswer4.setVisibility(View.VISIBLE);\n\n\n }\n\n // for radio button questions\n else if (QuestionNumber == 2 ){\n\n //clear checked boxes\n radioGroup.clearCheck();\n\n\n // write the possible choices\n choice1.setText(mQuestions.getFirstChoice(QuestionNumber));\n choice2.setText(mQuestions.getSecondChoice(QuestionNumber));\n choice3.setText(mQuestions.getThirdChoice(QuestionNumber));\n choice4.setText(mQuestions.getForthChoice(QuestionNumber));\n\n // make the answers appear\n radioGroup.setVisibility(View.VISIBLE);\n\n }\n else if (QuestionNumber == 3){\n choice1.setTextColor(Color.parseColor(\"#4CAF50\"));\n choice2.setTextColor(Color.parseColor(\"#FFEB3B\"));\n choice3.setTextColor(Color.parseColor(\"#D32F2F\"));\n choice4.setTextColor(Color.parseColor(\"#2196F3\"));\n\n radioGroup.clearCheck();\n\n\n choice1.setText(mQuestions.getFirstChoice(QuestionNumber));\n choice2.setText(mQuestions.getSecondChoice(QuestionNumber));\n choice3.setText(mQuestions.getThirdChoice(QuestionNumber));\n choice4.setText(mQuestions.getForthChoice(QuestionNumber));\n }\n // for written text questions\n else{\n textAnswerField.setVisibility(View.VISIBLE);\n }\n\n\n\n }", "title": "" }, { "docid": "02c39b43a274afd6ffc45d5a857c4312", "score": "0.51877385", "text": "@Test\n\tpublic void Test4() {\n\t\t\n\t\tx.run(\"notepad.exe\", \"C:/Windows/System32\", AutoItX.SW_SHOW);\n\t\tx.winWaitActive(\"Untitled - Notepad\");\n\t\tx.send(\"This is example text\");\n\t\tx.winClose(\"Untitled - Notepad\");\n\t\tx.winWaitActive(\"Notepad\", \"Save\");\n\t\tx.send(\"!n\");\n\t}", "title": "" }, { "docid": "93f604aff0c03850ab9e0be9fc1e9e55", "score": "0.5163342", "text": "private void SaveModifyButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SaveModifyButtonActionPerformed\n \n boolean flag;\n\n clearDemoValidation();\n flag = validateDemo();\n \n\n if (flag == true)\n {\n String insert=\"UPDATE patients SET Medical_Number ='\"+ RecordNumBox.getText()+\"', Alt_Record_Number ='\"+AltRecordNumBox.getText()+\"', Sex ='\"+SexBox.getText()+\n \"', Last_Name ='\"+LastNameBox.getText()+\"', First_Name ='\"+FirstNameBox.getText()+\"', Middle ='\"+MiddleInitBox.getText()+\"', Address ='\"+AddressBox.getText()+\n \"', City ='\"+CityBox.getText()+\"', State ='\"+StateBox.getText()+\"', Zip_Code ='\"+ZipBox.getText()+\"', Birth_Date ='\"+BirthDayBox.getText()+\n \"', Home_Phone ='\"+HomePhoneBox.getText()+\"', Work_Phone ='\"+WorkPhoneBox.getText()+\"', Email ='\"+EmailBox.getText()+\n \"', Next_Of_Kin ='\"+NextOfKinBox.getText()+\"', Next_Of_Kin_Contact ='\"+KinContactBox.getText()+\"', General_Notes ='\"+NotesBox.getText()+\n \"' WHERE Patient_ID =\"+Incoming.GetID();\n\n \n try (Connection test=getConnection();\n Statement statement = test.createStatement())\n { \n int count = statement.executeUpdate(insert);\n \n if(count > 0)\n {\n JOptionPane.showMessageDialog(null, \"Record Updated.\");\n \n DisableDemoFields();\n PreviousButton.setEnabled(true);\n NextButton.setEnabled(true);\n DemoAddRecordButton.setEnabled(false);\n CancelAddButton.setVisible(false);\n DemoSearchBox.setEnabled(true);\n DemoSearchButton.setEnabled(true);\n ModifyDemoButton.setVisible(true);\n ModifyDemoButton.setEnabled(true);\n CancelModifyDemoButton.setVisible(true);\n CancelModifyDemoButton.setEnabled(false);\n SaveModifyButton.setVisible(false);\n CreateRecordButton.setEnabled(true);\n getPatient(CurrentPatient);\n DisplayPatient();\n DemoDelete.setEnabled(true);\n }\n }\n catch(SQLException e)\n {\n System.err.println(e);\n }\n }\n }", "title": "" }, { "docid": "03e2cc7ae5d274c18af5221070178415", "score": "0.51559806", "text": "public void TestCreateAppointment()\r\n {\n testRequest = new AppointmentRequest();\r\n testRequest.setDateFrom(LocalDate.now());\r\n testRequest.setDateTo(LocalDate.MAX);\r\n testRequest.setDoctor(testDoctor.getUID());\r\n testRequest.setPatientUID(testPatient.getUID());\r\n testRequest.saveAppointmentRequest();\r\n testWindow = new CreateAppointmentWindow(testRequest, testSecretary);\r\n List<Component> components = testWindow.getCreateAppointmentComponents();\r\n JTextField dateField = (JTextField) components.get(2);\r\n JButton saveButton = (JButton) components.get(0);\r\n JComboBox minuteBox = (JComboBox)components.get(4);\r\n JComboBox hourBox = (JComboBox)components.get(3);\r\n \r\n //Because our create appointment window filters preceding dates, \r\n //our taken appointments model is empty. therefore, even though there is\r\n //an appointment at this date, it doesnt show up in the list. This could be\r\n //considered an error, but it is useful for testing. \r\n dateField.setText(\"2020-02-20\");\r\n //text value is not bound, so setting the text does not fire any property change \r\n //listeners. We therefore need to change the caret postion manually to fire our \r\n //Caret update event. The position we set it to could be random, but i made it\r\n //to be the end of the text.\r\n dateField.setCaretPosition(dateField.getText().length());\r\n \r\n minuteBox.setSelectedIndex(4);\r\n\r\n //as all the combinations make a vaid time, just updating or clicking on the \r\n //combo box to make the selection is enough to create a valid time. \r\n \r\n saveButton.doClick();\r\n \r\n File requestFile = new File(\"users/\"+testSecretary.getUID()+\"/appointments/\"+testRequest.getUID().toString()+\".ser\");\r\n assertFalse(requestFile.exists());\r\n \r\n File newAppointmentFile = new File(\"users/\"+testDoctor.getUID()+\"/appointments/\"+testWindow.testGetAppointmentUID()+\".ser\");\r\n assertTrue(newAppointmentFile.exists());\r\n \r\n newAppointmentFile = new File(\"users/\"+testPatient.getUID()+\"/appointments/\"+testWindow.testGetAppointmentUID()+\".ser\");\r\n assertTrue(newAppointmentFile.exists());\r\n \r\n }", "title": "" }, { "docid": "f0ae7beda03355317752651faf42065e", "score": "0.5151679", "text": "public void setContents() {\n\t\tWeightXY(1,1);\n\t\tinputField = new JTextField();\n\t\tinputField.addKeyListener(new KeyListener(){\n\t\t\t//Checks for valid username, sets username not blank\n\t\t public void keyPressed(KeyEvent e){\n\t\t if(e.getKeyCode() == KeyEvent.VK_ENTER){\n\t\t \tString text = inputField.getText();\n\t\t\t\t\tif (text != \"\"){\n\t\t\t\t\t\tpercept.userEntry(text);\n\t\t\t\t\t\tdeclareUnclosing();\n\t\t\t\t\t\tcloseThisFrame();\n\t\t\t\t\t}\n\t\t }\n\t\t }\n\t\t public void keyTyped(KeyEvent e) {}\n\t\t public void keyReleased(KeyEvent e) {}\n\t\t});\n\t\tsetLayout(inputField,0,1,1,1,20);\n\t\ttextArea = new JTextArea();\n\t\ttextArea.setEditable(false);\n\t\ttextArea.setText(\"Enter a username please\");\n\t\tsetLayout(textArea,0,0,1,1,20);\n\t\tinputButton = new JButton();\n\t\tinputButton.setText(\"Enter\");\n\t\tsetLayout(inputButton,0,2,1,1,20);\n\t\tinputButton.addActionListener(new ActionListener() {\n\t\t\t//Checks for valid username, sets username not blank\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString text = inputField.getText();\n\t\t\t\tif (text != \"\"){\n\t\t\t\t\tpercept.userEntry(text);\n\t\t\t\t\tdeclareUnclosing();\n\t\t\t\t\tcloseThisFrame();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "893ac1c2522b47710228f380c1a12507", "score": "0.51399845", "text": "private void takeTurn(Player player, Question question, int questionNo, int totalQuestions) {\r\n\r\n // Use this to make the main thread block until the callback is triggered by the\r\n // player entering their answer.\r\n ArrayBlockingQueue<String> playersAnswerQueue = new ArrayBlockingQueue<String>(1);\r\n // This class implements the callbacks that the answer box calls.\r\n class TextFieldHandler implements ActionListener {\r\n ArrayBlockingQueue<String> playersAnswerQueue;\r\n\r\n public TextFieldHandler(ArrayBlockingQueue<String> playersAnswerQueue) {\r\n this.playersAnswerQueue = playersAnswerQueue;\r\n }\r\n\r\n @Override\r\n public void actionPerformed(ActionEvent e) {\r\n\r\n JTextField eventSource = (JTextField) e.getSource();\r\n // Relay the player's answer to the main thread.\r\n try {\r\n playersAnswerQueue.put(eventSource.getText());\r\n } catch (InterruptedException e1) {\r\n /*\r\n * This exception only occurs when the thread was interrupted during excecution.\r\n * That usually happens because the user killed us, so we should pack up and\r\n * leave.\r\n */\r\n return;\r\n }\r\n }\r\n\r\n }\r\n\r\n // Draw the question\r\n JPanel panel = new JPanel(new FlowLayout());\r\n panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));\r\n JLabel playerNameLabel = new JLabel(\"Spieler \\\"\" + player.getName() + \"\\\" ist dran\");\r\n JLabel questionLabel;\r\n questionLabel = new JLabel(\"Frage \" + Integer.toString(questionNo) + \"/\" + Integer.toString(totalQuestions)\r\n + \": \" + question.getQuestion());\r\n panel.add(playerNameLabel);\r\n panel.add(questionLabel);\r\n frame.add(panel);\r\n\r\n panel.add(new JLabel(\"\\nAntwort:\"));\r\n JTextField answerField = new JTextField();\r\n TextFieldHandler textFieldHandler = new TextFieldHandler(playersAnswerQueue);\r\n answerField.addActionListener(textFieldHandler);\r\n panel.add(answerField);\r\n answerField.grabFocus();\r\n frame.setVisible(true);\r\n\r\n // Block until the player enters an answer\r\n String answer;\r\n try {\r\n answer = playersAnswerQueue.take();\r\n } catch (InterruptedException e1) {\r\n return;\r\n }\r\n\r\n // TODO: Tell the player whether he was correct\r\n if (question.isCorrect(answer)) {\r\n player.incrementScore();\r\n } else {\r\n player.decrementScore();\r\n }\r\n player.incrementQuestionsAnswered();\r\n\r\n frame.remove(panel);\r\n }", "title": "" }, { "docid": "a8cc07b32e62ac1410bd2a37a69ced45", "score": "0.5137554", "text": "private void editarHerramienta(int idHerramienta) {\n ABMHerramientaDeEmpresa abm = new ABMHerramientaDeEmpresa(idHerramienta);\n SwingPanel.getInstance().addWindow(abm);\n abm.setVisible(true);\n }", "title": "" }, { "docid": "3b23c6a29c76f36cca04c9f211d8b967", "score": "0.5136682", "text": "@Test\n public void handleInvalidRightKeyPressEdit() {\n TextField mySandBox = commandBoxForTesting.getCommandTextField();\n String testString;\n\n //Test stringToEvaluate.length() < 3 -> false\n guiRobot.write(\"e \");\n testString = \"e \";\n assertTrue(testString.equals(mySandBox.getText()));\n guiRobot.push(KeyCode.RIGHT);\n testString += \" \" + STRING_NAME;\n assertFalse(testString.equals(mySandBox.getText()));\n mySandBox.clear();\n guiRobot.write(\"e1\");\n testString = \"e1\";\n assertTrue(testString.equals(mySandBox.getText()));\n guiRobot.push(KeyCode.RIGHT);\n testString += \" \" + STRING_NAME;\n assertFalse(testString.equals(mySandBox.getText()));\n mySandBox.clear();\n\n //Test !stringToEvaluate.contains(\" \") -> false\n guiRobot.write(\"edit\");\n testString = \"edit\";\n assertTrue(testString.equals(mySandBox.getText()));\n guiRobot.push(KeyCode.RIGHT);\n testString += \" \" + STRING_NAME;\n assertFalse(testString.equals(mySandBox.getText()));\n mySandBox.clear();\n guiRobot.write(\"edit1\");\n testString = \"edit1\";\n assertTrue(testString.equals(mySandBox.getText()));\n guiRobot.push(KeyCode.RIGHT);\n testString += \" \" + STRING_NAME;\n assertFalse(testString.equals(mySandBox.getText()));\n mySandBox.clear();\n guiRobot.write(\"edit1n/zac\");\n testString = \"edit1n/zac\";\n assertTrue(testString.equals(mySandBox.getText()));\n guiRobot.push(KeyCode.RIGHT);\n testString += \" \" + STRING_NAME;\n assertFalse(testString.equals(mySandBox.getText()));\n\n }", "title": "" }, { "docid": "d3c45874a80c5f098255c7d3900272bd", "score": "0.51362807", "text": "private void editMemberInfo(){\n Scanner sc = new Scanner(System.in);\n int memberID = getValidMember();\n MemberRecord toChange = new MemberRecord();\n\n //user chose to return from getValidProvider\n if(memberID == -1)\n return;\n try {\n toChange = database.getMemberRecord(memberID);\n } catch (SQLException e){\n e.printStackTrace();\n }\n\n Utilities.clearConsole();\n System.out.println(\"Name: \" + toChange.name + \"\\nAddress: \" + toChange.address + \", \" + toChange.city + \" \" + toChange.state + \" \" + toChange.zip + \"\\nMember ID: \" + toChange.ID);\n System.out.println(\"Edit this Member?\");\n if(Utilities.confirm()) {\n do {\n int selection = 0;\n Utilities.clearConsole();\n System.out.println(\n \"Which field would you like to change? \" +\n \"\\n1. Name\" +\n \"\\n2. Address\" +\n \"\\n3. City\" +\n \"\\n4. State\" +\n \"\\n5. Go back, aborting changes\" +\n \"\\n6. Submit changes\" +\n \"\\nMake a selection: \");\n\n // get valid user choice\n boolean valid = false;\n do {\n if (!sc.hasNextInt()) {\n System.out.println(\"Invalid selection.\\n\");\n sc.next();\n continue;\n }\n selection = sc.nextInt();\n if (selection <= 0 || selection > 6) {\n System.out.println(\"Invalid selection.\\n\");\n sc.next();\n } else {\n valid = true;\n }\n } while (!valid);\n // enact user choice\n\n sc.nextLine();\n switch (selection) {\n case (1):\n // change name\n String newName;\n do {\n System.out.println(\"Enter the new name, or enter 'x' to cancel: \");\n if(sc.hasNext(\"x\"))\n return;\n newName = sc.nextLine();\n if(newName.length() > 45){ // cut off extra characters if too long\n newName = newName.substring(0, 45);\n }\n System.out.println(\"Change \" + toChange.name + \" to \" + newName + \"?\");\n } while(!Utilities.confirm());\n toChange.name = newName;\n break;\n case (2):\n // change address\n String newAddress;\n do {\n System.out.println(\"Enter the new street address, or enter 'x' to cancel: \");\n if(sc.hasNext(\"x\"))\n return;\n newAddress = sc.nextLine();\n if(newAddress.length() > 45){ // cut off extra characters if too long\n newAddress = newAddress.substring(0, 45);\n }\n System.out.println(\"Change \" + toChange.address + \" to \" + newAddress + \"?\");\n } while(!Utilities.confirm());\n toChange.address = newAddress;\n break;\n case (3):\n // change city\n String newCity;\n do {\n System.out.println(\"Enter the new city, or enter 'x' to cancel: \");\n if(sc.hasNext(\"x\"))\n return;\n newCity = sc.nextLine();\n if(newCity.length() > 45){ // cut off extra characters if too long\n newCity = newCity.substring(0, 45);\n }\n System.out.println(\"Change \" + toChange.city+ \" to \" + newCity + \"?\");\n } while(!Utilities.confirm());\n toChange.city = newCity;\n break;\n case (4): // change state\n String newState;\n do {\n System.out.println(\"Enter the new state, or enter 'x' to cancel: \");\n if(sc.hasNext(\"x\"))\n return;\n newState = sc.nextLine();\n if(newState.length() > 2){ // cut off extra characters if too long\n newState= newState.substring(0, 2);\n }\n System.out.println(\"Change \" + toChange.state + \" to \" + newState + \"?\");\n } while(!Utilities.confirm());\n toChange.state = newState;\n break;\n case (5): // go back, aborting all changes\n return;\n case (6): // go back, aborting all changes\n try {\n database.updateMember(toChange);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n System.out.println(\"Changes saved! Press enter to continue.\");\n sc.nextLine();\n return;\n default: // fall through\n }\n System.out.println(\"Change another field?\");\n } while (true);\n }\n }", "title": "" }, { "docid": "c7e256112786c45cac37836307c60235", "score": "0.5135756", "text": "public void setQuestionLine(String sText) throws OmDeveloperException\n \t{\n \t\tif(sText.length() > 255) throw new OmDeveloperException(\n \t\t\t\"Question line must be <= 255 characters long\");\n \t\tsQuestionLine=sText;\n \t}", "title": "" }, { "docid": "0a283548d132e457505416f3e5e842b1", "score": "0.51348126", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tfarmerInQuestion.setName(textField.getText());\n\t\t\t\tServiceResponse response;\n\n\t\t\t\t// save or update the new farmer\n\t\t\t\tif (selectedFarmer==null)\n\t\t\t\t\tresponse = fsi.saveFarmer(farmerInQuestion);\n\t\t\t\telse\n\t\t\t\t\tresponse = fsi.editFarmer(farmerInQuestion);\n\n\n\t\t\t\tif(response.isSuccess()) {\n\t\t\t\t\t// dispose of the window\n\t\t\t\t\twindow.dispose();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// something went wrong with saving\n\t\t\t\twarningLabel.setText(response.getMessage());\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "4f245cbacd5c6b04d79d0e635602da82", "score": "0.51280355", "text": "public void editarCliente()\n {\n if (ValidarCamposVacios(txtProveedor,txtDireccion, txtTelefono)) {\n JOptionPane.showMessageDialog(this, \"Faltan datos en los campos.\");\n\n } else {\n \n int nitProveedor = Integer.parseInt(txtNit.getText());\n String nombreProveedor = txtProveedor.getText();\n String telefonoProveedor = txtTelefono.getText();\n String direccionProveedor = txtDireccion.getText();\n \n\n try {\n \n obj = new ControllerSql();\n \n boolean res = obj.actualizaProveedor(nitProveedor,nombreProveedor,telefonoProveedor,direccionProveedor);\n log(\"EDITAR\");\n \n \n \n if (res == true) {\n JOptionPane.showMessageDialog(null, \"Usuario Registrado Correctamente\");\n this.dispose();\n } else {\n JOptionPane.showMessageDialog(null, \"No se pudo ingresar un nuevo Empleado ya existe en la base\"\n + \"de datos\");\n }\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"por favor verifique la conexion del servidor\");\n\n }\n }\n \n \n }", "title": "" }, { "docid": "d81d64dd277328a70ad78c2c5944f532", "score": "0.51276475", "text": "public boolean updateQuestion() {\n\t\tPreparedStatement state = null;\n\t\tint result = 0;\n\t\ttry {\n\t\t\tstate = connection.prepareStatement(\n\t\t\t\t\t\"update q_question set question_type = ?, question = ? where questionid = ?;\");\n\t\t\tstate.setString(1, question.getType());\n\t\t\tstate.setString(2, question.getQuestion());\n\t\t\tstate.setLong(3, question.getQuestionid());\n\t\t\tresult = state.executeUpdate();\n\t\t} catch (SQLException e) {\n\t\t\tresult = 0;\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn result != 0;\n\t}", "title": "" }, { "docid": "2815b3b59ca221c0eff80b3d86af471a", "score": "0.5123923", "text": "public EditInput(OxyEdit edit) {\r\n super(edit, false);\r\n setTitle(\"Edit Desktop\");\r\n this.edit = edit;\r\n initComponents();\r\n textArea.setText(lastText);\r\n textArea.setCaretPosition(CARET_START);\r\n errorLabel.setText(\"\");\r\n edit.setApply();\r\n }", "title": "" }, { "docid": "12b7882c948a0d299434960bfe9683e4", "score": "0.5119819", "text": "public void toModifyPartForm(ActionEvent actionEvent) throws IOException {\n Part part = (Part)partTable.getSelectionModel().getSelectedItem();\n\n if(part == null) {\n System.out.println(\"Error: no part selected\");\n Alert alert = new Alert(Alert.AlertType.WARNING);\n alert.setTitle(\"No part selected\");\n alert.setHeaderText(\"No part selected\");\n alert.setContentText(\"No part selected. Please select a part to modify.\");\n alert.showAndWait();\n } else {\n ModifyPartController.setPart(part);\n Parent root = FXMLLoader.load(getClass().getResource(\"ModifyPartForm.fxml\"));\n Stage stage = (Stage)((Node)actionEvent.getSource()).getScene().getWindow();\n Scene scene = new Scene(root, 600, 400);\n stage.setTitle(\"Modify Part\");\n stage.setScene(scene);\n stage.show();\n }\n }", "title": "" }, { "docid": "16f9d68d72d923a9d6eb3d1c7f9a7c89", "score": "0.5111195", "text": "public void editPedagogicAssistant() {\n\t\tUpdateCommand<PedagogicAssistant> command = new UpdateCommand<>(\n\t\t\t\tpedagogicAssistant, pedagogicAssistantMemento);\n\t\tIStatus status = commandHandler.execute(command);\n\t\tFacesMessage msg = status.report();\n\n\t\tif (status instanceof SuccessStatus) {\n\t\t\tRequestContext context = RequestContext.getCurrentInstance();\n\t\t\tcontext.execute(\"PF('wEditPedagogicAssistantDialog').hide();\");\n\t\t}\n\n\t\tFacesContext.getCurrentInstance().addMessage(null, msg);\n\t}", "title": "" }, { "docid": "284055487faedda15ffbbd3721b9759f", "score": "0.51107866", "text": "void editItem() {\n\t\tSystem.out.println(\"Please enter the key of what you want to edit \"\n\t\t\t\t+ \"(n for name, d for description, b for minimum bid, and e to exit): \");\n\t\tScanner theScn = null;\n\t\tString change = theScn.next();\n\t\twhile(change != \"e\") {\n\t\t\tif(change == \"n\"){\n\t\t\t\tSystem.out.println(\"Please enter the item name: \");\n\t\t\t\tString name = theScn.nextLine();\n\t\t\t\tsalesItem.n = name;\n\t\t\t} else if(change == \"d\") {\n\t\t\t\tSystem.out.println(\"Please enter the item description: \");\n\t\t\t\tString description = theScn.nextLine();\n\t\t\t\tsalesItem.d = description;\n\t\t\t} else if(change == \"b\") {\n\t\t\t\tSystem.out.print(\"Please enter the minimum bid for this item: \");\n\t\t\t\tint minimumBid = theScn.nextInt();\n\t\t\t\tsalesItem.min = minimumBid;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Please enter the key of what you want to edit \"\n\t\t\t\t\t\t+ \"(n for name, d for description, b for minimum bid, and e to exit): \");\n\t\t\t\tchange = theScn.next();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "098c6fd4dd95cd86e15ef1a66b8e2811", "score": "0.5109507", "text": "private void editRecipe(){\r\n\t\t// Show the implement to let user input a recipe name\r\n\t\tSystem.out.print(\"What is the name of the recipe? \");\r\n\t\t// Use scanner to scanner the input string and save it into the field\r\n\t\trecipeName = scnr.nextLine();\r\n\t\t// Change the name into Upper case\r\n\t\trecipeName=recipeName.toUpperCase();\r\n\t\t// Detect whether there is already the same recipe in the list;\r\n\t\t// If not, save the recipe;\r\n\t\t// If there is already one, ask the user whether to update the \r\n\t\t// information of the recipe or not.\r\n\t\tif(recipe.size() == 0){\r\n\t\t\tSystem.out.println(\"Adding recipe for: \"+recipeName);\r\n\t\t\tSystem.out.println(\"Enter the ingredients:\");\r\n\t\t\tingredients = scnr.nextLine();\r\n\t\t\tSystem.out.println(\"Enter the instructions:\");\r\n\t\t\tinstructions = scnr.nextLine();\r\n\t\t\trecipe.add(new Recipe(recipeName,ingredients,instructions));\r\n\t\t}else{\r\n\t\t\tint i = checkRecipe(recipeName);\r\n\t\t\tif (i >= 0){\r\n\t\t\t\tSystem.out.println(\"Found recipe for: \" + recipeName);\r\n\t\t\t\tSystem.out.println(\"Recipe name: \" + recipeName);\r\n\t\t\t\tSystem.out.println(\"Ingredients: \" + \r\n\t\t\t\t\t\trecipe.get(i).getingredients());\r\n\t\t\t\tSystem.out.println(\"Instructions: \" + \r\n\t\t\t\t\t\trecipe.get(i).getinstructions());\r\n\t\t\t\tint choice = 0;\r\n\t\t\t\t// print implements to guild the user whether to do since there\r\n\t\t\t\t// is already a same recipe in the list.\r\n\t\t\t\t// Choose 1 to edit ingredient list;\r\n\t\t\t\t// Choose 2 to edit instructions;\r\n\t\t\t\t// Choose 3 to finish editing;\r\n\t\t\t\t// This step will repeat until user input 3 or input any invalid\r\n\t\t\t\t// inputs.\r\n\t\t\t\tdo{\r\n\t\t\t\t\tSystem.out.print(\"1. Edit ingredient list\"+'\\n'+\r\n\t\t\t\t\t\t\t\"2. Edit instructions\"+'\\n'+\r\n\t\t\t\t\t\t\t\"3. Done editing\"+'\\n'+\r\n\t\t\t\t\t\t\t\"Enter choice: \");\r\n\t\t\t\t\tif(scnr.hasNextInt()){\r\n\t\t\t\t\t\tchoice = scnr.nextInt();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tscnr.nextLine();\r\n\r\n\t\t\t\t\tswitch (choice){\r\n\t\t\t\t\tcase (1):{\r\n\t\t\t\t\t\tSystem.out.println(\"Enter the ingredients:\");\r\n\t\t\t\t\t\tingredients = scnr.nextLine();\r\n\t\t\t\t\t\trecipe.get(i).setingredients(ingredients);\r\n\r\n\t\t\t\t\t\tSystem.out.println(\"Recipe name: \"+\r\n\t\t\t\t\t\t\t\trecipe.get(i).getRecipeName());\r\n\t\t\t\t\t\tSystem.out.println(\"Ingredients: \"+\r\n\t\t\t\t\t\t\t\trecipe.get(i).getingredients());\r\n\t\t\t\t\t\tSystem.out.println(\"Instructions: \"+\r\n\t\t\t\t\t\t\t\trecipe.get(i).getinstructions());\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}case(2):{\r\n\t\t\t\t\t\tSystem.out.println(\"Enter the instructions:\");\r\n\t\t\t\t\t\tinstructions = scnr.nextLine();\r\n\t\t\t\t\t\trecipe.get(i).setinstructions(instructions);\r\n\r\n\t\t\t\t\t\tSystem.out.println(\"Recipe name: \"+\r\n\t\t\t\t\t\t\t\trecipe.get(i).getRecipeName());\r\n\t\t\t\t\t\tSystem.out.println(\"Ingredients: \"+\r\n\t\t\t\t\t\t\t\trecipe.get(i).getingredients());\r\n\t\t\t\t\t\tSystem.out.println(\"Instructions: \"+\r\n\t\t\t\t\t\t\t\trecipe.get(i).getinstructions());\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}case (3):{\r\n\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}default :{\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t}//end of switch\r\n\t\t\t\t}while(choice ==1 || choice == 2);\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Adding recipe for: \"+recipeName);\r\n\t\t\t\tSystem.out.println(\"Enter the ingredients:\");\r\n\t\t\t\tingredients = scnr.nextLine();\r\n\t\t\t\tSystem.out.println(\"Enter the instructions:\");\r\n\t\t\t\tinstructions = scnr.nextLine();\r\n\t\t\t\trecipe.add(new Recipe(recipeName,ingredients,instructions));\r\n\t\t\t}\r\n\t\t}//end of else;\r\n\t}", "title": "" }, { "docid": "ba163343db087626b757604ab8125492", "score": "0.5100278", "text": "private void answerCodedQuestion(String questionText, String answerText) {\n Espresso.closeSoftKeyboard();\n\n scrollToAndClick(viewThat(\n isAnyOf(CheckBox.class, RadioButton.class),\n hasAncestorThat(\n isAnyOf(ButtonsSelectOneWidget.class, TableWidgetGroup.class, ODKView.class),\n hasDescendantThat(hasTextContaining(questionText))),\n hasTextContaining(answerText)));\n }", "title": "" }, { "docid": "a4e467a0b1b0e83c7035069bcf0589c9", "score": "0.5098344", "text": "private void update(){\n\t\t\t\tif(tfhospital.getText().length() > 0){\n\t\t\t\t\t\n\t\t\t\t\ttemp = MainP.setName(tfhospital.getText());\n\t\t\t\t\t\n\t\t\t\t\tif(!temp.equals(tfhospital.getText()))\n\t\t\t\t\t{\n\t\t\t\t\t\tSwingUtilities.invokeLater(new Runnable(){\n\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\ttfhospital.setText(temp);\n\t\t\t\t\t\t\t}\n\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\tUi.refresh_bd_view(tfhospital.getText());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\t\t}\n\n\t\t\t}", "title": "" }, { "docid": "20e81d81004f3f5475be2b6352c7b04b", "score": "0.5093896", "text": "private void updateQuestion(String questionName, String Choice1, String Choice2, String Choice3, String Choice4) {\n\t\tquestion.setText(questionName);\r\n\t\tlblChoice[0].setText(\"A. \"+ Choice1);\r\n\t\tlblChoice[1].setText(\"B. \"+ Choice2);\r\n\t\tlblChoice[2].setText(\"C. \"+ Choice3);\r\n\t\tlblChoice[3].setText(\"D. \"+ Choice4);\r\n\r\n\t}", "title": "" }, { "docid": "b84471b26cfcda9d9785625def859bf9", "score": "0.5093375", "text": "public void updateQuestTab() {\n if (getQuestHolder().hasDoneQuest(getQuestHolder().getCookAssistant())) {\n send(new SetInterfaceTextEvent(7333, \"@gre@Cook's Assistant\"));\n } else if (getQuestHolder().hasStartedQuest(getQuestHolder().getCookAssistant())) {\n send(new SetInterfaceTextEvent(7333, \"@yel@Cook's Assistant\"));\n }\n if (getQuestHolder().hasDoneQuest(getQuestHolder().getBlackKnightFortress())) {\n send(new SetInterfaceTextEvent(7332, \"@gre@Black Knights' Fortress\"));\n } else if (getQuestHolder().hasStartedQuest(getQuestHolder().getBlackKnightFortress())) {\n send(new SetInterfaceTextEvent(7332, \"@yel@Black Knights' Fortress\"));\n }\n }", "title": "" }, { "docid": "34c51f6c46ee19a1383dafe88472eec6", "score": "0.509248", "text": "public Dialog updateD(Item item) {\n Dialog<Item> dialog = new Dialog<>();\n dialog.setTitle(\"Update Item\");\n dialog.setHeaderText(\"Update Item\");\n\n\n\n// Set the button types.\n ButtonType loginButtonType = new ButtonType(\"Update\", ButtonBar.ButtonData.OK_DONE);\n dialog.getDialogPane().getButtonTypes().addAll(loginButtonType, ButtonType.CANCEL);\n\n// Create the username and password labels and fields.\n GridPane grid = new GridPane();\n grid.setHgap(10);\n grid.setVgap(10);\n grid.setPadding(new Insets(20, 100, 10, 10));\n\n TextField FormerCode = new TextField();\n FormerCode.setMinWidth(300);\n FormerCode.setText(item.getManeCode());\n //FormerCode.setPromptText(item.getFormerCode());\n //TextField NewCode = new TextField();\n //NewCode.setText(item.getNewCode());\n //NewCode.setPromptText(item.getNewCode());\n\n grid.add(new Label(\"Mane Code:\"), 0, 0);\n grid.add(FormerCode, 1, 0);\n //grid.add(new Label(\"New Code\"), 0, 1);\n //grid.add(NewCode, 1, 1);\n\n// Enable/Disable login button depending on whether a username was entered.\n Node loginButton = dialog.getDialogPane().lookupButton(loginButtonType);\n //loginButton.setDisable(true);\n\n// Do some validation (using the Java 8 lambda syntax).\n// FormerCode.textProperty().addListener((observable, oldValue, newValue) -> {\n// loginButton.setDisable(newValue.trim().isEmpty());\n// });\n\n dialog.getDialogPane().setContent(grid);\n\n \n\n\n //Convert the result to a username-password-pair when the login button is clicked.\n dialog.setResultConverter(dialogButton -> {\n \n if (dialogButton == loginButtonType) {\n //return new Item(item.getId(), FormerCode.getText(), item.getNeoChemCode());\n return null;\n }\n return null;\n });\n return dialog;\n\n }", "title": "" }, { "docid": "9ffaf282c82a0c8acfc75346f9ff4fcb", "score": "0.50916374", "text": "@Test\n public void handleValidRightKeyPressEditPrefixRandom() {\n\n TextField mySandBox = commandBoxForTesting.getCommandTextField();\n String testString = \"edit 1\";\n\n guiRobot.write(\"edit 1\");\n assertTrue(testString.equals(mySandBox.getText()));\n guiRobot.push(KeyCode.RIGHT);\n testString += \" \" + STRING_NAME;\n assertTrue((testString).equals(mySandBox.getText()));\n\n //Assume user skips the input of phone prefix : p/\n guiRobot.write(\" \");\n guiRobot.write(STRING_EMAIL);\n guiRobot.write(\"zac@u.nus.edu\");\n testString += \" \" + STRING_EMAIL + \"zac@u.nus.edu\";\n assertTrue((testString).equals(mySandBox.getText()));\n\n //Add command shortcut will detect missing p/ and concatenate it\n guiRobot.push(KeyCode.RIGHT);\n testString += \" \" + STRING_PHONE;\n assertTrue((testString).equals(mySandBox.getText()));\n //Ensure caret positioning\n assertTrue(mySandBox.getCaretPosition() == mySandBox.getText().length());\n assertNotNull(mySandBox.getCaretPosition());\n assertFalse(mySandBox.getCaretPosition() == 0);\n\n assertTrue(mySandBox.getCaretPosition() == mySandBox.getText().length());\n assertNotNull(mySandBox.getCaretPosition());\n assertFalse(mySandBox.getCaretPosition() == 0);\n }", "title": "" }, { "docid": "24d2bbacc033abcdda71121b8f008b4a", "score": "0.50884044", "text": "private void ableToType(final boolean tof){\n SwingUtilities.invokeLater(\n new Runnable(){\n public void run(){\n userText.setEditable(tof);\n } \n }\n );\n }", "title": "" }, { "docid": "89fb625d0502794a8fba8cbbe7da7f55", "score": "0.50876796", "text": "private void editInfo () {\r\n boolean repeat = true;\r\n while(repeat){\r\n try{\r\n System.out.println(\"What would you like to edit?: \");\r\n System.out.println(\"1. Name\");\r\n System.out.println(\"2. Phone Number\");\r\n System.out.println(\"3. Username\");\r\n System.out.println(\"4. Password\");\r\n System.out.println(\"5. Address\");\r\n int edit = sc.nextInt();\r\n String edited;\r\n sc.nextLine();\r\n if (edit == 1) {\r\n System.out.println(\"Enter new name: \");\r\n edited = sc.nextLine();\r\n mainAccount.setName(edited);\r\n } else if (edit == 2) {\r\n System.out.println(\"Enter new phone number: \");\r\n edited = sc.nextLine();\r\n mainAccount.setPhoneNumber(edited);\r\n } else if (edit == 3) {\r\n System.out.println(\"Enter new username: \");\r\n edited = sc.nextLine();\r\n while (!(validUser(edited))) {\r\n System.out.println(\"Username taken.\");\r\n System.out.println(\"Enter new username: \");\r\n edited = sc.nextLine();\r\n }\r\n mainAccount.setUsername(edited);\r\n } else if (edit == 4) {\r\n System.out.println(\"Enter new password: \");\r\n edited = sc.nextLine();\r\n mainAccount.setPassword(edited);\r\n } else if (edit == 5) {\r\n System.out.println(\"Enter new address: \");\r\n edited = sc.nextLine();\r\n ((NormalUser)mainAccount).setAddress(edited);\r\n }\r\n \r\n repeat = false;\r\n }catch (InputMismatchException ime) {\r\n System.out.println(\"Exception occurred. Please input information in correct format.\");\r\n String flush = sc.next();\r\n } catch (NumberFormatException nfe) {\r\n System.out.println(\"Exception occurred. Please input information in correct format. \");\r\n } catch (NullPointerException npe) {\r\n System.out.println(\"Exception occurred. Please input information in correct format.\");\r\n } catch (Exception e) {\r\n System.out.println(\"Exception occurred. Please input information in correct format.\"); \r\n }\r\n }\r\n }", "title": "" }, { "docid": "7ad07664eb64a60842da0823e7531ab0", "score": "0.5087283", "text": "public void handleEdit(ActionEvent event) throws IOException { \r\n //edit functionality here \r\n LocalDate date = appointmentDate.getValue();\r\n String hour = appointmentHour.getValue();\r\n String minute = appointmentMinutes.getValue();\r\n String with = appointmentWith.getValue();\r\n String reason = appointmentType.getValue();\r\n String location = appointmentLocation.getValue();\r\n int id = aptID;\r\n LocalDateTime ldt = LocalDateTime.of(date.getYear(), date.getMonthValue(),\r\n date.getDayOfMonth(), Integer.parseInt(hour), Integer.parseInt(minute));\r\n LocalDateTime end = ldt.plusHours(1);\r\n String startTime = ldt.toString();\r\n String endTime = end.toString();\r\n Parent menu = FXMLLoader.load(getClass().getResource(\"/view/AppointmentOverview.fxml\"));\r\n Parent editMenu = FXMLLoader.load(getClass().getResource(\"/view/EditAppointment.fxml\"));\r\n Scene menuMain = new Scene(menu);\r\n Scene menuEdit = new Scene(editMenu);\r\n if (AppointmentMGR.appointmentsOverlap(-1, location, startTime )) {\r\n Alert alert = new Alert(Alert.AlertType.ERROR);\r\n alert.setTitle(\"OverlappingAppointments\");\r\n alert.setHeaderText(\"This Appointment time is already taken.\");\r\n alert.setContentText(\"Please select another time at least one hour later.\");\r\n alert.showAndWait().ifPresent((new Consumer<ButtonType>() {\r\n @Override\r\n public void accept(ButtonType response) {\r\n if (response == ButtonType.OK) { \r\n Stage window = (Stage) ((Node) event.getSource()).getScene().getWindow();\r\n window.setScene(menuEdit);\r\n window.show(); \r\n }\r\n }\r\n }));\r\n } else {\r\n \r\n //show confirmation dialog\r\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION);\r\n alert.setTitle(\"Edit Appointment\");\r\n alert.setHeaderText(\"Do you really want to edit the appointment?\");\r\n alert.setContentText(\"click ok to edit the appointment.\");\r\n alert.showAndWait().ifPresent((new Consumer<ButtonType>() {\r\n @Override\r\n public void accept(ButtonType response) {\r\n if (response == ButtonType.OK) {\r\n //do the thing\r\n AppointmentMGR.editAppointment(id, reason, with, location, startTime, endTime);\r\n \r\n Stage window = (Stage) ((Node) event.getSource()).getScene().getWindow();\r\n window.setScene(menuMain);\r\n window.show(); \r\n }\r\n }\r\n }));\r\n }\r\n \r\n }", "title": "" }, { "docid": "0c3f33ad01fdd39add1e5409dab9029d", "score": "0.50860816", "text": "private void editTaskData() {\n int size = list.findSize();\n System.out.println(\"There are currently \" + size + \" items on the task list. Enter a task number to begin editing it, or type '0' to exit to the main menu.\");\n String answer = input.nextLine();\n int response = Integer.parseInt(answer);\n\n if (response == 0) {\n System.out.println(\"Returning to menu...\");\n }\n else if (response > 0 && response <= size) {\n System.out.println(\"Task number \" + response + \" will now be edited. Select what to edit: (1) title (2) description (3) due date (4) mark complete (5) unmark complete\");\n\n String nextAnswer = input.nextLine();\n int selection = Integer.parseInt(nextAnswer);\n\n if (selection == 1) {\n System.out.println(\"Type your new task title.\");\n list.editTitle(response, input.nextLine());\n System.out.println(\"Task title successfully edited.\");\n }\n else if (selection == 2) {\n System.out.println(\"Type your new task description.\");\n list.editDescription(response, input.nextLine());\n System.out.println(\"Task description successfully edited.\");\n }\n else if (selection == 3) {\n System.out.println(\"Type your new task due date.\");\n list.editDueDate(response, input.nextLine());\n System.out.println(\"Task due date successfully edited.\");\n }\n else if (selection == 4) {\n list.markComplete(response);\n System.out.println(\"Task marked as complete.\");\n }\n else if (selection == 5) {\n list.unmarkComplete(response);\n System.out.println(\"Task unmarked as complete.\");\n }\n else {\n System.out.println(\"That is not a valid option.\");\n }\n }\n else {\n System.out.println(\"That is not a valid task number.\");\n }\n // choose what part to edit\n\n // type your edit\n\n // edit saved\n\n // return\n }", "title": "" }, { "docid": "861007d0a046efa33a9fb0010f3d254b", "score": "0.5082959", "text": "public void choiceEditQuantity() {\r\n\t\tSystem.out.print(\"Part Number: \");\r\n\t\tString partNo = userInput.next();\r\n\t\tSLList.ListIter iter = (SLList.ListIter) parts.iterator();\r\n\r\n\t\twhile (iter.hasNext()) {\r\n\t\t\tPart part = (Part) iter.next();\r\n\t\t\tif (part.getPartNo().equals(partNo)) {\r\n\t\t\t\tSystem.out.printf(\"\\n%20s %26s %16s\\n\", \"Description\",\r\n\t\t\t\t\t\t\"WarehouseID\", \"Quantity\");\r\n\t\t\t\tSystem.out.printf(\"%s %16s %18s\\n\",\r\n\t\t\t\t\t\t\"------------------------------\", \"-----------\",\r\n\t\t\t\t\t\t\"------------\");\r\n\t\t\t\tSystem.out.printf(\"%-32s %-8s%-10s %10d\\n\",\r\n\t\t\t\t\t\tpart.getDescription(), \" \", part.getWarehouseId(),\r\n\t\t\t\t\t\tpart.getQuantity());\r\n\t\t\t\tSystem.out.print(\"What is the new quantity: \");\r\n\t\t\t\tpart.setQuantity(userInput.nextInt());\r\n\t\t\t\tSystem.out.println(\"Done.\");\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "497cbc67618f370f84ca64b83416a6b3", "score": "0.5082021", "text": "void editUser(AcquireUserInformation edit);", "title": "" }, { "docid": "84edcffed3bea2465a5405b3b93578a3", "score": "0.50808144", "text": "@Path(\"/edit/{id}/{correct_answer}\")\n @GET\n @ProduceMime(\"application/xml\")\n public String edit(\n @PathParam(\"id\") String id,\n @PathParam(\"correct_answer\") String correct_answer) {\n if (id == null || \"\".equals(id.trim())) {\n return xStream.toXML(null);\n }\n\n ObjectiveQuestion objectiveQuestion = daoObjectiveQuestion.get(new Long(id));\n ObjectiveAnswer objectiveAnswer = daoObjectiveAnswer.get(new Long(correct_answer));\n objectiveQuestion.setCorrectAnswer(objectiveAnswer);\n boolean result = daoObjectiveQuestion.update(objectiveQuestion);\n return xStream.toXML(result);\n }", "title": "" }, { "docid": "6f522f998eebd2f39399931e044a00f2", "score": "0.507635", "text": "private static void modifyAccount() {\n\n System.out.print(Constants.colorWrapper(\"Account username: \", Constants.WHITE_BOLD));\n String username = Constants.IN.nextLine();\n\n if (!Database.usernameToUuid.containsKey(username)) {\n System.out.println(Constants.colorWrapper(\"Account does not exist!\", Constants.RED));\n Constants.pressEnterToContinue();\n System.out.println();\n return;\n }\n\n boolean exitMenu = false;\n User user = Database.accounts.get(Database.usernameToUuid.get(username));\n showAccountInformation(user);\n\n // if the user is a student, list the user's courses history\n if (user.getRole().equals(Constants.ROLE[2])) {\n Student student = (Student) user;\n System.out.println();\n StudentTextUI.courseHistory(student);\n }\n\n // if the user is a faculty, list all courses the user is teaching\n else if (user.getRole().equals(Constants.ROLE[1])) {\n Faculty faculty = (Faculty) user;\n System.out.println();\n FacultyTextUI.coursesCurrentlyTeaching(faculty);\n }\n\n while (!exitMenu) {\n\n String fieldToModify;\n System.out.println();\n System.out.println(\" +-----------------------------+\");\n System.out.println(\" | \" + Constants.colorWrapper(\"ACCOUNT SETTING\", Constants.WHITE_BOLD) + \" \" +\n \" |\");\n System.out.println(\" +-----------------------------+\");\n System.out.println(\" | 1. Modify username |\");\n System.out.println(\" | 2. Modify full name |\");\n System.out.println(\" | 3. Modify gender |\");\n System.out.println(\" | 4. Modify address |\");\n System.out.println(\" | 5. Modify phone number |\");\n System.out.println(\" | 6. Modify date of birth |\");\n System.out.println(\" | 7. Modify email address |\");\n System.out.println(\" | 8. Modify password |\");\n System.out.println(\" | 9. Return |\");\n System.out.println(\" +-----------------------------+\");\n System.out.println();\n System.out.println(Constants.colorWrapper(\" Note : Invalid value will remain the original data \" +\n \"unchanged!\", Constants.YELLOW_BOLD));\n System.out.println();\n System.out.print(Constants.colorWrapper(\"Select number: \", Constants.WHITE_BOLD));\n fieldToModify = Constants.IN.nextLine();\n\n switch (fieldToModify) {\n case \"1\":\n modifyUsername(user);\n break;\n case \"2\":\n modifyFullName(user);\n break;\n case \"3\":\n modifyGender(user);\n break;\n case \"4\":\n modifyAddress(user);\n break;\n case \"5\":\n modifyPhoneNumber(user);\n break;\n case \"6\":\n modifyDateOfBirth(user);\n break;\n case \"7\":\n modifyEmailAddress(user);\n break;\n case \"8\":\n modifyPassword(user);\n break;\n case \"9\":\n exitMenu = true;\n break;\n default:\n System.out.println(Constants.INVALID_INPUT);\n Constants.pressEnterToContinue();\n System.out.println();\n }\n\n // print the new user information if 1 <= selected number <= 9\n for (int i = 1; i <= 8; ++i) {\n if (fieldToModify.equals(String.valueOf(i))) {\n System.out.println();\n System.out.println(Database.accounts.get(user.getUuid()));\n System.out.println();\n // Log\n Log.updateAnAccount(new Timestamp(System.currentTimeMillis()), MenuTextUI.uuid, user.getUuid());\n Constants.pressEnterToContinue();\n break;\n }\n }\n }\n }", "title": "" }, { "docid": "cf26202a7efd79482ce6c420019f1891", "score": "0.50762534", "text": "public void exitApln() {\r\n\t\tif (!text.getText().equals(\"\")) {\r\n\t\t\tint confirm = JOptionPane\r\n\t\t\t\t\t.showConfirmDialog(\r\n\t\t\t\t\t\t\tnull,\r\n\t\t\t\t\t\t\t\"Text in the file has changed. \\n Do you want to save the changes?\",\r\n\t\t\t\t\t\t\t\"Exit\", JOptionPane.YES_NO_CANCEL_OPTION,\r\n\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\r\n\r\n\t\t\tif (confirm == JOptionPane.YES_OPTION) {\r\n\t\t\t\tsave();\r\n\t\t\t\tdispose();\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t} else if (confirm == JOptionPane.CANCEL_OPTION) {\r\n\t\t\t\te = new MyEdit();\r\n\t\t\t\tString s = text.getText();\r\n\t\t\t\te.setVisible(true);\r\n\t\t\t\te.text.setText(s);\r\n\t\t\t} else if (confirm == JOptionPane.NO_OPTION) {\r\n\t\t\t\tdispose();\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e39c682ab54de7b61f9d4fdf7db28cc2", "score": "0.50703734", "text": "public void updateSurvey(int questionId, int answerId);", "title": "" }, { "docid": "94b4262d6224af64bd8f4fe51bce1f74", "score": "0.50699455", "text": "public static void handleEditServerResponse(Player player, CustomFormResponse data) {\n // Take them back to the edit server list menu if they close the add server window\n if (data == null) {\n player.sendWindow(FormID.EDIT_SERVERS, getEditServerList(player.getServers()));\n return;\n }\n\n try {\n int serverIndex = Integer.parseInt(((CustomForm)player.getCurrentWindow()).getContent().get(0).getText().split(\":\")[1].trim());\n\n String address = data.getInput(1);\n int port = Integer.parseInt(data.getInput(2));\n boolean online = data.getToggle(3);\n boolean bedrock = data.getToggle(4);\n\n // Make sure we got an address\n if (address == null || \"\".equals(address)) {\n player.sendWindow(FormID.EDIT_SERVERS, getEditServerList(player.getServers()));\n return;\n }\n\n // Make sure we got a valid port\n if (port <= 0 || port >= 65535) {\n player.resendWindow();\n return;\n }\n\n player.getServers().set(serverIndex, new Server(address, port, online, bedrock));\n\n // Send them back to the edit screen\n player.sendWindow(FormID.EDIT_SERVERS, getEditServerList(player.getServers()));\n } catch (NumberFormatException e) {\n player.resendWindow();\n }\n }", "title": "" }, { "docid": "172f9c48e8ce6ca4519aa8f06ff58583", "score": "0.5067747", "text": "private void onChangePassword(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_onChangePassword\n GUIOperations.setBonStarted(true);\n ChangePasswordDlg cpdlg = new ChangePasswordDlg(GUIOperations.getMainframe(), true);\n cpdlg.setVisible(true);\n\n if (cpdlg.isOk()) {\n int selection = cpdlg.getSelection();\n int password = -1;\n do {\n try {\n password = Integer.parseInt(JOptionPane.showInputDialog(GUIOperations.getMainframe(), \"Geben Sie das neue Passwort ein\"));\n } catch (NumberFormatException ex) {\n int type = JOptionPane.showConfirmDialog(GUIOperations.getMainframe(), \"Es wurde keine valide Zahl eingegeben, wollen Sie das Erstellen\"\n + \"des Kommandos abbrechen?\");\n if (type != 0) {\n return;\n }\n }\n\n } while (password == -1);\n HashMap<String, Object> command_map = new HashMap<>();\n Command command = null;\n\n switch (selection) {\n case 0:\n command_map.put(\"changepwd\", \"true\");\n break;\n case 1:\n command_map.put(\"changepwd\", \"false\");\n break;\n case 2:\n command_map.put(\"changepwd\", \"error\");\n break;\n }\n\n command_map.put(\"pwd\", password);\n\n command = new Command(\"login\", command_map, \"Passwort-Änderung\");\n GUIOperations.setPwChange(true);\n GUIOperations.getDlm().addObject(command);\n if (JOptionPane.showConfirmDialog(GUIOperations.getMainframe(), \"Wollen Sie den Bon erstellungsvorgang beenden?\") == 0) {\n if (GUIOperations.getMoney() == 0 && GUIOperations.getTfSumme().getText().equalsIgnoreCase(\"0,00\")) {\n GUIOperations.getRecorderXml().setIsPayment(false);\n }\n GUIOperations.getRecorderXml().createSquashText(GUIOperations.getDlm(), 0);\n GUIOperations.getRecorderXml().getArticlesForXml(GUIOperations.getDlm());\n }\n }\n }", "title": "" }, { "docid": "f67fca4ebc553006ca436dc4c3a47bd6", "score": "0.50644475", "text": "@Test\n public void should_edit_file() throws IOException {\n Desktop2.getDesktop().edit(new File(getClass().getResource(EDIT_FILE).getPath()));\n\n // Wait a few seconds to allow the process execution.\n sleep(6);\n }", "title": "" }, { "docid": "64ba15107be1a6f845fd2652ae6ad662", "score": "0.50588274", "text": "private static void changeCredentials() throws IOException {\n System.out.println(\"\\t\\t\\tYour Previous username : \"+ManagerUserName);\n System.out.print(\"\\t\\t\\tPlease enter your new User Name : \");\n ManagerUserName = sc.nextLine();\n System.out.println(\"\\t\\t\\tYour new User Name is : \"+ManagerUserName);\n System.out.print(\"\\t\\t\\tPlease Enter Your old password : \");\n if (sc.nextLine().equals(ManagerPassword)) {\n System.out.print(\"\\t\\t\\tPlease enter your new password : \");\n String np1 = sc.nextLine();\n System.out.print(\"\\t\\t\\tPlease confirm your new password : \");\n if (sc.nextLine().equals(np1)) {\n System.out.println(\"\\t\\t\\tYour credentials have been changed successfully\");\n ManagerPassword = np1;\n writeManager();\n main(new String[]{\"d\",\"e\"});\n } else {System.out.println(\"\\t\\t\\tYour password doesn't match \");Manager.main(new String[]{\"d\",\"c\"});}\n }else {System.out.println(\"\\t\\t\\tInvalid password\");Manager.main(new String[]{\"d\",\"c\"});}\n }", "title": "" }, { "docid": "b9c07a9c85b01a19410accc5570084f5", "score": "0.50576407", "text": "public void TestCreateAppointmentWindowValidTime()\r\n {\n testRequest = new AppointmentRequest();\r\n testRequest.setDateFrom(LocalDate.now());\r\n testRequest.setDateTo(LocalDate.MAX);\r\n testRequest.setDoctor(testDoctor.getUID());\r\n testRequest.setPatientUID(testPatient.getUID());\r\n testRequest.saveAppointmentRequest();\r\n testWindow = new CreateAppointmentWindow(testRequest, testSecretary);\r\n List<Component> components = testWindow.getCreateAppointmentComponents();\r\n JTextField dateField = (JTextField) components.get(2);\r\n JButton saveButton = (JButton) components.get(0);\r\n JComboBox minuteBox = (JComboBox)components.get(4);\r\n JComboBox hourBox = (JComboBox)components.get(3);\r\n \r\n //Because our create appointment window filters preceding dates, \r\n //our taken appointments model is empty. therefore, even though there is\r\n //an appointment at this date, it doesnt show up in the list. This could be\r\n //considered an error, but it is useful for testing. \r\n dateField.setText(\"2020-02-20\");\r\n //text value is not bound, so setting the text does not fire any property change \r\n //listeners. We therefore need to change the caret postion manually to fire our \r\n //Caret update event. The position we set it to could be random, but i made it\r\n //to be the end of the text.\r\n dateField.setCaretPosition(dateField.getText().length());\r\n \r\n minuteBox.setSelectedIndex(4);\r\n\r\n //as all the combinations make a vaid time, just updating or clicking on the \r\n //combo box to make the selection is enough to create a valid time. \r\n assertTrue(saveButton.isEnabled());\r\n assertTrue(minuteBox.isEnabled());\r\n assertTrue(hourBox.isEnabled());\r\n \r\n }", "title": "" }, { "docid": "7092f5cfba977cad1555283464865319", "score": "0.5053314", "text": "@FXML\r\n private void saveBtnAction(ActionEvent event) {\r\n\r\n String desc = notesField.getText();\r\n\r\n if (desc.length() > 5000) {\r\n\r\n setMessage(\"Too many characters!\", this.errorMessage);\r\n\r\n } else {\r\n\r\n String first = selected.getClientFirstName();\r\n String second = selected.getClientLastName();\r\n String company = selected.getCompany();\r\n String phone1 = selected.getPhone1();\r\n String phone2 = selected.getPhone2();\r\n String email = selected.getEmail();\r\n String address = selected.getAddress();\r\n\r\n Client updated = new Client(first, second, company, desc, phone1, phone2, email, address, true);\r\n Main.jdbcc.updateClient(selected, updated);\r\n setMessage(\"Notes Updated!\", this.errorMessage);\r\n }\r\n }", "title": "" }, { "docid": "baa2b7d253da9aadffd8cd210f978eea", "score": "0.5041701", "text": "public EditDialog(java.awt.Frame parent, boolean modal) {\n super(parent, modal);\n initComponents();\n setLocationRelativeTo(null);\n // , , , \n\n txtWorkId.setText(AfterLogin.work1);\n txtFnam.setText(AfterLogin.fname1);\n txtLname.setText(AfterLogin.lname1);\n txtEmail.setText(AfterLogin.email1);\n comboStatus.setSelectedItem(AfterLogin.workStatus1);\n //txtWorkId.setText(AfterLogin.work1);\n }", "title": "" }, { "docid": "f0fa8fb2ce97271cd244950f45fd47e1", "score": "0.50408953", "text": "private void setTextFieldEditable(boolean b) {\n SwingUtilities.invokeLater(new Runnable(){\n public void run(){\n enterField.setEditable(b);\n }\n });\n}", "title": "" }, { "docid": "9948018a2b30c8e8dcaeaed9d7458910", "score": "0.50392604", "text": "public Window editTest(String save, Set<?> newSelection, String projectName) {\n \t\tif (editwindow.getParent() == null) {\n \t\t\ttry {\n \t\t\t\tsavemode = save;\n \t\t\t\t\n \t\t\t\tselection = newSelection;\n \t\t\t\n \t\t\t\tScript item = ScriptContainer.getScriptFromContainer((String)selection.iterator().next());\n \t\t\t\ttextName.setValue(item.getName());\n \t\t\t\ttextLocation.setValue(item.getLocation());\n \t\t\t\ttextDescription.setValue(item.getDescription());\n \t\t\t\tcmbEngine.setValue(item.getEngine());\n \t\t\t\t\n \t\t\t\tString path = MideaasConfig.getProjectsDir() + \"/\" + projectName + \"/\" + textLocation.getValue() + textName.getValue() + \".txt\"; //TODO: project name needs to be dynamic\n \t\t\t\tBufferedReader br = new BufferedReader(new FileReader(path));\n \t\t\t try {\n \t\t\t StringBuilder sb = new StringBuilder();\n \t\t\t String line = br.readLine();\n\n \t\t\t while (line != null) {\n \t\t\t sb.append(line);\n \t\t\t sb.append(\"\\n\");\n \t\t\t line = br.readLine();\n \t\t\t }\n \t\t\t editor.setValue(sb.toString());\n \t\t\t } catch (IOException e) {\n \t\t\t\t\tNotification.show(\"Whoops\", \"Reading from a file failed\", Notification.Type.ERROR_MESSAGE);\n \t\t\t\te.printStackTrace();\n \t\t\t } finally {\n \t\t\t br.close();\n \t\t\t }\n \t\t\t} catch (Exception e) {\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\t}\n \t\treturn editwindow;\n \t\n\t}", "title": "" } ]
a555e2164103f45e8e344115a2c990e3
optional string specimen_ser = 1;
[ { "docid": "0f9ae5c11a7384e3934ebdf0db77fd0a", "score": "0.0", "text": "public Builder setSpecimenSerBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.70367914", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "2dff9f02dbb600244a9fe4a76e5bcf6d", "score": "0.7035836", "text": "java.lang.String getSpecimenSer();", "title": "" }, { "docid": "448b8f8aa3a959d44b4878166687e0d2", "score": "0.67101693", "text": "java.lang.String getSpecimenSerBa();", "title": "" }, { "docid": "448b8f8aa3a959d44b4878166687e0d2", "score": "0.6709806", "text": "java.lang.String getSpecimenSerBa();", "title": "" }, { "docid": "448b8f8aa3a959d44b4878166687e0d2", "score": "0.6709806", "text": "java.lang.String getSpecimenSerBa();", "title": "" }, { "docid": "448b8f8aa3a959d44b4878166687e0d2", "score": "0.6709806", "text": "java.lang.String getSpecimenSerBa();", "title": "" }, { "docid": "448b8f8aa3a959d44b4878166687e0d2", "score": "0.6709806", "text": "java.lang.String getSpecimenSerBa();", "title": "" }, { "docid": "4f13fb8b8c9562ff24363db1056023d8", "score": "0.6692869", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000400;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4f13fb8b8c9562ff24363db1056023d8", "score": "0.6692354", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000400;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4f13fb8b8c9562ff24363db1056023d8", "score": "0.6690664", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000400;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4f13fb8b8c9562ff24363db1056023d8", "score": "0.6690664", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000400;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ec701d6161c5eb1815e3947278e74410", "score": "0.666693", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000200;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ec701d6161c5eb1815e3947278e74410", "score": "0.666693", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000200;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ec701d6161c5eb1815e3947278e74410", "score": "0.666693", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000200;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ec701d6161c5eb1815e3947278e74410", "score": "0.666572", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000200;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "273ce5fd39a5205daddc273bd3ab8891", "score": "0.6648993", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField1_ |= 0x00000002;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1f61de903f37f48643f0360d80b9c13c", "score": "0.6645794", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000100;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1f61de903f37f48643f0360d80b9c13c", "score": "0.6645794", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000100;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1f61de903f37f48643f0360d80b9c13c", "score": "0.66453975", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000100;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "85cf274fbbb378473f25714c024969fd", "score": "0.6602302", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "85cf274fbbb378473f25714c024969fd", "score": "0.6602302", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "85cf274fbbb378473f25714c024969fd", "score": "0.6602302", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "85cf274fbbb378473f25714c024969fd", "score": "0.6599992", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "85cf274fbbb378473f25714c024969fd", "score": "0.6599992", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2eac2136dfdace3d408f8d1275495143", "score": "0.65987784", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "32987dc68803ff35f30d3189e1f32d40", "score": "0.6598104", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x40000000;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d2e6bb668e10f0fedcdd1e52080a9be5", "score": "0.6590245", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d2e6bb668e10f0fedcdd1e52080a9be5", "score": "0.65899754", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d2e6bb668e10f0fedcdd1e52080a9be5", "score": "0.65899754", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d2e6bb668e10f0fedcdd1e52080a9be5", "score": "0.65899754", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d2e6bb668e10f0fedcdd1e52080a9be5", "score": "0.65892196", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "99925b4a6a21567053ac6fcc60aca4bf", "score": "0.65839624", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "99925b4a6a21567053ac6fcc60aca4bf", "score": "0.65825427", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7cf05c19c48e71e394028eace76110dc", "score": "0.6576959", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7cf05c19c48e71e394028eace76110dc", "score": "0.6576959", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7cf05c19c48e71e394028eace76110dc", "score": "0.65758574", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e7696ff320bc4d1bfcd212403a53eaff", "score": "0.65661156", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e7696ff320bc4d1bfcd212403a53eaff", "score": "0.656569", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e7696ff320bc4d1bfcd212403a53eaff", "score": "0.65655625", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e7696ff320bc4d1bfcd212403a53eaff", "score": "0.65655625", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e7696ff320bc4d1bfcd212403a53eaff", "score": "0.65655625", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e7696ff320bc4d1bfcd212403a53eaff", "score": "0.65655625", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "542f54ad01d4141aaf4ea9b5156cf015", "score": "0.6562598", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00100000;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b0557926e48290c28769135cd1260381", "score": "0.65247804", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000800;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b0557926e48290c28769135cd1260381", "score": "0.6522867", "text": "public Builder setSpecimenSer(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000800;\n specimenSer_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231766", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231766", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231766", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231766", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231766", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231766", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231766", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231584", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "072c73c54fde97d35cdf884360e5ad36", "score": "0.6231442", "text": "public java.lang.String getSpecimenSer() {\n java.lang.Object ref = specimenSer_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n specimenSer_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" } ]
ce5df4e4bbe42180cea4cd25586387fa
optional string first_name = 2;
[ { "docid": "7557e5fdd96b7779924edb368c23c911", "score": "0.65079546", "text": "java.lang.String getFirstName();", "title": "" } ]
[ { "docid": "8a143a6326a580e9d7b13885f851e28b", "score": "0.7466211", "text": "public void setFirstName(String in) { this.firstName = in; }", "title": "" }, { "docid": "ed4d10e905f25a15e85ee95aad332be2", "score": "0.7353434", "text": "public void setFirstName(String firstName);", "title": "" }, { "docid": "829a0f385faa6900451ba90a9853612c", "score": "0.7307615", "text": "public void setFirstName(String firstName){\n this.firstName = firstName;\n }", "title": "" }, { "docid": "a5bb2bbe287ae3e6ef599868da7685b2", "score": "0.72675", "text": "public void setFirstName(String FirstName);", "title": "" }, { "docid": "308464fe12748e11432f140bf2d4e82b", "score": "0.7207791", "text": "public void setFirstName(String firstName){\n this.firstName = firstName;\n\n }", "title": "" }, { "docid": "48ccda297093b90cc237fe96b787a213", "score": "0.71730965", "text": "public void setFirstName(String f)\n {\n this.firstName = f;\n \n\n }", "title": "" }, { "docid": "820469cea6becc7cd8a0fcb06d4351ba", "score": "0.70924693", "text": "public void setFirstName( String value )\r\n {\r\n this.firstName = value;\r\n }", "title": "" }, { "docid": "e92ffa747366c3baa9320b8659a407c8", "score": "0.7073551", "text": "public void setFirstName(String firstName){\r\n this.firstName = firstName;\r\n }", "title": "" }, { "docid": "258a55ceebdfefb2de2a66ff8d0a9b54", "score": "0.7067282", "text": "public void setLastName(String in) { this.lastName = in; }", "title": "" }, { "docid": "f706c12c4e8c5bd2a613b1ee69359805", "score": "0.70190966", "text": "public void setFirstName(String firstName) {\r\n\t\t this.firstName = firstName;\r\n\t }", "title": "" }, { "docid": "8c43f794d3bde480c4e57866c481390a", "score": "0.69674057", "text": "public void setFirstName(String newFirst)\n {\n\t \n }", "title": "" }, { "docid": "105baacd995c91ce9b6994ccd222b574", "score": "0.68823224", "text": "public void setLastName(String lastName);", "title": "" }, { "docid": "dd5ab52b1ed72c2772683cb4fbd01045", "score": "0.6863795", "text": "public void setFirstName(String firstName)\n {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "dd5ab52b1ed72c2772683cb4fbd01045", "score": "0.6863795", "text": "public void setFirstName(String firstName)\n {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "c22493fddfbe8cc1043be239de737f5f", "score": "0.68041277", "text": "public void setFirstname(String firstname) {\r\n\tthis.firstname = firstname;\r\n }", "title": "" }, { "docid": "c6ee4eb4654254ef9ac71b83edc08a7e", "score": "0.68037146", "text": "public void setFirstName(java.lang.String value) {\n this.firstName = value;\n }", "title": "" }, { "docid": "89708523ba73b4f3f8f90b495639213a", "score": "0.6789955", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "d7aaa9b69ed13130ae5de06a86eae17d", "score": "0.67802286", "text": "public void setLastName(String l)\n {\n this.lastName = l;\n \n\n }", "title": "" }, { "docid": "d7e820c87caf5d2b1c96567cf6c9aa73", "score": "0.6774165", "text": "public void setFirstName(String fname) {\n \tthis.firstName = fname;\n }", "title": "" }, { "docid": "243e344d21dfb28f7483e29a00a78da4", "score": "0.6746141", "text": "public void setFirstName(String firstName) {\r\n this.firstName = firstName;\r\n }", "title": "" }, { "docid": "b13364735387102786d6a3304d31e360", "score": "0.6737135", "text": "public void setFirstName(String fname) {\r\n firstName = fname;\r\n }", "title": "" }, { "docid": "e19704df2d7298930d401a4cf692b363", "score": "0.6720662", "text": "public void setFirstName(String firstname) {\n firstName = firstname;\n }", "title": "" }, { "docid": "a48deebbd73c4a085dd67e18f8f7a134", "score": "0.67204183", "text": "public void setFirstName(String firstName) {\r\n this.firstName = firstName;\r\n }", "title": "" }, { "docid": "a48deebbd73c4a085dd67e18f8f7a134", "score": "0.67204183", "text": "public void setFirstName(String firstName) {\r\n this.firstName = firstName;\r\n }", "title": "" }, { "docid": "9b680183ac8e64f93733c328d32e3910", "score": "0.66884637", "text": "String getFirstName();", "title": "" }, { "docid": "9b680183ac8e64f93733c328d32e3910", "score": "0.66884637", "text": "String getFirstName();", "title": "" }, { "docid": "9b680183ac8e64f93733c328d32e3910", "score": "0.66884637", "text": "String getFirstName();", "title": "" }, { "docid": "f307267c1c591ab9b27c588411b84926", "score": "0.6687499", "text": "public void setFirstName(java.lang.CharSequence value) {\n this.first_name = value;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "6d55f54f208759134688cb3d6bfa8326", "score": "0.6668907", "text": "public void setFirstName(String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "26f8068793a21dd03e59af68603dfb87", "score": "0.66565305", "text": "public void setFirstname(String firstname) {\n this.firstname = firstname;\n }", "title": "" }, { "docid": "26f8068793a21dd03e59af68603dfb87", "score": "0.66565305", "text": "public void setFirstname(String firstname) {\n this.firstname = firstname;\n }", "title": "" }, { "docid": "26f8068793a21dd03e59af68603dfb87", "score": "0.66565305", "text": "public void setFirstname(String firstname) {\n this.firstname = firstname;\n }", "title": "" }, { "docid": "d4d1bfae9de94ee7e0802ccbd2aa3c47", "score": "0.66493875", "text": "public final void setFirstName(String firstName) {\n\t\tif (firstName!=null && firstName.length()>=3 && firstName.length()<=20){\n\t\t\tthis.firstName = firstName;\n\t\t}\n\t}", "title": "" }, { "docid": "039709697ddcf86700f70c31dada7804", "score": "0.6646742", "text": "public void setLastName( String value )\r\n {\r\n this.lastName = value;\r\n }", "title": "" }, { "docid": "c379fe5594028f1cf4fe921591e5f12a", "score": "0.662348", "text": "public String getFirst(){\n\n return this.nameFirst;\n\n }", "title": "" }, { "docid": "760525a78a3d1a85a7fea595fe43189e", "score": "0.65988034", "text": "public final void setFirstName(final String firstName) {\n this.firstname = firstName;\n }", "title": "" }, { "docid": "f16b30844489993cc8f57f7503fa6e61", "score": "0.6591119", "text": "public void setFirst_name(String first_name) {\n this.first_name = first_name;\n }", "title": "" }, { "docid": "5200434fa2b421fa789f1a304caa1ff1", "score": "0.6564938", "text": "public void setFirstName(java.lang.String _firstName)\n {\n firstName = _firstName;\n }", "title": "" }, { "docid": "39b402c13a826ff6bff9b35553521f5e", "score": "0.6542991", "text": "public void setFirstName(java.lang.String firstName) {\r\n this.firstName = firstName;\r\n }", "title": "" }, { "docid": "39b402c13a826ff6bff9b35553521f5e", "score": "0.6542991", "text": "public void setFirstName(java.lang.String firstName) {\r\n this.firstName = firstName;\r\n }", "title": "" }, { "docid": "23db94217b787d36b3fb0587048e80b5", "score": "0.6540405", "text": "public String getFirstName(){\n return firstName;}", "title": "" }, { "docid": "f5701ff1c28c01936d7ad2a9ffdaa827", "score": "0.6532276", "text": "public void setFirstname(String first_name) {\n this.first_name = first_name;\n }", "title": "" }, { "docid": "a1baedaff6e4b06851a7917d7a873267", "score": "0.6526236", "text": "public void setFirstname(String firstName){\n\t\tthis.firstName = firstName;\n\t}", "title": "" }, { "docid": "64b721f9a202723eef04fe6c87a120fd", "score": "0.6518839", "text": "public void setFirst(String f){first =f;}", "title": "" }, { "docid": "038ee2cb39eb146d3d09e1ab1b257ba8", "score": "0.65088564", "text": "public void setFirstName(String FirstName) {\n this.FirstName = FirstName;\n }", "title": "" }, { "docid": "2e7cd12db065d1c2637aa590b8c2a2d2", "score": "0.65022635", "text": "public String getFirstName();", "title": "" }, { "docid": "36015cf4dd2b7a9d68856a1d502422b6", "score": "0.65022004", "text": "public void setFirstName(final String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "67c2823d12c65f746583494e27eabe61", "score": "0.65018255", "text": "public String getFirstName();", "title": "" }, { "docid": "403a5b416042575a43f07584d1efd846", "score": "0.6497162", "text": "public void setFirstName(String firstName)\n {\n m_firstName = firstName;\n }", "title": "" }, { "docid": "733b249dc0afff3cb8ab3778c15c77e7", "score": "0.64948505", "text": "public void setFirstName(String firstName)\n {\n this.firstName = firstName.toUpperCase();\n }", "title": "" }, { "docid": "2b47326d5b76dd82f0bd5c6c1979a7c6", "score": "0.6478178", "text": "public void setFirstName(java.lang.String firstName) {\n this.firstName = firstName;\n }", "title": "" }, { "docid": "13889362a921c0b21813c5726f9e2af3", "score": "0.64714336", "text": "public String getFirstName() {return this.firstName;}", "title": "" }, { "docid": "9fb0313f98dd1f09a130dab1d9b8acaa", "score": "0.6465398", "text": "public void setLastName(String lastName){\r\n this.lastName = lastName;\r\n }", "title": "" }, { "docid": "81338fa6259fdc6c3fb4e2fa1c2f6a2c", "score": "0.6449499", "text": "public void setFirstName(String f) {\n\t\tfirst = f;\n\t}", "title": "" }, { "docid": "2e56e33049bd438169866c5234c710e2", "score": "0.64464986", "text": "public void setFirstName(String fName){\n user.put(\"firstName\", fName);\n }", "title": "" }, { "docid": "1e88c4f28a0f74b8972a7012059b2663", "score": "0.6426008", "text": "public String getFirstName(){\r\n return firstName;\r\n }", "title": "" }, { "docid": "c282c65f69aefc1a0c89710724a854ee", "score": "0.64092594", "text": "@Given(\"employees first name is {string}\")\n public void first_name_is(String string) {\n firstName = string;\n }", "title": "" }, { "docid": "0070609558e9e1a37526aa6b26eb23d9", "score": "0.6404322", "text": "public void setLastName(String lastName){\n this.lastName = lastName;\n }", "title": "" }, { "docid": "4683276e2497c5f0d06535565772aeb1", "score": "0.6401687", "text": "Optional<String> getAFirstName();", "title": "" }, { "docid": "0d9455f79937439a5fe3a4a5cadbb146", "score": "0.6389481", "text": "public void setFirstname(String firstname) {\n\t\tthis.firstname = firstname;\n\t}", "title": "" }, { "docid": "39fea845dce3c23b9dbd2212470ebe5c", "score": "0.6384678", "text": "public void firstName(String firstname) {\r\n\t\tpages.Utill().input_text(\"ctl00_ContentPlaceHolder1_TextBoxFirstName\", firstname);\r\n\t}", "title": "" }, { "docid": "ae48525b22d12ece5c22035264ecc5d5", "score": "0.63773686", "text": "@Override\n public String getFirstname() {\n return firstName;\n }", "title": "" }, { "docid": "1eab9f747ba5243b1310302d4cda89c8", "score": "0.6369527", "text": "public String getFirstName(){\n return firstName;\n }", "title": "" }, { "docid": "af9a388286f92e7a8dc0fc2eb0f3c202", "score": "0.6358455", "text": "public void setUserFirstName(String userFirstName) {\n this.userFirstName = userFirstName;\n }", "title": "" }, { "docid": "08eb9f39d525a7f145417218112904fa", "score": "0.6355106", "text": "public void setFirstName(final String firstName) {\r\n\t\tthis.firstName = firstName;\r\n\t}", "title": "" }, { "docid": "5f2011c230ad3be0d338d6707e56f63d", "score": "0.63506335", "text": "public void setFirstName(String firstName) {\r\n\t\tthis.firstName = firstName;\r\n\t}", "title": "" }, { "docid": "5f2011c230ad3be0d338d6707e56f63d", "score": "0.63506335", "text": "public void setFirstName(String firstName) {\r\n\t\tthis.firstName = firstName;\r\n\t}", "title": "" }, { "docid": "5f2011c230ad3be0d338d6707e56f63d", "score": "0.63506335", "text": "public void setFirstName(String firstName) {\r\n\t\tthis.firstName = firstName;\r\n\t}", "title": "" }, { "docid": "650acaea51870b883534479b7ab114d9", "score": "0.63419235", "text": "public void setFirstName(String f)\n {\n name.setFirstName(f);\n }", "title": "" }, { "docid": "c26f8749735162f48cfd1f2189af2c52", "score": "0.6328659", "text": "public String getFirstName() { return firstName; }", "title": "" }, { "docid": "900970e79bb03607c5760c14ece19f56", "score": "0.63242", "text": "public void setLastName(java.lang.String value) {\n this.lastName = value;\n }", "title": "" }, { "docid": "f83b830f04ccbe1d7261550e243063b1", "score": "0.63146853", "text": "public void setUserFirstName(java.lang.String param){\r\n localUserFirstNameTracker = param != null;\r\n \r\n this.localUserFirstName=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "8d6963a9302df6dfe05f63a2af982cbe", "score": "0.6308508", "text": "public String getFirstName() {\r\n\t\t return this.firstName;\r\n\t }", "title": "" }, { "docid": "fdb6b65d6746c7c2986f3302da9afaf8", "score": "0.6305427", "text": "Authors setAFirstName(String aFirstName);", "title": "" }, { "docid": "a0c1367777b59a76250ae0c027178cc0", "score": "0.6302106", "text": "public void setFirstName(String theFirstName) {\r\n\t\tthis.firstName = theFirstName;\r\n\t}", "title": "" }, { "docid": "5898c6f54f353426ce85e6d9b96337b3", "score": "0.62988645", "text": "public String getFirstname(){\n\t\treturn firstName;\n\t}", "title": "" }, { "docid": "2c3030c0636e727ef2df56f8376fb6ea", "score": "0.6297958", "text": "public void setFirstname(String newFirstname) {\n\t this.firstname = newFirstname;\n\t}", "title": "" }, { "docid": "2d3fdccfa19ef910ef54eb0b245ccae6", "score": "0.6281654", "text": "public void setFirstName(String pFirstName) {\n mFirstName = pFirstName;\n }", "title": "" }, { "docid": "22b2fb9239bba6dfa83e9d56f8b80e7c", "score": "0.62773967", "text": "public void setLastName(java.lang.CharSequence value) {\n this.last_name = value;\n }", "title": "" }, { "docid": "a76bfd1536f54fe5140fa47f0936cd75", "score": "0.62707824", "text": "public void setFirstName(String firstName) {\n\t\tthis.firstName = firstName;\n\t}", "title": "" }, { "docid": "a76bfd1536f54fe5140fa47f0936cd75", "score": "0.62707824", "text": "public void setFirstName(String firstName) {\n\t\tthis.firstName = firstName;\n\t}", "title": "" }, { "docid": "a76bfd1536f54fe5140fa47f0936cd75", "score": "0.62707824", "text": "public void setFirstName(String firstName) {\n\t\tthis.firstName = firstName;\n\t}", "title": "" }, { "docid": "a76bfd1536f54fe5140fa47f0936cd75", "score": "0.62707824", "text": "public void setFirstName(String firstName) {\n\t\tthis.firstName = firstName;\n\t}", "title": "" }, { "docid": "a76bfd1536f54fe5140fa47f0936cd75", "score": "0.62707824", "text": "public void setFirstName(String firstName) {\n\t\tthis.firstName = firstName;\n\t}", "title": "" }, { "docid": "a76bfd1536f54fe5140fa47f0936cd75", "score": "0.62707824", "text": "public void setFirstName(String firstName) {\n\t\tthis.firstName = firstName;\n\t}", "title": "" }, { "docid": "a0ad00ff489d0fe8f5b0fda35801c4e2", "score": "0.6269581", "text": "public void setFirstName(String firstName)\n {\n setValue(FLD_FIRST_NAME, firstName);\n }", "title": "" }, { "docid": "9649f71db151caf7c01d6e118bc6a9e6", "score": "0.6267396", "text": "public String getFirstName()\n {\n\t \n }", "title": "" }, { "docid": "8c750e48c311fcb3a927f5f59deb92fa", "score": "0.6261411", "text": "public String getFirstName() {\n return firstName;\n }", "title": "" }, { "docid": "e1a43b390088eecc2bdcd527666ad2a2", "score": "0.62483925", "text": "protected abstract String getFirstName();", "title": "" } ]
9abe75db811d9b7e522fb1ea29ea73d7
Job Constructor Initialize a vector of SubJobs, retries, and the log
[ { "docid": "b4f75e0f05ea5f44c5836d6a41f98ca0", "score": "0.8415845", "text": "public Job(Vector<SubJob> subJobs, int retries, Logger log) {\n this.retries = retries;\n this.subJobs = subJobs;\n this.state = JobState.NOT_STARTED;\n this.curThread = new Thread(this);\n curSubJob = 0;\n this.log = log;\n for (SubJob sub: subJobs) {\n sub.setParent(this);\n }\n }", "title": "" } ]
[ { "docid": "d75ed7168c6b66e3f2e8bfa8efb32841", "score": "0.6325558", "text": "public RoundRobin(ArrayList<Thread> jobs)\n {\n this.jobs = jobs;\n }", "title": "" }, { "docid": "7b371a492bfa8db12b3aa0247adbff9b", "score": "0.61196536", "text": "private Job(int count) {\n this.count = count;\n }", "title": "" }, { "docid": "0b94535742ccd6633e396dd0c809edcc", "score": "0.60979503", "text": "public SJFScheduler(List<JobInfo> jobs) {\n super(jobs);\n }", "title": "" }, { "docid": "4c71dfa0b100e21028660b59effadca2", "score": "0.5982076", "text": "public AgJob() {\n }", "title": "" }, { "docid": "e8a98c290e9ede5307dc3914ba322d9c", "score": "0.5906278", "text": "public AzureWorkloadJob() {\n }", "title": "" }, { "docid": "87aceefb72e4e6bc33d2d72c64dd9736", "score": "0.5828884", "text": "public void setSubJob(Job job);", "title": "" }, { "docid": "7317a6aed87f4e9bb75deeb8c5c4a164", "score": "0.5801715", "text": "public void run() {\n try {\n int subJobsSize = subJobs.size();\n while (curSubJob < subJobsSize) {\n SubJob sub = subJobs.get(curSubJob);\n sub.start();\n curSubJob++;\n subJobsSize = subJobs.size();\n }\n\n boolean shouldBreak = false;\n curSubJob = 0;\n int currentRetryCount = 0;\n while (true) {\n subJobsSize = subJobs.size();\n if (curSubJob >= subJobsSize) {\n curSubJob = 0;\n }\n if (subJobsSize == 0) {\n break;\n }\n SubJob sub = subJobs.get(curSubJob);\n JobState result = sub.getTaskReturnCode();\n\n shouldBreak = false;\n switch (result) {\n case KILLED:\n case FAILED: {\n while (currentRetryCount < retries) {\n log.info(\"Retrying...\");\n JobState returnState = sub.getTaskReturnCode();\n\n if (returnState == JobState.FAILED || returnState == JobState.KILLED) {\n sub.restart();\n } else {\n break;\n }\n currentRetryCount++;\n }\n state = JobState.FAILED;\n shouldBreak = true;\n currentRetryCount = 0;\n }\n break;\n case SUCCESS:\n subJobs.remove(curSubJob);\n break;\n case NOT_STARTED:\n case RUNNING:\n default:\n break;\n }\n\n if (shouldBreak) {\n break;\n }\n\n curSubJob++;\n subJobsSize = subJobs.size();\n if (subJobsSize == 0) {\n break;\n }\n if (curSubJob == subJobsSize) {\n curSubJob = 0;\n }\n }\n if (shouldBreak) {\n state = JobState.FAILED;\n } else {\n state = JobState.SUCCESS;\n }\n } catch(Exception ex) {\n ex.printStackTrace();\n state = JobState.FAILED;\n }\n log.info(\"Finishing job with status: \" + state);\n }", "title": "" }, { "docid": "0851811a9d2c99664ed483ee2286987c", "score": "0.564898", "text": "@Override\n\tpublic void initialize() {\n\t\tsuper.initialize();\n\t\t\n\t\t// get the latency percentage\n\t\t// this.latencyPercent = mExpConfig.getLatencyPercent();\n\t\tconfigureServerSleepState();\n\n\t\t// configure job workload \n\t\tthis.setJobWorkloadGen(mExpConfig.getJobWorkloadGen());\n\t\t\n\t\t//update number of jobs based on traceworkload gen\n\t\tif (mWorkloadGen instanceof TraceWorkloadGen) {\n\t\t\tmExpConfig.setNumOfJobs(((TraceWorkloadGen) mWorkloadGen).getTotalNumOfJobs());\n\t\t\tnumOfJobs = mExpConfig.getNumOfJobs();\n\t\t}\n\t\t\n\t\t//begin to have multiple single-task job \n\t\tint collectableJobs = numOfJobs - warmupJobs;\n\t\tif(collectableJobs <= 0){\n\t\t\tSim.fatalError(\"total number of jobs less than warm up jobs!\");\n\t\t}\n\t\t\t\n\t\ttaskSizeLatencies = new TaskSLRecord[numOfJobs - warmupJobs];\n\t\t\n\t\tthis.doCollectJobArrivals = mExpConfig.doCollectJobArrivals();\n\t\tthis.doCollectJobCompletes = mExpConfig.doCollectJobCompletes();\n\t\tif (doCollectJobArrivals) {\n\t\t\tjobArrivalsStats = new Vector<Float>();\n\t\t}\n\n\t\tif (doCollectJobCompletes) {\n\t\t\tjobCompletedStats = new Vector<Float>();\n\t\t}\n\t\t\n\n\t\t// set global task scheduler\n\t\t// TODO Auto-generated method stub\n\t\t// ExperimentConfig.TaskSchedulerType schedulerType = mExpConfig\n\t\t// .getTaskSchedulerType();\n\t\t// if (schedulerType == null) {\n\t\t// Sim.fatalError(\"task scheduler not specified\");\n\t\t// } else {\n\t\t// switch (mExpConfig.getTaskSchedulerType()) {\n\t\t// case SIMPLE:\n\t\t// taskScheduler = new SimpleTaskScheduler(this);\n\t\t// break;\n\t\t// case TEST_TRANS:\n\t\t// taskScheduler = new TestTransScheduler(this);\n\t\t// break;\n\t\t// case ONE_SERVER:\n\t\t// taskScheduler = new OneServerScheduler(this);\n\t\t// break;\n\t\t// case ENERGY_AWARE:\n\t\t// taskScheduler = new EnergyAwareScheduler(this);\n\t\t// break;\n\t\t// default:\n\t\t// Sim.fatalError(\"unknown type of scheduler!\");\n\t\t//\n\t\t// }\n\t\t// }\n\t\tsetTaskScheduler();\n\t\t// taskScheduler = new OneServerScheduler(this);\n\t\t// generate the first job\n\t\tthis.getNextJob(0.0);\n\t}", "title": "" }, { "docid": "14b2ec6a69ab824f500486a293fe25ec", "score": "0.56173605", "text": "public BtchJobRecord() {\n\t\tsuper(BtchJob.BTCH_JOB);\n\t}", "title": "" }, { "docid": "b6eec1fa8bc42dc8388e8c3ed21ee784", "score": "0.55929834", "text": "Machine() {\n jobQ = new LinkedQueue<Job>();\n }", "title": "" }, { "docid": "1570f48f92389311442e71b797e42b78", "score": "0.5577855", "text": "@Override\r\n\tpublic void defineSubJobRequests() throws JobCreateException {\n\r\n\t}", "title": "" }, { "docid": "1dc6f5dc21baca2e8700d043fb89b458", "score": "0.5576958", "text": "public BatchRunner(BatchProcess job) {\r\n\t\tthis.job = job;\r\n\t}", "title": "" }, { "docid": "0ae1ddd67edbe854e922ee83927834ef", "score": "0.5556461", "text": "public Scheduler()\n {\n timeSlice = DEFAULT_TIME_SLICE;\n firstQueue = new Vector();\n secondQueue = new Vector();\n thirdQueue = new Vector();\n initTid(DEFAULT_MAX_THREADS);\n }", "title": "" }, { "docid": "b0a6951b4b61371075a966b9137aa656", "score": "0.55549085", "text": "public Job() {\n this(DSL.name(\"job\"), null);\n }", "title": "" }, { "docid": "7badd17c43d145461dd30368e3255438", "score": "0.5537979", "text": "public Job(int availableTime) {\n String []temp = new String[6];\n temp[0] = \"0 1 2\";\n temp[1] = \"0 2 1\";\n temp[2] = \"1 0 2\";\n temp[3] = \"2 0 1\";\n temp[4] = \"2 1 0\";\n temp[5] = \"1 2 0\";\n for(int i=0;i<6;i++){\n String[]strings = temp[i].split(\" \");\n alpriorities.add(new ArrayList<Integer>());\n for (int j=0;j<3;j++){\n alpriorities.get(alpriorities.size()-1).add(Integer.parseInt(strings[j]));\n }\n }\n this.availableTime = availableTime;\n pos = new ArrayList<Integer>();\n priorites = new ArrayList<Integer>();\n workStationTimeSpend = new ArrayList<Integer>();\n }", "title": "" }, { "docid": "9062eb06ec1f188c5fb14c78a85e8a02", "score": "0.5536463", "text": "public JobResponseInner() {\n }", "title": "" }, { "docid": "389715f7eef702026c4bf1753418e684", "score": "0.5533917", "text": "private JobList()\n\t{\n\t\tthis.list = new ArrayList<Job>();\n\t}", "title": "" }, { "docid": "b87847d99e5b3f8e7b8571db5256d77f", "score": "0.5521229", "text": "public Jobs() {\r\n initComponents();\r\n loadJobs();\r\n }", "title": "" }, { "docid": "baa69885c2cf35398b5a6578157c3128", "score": "0.55079275", "text": "private JobStatus(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "f39b422ba6036a26c19e0b419dc1515f", "score": "0.55038303", "text": "public JobEntryBase() {\n setLoggingObjectInUse( true );\n name = null;\n description = null;\n log = new LogChannel( this );\n attributesMap = new HashMap<>();\n extensionDataMap = new HashMap<>();\n\n }", "title": "" }, { "docid": "b25cac37c21a9ab5920b6d10cbe996c4", "score": "0.5492792", "text": "default void initialize(JobExecution jobExecution) {\n }", "title": "" }, { "docid": "9f151cf01d2bd00e4cde1bc56c3fa71c", "score": "0.54759955", "text": "@Override\n public void init() {\n currentCourse = null;\n currentCourseProgress = 0;\n enrollPrice = new Item(\"Enroll Fee\", ENROLL_FEE);\n\n courseAttendance = DAYS_PER_COURSE * GameController.ticksPerDay;\n\n jobs = new Job[]\n {\n new Job(\"Janitor\", 5, null, 0, this),\n new Job(\"Teacher\", 13, academic, 10, this),\n new Job(\"Professor\", 27, postDoctoral, 30, this)\n };\n }", "title": "" }, { "docid": "df1e21b4bace0c22c6e8a87b22997840", "score": "0.54327565", "text": "public SingletonJobExperiment(String theExperimentName,\n\t\t\tExponentialRandom aRandom, ExperimentInput theExperimentInput,\n\t\t\tExperimentOutput thExperimentOutput, ExperimentConfig expConfig,\n\t\t\tArgumentParser argParser) {\n\t\tsuper(theExperimentName, theExperimentInput, thExperimentOutput,\n\t\t\t\texpConfig, argParser);\n\t\tthis.jobsGenerated = 0;\n\t\tthis.jobsFinished = 0;\n\t\tthis.averageFinishedJobSize = 0.0;\n\t\tthis.statsFileName = \"SS_stats\";\n\t\tthis.useMultipleSS = expConfig.isUseMultipleSS();\n\t\t\n\t\tthis.percentileLatencys = new HashMap<Integer, Double>();\n\t\tthis.percentileLatency50s = new HashMap<Integer, Double>();\n\t\tthis.percentileLatency95s = new HashMap<Integer, Double>();\n\t\tthis.percentileLatency99s = new HashMap<Integer, Double>();\n\t\tthis.absPercentileLatency90s = new HashMap<Integer, Double>();\n\t\tthis.absPercentileLatency95s = new HashMap<Integer, Double>();\n\t\tthis.averageLatencies = new HashMap<Integer, Double>();\n\n\t\tthis.normalizedLatencies = new HashMap<Integer, Double>();\n\t\tthis.absAverageServiceTimes = new HashMap<Integer, Double>();\n\n\t\t//this.useRandomWorkload = true;\n\n\t\t//this.lLatencyPercentile = new MaxMinPercentile();\n\t\t//this.rLatencyPercentile = new MaxMinPercentile();\n\n\t\t// sleepscale experiment only use one single server\n\t\t// if (expConfig.getServerToSchedule() != 1) {\n\t\t// Sim.fatalError(\"fatal error: server to schedule should be 1\");\n\t\t// }\n\n\t\t// interArrivalGen = new ExponentialRandom(lamdba, 10000);\n\t\t// serviceTimeGen = new ExponentialRandom(u, 20000);\n\t\t// mWorkloadGen = new SSWorkloadGen(lamdba, u);\n\t\t// mWorkloadGen = new MMPPWorkloadGen(lamdba, u);\n\t\t// mWorkloadGen = new MixedWorkloadGen(rou);\n\n\t\t// // parse the args passed from command line\n\t\t// parseCmdParams(tokens);\n\n\t\t// mServer.setIdleDistribution(new Vector<IdleRecord>());\n\t\t/*\n\t\t * if (expConfig.isSeedFixed()) { interArrivalGen = new\n\t\t * ExponentialRandom(lamdba, expConfig.getSsSeed()); serviceTimeGen =\n\t\t * new ExponentialRandom(u, expConfig.getSsSeed() + 10000);\n\t\t * \n\t\t * // interArrivalGen = new ExponentialRandom(lamdba, 10000); //\n\t\t * serviceTimeGen = new ExponentialRandom(u, 20000); }\n\t\t * \n\t\t * else{ interArrivalGen = new ExponentialRandom(lamdba,\n\t\t * System.currentTimeMillis()); serviceTimeGen = new\n\t\t * ExponentialRandom(u, System.currentTimeMillis() + 100); }\n\t\t */\n\n\t}", "title": "" }, { "docid": "8eee36f7a2297cb8e8a27537694d25ae", "score": "0.54072803", "text": "public TbljobRecord() {\n super(Tbljob.TBLJOB);\n }", "title": "" }, { "docid": "83347aa6be753e17325fe1b76d38a4ea", "score": "0.53956145", "text": "private JobResources(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "29c9b9bd76886941f4cc543da28f43e6", "score": "0.5344548", "text": "@Override\n public void start(Collection<Watch> jobs) {\n }", "title": "" }, { "docid": "d298bb086ca4f0f00c8d5d5a9088b954", "score": "0.53240085", "text": "public BachDatastageJobListSysExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "f89dc5a59fc02ca998338136a65d7eb6", "score": "0.5322714", "text": "private JobInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "e35b9420e49f1e77a3c9777ff8b2faa7", "score": "0.52386796", "text": "public Parallel() {\n this(null, false);\n }", "title": "" }, { "docid": "7c12836b8020bf8b9d4d3a0e60e4c3f9", "score": "0.52052355", "text": "private JobExecutionInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "83f59484c130ea2fd5a7b1b18bab7406", "score": "0.52015525", "text": "public void testGetJobs() throws Exception {\n String[] qs = { \"default\" };\n taskTrackerManager.addQueues(qs);\n resConf = new FakeResourceManagerConf();\n ArrayList<FakeQueueInfo> queues = new ArrayList<FakeQueueInfo>();\n queues.add(new FakeQueueInfo(\"default\", 100.0f, 300, true, 100));\n resConf.setFakeQueues(queues);\n scheduler.setResourceManagerConf(resConf);\n scheduler.start();\n \n // submit a job\n JobInProgress j1 = submitJobAndInit(JobStatus.PREP, 10, 10, \"default\", \"u1\");\n checkAssignment(\"tt1\", \"attempt_test_0001_m_000001_0 on tt1\");\n \n // submit another job\n JobInProgress j2 = submitJob(JobStatus.PREP, 10, 10, \"default\", \"u1\");\n \n Collection<JobInProgress> jobs = scheduler.getJobs(\"default\");\n assertEquals(2, jobs.size());\n Iterator<JobInProgress> iter = jobs.iterator();\n assertEquals(j1, iter.next());\n assertEquals(j2, iter.next());\n \n assertEquals(1, scheduler.jobQueuesManager.\n getRunningJobQueue(\"default\").size());\n assertEquals(1, scheduler.jobQueuesManager.\n getWaitingJobQueue(\"default\").size());\n }", "title": "" }, { "docid": "1ef56bfe03033df5f4fa060c14610685", "score": "0.51810634", "text": "@JsonCreator\n\tpublic CompressionJob(@JsonProperty(\"basePath\") String basePath, @JsonProperty(\"objectUid\") String objectUid,\n\t\t\t@JsonProperty(\"mediaUid\") String mediaUid, @JsonProperty(\"title\") String title,\n\t\t\t@JsonProperty(\"mimeType\") String mimeType, @JsonProperty(\"levels\") String[] levels) {\n\t\tsuper();\n\t\tthis.basePath = basePath;\n\t\tthis.objectUid = objectUid;\n\t\tthis.mediaUid = mediaUid;\n\t\tthis.title = title;\n\t\tthis.mimeType = mimeType;\n\t\tthis.levels = levels;\n\t}", "title": "" }, { "docid": "0d60289b85347cb11bb73c60cfec35b9", "score": "0.5164883", "text": "public Job(Name alias) {\n this(alias, JOB);\n }", "title": "" }, { "docid": "efdb410b2d9e69b8444bdbebef4a188d", "score": "0.516106", "text": "protected abstract Job createContinuousMonitorJob() throws CoreException;", "title": "" }, { "docid": "a9ac09116b69a7112d820207026d8702", "score": "0.51452404", "text": "public JobImpl(int taskId, TaskDescription task, Implementation impl, Resource res, JobListener listener,\n List<Integer> predecessors, Integer numSuccessors) {\n this.jobId = nextJobId++;\n this.taskId = taskId;\n this.cancelling = false;\n this.history = JobHistory.NEW;\n this.transferErrors = 0;\n this.executionErrors = 0;\n this.taskParams = task;\n this.impl = impl;\n this.worker = res;\n this.listener = listener;\n this.predecessors = predecessors;\n this.numSuccessors = numSuccessors;\n /*\n * Setup job environment variables ****************************************\n * \n * This variables are only used by GAT since NIO loads them from the worker rather than specific variables per\n * job\n */\n\n // Merge command classpath and worker defined classpath\n String classpathFromFile = getResourceNode().getClasspath();\n\n if (!classpathFromFile.equals(\"\")) {\n if (!CLASSPATH_FROM_ENV.equals(\"\")) {\n this.workerClasspath = CLASSPATH_FROM_ENV + \":\" + classpathFromFile;\n } else {\n this.workerClasspath = classpathFromFile;\n }\n } else {\n this.workerClasspath = CLASSPATH_FROM_ENV;\n }\n\n // Merge command pythonpath and worker defined pythonpath\n String pythonpathFromFile = getResourceNode().getPythonpath();\n if (!pythonpathFromFile.equals(\"\")) {\n if (!PYTHONPATH_FROM_ENV.equals(\"\")) {\n this.workerPythonpath = PYTHONPATH_FROM_ENV + \":\" + pythonpathFromFile;\n } else {\n this.workerPythonpath = pythonpathFromFile;\n }\n } else {\n this.workerPythonpath = PYTHONPATH_FROM_ENV;\n }\n }", "title": "" }, { "docid": "92c41e062e4813b5cb65d30aae6cc825", "score": "0.5144431", "text": "private static ArrayList<JobBean> createJobs() {\n ArrayList<JobBean> jobs = new ArrayList<JobBean>();\n \n for(int j=0;j<3;j++) {\n Hashtable<String,String> metadata = new Hashtable<String,String>();\n \n for (int i=1;i<5;i++) {\n metadata.put(\"attribute\" + i+j,\"insert data for attribute\" + i+j);\n }\n \n JobBean job = new JobBean();\n \n job.setName(\"test job\"+j);\n job.setMetaData(Settings.xstream.toXML(metadata));\n \n jobs.add(job);\n }\n \n return jobs;\n }", "title": "" }, { "docid": "9743da55516d1bac445573b41928b8e5", "score": "0.511935", "text": "private JobTriggers(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "e372fc30f3738be1f6fdd600f81185fd", "score": "0.5102671", "text": "public PostJobsVVOImpl() {\r\n }", "title": "" }, { "docid": "d5e88ea621f52e107c45316e240632b1", "score": "0.5091822", "text": "public JobSubCategoryVOImpl() {\r\n }", "title": "" }, { "docid": "cb5fca0f9894836b70ec2371a181ddc6", "score": "0.508562", "text": "JobData(String[] stringArray) {\n this.jobData = new ArrayList<>(stringArray.length);\n\n for (String s : stringArray) {\n this.jobData.add(s);\n }\n }", "title": "" }, { "docid": "ff4fcccb9bcae23f9d4deaf7a02c7c4a", "score": "0.50710636", "text": "public PrinterJobBuilder() {\n this.byteArray = new ByteArrayOutputStream();\n setMode(init, doubleSize, bold_on);\n }", "title": "" }, { "docid": "7466ec89619f7eb83071b135f153ebfe", "score": "0.5067047", "text": "public Scheduler(int quantum)\n {\n //timeSlice = quantum;\n //firstQueue = new Vector();\n //nitTid(DEFAULT_MAX_THREADS);\n this();\n timeSlice = quantum;\n\n }", "title": "" }, { "docid": "f9ebb9c3617dfe8eb5e977cb8f61af2b", "score": "0.50631243", "text": "public Scheduler(int quantum, int maxThreads)\n {\n timeSlice = quantum;\n firstQueue = new Vector();\n secondQueue = new Vector();\n thirdQueue = new Vector();\n initTid(maxThreads);\n }", "title": "" }, { "docid": "6d33aa1b68841a40cb615439b4dc5972", "score": "0.5052512", "text": "public static void initJobParams() {\n mappersOfTheJob.set(0);\n combinersOfTheJob.set(0);\n reducersOfTheJob.set(0);\n }", "title": "" }, { "docid": "cd43c39bede8ecc20fd0fce5cef751af", "score": "0.50498176", "text": "public Job(String name, int time)\r\n { \r\n setName(name);\r\n setTime(time);\r\n }", "title": "" }, { "docid": "74f4b534b2667e86f83a7d4b406bbccf", "score": "0.50475067", "text": "public ParallelIteration()\n\t\t{\n\t\tsuper();\n\t\t}", "title": "" }, { "docid": "f513f05f299c8e7e89a9f79d3599ebba", "score": "0.5037188", "text": "public GetJobId() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "ee0ae92aed085823de034ca20df121b0", "score": "0.503586", "text": "public JhronosJob() {\n this.valueTypes = new HashMap<DateType, ExpressionValueType>();\n this.values = new HashMap<DateType, Integer>(); \n this.valueArrays = new HashMap<DateType, ArrayList<Integer>>();\n }", "title": "" }, { "docid": "6f892be72fe1ef0848e8b0afc38025de", "score": "0.5017005", "text": "public EwalletPayment(int id, ArrayList<Job> jobs, Jobseeker jobseeker)\n {\n super(id, jobs, jobseeker);\n }", "title": "" }, { "docid": "e55d46e98ca82c3b0140c1c5cce12f90", "score": "0.5011217", "text": "public JobAgentProperties() {\n }", "title": "" }, { "docid": "2b6bd44ca38808f6c599c29446227f50", "score": "0.5009502", "text": "private JobFactory() {\n // This is intentionally left empty\n }", "title": "" }, { "docid": "f42dea27e39ce4a32e5cde962b72f65d", "score": "0.50084686", "text": "private JobConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "e5d86b89286d43cba4c92cc46b71e04c", "score": "0.499667", "text": "public ImpExExportCronJobsDTO()\n\t{\n\t\tsuper();\n\t}", "title": "" }, { "docid": "7dc1f48e183739892f90081bc2f0ca0d", "score": "0.499461", "text": "public Job(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "93073ad5c31d119dd6c1f2db01cd43bc", "score": "0.49769443", "text": "public TaskScheduler (TaskSchedulingPolicy.Predicate outerFilter,\n TaskSchedulingPolicy policy,\n BlackboardService blackboard,\n QuiescenceAccumulator quiescence,\n Logger logger,\n String id) {\n this.outerFilter = outerFilter;\n this.policy = policy;\n this.logger = logger;\n this.blackboard = blackboard;\n this.quiescence = quiescence;\n this.id = id;\n subscriptions = new IncrementalSubscription [policy.numPriorities()];\n for (int i = 0; i < subscriptions.length; i++) \n subscriptions[i] = (IncrementalSubscription)\n blackboard.subscribe (ithPredicate (i));\n Collection prev = blackboard.query (new UnaryPredicate() {\n public boolean execute (Object o) {\n if (! (o instanceof Storage))\n return false;\n return TaskScheduler.this.id.equals (((Storage) o).id);\n }});\n if (prev.size() == 0) {\n addedLists = setupLists();\n changedLists = setupLists();\n removedLists = setupLists();\n resetCurrentPhase();\n storage = new Storage();\n updateStorage();\n blackboard.publishAdd (storage);\n } else {\n storage = (Storage) prev.iterator().next();\n addedLists = storage.addedLists;\n changedLists = storage.changedLists;\n removedLists = storage.removedLists;\n currentPhase = storage.currentPhase;\n }\n }", "title": "" }, { "docid": "28a13d32f29d0ff606ef34b297e14a11", "score": "0.49559477", "text": "private SearchBackgroundJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "c8af822e50ab9bbb3dc8736a46dfd10e", "score": "0.4939394", "text": "private void handleBaseCase() {\r\n assignedWorker = new int[jobs.length];\r\n startTime = new long[jobs.length];\r\n for (int i = 0; i < jobs.length; i++) {\r\n assignedWorker[i] = i;\r\n startTime[i] = 0; //All workers start at 0 time\r\n }\r\n }", "title": "" }, { "docid": "b166a49d512c33fe39d3802f0de31bea", "score": "0.49372116", "text": "public Job(String alias) {\n this(DSL.name(alias), JOB);\n }", "title": "" }, { "docid": "02f2d55a648d57bfa8d2bfb4f3892801", "score": "0.4936005", "text": "public IterativeParallelism() {\n }", "title": "" }, { "docid": "57232693480a6509fef44e74e6d7201d", "score": "0.49316585", "text": "private JobPubSub(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "3847852729b04a4015fa3b29339cd8f1", "score": "0.4930635", "text": "public AnalyzeTextJobsInput() {}", "title": "" }, { "docid": "43c7e132b945357f5639c03d004a96e5", "score": "0.4919381", "text": "private JobFile(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "87685c9a069609f298bb695bb2ed6da1", "score": "0.49094307", "text": "public StructureMiniJobConfigRecord() {\n\t\tsuper(StructureMiniJobConfig.STRUCTURE_MINI_JOB_CONFIG);\n\t}", "title": "" }, { "docid": "96b46709f7c6531c8b75f5f8d432fa69", "score": "0.4896128", "text": "private JobStatusChangeEvent initTasksAndReportEvent(FakeJobInProgress jip) \n throws IOException {\n JobStatus oldStatus = (JobStatus)jip.getStatus().clone();\n jip.initTasks();\n JobStatus newStatus = (JobStatus)jip.getStatus().clone();\n return new JobStatusChangeEvent(jip, EventType.RUN_STATE_CHANGED, \n oldStatus, newStatus);\n }", "title": "" }, { "docid": "e1cec1a2f7c7818b0389b9a0c59ab044", "score": "0.48894808", "text": "protected AbstractServerJob(final Lock lock, final TaskBundle job) {\n if (lock == null) throw new IllegalArgumentException(\"lock is null\");\n if (job == null) throw new IllegalArgumentException(\"job is null\");\n if (debugEnabled) log.debug(\"creating ClientJob #\" + id);\n this.lock = lock;\n this.job = job;\n this.uuid = this.job.getUuid();\n this.name = this.job.getName();\n }", "title": "" }, { "docid": "a05e5a8f11ccd2b0ad38d7d2fb5c6a00", "score": "0.48546207", "text": "public Work() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "1598e4ffcff234f196205e9b1b69c205", "score": "0.48249394", "text": "private JobFeatures(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "e4880a6fb3d80a26b0ff8c09944a991b", "score": "0.4817053", "text": "@Override\n protected void construct() {\n SA = new int[N];\n suffixes = new Suffix[N];\n\n for (int i=0; i<N; ++i)\n suffixes[i] = new Suffix(T, i);\n\n Arrays.sort(suffixes);\n\n for (int i=0; i<N; ++i){\n SA[i] = suffixes[i].idx;\n suffixes[i] = null;\n }\n suffixes = null;\n }", "title": "" }, { "docid": "00a831b0656dcb7773044bb4957907ea", "score": "0.48111573", "text": "public JobResumeBasic_20170612Record() {\n super(JobResumeBasic_20170612.JOB_RESUME_BASIC_20170612);\n }", "title": "" }, { "docid": "24049758246239cc26bf3e9a98700582", "score": "0.4797225", "text": "public Scheduler(ArrayList<Process> queue) {\r\n\t\t/* Class variable queue gets assigned the value of parameter queue */\r\n\t\tthis.queue = queue;\r\n\t}", "title": "" }, { "docid": "b7daba167322547030e017eea535cdaa", "score": "0.4790641", "text": "private FakeJobInProgress submitJobAndInit(int state, int maps, int reduces,\n String queue, String user) \n throws IOException {\n FakeJobInProgress j = submitJob(state, maps, reduces, queue, user);\n scheduler.jobQueuesManager.jobUpdated(initTasksAndReportEvent(j));\n return j;\n }", "title": "" }, { "docid": "5f8767ccb85d0fae207814a3b99ea2f7", "score": "0.4776306", "text": "public JobsDelegator(final IOptionsServer server) {\n super(server);\n }", "title": "" }, { "docid": "7f40842c02683a32e6166330cf601afc", "score": "0.47745", "text": "public TbljobVipRecord() {\n super(TbljobVip.TBLJOB_VIP);\n }", "title": "" }, { "docid": "d483c9049bf870c515f6fb076c9f9fe3", "score": "0.4774492", "text": "public Double buildSchedule(List<Job> jobs, final Set<Worker> workers);", "title": "" }, { "docid": "eef51298a627659bc019e9b69abc01b7", "score": "0.47602907", "text": "public CrawlProgressMessage(long harvestID, long jobId) {\n this(harvestID, jobId, \"\");\n }", "title": "" }, { "docid": "017b45a5c59bf035389ae0378dc870e3", "score": "0.47573176", "text": "private Job uploadJob() throws RuntimeException {\n\n List<String> vcfs = new ArrayList<>();\n List<String> tbis = new ArrayList<>();\n List<String> tars = new ArrayList<>();\n List<String> vcfmd5s = new ArrayList<>();\n List<String> tbimd5s = new ArrayList<>();\n List<String> tarmd5s = new ArrayList<>();\n List<String> qcFiles = new ArrayList<>();\n List<String> timingFiles = new ArrayList<>();\n\n // FIXME: really just need one timing file not broken down by tumorAliquotID! This will be key for multi-tumor donors\n String qcJson = null;\n String timingJson = null;\n\n // FIXME: these don't quite follow the naming convention\n for (String tumorAliquotId : tumorAliquotIds) {\n\n // DELLY FILES\n // String baseFile = \"/workflow_data/\" + tumorAliquotId + \".embl-delly_1-0-0-preFilter.\"+formattedDate;\n String baseFile = tumorAliquotId + \".\" + Version.EMBL_WORKFLOW_SHORT_NAME_VERSION + \".\" + formattedDate;\n\n qcJson = \"`find . | grep \" + baseFile + \".sv.qc.json | head -1`\";\n timingJson = \"`find . | grep \" + baseFile + \".sv.timing.json | head -1`\";\n\n // now add these to a list\n qcFiles.add(\"embl_qc_\"+tumorAliquotId); qcFiles.add(qcJson);\n timingFiles.add(\"embl_timing_\"+tumorAliquotId); timingFiles.add(timingJson);\n\n vcfs.add(baseFile + \".germline.sv.vcf.gz\");\n vcfs.add(baseFile + \".sv.vcf.gz\");\n vcfs.add(baseFile + \".somatic.sv.vcf.gz\");\n\n vcfmd5s.add(baseFile + \".germline.sv.vcf.gz.md5\");\n vcfmd5s.add(baseFile + \".sv.vcf.gz.md5\");\n vcfmd5s.add(baseFile + \".somatic.sv.vcf.gz.md5\");\n\n tbis.add(baseFile + \".germline.sv.vcf.gz.tbi\");\n tbis.add(baseFile + \".sv.vcf.gz.tbi\");\n tbis.add(baseFile + \".somatic.sv.vcf.gz.tbi\");\n\n tbimd5s.add(baseFile + \".germline.sv.vcf.gz.tbi.md5\");\n tbimd5s.add(baseFile + \".sv.vcf.gz.tbi.md5\");\n tbimd5s.add(baseFile + \".somatic.sv.vcf.gz.tbi.md5\");\n\n tars.add(baseFile + \".germline.sv.readname.txt.tar.gz\");\n tarmd5s.add(baseFile + \".germline.sv.readname.txt.tar.gz.md5\");\n\n tars.add(baseFile + \".germline.sv.bedpe.txt.tar.gz\");\n tarmd5s.add(baseFile + \".germline.sv.bedpe.txt.tar.gz.md5\");\n\n tars.add(baseFile + \".somatic.sv.readname.txt.tar.gz\");\n tarmd5s.add(baseFile + \".somatic.sv.readname.txt.tar.gz.md5\");\n\n tars.add(baseFile + \".somatic.sv.bedpe.txt.tar.gz\");\n tarmd5s.add(baseFile + \".somatic.sv.bedpe.txt.tar.gz.md5\");\n\n tars.add(baseFile + \".sv.cov.plots.tar.gz\");\n tarmd5s.add(baseFile + \".sv.cov.plots.tar.gz.md5\");\n\n tars.add(baseFile + \".sv.cov.tar.gz\");\n tarmd5s.add(baseFile + \".sv.cov.tar.gz.md5\");\n\n // this is a new file\n tars.add(baseFile + \".sv.log.tar.gz\");\n tarmd5s.add(baseFile + \".sv.log.tar.gz.md5\");\n\n\n // DKFZ FILES\n // String baseFile = \"/workflow_data/\" + tumorAliquotId + \".dkfz-\";\n\n baseFile = tumorAliquotId + \".dkfz-\";\n\n timingJson = \"./shared_workspace/results/timing.json\";\n\n // now add these to a list\n qcFiles.add(\"dkfz_qc_indel_\"+tumorAliquotId); qcFiles.add(DKFZ_RESULT_DIRECTORY_ABSOLUTE + \"/\" + baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".indel.json\");\n qcFiles.add(\"dkfz_qc_snv_mnv_\"+tumorAliquotId); qcFiles.add(DKFZ_RESULT_DIRECTORY_ABSOLUTE + \"/\" + baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".snv_mnv.json\");\n qcFiles.add(\"dkfz_qc_cnv_\"+tumorAliquotId); qcFiles.add(DKFZ_RESULT_DIRECTORY_ABSOLUTE + \"/\" + baseFile + \"copyNumberEstimation_\" + Version.DKFZ_CNV_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".cnv.gcbias.json\");\n timingFiles.add(\"global_timing_\"+tumorAliquotId); timingFiles.add(timingJson);\n\n // VCF\n vcfs.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".germline.indel.vcf.gz\");\n vcfs.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.indel.vcf.gz\");\n vcfs.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".germline.snv_mnv.vcf.gz\");\n vcfs.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.snv_mnv.vcf.gz\");\n vcfs.add(baseFile + \"copyNumberEstimation_\" + Version.DKFZ_CNV_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.cnv.vcf.gz\");\n\n // VCF MD5\n vcfmd5s.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".germline.indel.vcf.gz.md5\");\n vcfmd5s.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.indel.vcf.gz.md5\");\n vcfmd5s.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".germline.snv_mnv.vcf.gz.md5\");\n vcfmd5s.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.snv_mnv.vcf.gz.md5\");\n vcfmd5s.add(baseFile + \"copyNumberEstimation_\" + Version.DKFZ_CNV_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.cnv.vcf.gz.md5\");\n\n // Tabix\n tbis.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".germline.indel.vcf.gz.tbi\");\n tbis.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.indel.vcf.gz.tbi\");\n tbis.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".germline.snv_mnv.vcf.gz.tbi\");\n tbis.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.snv_mnv.vcf.gz.tbi\");\n tbis.add(baseFile + \"copyNumberEstimation_\" + Version.DKFZ_CNV_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.cnv.vcf.gz.tbi\");\n\n // Tabix MD5\n tbimd5s.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".germline.indel.vcf.gz.tbi.md5\");\n tbimd5s.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.indel.vcf.gz.tbi.md5\");\n tbimd5s.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".germline.snv_mnv.vcf.gz.tbi.md5\");\n tbimd5s.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.snv_mnv.vcf.gz.tbi.md5\");\n tbimd5s.add(baseFile + \"copyNumberEstimation_\" + Version.DKFZ_CNV_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.cnv.vcf.gz.tbi.md5\");\n\n // Tarballs\n tars.add(baseFile + \"copyNumberEstimation_\" + Version.DKFZ_CNV_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.cnv.tar.gz\");\n tars.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.indel.tar.gz\");\n tars.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.snv_mnv.tar.gz\");\n\n // Tarballs MD5\n tarmd5s.add(baseFile + \"copyNumberEstimation_\" + Version.DKFZ_CNV_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.cnv.tar.gz.md5\");\n tarmd5s.add(baseFile + \"indelCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.indel.tar.gz.md5\");\n tarmd5s.add(baseFile + \"snvCalling_\" + Version.DKFZ_SNV_INDEL_WORKFLOW_VERSION_UNDERSCORE + \".\" + formattedDate + \".somatic.snv_mnv.tar.gz.md5\");\n\n }\n // perform upload to GNOS\n // FIXME: hardcoded versions, URLs, etc\n Job uploadJob = this.getWorkflow().createBashJob(\"upload\");\n\n // cleanup JSON to make single line, combine JSON\n String summaryQcJSON = \"summary_qc.json\";\n uploadJob.getCommand().addArgument(\"perl \" + this.getWorkflowBaseDir() + \"/scripts/prep_json.pl \"+Joiner.on(\" \").join(qcFiles) +\" > \" + DKFZ_RESULT_DIRECTORY_ABSOLUTE + \"/\" + summaryQcJSON + \"\\n\");\n String summaryTimingJSON = \"summary_timing.json\";\n uploadJob.getCommand().addArgument(\"perl \" + this.getWorkflowBaseDir() + \"/scripts/prep_json.pl \"+Joiner.on(\" \").join(timingFiles) +\" > \" + DKFZ_RESULT_DIRECTORY_ABSOLUTE + \"/\" + summaryTimingJSON + \"\\n\");\n\n // copy the Delly results into the results folder to mix with DKFZ\n uploadJob.getCommand().addArgument(\"cp \"+SHARED_WORKSPACE_ABSOLUTE+\"/*.\" + Version.EMBL_WORKFLOW_SHORT_NAME_VERSION + \".\" + formattedDate + \"* \" + DKFZ_RESULT_DIRECTORY_ABSOLUTE + \"/\\n\");\n\n // params\n StringBuilder overrideTxt = new StringBuilder();\n if (this.studyRefnameOverride != null) {\n overrideTxt.append(\" --study-refname-override \").append(this.studyRefnameOverride);\n }\n if (this.analysisCenterOverride != null) {\n overrideTxt.append(\" --analysis-center-override \").append(this.analysisCenterOverride);\n }\n // Now do the upload based on the destination chosen\n // NOTE: I'm using the wrapper workflow version here so it's immediately obvious what wrapper was used\n if (LOCAL.equalsIgnoreCase(uploadDestination)) {\n\n // using hard links so it spans multiple exported filesystems to Docker\n uploadJob = utils.localUploadJob(uploadJob, DKFZ_RESULT_DIRECTORY_ABSOLUTE, pemFile, metadataURLs, vcfs, vcfmd5s, tbis, tbimd5s,\n tars, tarmd5s, uploadServer, Version.SEQWARE_VERSION, vmInstanceType, vmLocationCode, overrideTxt.toString(),\n UPLOAD_ARCHIVE_IN_CONTAINER, gnosTimeoutMin, gnosRetries, summaryQcJSON, summaryTimingJSON, Version.WORKFLOW_SRC_URL,\n Version.WORKFLOW_URL, Version.WORKFLOW_NAME, Version.WORKFLOW_VERSION, gnosDownloadName,\n this.localXMLMetadataPath, this.localXMLMetadataFiles);\n\n } else if (GNOS.equalsIgnoreCase(uploadDestination)) {\n\n uploadJob = utils.gnosUploadJob(uploadJob, DKFZ_RESULT_DIRECTORY_ABSOLUTE, pemFile, metadataURLs, vcfs, vcfmd5s, tbis, tbimd5s,\n tars, tarmd5s, uploadServer, Version.SEQWARE_VERSION, vmInstanceType, vmLocationCode, overrideTxt.toString(),\n gnosTimeoutMin, gnosRetries, summaryQcJSON, summaryTimingJSON, Version.WORKFLOW_SRC_URL,\n Version.WORKFLOW_URL, Version.WORKFLOW_NAME, Version.WORKFLOW_VERSION, gnosDownloadName);\n\n } else if (S3.equalsIgnoreCase(uploadDestination)) {\n\n uploadJob = utils.s3UploadJob(uploadJob, DKFZ_RESULT_DIRECTORY_ABSOLUTE, pemFile, metadataURLs, vcfs, vcfmd5s, tbis, tbimd5s, tars,\n tarmd5s, uploadServer, Version.SEQWARE_VERSION, vmInstanceType, vmLocationCode, overrideTxt.toString(),\n UPLOAD_ARCHIVE_IN_CONTAINER, s3Key, s3SecretKey, uploadS3BucketPath, gnosTimeoutMin, gnosRetries, summaryQcJSON, summaryTimingJSON,\n Version.WORKFLOW_SRC_URL, Version.WORKFLOW_URL, Version.WORKFLOW_NAME, Version.WORKFLOW_VERSION,\n gnosDownloadName);\n\n } else {\n throw new RuntimeException(\"Don't know what upload type '\" + uploadDestination + \"' is!\");\n }\n return uploadJob;\n }", "title": "" }, { "docid": "efacebc8d483d33388d1aaf3fd612aeb", "score": "0.47494477", "text": "public QueueList(E[] list) {\n q = new ArrayList<E>(list);\n s = 0;\n }", "title": "" }, { "docid": "f51a09563390ae29921b6c7e902822e9", "score": "0.47487116", "text": "private ThreadList() {\r\n\t super();\r\n\t }", "title": "" }, { "docid": "0e485406546a4b89996bf2e38e047c4f", "score": "0.47454175", "text": "public RayTracerJob(Point3D i, Point3D j, Point3D screenCorner, Point3D eye, Scene scene, double horizontal,\n\t\t\t\tdouble vertical, int width, int height, short[] red, short[] green, short[] blue, int yStart,\n\t\t\t\tint yStop) {\n\t\t\tsuper();\n\t\t\tthis.i = i;\n\t\t\tthis.j = j;\n\t\t\tthis.screenCorner = screenCorner;\n\t\t\tthis.eye = eye;\n\t\t\tthis.scene = scene;\n\t\t\tthis.horizontal = horizontal;\n\t\t\tthis.vertical = vertical;\n\t\t\tthis.width = width;\n\t\t\tthis.height = height;\n\t\t\tthis.red = red;\n\t\t\tthis.green = green;\n\t\t\tthis.blue = blue;\n\t\t\tthis.yStart = yStart;\n\t\t\tthis.yStop = yStop;\n\t\t}", "title": "" }, { "docid": "f94faf9149d15d05257bc7485c43a56e", "score": "0.4743361", "text": "public interface JobStore {\n String getNameSpace();\n void initialize() throws Exception;\n boolean ensureConnection();\n String disconnect();\n boolean reconnect(final int reconAttempts, final long reconnectSleepTime);\n String authenticate();\n String select();\n boolean canUseAsDelayedQueue(String key);\n Long rightPush(String key, String... strings);\n String leftPop(String key);\n Long addToSet(String key, String... members);\n Long addToSortedSet(String key, double score, String member);\n Long removeFromSet(String key, String... members);\n Long removeFromSortedSet(String key, String value);\n Long expire(String key, int seconds);\n Long delete(String key);\n Long delete(String... keys);\n Long setIfNotExist(String key, String value);\n Long leftTime(String key);\n Boolean contains(String key);\n String get(String key);\n String set(String key, String value);\n Long increase(String key);\n Set<String> memberOfSet(String key);\n String leftPopAndPush(String popKey, String pushKey);\n String pop(String queueKey, String inFlightKey, String freqKey, String now);\n boolean canUseAsRecurringQueue(String queueKey, String hashKey);\n void addRecurringJob(String queueKey, long future, String hashKey, String jobJson, long frequency);\n void removeRecurringJob(String queueKey, String hashKey, String jobJson);\n}", "title": "" }, { "docid": "fd04a4ec167803088d21c5ad71f00a12", "score": "0.47388014", "text": "public void addJobs(Command command)\n\t{\n\t\tJob newJob = new Job(command.getId(),command.getJobExecutionTime());\n\t\tminHeap.add(newJob);\n\t\trbt.add(newJob);\n\t}", "title": "" }, { "docid": "c16618ab7e4e392ac1bd91f5224e0a4b", "score": "0.47258738", "text": "RouterJob(RouterJobInternal internal) {\n id = internal.getId();\n requestedWorkerSelectors = internal.getRequestedWorkerSelectors().stream()\n .map(ws -> LabelSelectorAdapter.convertWorkerSelectorToPublic(ws))\n .collect(Collectors.toList());\n attachedWorkerSelectors = internal.getAttachedWorkerSelectors().stream()\n .map(ws -> LabelSelectorAdapter.convertWorkerSelectorToPublic(ws))\n .collect(Collectors.toList());\n assignments = internal.getAssignments().entrySet().stream()\n .collect(Collectors.toMap(Map.Entry::getKey, entry -> JobAdapter.convertJobAssignmentToPublic(entry.getValue())));\n status = RouterJobStatus.fromString(internal.getStatus().toString());\n enqueuedAt = internal.getEnqueuedAt();\n scheduledAt = internal.getScheduledAt();\n\n setChannelId(internal.getChannelId());\n setChannelReference(internal.getChannelReference());\n setQueueId(internal.getQueueId());\n setLabels(internal.getLabels().entrySet().stream()\n .collect(Collectors.toMap(Map.Entry::getKey, entry -> LabelValueConstructorProxy.create(entry.getValue()))));\n setNotes(internal.getNotes());\n setPriority(internal.getPriority());\n setClassificationPolicyId(internal.getClassificationPolicyId());\n setDispositionCode(internal.getDispositionCode());\n setClassificationPolicyId(internal.getClassificationPolicyId());\n setTags(internal.getTags().entrySet().stream()\n .collect(Collectors.toMap(Map.Entry::getKey, entry -> LabelValueConstructorProxy.create(entry.getValue()))));\n setMatchingMode(JobAdapter.convertMatchingModeToPublic(internal.getMatchingMode()));\n }", "title": "" }, { "docid": "c62c32e5db892b7faa51af0c78d002f8", "score": "0.47109094", "text": "public Job(String name, int start, int end, int output)\r\n {\r\n setName(name);\r\n setStartTime(start);\r\n setEndTime(end);\r\n setOutput(output);\r\n }", "title": "" }, { "docid": "1ffa0450c659892509159be01a017364", "score": "0.47082064", "text": "public PeriodicTrigger(long period)\r\n/* 18: */ {\r\n/* 19: 61 */ this(period, null);\r\n/* 20: */ }", "title": "" }, { "docid": "b0c5cb0aa1dc407f37f13076ad906f23", "score": "0.47051805", "text": "public interface JobProvider {\n\n /**\n * Gets the list of jobs to register at startup\n */\n Collection<JobRegistration> getStartingJobs();\n\n}", "title": "" }, { "docid": "73f10a93e631eac0e085efc2a7980850", "score": "0.47032672", "text": "public BtchJobRecord(BigDecimal btchJobId, String btchJobSdescTxt, String btchJobDescTxt, BigDecimal btchJobTypId, BigDecimal btchJobStusId, Date btchJobStrtTs, Date btchJobEndTs, String creatUserId, Date creatTs, String lastUpdtUserId, Date lastUpdtTs) {\n\t\tsuper(BtchJob.BTCH_JOB);\n\n\t\tsetValue(0, btchJobId);\n\t\tsetValue(1, btchJobSdescTxt);\n\t\tsetValue(2, btchJobDescTxt);\n\t\tsetValue(3, btchJobTypId);\n\t\tsetValue(4, btchJobStusId);\n\t\tsetValue(5, btchJobStrtTs);\n\t\tsetValue(6, btchJobEndTs);\n\t\tsetValue(7, creatUserId);\n\t\tsetValue(8, creatTs);\n\t\tsetValue(9, lastUpdtUserId);\n\t\tsetValue(10, lastUpdtTs);\n\t}", "title": "" }, { "docid": "54f3492823a39cecde38dd2bececa29f", "score": "0.470101", "text": "public AuditBatch() {\n // Empty\n }", "title": "" }, { "docid": "e129bf62ac34891d78de0e5fb5f26329", "score": "0.46951893", "text": "Collection<JobRegistration> getStartingJobs();", "title": "" }, { "docid": "a0178cb909650fa934d878130a748f01", "score": "0.46859804", "text": "public Workshop(int capacity, int speed) {\r\n\r\n }", "title": "" }, { "docid": "e8e42da76f2516a3e430c70b019b4f56", "score": "0.46852526", "text": "public StaffInProgress(BSPJobID jobId, String jobFile, int partition) {\n this.jobId = jobId;\n this.jobFile = jobFile;\n this.partition = partition;\n\n this.id = new StaffID(jobId, partition);\n }", "title": "" }, { "docid": "9f068f814e9c6d0e087044aee12ce51a", "score": "0.46815225", "text": "protected abstract Job createPeriodicMonitorJob() throws CoreException;", "title": "" }, { "docid": "e50f9faf39bd1a878ee9288a16449048", "score": "0.46777287", "text": "protected abstract Job createDiscoverJob() throws CoreException;", "title": "" }, { "docid": "6c2c7a0a06676711e61d1a2f4d6a58fd", "score": "0.46731165", "text": "public\n JobWaitRsp\n (\n long jobID,\n TaskTimer timer, \n QueueJobResults results\n )\n { \n super(timer);\n\n if(results == null) \n throw new IllegalArgumentException\n\t(\"The job results cannot be (null)!\");\n pResults = results; \n\n LogMgr.getInstance().logAndFlush\n (LogMgr.Kind.Net, LogMgr.Level.Finest,\n \"JobMgr.wait(): \" + jobID + \"\\n \" + getTimer());\n }", "title": "" }, { "docid": "b1fcf6a763fc245f00d15cfae4198d5f", "score": "0.46660754", "text": "public BillingProjectWorker() {\r\n }", "title": "" }, { "docid": "c90f171edd27877288f5387f68401ebc", "score": "0.46657455", "text": "public void addJob(Job job);", "title": "" }, { "docid": "39feb7f033e0c7bbed3b7019cfdb2e9a", "score": "0.46618897", "text": "public TestingCluster(int instanceQty)\n {\n this(makeSpecs(instanceQty));\n }", "title": "" }, { "docid": "54d6eb767c6a4645e27c8d624113736a", "score": "0.46542186", "text": "private void assignJobsMySolution() {\r\n int currentJob = 0;\r\n assignedWorker = new int[jobs.length];\r\n startTime = new long[jobs.length];\r\n while(currentJob < jobs.length) {\r\n // A job is given to the root node worker in workersHeap\r\n int workerNumber = workersHeap[0];\r\n assignedWorker[currentJob] = workerNumber;\r\n startTime[currentJob] = endTime[0];\r\n endTime[0] += jobs[currentJob];\r\n currentJob ++;\r\n // IMP: We don't need to build heap each time (which takes O(n) time)\r\n // because the endTime array is already a heap. Now, when we change the priority/endTime\r\n // then we need to just heapify it (siftUp/siftDown)\r\n siftDown(0,endTime.length); // log(n) time\r\n }\r\n }", "title": "" }, { "docid": "83b745c3213e37f05e3058ebeebb6313", "score": "0.46468326", "text": "public OurGridJobStatus(String jobId, String nativeStateString) {\n\n\t\tsuper(jobId, nativeStateString, nativeStateString);\n\t}", "title": "" }, { "docid": "78e924d73c42b7f83e344478d21779fe", "score": "0.4641921", "text": "public Job(DataSet dataSet, Collection<DataSample> samples, Collection<DataFeature> features) {\n\t\tthis.dataSet = dataSet;\n\t\tthis.samples = new HashSet<>(samples);\n\t\tthis.features = new HashSet<>(features);\n\n\t\tthis.id = Job.next_id;\n\t\tJob.next_id += 1;\n\t}", "title": "" }, { "docid": "2c57544d154e8db8f8dc621bacb233f5", "score": "0.46413508", "text": "public X10DocGenerator(Job job) {\n \t\tthis.job = job;\n \t}", "title": "" } ]
cd960a4eb4f7ac55dd458a65f8b460e6
Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime
[ { "docid": "f0e86cd2ef38e7572b9e87e1c7abb035", "score": "0.50870687", "text": "protected void preRenderCallback(EntityLivingBase par1EntityLivingBase, float par2){\n \tGL11.glEnable(GL11.GL_BLEND);\n \tGL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);\n }", "title": "" } ]
[ { "docid": "207153d6bfdc43e73bb04f636699cf28", "score": "0.68392295", "text": "protected void preRenderCallback(EntitySentientSpecter entitylivingbaseIn, float partialTickTime)\n {\n float f = 0.9375F;\n GlStateManager.scale(0.9375F, 0.9375F, 0.9375F);\n }", "title": "" }, { "docid": "131b9b97ccb4d535da56f940feb8c52c", "score": "0.6717313", "text": "public void afterRender(T entity, float partialTicks)\n {\n // No default behaviour\n }", "title": "" }, { "docid": "60a15da44012c633bfacb5ecefd5506a", "score": "0.64298844", "text": "public void doRenderELB(AbstractClientPlayer entity, double x, double y, double z, float entityYaw, float partialTicks)\n\t{\n\t\tGlStateManager.pushMatrix();\n\t\tGlStateManager.disableCull();\n\t\tmainModel.swingProgress = getSwingProgress(entity, partialTicks);\n\t\tboolean shouldSit = entity.isRiding() && (entity.getRidingEntity() != null && entity.getRidingEntity().shouldRiderSit());\n\t\tmainModel.isRiding = shouldSit;\n\t\tmainModel.isChild = entity.isChild();\n\t\t\n\t\tItemStack head = entity.getItemStackFromSlot(EntityEquipmentSlot.HEAD);\n\t\tItemStack body = entity.getItemStackFromSlot(EntityEquipmentSlot.CHEST);\n\t\tItemStack legs = entity.getItemStackFromSlot(EntityEquipmentSlot.LEGS);\n\t\tItemStack shoes = entity.getItemStackFromSlot(EntityEquipmentSlot.FEET);\n\t\tItemStack heldItem = InventoryPlayer.isHotbar(entity.inventory.currentItem) ? entity.inventory.mainInventory.get(entity.inventory.currentItem) : null;\n\t\tItemStack offHand = entity.inventory.offHandInventory.get(0);\n\t\t\n\t\tif (doRobo)\n\t\t{\n\t\t\tentity.inventory.armorInventory.set(EntityEquipmentSlot.HEAD.getIndex(), ItemStack.EMPTY);\n\t\t\tentity.inventory.armorInventory.set(EntityEquipmentSlot.CHEST.getIndex(), ItemStack.EMPTY);\n\t\t\tentity.inventory.armorInventory.set(EntityEquipmentSlot.LEGS.getIndex(), ItemStack.EMPTY);\n\t\t\tentity.inventory.armorInventory.set(EntityEquipmentSlot.FEET.getIndex(), ItemStack.EMPTY);\n\t\t\tentity.inventory.mainInventory.set(entity.inventory.currentItem, ItemStack.EMPTY);\n\t\t\tentity.inventory.offHandInventory.set(0, ItemStack.EMPTY);\n\t\t}\n\t\t\n\t\ttry\n\t\t{\n\t\t\tfloat f = interpolateRotation(entity.prevRenderYawOffset, entity.renderYawOffset, partialTicks);\n\t\t\tfloat f1 = interpolateRotation(entity.prevRotationYawHead, entity.rotationYawHead, partialTicks);\n\t\t\tfloat netHeadYaw = f1 - f;\n\t\t\t\n\t\t\tif ( shouldSit\n\t\t\t && entity.getRidingEntity() instanceof EntityLivingBase )\n\t\t\t{\n\t\t\t\tEntityLivingBase entitylivingbase = (EntityLivingBase) entity.getRidingEntity();\n\t\t\t\tf = interpolateRotation(entitylivingbase.prevRenderYawOffset, entitylivingbase.renderYawOffset, partialTicks);\n\t\t\t\tnetHeadYaw = f1 - f;\n\t\t\t\tfloat f3 = MathHelper.wrapDegrees(netHeadYaw);\n\t\t\t\t\n\t\t\t\tif (f3 < -85.0F)\n\t\t\t\t{\n\t\t\t\t\tf3 = -85.0F;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (f3 >= 85.0F)\n\t\t\t\t{\n\t\t\t\t\tf3 = 85.0F;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tf = f1 - f3;\n\t\t\t\t\n\t\t\t\tif (f3 * f3 > 2500.0F)\n\t\t\t\t{\n\t\t\t\t\tf += f3 * 0.2F;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tnetHeadYaw = f1 - f;\n\t\t\t}\n\t\t\t\n\t\t\tfloat headPitch = entity.prevRotationPitch + (entity.rotationPitch - entity.prevRotationPitch) * partialTicks;\n\t\t\trenderLivingAt(entity, x, y, z);\n\t\t\tfloat ageInTicks = handleRotationFloat(entity, partialTicks);\n\t\t\tapplyRotations(entity, ageInTicks, f, partialTicks);\n\t\t\tfloat scaleFactor = prepareScale(entity, partialTicks);\n\t\t\tfloat limbSwingAmount = 0.0F;\n\t\t\tfloat limbSwing = 0.0F;\n\t\t\t\n\t\t\tif (!entity.isRiding())\n\t\t\t{\n\t\t\t\tlimbSwingAmount = entity.prevLimbSwingAmount + (entity.limbSwingAmount - entity.prevLimbSwingAmount) * partialTicks;\n\t\t\t\tlimbSwing = entity.limbSwing - entity.limbSwingAmount * (1.0F - partialTicks);\n\t\t\t\t\n\t\t\t\tif (entity.isChild())\n\t\t\t\t{\n\t\t\t\t\tlimbSwing *= 3.0F;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (limbSwingAmount > 1.0F)\n\t\t\t\t{\n\t\t\t\t\tlimbSwingAmount = 1.0F;\n\t\t\t\t}\n\t\t\t\tnetHeadYaw = f1 - f;\n\t\t\t}\n\t\t\t\n\t\t\tGlStateManager.enableAlpha();\n\t\t\tmainModel.setLivingAnimations(entity, limbSwing, limbSwingAmount, partialTicks);\n\t\t\tmainModel.setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entity);\n\t\t\t\n\t\t\tif (renderOutlines)\n\t\t\t{\n\t\t\t\tboolean wasTeamColorChanged = setScoreTeamColor(entity);\n\t\t\t\tGlStateManager.enableColorMaterial();\n\t\t\t\tGlStateManager.enableOutlineMode(getTeamColor(entity));\n\t\t\t\t\n\t\t\t\tif (!renderMarker)\n\t\t\t\t{\n\t\t\t\t\trenderModel(entity, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (!entity.isSpectator())\n\t\t\t\t{\n\t\t\t\t\trenderLayers(entity, limbSwing, limbSwingAmount, partialTicks, ageInTicks, netHeadYaw, headPitch, scaleFactor);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tGlStateManager.disableOutlineMode();\n\t\t\t\tGlStateManager.disableColorMaterial();\n\t\t\t\t\n\t\t\t\tif (wasTeamColorChanged)\n\t\t\t\t{\n\t\t\t\t\tunsetScoreTeamColor();\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tboolean wasBrightnessChanged = setDoRenderBrightness(entity, partialTicks);\n\t\t\t\trenderModel(entity, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor);\n\t\t\t\tif (wasBrightnessChanged)\n\t\t\t\t{\n\t\t\t\t\tunsetBrightness();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tGlStateManager.depthMask(true);\n\t\t\t\t\n\t\t\t\tif (!entity.isSpectator())\n\t\t\t\t{\n\t\t\t\t\trenderLayers(entity, limbSwing, limbSwingAmount, partialTicks, ageInTicks, netHeadYaw, headPitch, scaleFactor);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tGlStateManager.disableRescaleNormal();\n\t\t}\n\t\tcatch (Exception exception)\n\t\t{\n\t\t\tCyberware.logger.error(\"Disabling custom render until next restart\");\n\t\t\tCyberwareConfig.ENABLE_CUSTOM_PLAYER_MODEL = false;\n\t\t\texception.printStackTrace();\n\t\t\tCyberware.logger.error(String.format(\"Exception while rendering %s with %s\",\n\t\t\t entity, this));\n\t\t}\n\t\t\n\t\tentity.inventory.armorInventory.set(EntityEquipmentSlot.HEAD.getIndex(), head);\n\t\tentity.inventory.armorInventory.set(EntityEquipmentSlot.CHEST.getIndex(), body);\n\t\tentity.inventory.armorInventory.set(EntityEquipmentSlot.LEGS.getIndex(), legs);\n\t\tentity.inventory.armorInventory.set(EntityEquipmentSlot.FEET.getIndex(), shoes);\n\t\tif (heldItem != null)\n\t\t{\n\t\t\tentity.inventory.mainInventory.set(entity.inventory.currentItem, heldItem);\n\t\t}\n\t\tentity.inventory.offHandInventory.set(0, offHand);\n\t\t\n//\t\tGlStateManager.setActiveTexture(OpenGlHelper.lightmapTexUnit);\n\t\tGlStateManager.enableTexture2D();\n\t\tGlStateManager.setActiveTexture(OpenGlHelper.defaultTexUnit);\n\t\tGlStateManager.enableCull();\n\t\tGlStateManager.popMatrix();\n\t\t\n\t\t// From Render.class\n\t\tif (!renderOutlines)\n\t\t{\n\t\t\trenderName(entity, x, y, z);\n\t\t}\n\t\t// net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(new net.minecraftforge.client.event.RenderLivingEvent.Post<>(entity, this, partialTicks, x, y, z));\n\t}", "title": "" }, { "docid": "d9da216eab145fc23ca0ccdebfa65010", "score": "0.6402979", "text": "public void beforeRender(EntityData<T> data, T entity, float partialTicks)\n {\n double entityX = entity.prevPosX + (entity.posX - entity.prevPosX) * partialTicks;\n double entityY = entity.prevPosY + (entity.posY - entity.prevPosY) * partialTicks;\n double entityZ = entity.prevPosZ + (entity.posZ - entity.prevPosZ) * partialTicks;\n\n Entity viewEntity = Minecraft.getMinecraft().getRenderViewEntity();\n double viewX = entityX, viewY = entityY, viewZ = entityZ;\n if (viewEntity != null)\n {\n // Checking in case of Main Menu or GUI rendering.\n viewX = viewEntity.prevPosX + (viewEntity.posX - viewEntity.prevPosX) * partialTicks;\n viewY = viewEntity.prevPosY + (viewEntity.posY - viewEntity.prevPosY) * partialTicks;\n viewZ = viewEntity.prevPosZ + (viewEntity.posZ - viewEntity.prevPosZ) * partialTicks;\n }\n GlStateManager.translate(entityX - viewX, entityY - viewY, entityZ - viewZ);\n GlStateManager.rotate(-interpolateRotation(entity.prevRenderYawOffset, entity.renderYawOffset, partialTicks), 0F, 1F, 0F);\n\n this.renderLocalAccessories(entity, data, partialTicks);\n\n float globalScale = entity.isChild() ? getChildScale() : 1;\n\n GlStateManager.translate(data.globalOffset.getX() * scale * globalScale,\n data.globalOffset.getY() * scale * globalScale,\n data.globalOffset.getZ() * scale * globalScale);\n GlStateManager.translate(0, entity.height / 2, 0);\n GlHelper.rotate(data.centerRotation.getSmooth());\n GlStateManager.translate(0, -entity.height / 2, 0);\n GlHelper.rotate(data.renderRotation.getSmooth());\n\n GlStateManager.translate(data.localOffset.getX() * scale * globalScale,\n data.localOffset.getY() * scale * globalScale,\n data.localOffset.getZ() * scale * globalScale);\n\n this.transformLocally(entity, data, partialTicks);\n\n GlStateManager.rotate(interpolateRotation(entity.prevRenderYawOffset, entity.renderYawOffset, partialTicks), 0F, 1F, 0F);\n GlStateManager.translate(viewX - entityX, viewY - entityY, viewZ - entityZ);\n }", "title": "" }, { "docid": "a0d13d13f240eeacedd1fd7a9ded2895", "score": "0.63936275", "text": "@Override\n public void doRender(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, float par8, float par9)\n {\n if (MinecraftForge.EVENT_BUS.post(new RenderLivingEvent.Pre(par1EntityLivingBase, this, par2, par4, par6))) return;\n GL11.glPushMatrix();\n GL11.glDisable(GL11.GL_CULL_FACE);\n this.mainModel.onGround = this.renderSwingProgress(par1EntityLivingBase, par9);\n\n if (this.renderPassModel != null)\n {\n this.renderPassModel.onGround = this.mainModel.onGround;\n }\n\n this.mainModel.isRiding = par1EntityLivingBase.isRiding();\n\n if (this.renderPassModel != null)\n {\n this.renderPassModel.isRiding = this.mainModel.isRiding;\n }\n\n this.mainModel.isChild = par1EntityLivingBase.isChild();\n\n if (this.renderPassModel != null)\n {\n this.renderPassModel.isChild = this.mainModel.isChild;\n }\n\n try\n {\n float f2 = this.interpolateRotation(par1EntityLivingBase.prevRenderYawOffset, par1EntityLivingBase.renderYawOffset, par9);\n float f3 = this.interpolateRotation(par1EntityLivingBase.prevRotationYawHead, par1EntityLivingBase.rotationYawHead, par9);\n float f4;\n\n float f5 = par1EntityLivingBase.prevRotationPitch + (par1EntityLivingBase.rotationPitch - par1EntityLivingBase.prevRotationPitch) * par9;\n this.renderLivingAt(par1EntityLivingBase, par2, par4, par6);\n f4 = this.handleRotationFloat(par1EntityLivingBase, par9);\n this.rotateCorpse(par1EntityLivingBase, f4, f2, par9);\n float f6 = 0.0625F;\n GL11.glEnable(GL12.GL_RESCALE_NORMAL);\n GL11.glScalef(-1.0F, -1.0F, 1.0F);\n this.preRenderCallback(par1EntityLivingBase, par9);\n GL11.glTranslatef(0.0F, -24.0F * f6 - 0.0078125F, 0.0F);\n float f7 = par1EntityLivingBase.prevLimbSwingAmount + (par1EntityLivingBase.limbSwingAmount - par1EntityLivingBase.prevLimbSwingAmount) * par9;\n float f8 = par1EntityLivingBase.limbSwing - par1EntityLivingBase.limbSwingAmount * (1.0F - par9);\n\n if (f7 > 1.0F)\n {\n f7 = 1.0F;\n }\n\n GL11.glEnable(GL11.GL_ALPHA_TEST);\n //GL11.glEnable(GL11.GL_BLEND);\n \t//GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);\n this.mainModel.setLivingAnimations(par1EntityLivingBase, f8, f7, par9);\n this.renderModel(par1EntityLivingBase, f8, f7, f4, f3 - f2, f5, f6);\n float f9;\n int i;\n float f10;\n float f11;\n\n /*\n for (int j = 0; j < 4; ++j)\n {\n i = this.shouldRenderPass(par1EntityLivingBase, j, par9);\n\n if (i > 0)\n {\n this.renderPassModel.setLivingAnimations(par1EntityLivingBase, f8, f7, par9);\n this.renderPassModel.render(par1EntityLivingBase, f8, f7, f4, f3 - f2, f5, f6);\n\n if ((i & 240) == 16)\n {\n this.func_82408_c(par1EntityLivingBase, j, par9);\n this.renderPassModel.render(par1EntityLivingBase, f8, f7, f4, f3 - f2, f5, f6);\n }\n\n if ((i & 15) == 15)\n {\n f9 = (float)par1EntityLivingBase.ticksExisted + par9;\n //this.bindTexture(RES_ITEM_GLINT);\n GL11.glEnable(GL11.GL_BLEND);\n f10 = 0.5F;\n GL11.glColor4f(f10, f10, f10, 1.0F);\n GL11.glDepthFunc(GL11.GL_EQUAL);\n GL11.glDepthMask(false);\n\n for (int k = 0; k < 2; ++k)\n {\n GL11.glDisable(GL11.GL_LIGHTING);\n f11 = 0.76F;\n GL11.glColor4f(0.5F * f11, 0.25F * f11, 0.8F * f11, 1.0F);\n \tGL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);\n //GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE);\n GL11.glMatrixMode(GL11.GL_TEXTURE);\n GL11.glLoadIdentity();\n float f12 = f9 * (0.001F + (float)k * 0.003F) * 20.0F;\n float f13 = 0.33333334F;\n GL11.glScalef(f13, f13, f13);\n GL11.glRotatef(30.0F - (float)k * 60.0F, 0.0F, 0.0F, 1.0F);\n GL11.glTranslatef(0.0F, f12, 0.0F);\n GL11.glMatrixMode(GL11.GL_MODELVIEW);\n this.renderPassModel.render(par1EntityLivingBase, f8, f7, f4, f3 - f2, f5, f6);\n }\n\n GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);\n GL11.glMatrixMode(GL11.GL_TEXTURE);\n GL11.glDepthMask(true);\n GL11.glLoadIdentity();\n GL11.glMatrixMode(GL11.GL_MODELVIEW);\n GL11.glEnable(GL11.GL_LIGHTING);\n //GL11.glDisable(GL11.GL_BLEND);\n GL11.glDepthFunc(GL11.GL_LEQUAL);\n }\n\n GL11.glDisable(GL11.GL_BLEND);\n GL11.glEnable(GL11.GL_ALPHA_TEST);\n }\n }\n*/\n GL11.glDisable(GL11.GL_BLEND);\n \n GL11.glDepthMask(true);\n //this.renderEquippedItems(par1EntityLivingBase, par9);\n float f14 = par1EntityLivingBase.getBrightness(par9);\n i = this.getColorMultiplier(par1EntityLivingBase, f14, par9);\n OpenGlHelper.setActiveTexture(OpenGlHelper.lightmapTexUnit);\n GL11.glDisable(GL11.GL_TEXTURE_2D);\n OpenGlHelper.setActiveTexture(OpenGlHelper.defaultTexUnit);\n\n // The red hurt animation.\n if ((i >> 24 & 255) > 0 || par1EntityLivingBase.hurtTime > 0 || par1EntityLivingBase.deathTime > 0)\n {\n GL11.glDisable(GL11.GL_TEXTURE_2D);\n GL11.glDisable(GL11.GL_ALPHA_TEST);\n GL11.glEnable(GL11.GL_BLEND);\n GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);\n GL11.glDepthFunc(GL11.GL_EQUAL);\n\n if (par1EntityLivingBase.hurtTime > 0 || par1EntityLivingBase.deathTime > 0)\n {\n GL11.glColor4f(f14, 0.0F, 0.0F, 0.4F);\n this.mainModel.render(par1EntityLivingBase, f8, f7, f4, f3 - f2, f5, f6);\n\n for (int l = 0; l < 4; ++l)\n {\n if (this.inheritRenderPass(par1EntityLivingBase, l, par9) >= 0)\n {\n GL11.glColor4f(f14, 0.0F, 0.0F, 0.4F);\n this.renderPassModel.render(par1EntityLivingBase, f8, f7, f4, f3 - f2, f5, f6);\n }\n }\n }\n\n if ((i >> 24 & 255) > 0)\n {\n f9 = (float)(i >> 16 & 255) / 255.0F;\n f10 = (float)(i >> 8 & 255) / 255.0F;\n float f15 = (float)(i & 255) / 255.0F;\n f11 = (float)(i >> 24 & 255) / 255.0F;\n GL11.glColor4f(f9, f10, f15, f11);\n this.mainModel.render(par1EntityLivingBase, f8, f7, f4, f3 - f2, f5, f6);\n\n for (int i1 = 0; i1 < 4; ++i1)\n {\n if (this.inheritRenderPass(par1EntityLivingBase, i1, par9) >= 0)\n {\n GL11.glColor4f(f9, f10, f15, f11);\n this.renderPassModel.render(par1EntityLivingBase, f8, f7, f4, f3 - f2, f5, f6);\n }\n }\n }\n\n GL11.glDepthFunc(GL11.GL_LEQUAL);\n GL11.glDisable(GL11.GL_BLEND);\n GL11.glEnable(GL11.GL_ALPHA_TEST);\n GL11.glEnable(GL11.GL_TEXTURE_2D);\n }\n\n GL11.glDisable(GL12.GL_RESCALE_NORMAL);\n }\n catch (Exception exception)\n {\n exception.printStackTrace();\n }\n\n OpenGlHelper.setActiveTexture(OpenGlHelper.lightmapTexUnit);\n GL11.glEnable(GL11.GL_TEXTURE_2D);\n OpenGlHelper.setActiveTexture(OpenGlHelper.defaultTexUnit);\n GL11.glEnable(GL11.GL_CULL_FACE);\n GL11.glPopMatrix();\n this.passSpecialRender(par1EntityLivingBase, par2, par4, par6);\n MinecraftForge.EVENT_BUS.post(new RenderLivingEvent.Post(par1EntityLivingBase, this, par2, par4, par6));\n }", "title": "" }, { "docid": "90df3c8b757c160cd1e02e5582ac0e4c", "score": "0.62400645", "text": "public void renderEntities(Entity renderViewEntity, ICamera camera, float partialTicks) {\n }", "title": "" }, { "docid": "b0df925783525d541b2d7f0419b3ac6d", "score": "0.6172357", "text": "protected void renderLocalAccessories(T entity, EntityData<?> data, float partialTicks)\n {\n // No default behaviour\n }", "title": "" }, { "docid": "c88e697f0f2613642bd9066054f50201", "score": "0.61009157", "text": "@Override\r\n\tprotected void preRenderCallback(EntityAngel entitylivingbaseIn, float partialTickTime)\r\n {\r\n GlStateManager.scale(0.8F, 0.8F, 0.8F);\r\n }", "title": "" }, { "docid": "dd407a2b06bca4cf48e539284d7f9060", "score": "0.6097884", "text": "public void customRendering(T entity, double x, double y, double z, float entityYaw, float partialTicks) {\n GL11.glRotatef(entity.rotationYaw, 0f, 1f, 0f);\n GL11.glRotatef(-entity.rotationPitch, 1f, 0f, 0f);\n\n // adjust \"stuck\" depth\n if(entity.inGround) {\n GL11.glTranslated(0, 0, -entity.getStuckDepth());\n }\n\n customCustomRendering(entity, x, y, z, entityYaw, partialTicks);\n\n // rotate it so it faces forward\n GL11.glRotatef(-90f, 0f, 1f, 0f);\n\n // rotate the projectile it so it faces upwards\n GL11.glRotatef(-45, 0f, 0f, 1f);\n }", "title": "" }, { "docid": "566eecd3dac0010b9a096631cec94b1e", "score": "0.6052275", "text": "@SideOnly(Side.CLIENT)\n public abstract void render(EntityLivingBase entity, double x, double y, double z, float entityYaw, float partialTicks);", "title": "" }, { "docid": "6c0de9129c961318814527d4c95e6c96", "score": "0.59932417", "text": "@Override\n public void doRender(@Nonnull T entity, double x, double y, double z, float entityYaw, float partialTicks) {\n\n ITinkerProjectile handler = entity.getCapability(CapabilityTinkerProjectile.PROJECTILE_CAPABILITY, null);\n if(handler == null) {\n return;\n }\n ItemStack itemStack = handler.getItemStack();\n\n GL11.glPushMatrix();\n GL11.glEnable(GL12.GL_RESCALE_NORMAL);\n\n // last step: translate from 0/0/0 to correct position in world\n GL11.glTranslated(x, y, z);\n // mkae it smaller\n GL11.glScalef(0.5F, 0.5F, 0.5F);\n\n customRendering(entity, x, y, z, entityYaw, partialTicks);\n\n // arrow shake\n float f11 = (float) entity.arrowShake - partialTicks;\n if(f11 > 0.0F) {\n float f12 = -MathHelper.sin(f11 * 3.0F) * f11;\n GL11.glRotatef(f12, 0.0F, 0.0F, 1.0F);\n }\n\n if(renderManager == null || renderManager.renderEngine == null) {\n return;\n }\n\n // draw correct texture. not some weird block fragments.\n renderManager.renderEngine.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);\n\n if(!itemStack.isEmpty()) {\n Minecraft.getMinecraft().getRenderItem().renderItem(itemStack, ItemCameraTransforms.TransformType.NONE);\n }\n else {\n ItemStack dummy = new ItemStack(Items.STICK);\n Minecraft.getMinecraft().getRenderItem().renderItem(dummy, Minecraft.getMinecraft().getRenderItem().getItemModelMesher().getModelManager().getMissingModel());\n }\n\n GL11.glDisable(GL12.GL_RESCALE_NORMAL);\n GL11.glPopMatrix();\n\n super.doRender(entity, x, y, z, entityYaw, partialTicks);\n }", "title": "" }, { "docid": "11e8e58b2feae95a8d1959290eaceb42", "score": "0.58739215", "text": "protected void customCustomRendering(T entity, double x, double y, double z, float entityYaw, float partialTicks) {}", "title": "" }, { "docid": "0c0cdef30c7233509a5791dc5e9a0e99", "score": "0.5766924", "text": "private void onModuleUpdate() {\n //!\n //! Calculate the initial time of the frame.\n //!\n mTime = GLFW.glfwGetTime();\n\n do {\n //!\n //! Render until the display is not active.\n //!\n onModuleRender(GLFW.glfwGetTime());\n } while (mDisplay.isActive());\n }", "title": "" }, { "docid": "c92d1d7e1525be668ef049f9154d03e6", "score": "0.5721262", "text": "public void onRenderTick() {\n updateLang();\n updateRenderEngine();\n }", "title": "" }, { "docid": "3cd068df769cbe904891be209629e7c4", "score": "0.57109845", "text": "public void render(float partialTicks){\r\n\t\tif(blocks.size() > 0 && enabled){\r\n\t\t\tfor(int i = 0; i < blocks.size();i++){\r\n\t\t\t\tblocks.get(i).draw(partialTicks);\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "61864e9d27c03e1cd491193674017f21", "score": "0.5701763", "text": "public void livingTick() {\n super.livingTick();\n this.setMotion(Vector3d.ZERO);\n if (!this.isAIDisabled()) {\n this.prevRenderYawOffset = 0.0F;\n this.renderYawOffset = 0.0F;\n }\n\n }", "title": "" }, { "docid": "1b377d5937f1ef048b2a24c821948cd9", "score": "0.569012", "text": "public static void drawPlayerModel(int x, int y, int scale, float yaw, float pitch, EntityLivingBase entity) {\r\n\t\tGL11.glEnable(GL11.GL_COLOR_MATERIAL);\r\n\t\tGL11.glPushMatrix();\r\n\t\tGL11.glTranslatef(x + 76, y, 50.0F);\r\n\t\tGL11.glScalef(-scale, scale, scale);\r\n\t\tGL11.glRotatef(180.0F, 0.0F, 0.0F, 1.0F);\r\n\t\tfloat f2 = entity.renderYawOffset;\r\n\t\tfloat f3 = entity.rotationYaw;\r\n\t\tfloat f4 = entity.rotationPitch;\r\n\t\tfloat f5 = entity.prevRotationYawHead;\r\n\t\tfloat f6 = entity.rotationYawHead;\r\n\t\tGL11.glRotatef(135.0F, 0.0F, 1.0F, 0.0F);\r\n\t\tRenderHelper.enableStandardItemLighting();\r\n\t\tGL11.glRotatef(-135.0F, 0.0F, 1.0F, 0.0F);\r\n\t\tGL11.glRotatef(-((float) Math.atan(pitch / 40.0F)) * 20.0F, 1.0F, 0.0F, 0.0F);\r\n\t\tentity.renderYawOffset = (float) Math.atan(yaw / 40.0F) * 20.0F;\r\n\t\tentity.rotationYaw = (float) Math.atan(yaw / 40.0F) * 40.0F;\r\n\t\tentity.rotationPitch = -((float) Math.atan(pitch / 40.0F)) * 20.0F;\r\n\t\tentity.rotationYawHead = entity.rotationYaw;\r\n\t\tentity.prevRotationYawHead = entity.rotationYaw;\r\n\t\tGL11.glTranslatef(0.0F, entity.yOffset, 0.0F);\r\n\t\tRenderManager.instance.playerViewY = 180.0F;\r\n\t\tRenderManager.instance.renderEntityWithPosYaw(entity, 0.0D, 0.0D, 0.0D, 0.0F, 1.0F);\r\n\t\tentity.renderYawOffset = f2;\r\n\t\tentity.rotationYaw = f3;\r\n\t\tentity.rotationPitch = f4;\r\n\t\tentity.prevRotationYawHead = f5;\r\n\t\tentity.rotationYawHead = f6;\r\n\t\tGL11.glPopMatrix();\r\n\t\tRenderHelper.disableStandardItemLighting();\r\n\t\tGL11.glDisable(GL12.GL_RESCALE_NORMAL);\r\n\t\tOpenGlHelper.setActiveTexture(OpenGlHelper.lightmapTexUnit);\r\n\t\tGL11.glDisable(GL11.GL_TEXTURE_2D);\r\n\t\tOpenGlHelper.setActiveTexture(OpenGlHelper.defaultTexUnit);\r\n\t}", "title": "" }, { "docid": "371f047e58ef1b4e78d136c4a91bb131", "score": "0.56899184", "text": "public static void onPreRenderShaders(float partialTicks) {\n\t\tMinecraftForge.EVENT_BUS.post(new PreRenderShadersEvent(partialTicks));\n\t}", "title": "" }, { "docid": "319a84b1ea85e1b9089b0bfd59c91af3", "score": "0.5632428", "text": "private void onModuleUpdate() {\n if (mTime == -1L) {\n mTime = System.currentTimeMillis();\n }\n\n //!\n //! Render until the display is not active.\n //!\n onModuleRender(System.currentTimeMillis());\n\n //!\n //! Request to render again.\n //!\n onAnimationRequest(this::onModuleUpdate);\n }", "title": "" }, { "docid": "9b0b31d1f404a7c74f1185c0bae66fa2", "score": "0.5594924", "text": "public void onLivingUpdate()\n {\n this.updateArmSwingProgress();\n float var1 = this.getBrightness(1.0F);\n\n if (var1 > 0.5F)\n {\n this.entityAge += 2;\n }\n\n super.onLivingUpdate();\n }", "title": "" }, { "docid": "f7b7b466509e65cd7294e10ba67f6479", "score": "0.5559601", "text": "@Override\n public void onWorldRender(RenderEvent event) {\n GlStateManager.pushMatrix();\n mc.world.playerEntities.stream().filter(entityPlayer -> entityPlayer != mc.player).forEach(Chams::drawEntityOutline);\n mc.world.loadedEntityList.stream().filter(entity -> EntityUtil.isLiving(entity) && entity != mc.player).forEach(Chams::drawEntityOutline);\n// entityFBO.unbindFramebuffer();\n GlStateManager.popMatrix();\n// mc.getFramebuffer().bindFramebuffer(true);\n\n// entityFBO.framebufferRenderExt(mc.displayWidth, mc.displayHeight, false);\n\n GlStateManager.color(1,1,1);\n GlStateManager.enableBlend();\n }", "title": "" }, { "docid": "5d2ef5d617a89815e043b869bb3d452e", "score": "0.5535015", "text": "private void onUpdateFrame(FrameTime frameTime) {\n Frame frame = arFragment.getArSceneView().getArFrame();\n\n //In case there's no frame\n if (frame == null) {\n return;\n }\n\n //Used to Create Model at a certain Point on the Floor automatically\n if (frame.getCamera().getTrackingState() == TrackingState.TRACKING && !placed) {\n Pose pos = frame.getCamera().getPose().compose(Pose.makeTranslation(1f, 0f, -2.5f));\n\n //Anchor Node to set the Model in place\n Anchor anchor = arFragment.getArSceneView().getSession().createAnchor(pos);\n AnchorNode anchorNode = new AnchorNode(anchor);\n anchorNode.setParent(arFragment.getArSceneView().getScene());\n\n createModel(anchorNode, activeNode, activeRenderable);\n }\n }", "title": "" }, { "docid": "ca42aa2c2fa65beb1e71f051addee672", "score": "0.5531107", "text": "@Override\n\tprotected void applyRotations(EntityLiving entityLiving, float p_77043_2_, float rotationYaw, float partialTicks) {\n\t\tsuper.applyRotations(entityLiving, p_77043_2_, rotationYaw, partialTicks);\n\t}", "title": "" }, { "docid": "a4f3a69cff1d0221d629b66012848036", "score": "0.5514919", "text": "private void onModuleRender(long time) {\n //!\n //! Handle the render notification.\n //!\n mLifecycle.onRender((time - mTime) / 1000.0f);\n\n //!\n //! Update the new delta time.\n //!\n mTime = time;\n\n //!\n //! Update the render.\n //!\n //! NOTE: House-keeping of render component(s).\n //!\n mRender.onModuleUpdate();\n\n //!\n //! Update the display.\n //!\n //! NOTE: Will synchronise with the window.\n //!\n mDisplay.onModuleUpdate();\n }", "title": "" }, { "docid": "c8c2c16373b900a9889cf447f5fcdb89", "score": "0.55135506", "text": "@SubscribeEvent\n public static void onLivingTick(LivingEvent.LivingUpdateEvent event) {\n \tLivingEntity entity = event.getEntityLiving();\n \tWorld world = entity.getEntityWorld();\n\n\t\tapplyFluidWalkingEnchants(world, entity);\n\t\tsuffocateInSpace(world, entity);\n\t\tdecreaseGravityOnLuna(world, entity);\n }", "title": "" }, { "docid": "8fc1e3d9291e2c129c958f9d4db14650", "score": "0.54500276", "text": "private void onModuleRender(double time) {\n //!\n //! Handle the render notification.\n //!\n mLifecycle.onRender((float) (time - mTime));\n\n //!\n //! Update the new delta time.\n //!\n mTime = time;\n\n //!\n //! Update the render.\n //!\n //! NOTE: House-keeping of render component(s).\n //!\n mRender.onModuleUpdate();\n\n //!\n //! Update the display.\n //!\n //! NOTE: Will synchronise with the window.\n //!\n mDisplay.onModuleUpdate();\n }", "title": "" }, { "docid": "7480ea115abf7bc81828d745ef3af50c", "score": "0.544914", "text": "public void doRender(ModEntityTNTPrimed par1TNTPrimed, double x, double y, double z, float par5, float par6)\n {\n GL11.glPushMatrix();\n GL11.glTranslatef((float)x, (float)y, (float)z);\n float f2;\n\n if ((float)par1TNTPrimed.getFuse() - par6 + 1.0F < 10.0F)\n {\n f2 = 1.0F - ((float)par1TNTPrimed.getFuse() - par6 + 1.0F) / 10.0F;\n\n if (f2 < 0.0F)\n {\n f2 = 0.0F;\n }\n\n if (f2 > 1.0F)\n {\n f2 = 1.0F;\n }\n\n f2 *= f2;\n f2 *= f2;\n float f3 = 1.0F + f2 * 0.3F;\n GL11.glScalef(f3, f3, f3);\n }\n\n f2 = (1.0F - ((float)par1TNTPrimed.getFuse() - par6 + 1.0F) / 100.0F) * 0.8F;\n this.bindEntityTexture(par1TNTPrimed);\n this.blockRenderer.renderBlockAsItem(ModBlocks.modTNT[(par1TNTPrimed.getFuse() / 20) + 1], 0, par1TNTPrimed.getBrightness(par6));\n\n// if (par1TNTPrimed.getFuse() / 5 % 2 == 0)\n// {\n// GL11.glDisable(GL11.GL_TEXTURE_2D);\n// GL11.glDisable(GL11.GL_LIGHTING);\n// GL11.glEnable(GL11.GL_BLEND);\n// GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_DST_ALPHA);\n// GL11.glColor4f(1.0F, 1.0F, 1.0F, f2);\n// this.blockRenderer.renderBlockAsItem(ModBlocks.modTNT[(par1TNTPrimed.getFuse() / 20) + 1], 0, 1.0F);\n// GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);\n// GL11.glDisable(GL11.GL_BLEND);\n// GL11.glEnable(GL11.GL_LIGHTING);\n// GL11.glEnable(GL11.GL_TEXTURE_2D);\n// }\n\n GL11.glPopMatrix();\n }", "title": "" }, { "docid": "37d7dcc90b606b2f7c9533888e16e9a2", "score": "0.544535", "text": "public void doRender(EntityLiving entity, double x, double y, double z, float p_76986_8_, float partialTicks)\n {\n this.func_180579_a((EntityMaxZombie)entity, x, y, z, p_76986_8_, partialTicks);\n }", "title": "" }, { "docid": "d68d3dd3a47afc5344e3a75e4ed0a253", "score": "0.54032207", "text": "protected void preRenderCallback(EntityLivingBase par1EntityLiving, float par2)\n {\n this.func_82438_a((EntityCrawlingHand)par1EntityLiving, par2);\n }", "title": "" }, { "docid": "37955bb517cb71c1e299667582c70df5", "score": "0.5390325", "text": "public void onLivingUpdate()\n {\n super.onLivingUpdate();\n }", "title": "" }, { "docid": "5e958324e87d5044077c8cbbb86ec390", "score": "0.53654647", "text": "public void present(float deltaTime) {\n\t\tGdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);\n\t\trenderer.setProjectionMatrix(gCamera.combined);\n\t\tbatch.setProjectionMatrix(gCamera.combined);\n\n\t\tbatch.disableBlending();\n\t\tbatch.enableBlending();\n\t\tswitch (curStep) {\n\t\t\tcase GAME_READY: presentReady(deltaTime); break;\n\t\t\tcase GAME_RUNNING: presentRunning(deltaTime); break;\n\t\t\tcase GAME_PAUSED: presentPaused(deltaTime); break;\n\t\t\tcase GAME_LEVEL_END: presentLevelEnd(deltaTime); break;\n\t\t\tcase GAME_OVER: presentOver(deltaTime); break;\t\n\t\t}\n\n\t\tstage.draw();\n\t}", "title": "" }, { "docid": "96242067e53a36d4b77e25ff8ac79d25", "score": "0.5363913", "text": "@Override\r\n\tpublic void beforeRender(float dt) {\n\r\n\t}", "title": "" }, { "docid": "ce86e37b8598bc946f553334a38f2180", "score": "0.5342503", "text": "public void render(){ \r\n\t\tGL11.glPushMatrix();\r\n\t\tGL11.glTranslatef(x, y, z);\r\n\t\tGL11.glColor4f(Color.x, Color.y, Color.z, (float)(Math.random())); //Color.vx\r\n\t\tVGO v=getModel();\r\n\t\tv.orientPlain(r);\r\n\t\tv.orient(base);\r\n\t\t\r\n\t\ttFling+=0.01f;\r\n\t\tif(tFling>5){\r\n\t\t\ttHide=tActive;\r\n\t\t\ttActive+=0.1f;\r\n\t\t\tif(tHide>=1){\r\n\t\t\t\ttHide=0f;\r\n\t\t\t\ttActive=0.1f;\r\n\t\t\t}\r\n\t\t\ttFling=0f;\r\n\t\t}\r\n\t\t\r\n\t\tv.render();//tHide,tActive,tFling,1);\r\n\t\tGL11.glPopMatrix();\r\n\t}", "title": "" }, { "docid": "ac7ca526e1b811bb5c751ad1019f9058", "score": "0.5327287", "text": "@Override\n\tpublic void render(float deltaTime) {\n\t\t\n\t}", "title": "" }, { "docid": "24beecb18d184d038003f714ff61385e", "score": "0.53209454", "text": "public void render(Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale) {\n/* 64 */ AbstractChestHorse abstractchesthorse = (AbstractChestHorse)entityIn;\n/* 65 */ boolean flag = (!abstractchesthorse.isChild() && abstractchesthorse.func_190695_dh());\n/* 66 */ setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scale, entityIn);\n/* */ \n/* 68 */ if (this.isChild) {\n/* */ \n/* 70 */ float f = 2.0F;\n/* 71 */ GlStateManager.pushMatrix();\n/* 72 */ GlStateManager.translate(0.0F, this.childYOffset * scale, this.childZOffset * scale);\n/* 73 */ GlStateManager.popMatrix();\n/* 74 */ GlStateManager.pushMatrix();\n/* 75 */ float f1 = 0.7F;\n/* 76 */ GlStateManager.scale(0.71428573F, 0.64935064F, 0.7936508F);\n/* 77 */ GlStateManager.translate(0.0F, 21.0F * scale, 0.22F);\n/* 78 */ this.head.render(scale);\n/* 79 */ GlStateManager.popMatrix();\n/* 80 */ GlStateManager.pushMatrix();\n/* 81 */ float f2 = 1.1F;\n/* 82 */ GlStateManager.scale(0.625F, 0.45454544F, 0.45454544F);\n/* 83 */ GlStateManager.translate(0.0F, 33.0F * scale, 0.0F);\n/* 84 */ this.body.render(scale);\n/* 85 */ GlStateManager.popMatrix();\n/* 86 */ GlStateManager.pushMatrix();\n/* 87 */ GlStateManager.scale(0.45454544F, 0.41322312F, 0.45454544F);\n/* 88 */ GlStateManager.translate(0.0F, 33.0F * scale, 0.0F);\n/* 89 */ this.leg1.render(scale);\n/* 90 */ this.leg2.render(scale);\n/* 91 */ this.leg3.render(scale);\n/* 92 */ this.leg4.render(scale);\n/* 93 */ GlStateManager.popMatrix();\n/* */ }\n/* */ else {\n/* */ \n/* 97 */ this.head.render(scale);\n/* 98 */ this.body.render(scale);\n/* 99 */ this.leg1.render(scale);\n/* 100 */ this.leg2.render(scale);\n/* 101 */ this.leg3.render(scale);\n/* 102 */ this.leg4.render(scale);\n/* */ } \n/* */ \n/* 105 */ if (flag) {\n/* */ \n/* 107 */ this.field_191226_i.render(scale);\n/* 108 */ this.field_191227_j.render(scale);\n/* */ } \n/* */ }", "title": "" }, { "docid": "fb44e50c24571e9eafa68c27bf495019", "score": "0.53198254", "text": "@Override\n\tpublic void render(float delta) {\n\t\tGdx.gl.glClearColor(0, 0, 0.2f, 1);\n\t\tGdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);\n\t\tupdate(delta);\n\t\tbatch.disableBlending();\n\t\tbatch.enableBlending();\n\t\tpresent(delta);\n\t\tsuper.render(delta);\n\t}", "title": "" }, { "docid": "541c88e9529ab43fd927217fd72b6c4a", "score": "0.52924126", "text": "public void renderTileEntityAt(TileGolemBuilder tile, double par2, double par4, double par6, float pt, int destroyStage) {\n/* 41 */ GL11.glPushMatrix();\n/* 42 */ GL11.glTranslatef((float)par2 + 0.5F, (float)par4, (float)par6 + 0.5F);\n/* 43 */ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);\n/* */ \n/* 45 */ func_147499_a(TEX);\n/* */ \n/* 47 */ if (destroyStage >= 0) {\n/* */ \n/* 49 */ func_147499_a(field_178460_a[destroyStage]);\n/* 50 */ GlStateManager.func_179128_n(5890);\n/* 51 */ GlStateManager.func_179094_E();\n/* 52 */ GlStateManager.func_179152_a(5.0F, 5.0F, 2.0F);\n/* 53 */ GlStateManager.func_179109_b(0.0625F, 0.0625F, 0.0625F);\n/* 54 */ GlStateManager.func_179128_n(5888);\n/* */ } else {\n/* 56 */ GL11.glMatrixMode(5890);\n/* 57 */ GL11.glLoadIdentity();\n/* 58 */ GL11.glScalef(1.0F, -1.0F, 1.0F);\n/* 59 */ GL11.glMatrixMode(5888);\n/* */ } \n/* */ \n/* */ \n/* */ \n/* 64 */ EnumFacing facing = BlockStateUtils.getFacing(tile.func_145832_p());\n/* 65 */ if (tile.func_145831_w() != null) {\n/* 66 */ switch (facing.ordinal()) { case 5:\n/* 67 */ GL11.glRotatef(270.0F, 0.0F, 1.0F, 0.0F); break;\n/* 68 */ case 4: GL11.glRotatef(90.0F, 0.0F, 1.0F, 0.0F); break;\n/* 69 */ case 3: GL11.glRotatef(180.0F, 0.0F, 1.0F, 0.0F);\n/* */ break; }\n/* */ \n/* */ \n/* */ \n/* */ }\n/* 75 */ this.model.renderAllExcept(new String[] { \"press\" });\n/* */ \n/* 77 */ GL11.glPushMatrix();\n/* 78 */ float h = tile.press;\n/* 79 */ double s = Math.sin(Math.toRadians(h)) * 0.625D;\n/* 80 */ GL11.glTranslated(0.0D, -s, 0.0D);\n/* 81 */ this.model.renderPart(\"press\");\n/* 82 */ GL11.glPopMatrix();\n/* */ \n/* 84 */ if (destroyStage >= 0) {\n/* */ \n/* 86 */ GlStateManager.func_179128_n(5890);\n/* 87 */ GlStateManager.func_179121_F();\n/* 88 */ GlStateManager.func_179128_n(5888);\n/* */ } else {\n/* 90 */ GL11.glMatrixMode(5890);\n/* 91 */ GL11.glLoadIdentity();\n/* 92 */ GL11.glScalef(1.0F, 1.0F, 1.0F);\n/* 93 */ GL11.glMatrixMode(5888);\n/* */ } \n/* */ \n/* */ \n/* */ \n/* 98 */ GL11.glTranslatef(-0.3125F, 0.625F, 1.3125F);\n/* 99 */ GL11.glRotatef(90.0F, -1.0F, 0.0F, 0.0F);\n/* 100 */ TextureAtlasSprite icon = Minecraft.func_71410_x().func_175602_ab().func_175023_a().func_178122_a(Blocks.field_150353_l.func_176223_P());\n/* 101 */ UtilsFX.renderQuadFromIcon(icon, 0.625F, 1.0F, 1.0F, 1.0F, 200, 771, 1.0F);\n/* */ \n/* 103 */ GL11.glPopMatrix();\n/* */ }", "title": "" }, { "docid": "3edfcfe768c95913206843841d5ac483", "score": "0.5290747", "text": "public void doRender(EntityLivingBase entity, double x, double y, double z, float p_76986_8_, float partialTicks)\n {\n this.func_180579_a((EntityMaxZombie)entity, x, y, z, p_76986_8_, partialTicks);\n }", "title": "" }, { "docid": "ca1c524d6683d62ea64352200797ac9d", "score": "0.52867424", "text": "public void fullRenderRefresh() {\n gameChanged = true;\n visionChanged = true;\n backgroundChanged = true;\n selectionChanged = true;\n movementChanged = true;\n }", "title": "" }, { "docid": "61c4316e3904dbdf4838d7dcc0cf326f", "score": "0.5285654", "text": "@Override\n public void onNewFrame(HeadTransform headTransform) {\n float[] mtx = new float[16];\n GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT | GLES20.GL_DEPTH_BUFFER_BIT);\n surface.updateTexImage();\n surface.getTransformMatrix(mtx);\n }", "title": "" }, { "docid": "360a6e741bff7b464d23b86de7693d71", "score": "0.52765054", "text": "boolean render(final CoreGL gl, float deltaTime);", "title": "" }, { "docid": "128ed8c6579e32ce08c9968f16f271de", "score": "0.5258933", "text": "public void onLivingUpdate()\n {\n if (this.worldObj.isDaytime() && !this.worldObj.isRemote && !this.isChild())\n {\n float var1 = this.getBrightness(100.0F);\n\n if (var1 > 0.5F && this.rand.nextFloat() * 30.0F < (var1 - 0.4F) * 2.0F && this.worldObj.canBlockSeeTheSky(MathHelper.floor_double(this.posX), MathHelper.floor_double(this.posY), MathHelper.floor_double(this.posZ)))\n {\n boolean var2 = true;\n ItemStack var3 = this.getEquipmentInSlot(4);\n\n if (var3 != null)\n {\n if (var3.isItemStackDamageable())\n {\n var3.setItemDamage(var3.getItemDamageForDisplay() + this.rand.nextInt(2));\n\n if (var3.getItemDamageForDisplay() >= var3.getMaxDamage())\n {\n this.renderBrokenItemStack(var3);\n this.setCurrentItemOrArmor(4, (ItemStack)null);\n }\n }\n\n var2 = false;\n }\n\n if (var2)\n {\n this.setFire(-99);\n }\n }\n }\n\n super.onLivingUpdate();\n }", "title": "" }, { "docid": "ae211615619db649b6936e4f156588e7", "score": "0.52524304", "text": "protected void tick() {\n\t\tentities.updateEntities();\n\t\tentities.lateUpdateEntities();\n\t\tentities.killUpdateEntities();\n\t\tif(Game.isServer) entities.updateRespawnEntities();\n\t}", "title": "" }, { "docid": "8dd819a7d3d94afd8b2415cbba36bdc3", "score": "0.52280265", "text": "private void render(Vec3d playerPos) {\n GlStateManager.pushMatrix();\n GlStateManager.translated(- playerPos.getX(), - playerPos.getY(), - playerPos.getZ());//The render starts at the player, so we subtract the player coords and move the render to 0,0,0\n GlStateManager.callList(callList);\n GlStateManager.popMatrix();\n }", "title": "" }, { "docid": "25650d54f5a37cacde2aabd9415a6bac", "score": "0.5217933", "text": "@Override\n\tprotected void processEntity(Entity entity, float deltaTime) {\n\t\t\n\t}", "title": "" }, { "docid": "3ab6a7cefc296f12997b1e7f3165c2c3", "score": "0.5206622", "text": "public void drawScreen(int mouseX, int mouseY, float partialTicks)\r\n\t{\r\n\r\n\t\tGL11.glDisable(GL11.GL_ALPHA_TEST);\r\n\t\tGL11.glEnable(GL11.GL_ALPHA_TEST);\r\n\t\tTessellator tessellator = Tessellator.getInstance();\r\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\r\n\t\tMinecraft.getMinecraft().getTextureManager().bindTexture(getRandomTexture());\r\n\r\n\t\tGL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);\r\n\t\tbufferbuilder.begin(7, DefaultVertexFormats.POSITION_TEX);\r\n\t\tbufferbuilder.pos(0.0D, (double)this.height, 0.0D).tex(0, (double) (1F + (float)mouseX)).endVertex();\r\n\t\tbufferbuilder.pos((double)this.width, (double)this.height, 0.0D).tex((double)1F, (double)(1F + (float)mouseX)).endVertex();\r\n\t\tbufferbuilder.pos((double)this.width, 0.0D, 0.0D).tex((double)1F , (double)mouseX).endVertex();\r\n\t\tbufferbuilder.pos(0, 0, 0).tex(0, mouseX).endVertex();\r\n\t\ttessellator.draw();\r\n\r\n\t\t//title textures + splash\r\n\t\tthis.mc.getTextureManager().bindTexture(MINECRAFT_TITLE_TEXTURES);\r\n\t\tGlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);\r\n\t\tint j = this.width / 2 - 137;\r\n\t\tif ((double)this.minceraftRoll < 1.0E-4D)\r\n\t\t{\r\n\t\t\tthis.drawTexturedModalRect(j + 0, 30, 0, 0, 99, 44);\r\n\t\t\tthis.drawTexturedModalRect(j + 99, 30, 129, 0, 27, 44);\r\n\t\t\tthis.drawTexturedModalRect(j + 99 + 26, 30, 126, 0, 3, 44);\r\n\t\t\tthis.drawTexturedModalRect(j + 99 + 26 + 3, 30, 99, 0, 26, 44);\r\n\t\t\tthis.drawTexturedModalRect(j + 155, 30, 0, 45, 155, 44);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tthis.drawTexturedModalRect(j + 0, 30, 0, 0, 155, 44);\r\n\t\t\tthis.drawTexturedModalRect(j + 155, 30, 0, 45, 155, 44);\r\n\t\t}\r\n\t\tthis.mc.getTextureManager().bindTexture(field_194400_H);\r\n\t\tdrawModalRectWithCustomSizedTexture(j + 88, 67, 0.0F, 0.0F, 98, 14, 128.0F, 16.0F);\r\n\t\tGlStateManager.pushMatrix();\r\n\t\tGlStateManager.translate((float)(this.width / 2 + 90), 70.0F, 0.0F);\r\n\t\tGlStateManager.rotate(-20.0F, 0.0F, 0.0F, 1.0F);\r\n\t\tfloat f = 1.8F - MathHelper.abs(MathHelper.sin((float)(Minecraft.getSystemTime() % 1000L) / 1000.0F * ((float)Math.PI * 2F)) * 0.1F);\r\n\t\tf = f * 100.0F / (float)(this.fontRenderer.getStringWidth(this.splashText) + 32);\r\n\t\tGlStateManager.scale(f, f, f);\r\n\t\tthis.drawCenteredString(this.fontRenderer, this.splashText, 0, -8, -256);\r\n\t\tGlStateManager.popMatrix();\r\n\t\t//End\r\n\r\n\t\tString s = \"Minecraft 1.12.2\";\r\n\r\n\t\tif (this.mc.isDemo())\r\n\t\t{\r\n\t\t\ts = s + \" Demo\";\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\ts = s + (\"release\".equalsIgnoreCase(this.mc.getVersionType()) ? \"\" : \"/\" + this.mc.getVersionType());\r\n\t\t}\r\n\t\tthis.drawString(this.fontRenderer, \"Frame: \"+RandomTexture, this.width - this.fontRenderer.getStringWidth(\"Frame: \"+RandomTexture) - 2, this.height - 30, 16777215);\r\n\t\tthis.drawString(this.fontRenderer, \"Modified by Will0376\", this.width - this.fontRenderer.getStringWidth(\"Modified by Will0376\") - 2, this.height - 20, 16777215);\r\n\r\n\t\tList<String> brandings = Lists.reverse(FMLCommonHandler.instance().getBrandings(true));\r\n\t\tList<String> brdlist = new ArrayList<>();\r\n\t\tfor(int i = 0;i < brandings.size();i++){\r\n\t\t\tif(brandings.get(i).contains(\"MCP\")){\r\n\t\t\t}\r\n\t\t\telse if(brandings.get(i).contains(\"Forge\")){\r\n\t\t\t\tbrdlist.add(\"Forge:\"+(brandings.get(i).split(\"Forge\")[1]));\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tbrdlist.add(brandings.get(i));\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor (int brdline = 0; brdline < brdlist.size(); brdline++)\r\n\t\t{\r\n\t\t\tString brd = brdlist.get(brdline);\r\n\t\t\tif (!Strings.isNullOrEmpty(brd))\r\n\t\t\t{\r\n\t\t\t\tthis.drawString(this.fontRenderer, brd, 2, this.height - ( 10 + brdline * (this.fontRenderer.FONT_HEIGHT + 1)), 16777215);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.drawString(this.fontRenderer, \"Copyright Mojang AB. Do not distribute!\", this.widthCopyrightRest, this.height - 10, -1);\r\n\r\n\r\n\t\tsuper.drawScreen(mouseX, mouseY, partialTicks);\r\n\t}", "title": "" }, { "docid": "ca02fb52982bc7511940e0a400560946", "score": "0.5203286", "text": "@SideOnly(Side.CLIENT)\n boolean needsRenderUpdate(World world, BlockPos pos, IBlockState state, T tile);", "title": "" }, { "docid": "cb5e40305983d90e228f9754dc7813de", "score": "0.52009535", "text": "@Override\n\tpublic void render(Entity parEntity, float parTime, float parSwingSuppress, float par4, float parHeadAngleY, float parHeadAngleX, float par7)\n {\n \trenderElephant((EntityElephant) parEntity, parTime, parSwingSuppress, par4, parHeadAngleY, parHeadAngleX, par7);\n }", "title": "" }, { "docid": "7bfe671da265bfaca166394876f94d8f", "score": "0.5192048", "text": "public void renderLoop() {\n\t\tplayer.move(calculateVectorDirectionBetweenEyeAndCenter());\n\t\tcamera.move();\n\t\tm.setLookAt(camera.getPosition().x,\n\t\t\t\tcamera.getPosition().y + 10,\n\t\t\t\tcamera.getPosition().z,\n\t\t\t\tplayer.getPosition().x,\n\t\t\t\tplayer.getPosition().y + 10,\n\t\t\t\tplayer.getPosition().z,\n\t\t\t\tcalculateUpVectorOfCameraPosition(secondOrthogonalVector).x,\n\t\t\t\tcalculateUpVectorOfCameraPosition(secondOrthogonalVector).y,\n\t\t\t\tcalculateUpVectorOfCameraPosition(secondOrthogonalVector).z);\n\t\tm.get(fb);\n\n\t\tglLoadMatrixf(fb);\n\t\t\n\t\tglPushMatrix();\n\t\t\tupdateSpotLight();\n\t\t\tupdatePointLight();\n\t\tglPopMatrix();\n\t\t\n\t\tglPushMatrix();\n\t\t\tglPolygonMode(GL_BACK, GL_FILL);\n\t\t\tglPolygonMode(GL_FRONT, GL_POINT);\n\t\t\tterrain.generateCave();\n\t\tglPopMatrix();\n\t\t\n\t\tglPushMatrix();\n\t\t\tglPolygonMode(GL_FRONT, GL_FILL);\n\t\t\tterrain.generateGround();\n\t\tglPopMatrix();\n\n\t\tglPushMatrix();\n\t\t\tterrain.drawEnd();\n\t\tglPopMatrix();\n\t\t\n\t\tglPushMatrix();\n\t\t\tglTranslatef(player.getPosition().x, player.getPosition().y, player.getPosition().z);\n\t\t\tglRotatef(player.getRotY(), 0, 1, 0);\n\t\t\tplayer.getModel().draw(player.getMoveAngle());\n\t\tglPopMatrix();\n\t}", "title": "" }, { "docid": "f4f3145c338d99a82694eb4601bcfe4f", "score": "0.51913255", "text": "protected void renderModel(EntityEnderPig p_77036_1_, float p_77036_2_, float p_77036_3_, float p_77036_4_, float p_77036_5_, float p_77036_6_, float p_77036_7_)\n {\n \tif (p_77036_1_.getSaddled()) {\n \t\tthis.bindTexture(saddledPigTextures);\n \t\tGL11.glPushMatrix();\n \t\tGL11.glScaled(1.1, 1.1, 1.1);\n \t\tGL11.glTranslated(0, -0.08, 0);\n \t\tthis.mainModel.render(p_77036_1_, p_77036_2_, p_77036_3_, p_77036_4_, p_77036_5_, p_77036_6_, p_77036_7_);\n \t\tGL11.glPopMatrix();\n \t}\n \t\n this.bindEntityTexture(p_77036_1_);\n this.mainModel.render(p_77036_1_, p_77036_2_, p_77036_3_, p_77036_4_, p_77036_5_, p_77036_6_, p_77036_7_);\n\n if (p_77036_1_.hurtTime > 0)\n {\n GL11.glDepthFunc(GL11.GL_EQUAL);\n GL11.glDisable(GL11.GL_TEXTURE_2D);\n GL11.glEnable(GL11.GL_BLEND);\n GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);\n GL11.glColor4f(1.0F, 0.0F, 0.0F, 0.5F);\n this.mainModel.render(p_77036_1_, p_77036_2_, p_77036_3_, p_77036_4_, p_77036_5_, p_77036_6_, p_77036_7_);\n GL11.glEnable(GL11.GL_TEXTURE_2D);\n GL11.glDisable(GL11.GL_BLEND);\n GL11.glDepthFunc(GL11.GL_LEQUAL);\n }\n }", "title": "" }, { "docid": "986423c6f243e2450074f427caeb319f", "score": "0.5172425", "text": "private void finalRenderToTexture() {\n\t\tGL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);\n\t\tGL11.glCullFace(GL11.GL_BACK);\n\t\tGL11.glColorMask(true, true, true, true);\n\t\tGL11.glDepthFunc(GL11.GL_LEQUAL);\n\t\tGL11.glStencilOp(GL11.GL_KEEP, GL11.GL_KEEP, GL11.GL_KEEP);\n\t\tGL11.glDepthMask(false);\n\t\tGL11.glEnable(GL11.GL_STENCIL_TEST);\n\n\t\t// ambient pass\n\t\tGL11.glStencilFunc(GL11.GL_NOTEQUAL, 0, 0xff);\n\t\tphongShadowContext.uniform1f(\"ambientOnly\", 1);\n\t\tfor (PhysicsEntity<? extends RenderEntity> e : entities) {\n\t\t\tRenderEntity re = e.getWorldEntity();\n\t\t\tre.render(phongShadowContext);\n\t\t}\n\n\t\t// diffuse pass\n\t\tGL11.glStencilFunc(GL11.GL_EQUAL, 0, 0xff);\n\t\tphongShadowContext.uniform1f(\"ambientOnly\", 0);\n\t\tfor (PhysicsEntity<? extends RenderEntity> e : entities) {\n\t\t\tRenderEntity re = e.getWorldEntity();\n\t\t\tre.render(phongShadowContext);\n\t\t}\n\n\t\tGL11.glDisable(GL11.GL_BLEND);\n\t\tGL11.glDepthFunc(GL11.GL_LEQUAL);\n\t\tGL11.glDepthMask(true);\n\t\tGL11.glDisable(GL11.GL_STENCIL_TEST);\n\n\t\t// SCREEN POST PROCESSING\n\t\tscreenBuffer.copyPixels();\n\t}", "title": "" }, { "docid": "f699cd664e3200f649bb7bfe07bfbf26", "score": "0.51682097", "text": "public void markRenderModelsModified() {\n\t\t\n\t\t// TODO dispose of the VBOs!!!\n\t\trenderUnits = null;\n\t\t\n\t}", "title": "" }, { "docid": "b49691cbb79975ced609e47660dbb5b8", "score": "0.5141555", "text": "@Override\n public void update ( long t )\n {\n try\n { \n // Iterate through all entities, filtering by those that contain the specific set of components, that this system is intended to work with.\n \n for ( ECSEntity entity : engine.getEntities ().values () )\n { \n if ( entity.hasComponents ( transform, physics ) )\n { \n // Update physics simulation.\n \n updatePhysics ( entity, t );\n \n // Console logger.\n \n logger.log ();\n }\n } \n \n // Swap the double buffers.\n \n engine.swapBuffer ();\n }\n catch ( Exception e )\n { \n TextFormat.printFormattedException ( e, true );\n }\n }", "title": "" }, { "docid": "7bb167a1d5e57d40631ab4a75b1a3eff", "score": "0.51296663", "text": "protected void renderModel(EntityLivingBase p_77036_1_, float p_77036_2_, float p_77036_3_, float p_77036_4_, float p_77036_5_, float p_77036_6_, float p_77036_7_)\n {\n this.renderModel((EntityEnderPig)p_77036_1_, p_77036_2_, p_77036_3_, p_77036_4_, p_77036_5_, p_77036_6_, p_77036_7_);\n }", "title": "" }, { "docid": "fecfc589b5267c0135de30b236fcb854", "score": "0.512364", "text": "@Override\n public void render(float delta) {\n super.render(delta);\n stateTime += delta;\n loadingImage.setDrawable(loadingAnim.getKeyFrame(stateTime,true));\n switch (GameController.getInstance().getCurrentState()) {\n case PLAYING:\n //Game started\n xlpooLsionClient.setScreen(new ControlsScreen(xlpooLsionClient));\n break;\n case SERVER_FULL:\n xlpooLsionClient.setScreen(new ServerFullScreen(xlpooLsionClient));\n break;\n case LOST_CONNECTION:\n xlpooLsionClient.setScreen(new LostConnectionScreen(xlpooLsionClient));\n break;\n }\n }", "title": "" }, { "docid": "a3122353577ba6c644cecdc8ccf0e0c9", "score": "0.51060456", "text": "@Override\n public void render() {\n GUI.clearScreen();\n if (assetManager.update()) {\n switch (gameState) {\n case MENU:\n GUI.menuLoop();\n break;\n case PAUSE:\n case GAME:\n gameLoop();\n break;\n case LOAD:\n World.load();\n gameState = GameState.GAME;\n break;\n }\n } else {\n GUI.splashScreen(assetManager.getProgress());\n }\n DrawManager.end();\n }", "title": "" }, { "docid": "48395d839dc4238dcd3d2503f3c6322c", "score": "0.5101244", "text": "@Override\n\tpublic void render () \n\t{\t\t\n\t\t\n\t\tfloat deltaTime = Gdx.graphics.getDeltaTime();\n\t\t\n\t\t\n\t\t// TODO make a world component and consider design implications\n \n Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT | GL20.GL_DEPTH_BUFFER_BIT);\n\t\tfor(Entity operableEntity : mamaDukes)\n\t\t{\n\t\t\toperableEntity.Update(deltaTime);\n\t\t}\n\t\t \n\t\tIntrigueGraphicSys.flush();\n\t\t\n\t\tstage.act(deltaTime);\n\t\ttext.setText(\"FPS: \" + Gdx.graphics.getFramesPerSecond());\n\t\tstage.draw();\n\t}", "title": "" }, { "docid": "513fd408c68eb5154921a152e80bdba9", "score": "0.5092256", "text": "@Override\n protected void processEntity(Entity entity, float deltaTime) {\n final TransformComponent curTransform = Mapper.TRANSFORM.get(entity);\n final MovementComponent curMovement = Mapper.MOVEMENT.get(entity);\n\n // Store the real normal vector in a temporary object.\n // This vector requires that we normalize the normal vector and scale it to the move speed magnitude.\n Vector2 move_vec = new Vector2(curMovement.MOVEMENT_NORMAL).nor().scl((float)curMovement.moveSpeed * 60f * deltaTime);\n\n // Move and rotate the entity\n curTransform.POSITION.add(move_vec);\n curTransform.rotation += curMovement.rotSpeed * deltaTime;\n\n // Limit rotation to [0, 360) for easy printouts.\n if (curTransform.rotation >= 360)\n curTransform.rotation -= 360;\n if (curTransform.rotation < 0)\n curTransform.rotation += 360;\n }", "title": "" }, { "docid": "97448fbdf7c6fc4109f5d6193047aaf1", "score": "0.5088238", "text": "public void doRender(EntityEnderPig p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_)\n {\n super.doRender((EntityLiving)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);\n\n if (p_76986_1_.healingEnderCrystal != null)\n {\n float f2 = (float)p_76986_1_.healingEnderCrystal.innerRotation + p_76986_9_;\n float f3 = MathHelper.sin(f2 * 0.2F) / 2.0F + 0.5F;\n f3 = (f3 * f3 + f3) * 0.2F;\n float f4 = (float)(p_76986_1_.healingEnderCrystal.posX - p_76986_1_.posX - (p_76986_1_.prevPosX - p_76986_1_.posX) * (double)(1.0F - p_76986_9_));\n float f5 = (float)((double)f3 + p_76986_1_.healingEnderCrystal.posY - 1.0D - p_76986_1_.posY - (p_76986_1_.prevPosY - p_76986_1_.posY) * (double)(1.0F - p_76986_9_));\n float f6 = (float)(p_76986_1_.healingEnderCrystal.posZ - p_76986_1_.posZ - (p_76986_1_.prevPosZ - p_76986_1_.posZ) * (double)(1.0F - p_76986_9_));\n float f7 = MathHelper.sqrt_float(f4 * f4 + f6 * f6);\n float f8 = MathHelper.sqrt_float(f4 * f4 + f5 * f5 + f6 * f6);\n GL11.glPushMatrix();\n GL11.glTranslatef((float)p_76986_2_, (float)p_76986_4_ + 2.0F, (float)p_76986_6_);\n GL11.glRotatef((float)(-Math.atan2((double)f6, (double)f4)) * 180.0F / (float)Math.PI - 90.0F, 0.0F, 1.0F, 0.0F);\n GL11.glRotatef((float)(-Math.atan2((double)f7, (double)f5)) * 180.0F / (float)Math.PI - 90.0F, 1.0F, 0.0F, 0.0F);\n Tessellator tessellator = Tessellator.instance;\n RenderHelper.disableStandardItemLighting();\n GL11.glDisable(GL11.GL_CULL_FACE);\n this.bindTexture(enderDragonCrystalBeamTextures);\n GL11.glShadeModel(GL11.GL_SMOOTH);\n float f9 = 0.0F - ((float)p_76986_1_.ticksExisted + p_76986_9_) * 0.01F;\n float f10 = MathHelper.sqrt_float(f4 * f4 + f5 * f5 + f6 * f6) / 32.0F - ((float)p_76986_1_.ticksExisted + p_76986_9_) * 0.01F;\n tessellator.startDrawing(5);\n byte b0 = 8;\n\n for (int i = 0; i <= b0; ++i)\n {\n float f11 = MathHelper.sin((float)(i % b0) * (float)Math.PI * 2.0F / (float)b0) * 0.75F;\n float f12 = MathHelper.cos((float)(i % b0) * (float)Math.PI * 2.0F / (float)b0) * 0.75F;\n float f13 = (float)(i % b0) * 1.0F / (float)b0;\n tessellator.setColorOpaque_I(0);\n tessellator.addVertexWithUV((double)(f11 * 0.2F), (double)(f12 * 0.2F) + 1.5, 0.0D, (double)f13, (double)f10);\n tessellator.setColorOpaque_I(16777215);\n tessellator.addVertexWithUV((double)f11, (double)f12, (double)f8, (double)f13, (double)f9);\n }\n\n tessellator.draw();\n GL11.glEnable(GL11.GL_CULL_FACE);\n GL11.glShadeModel(GL11.GL_FLAT);\n RenderHelper.enableStandardItemLighting();\n GL11.glPopMatrix();\n }\n }", "title": "" }, { "docid": "6564d560d5a6600e027d5fa0cf8f3055", "score": "0.5085129", "text": "@Override\n\tpublic void render(float delta) {\n\t\ttrainingBag.update();\n\t\ttimeLeft.setText(timeString + (30 - timer.getTotalElapsedTime()));\n\t\thits.setText(hitsString + (20 - trainingBag.getHealth()) + amountString);\n\t\t\n\t\tif(30 - timer.getTotalElapsedTime() < 1) {\n\t\t\teManager.notify(new ControllerEvent(ControllerEvents.SWAP_SCREEN, ScreenType.MAIN_UI));\n\t\t\teManager.notify(new MessageEvent(MessageEvents.POOP_MISTAKE, \"You failed!\", true));\n\t\t}\n\t\tif(trainingBag.getHealth() < 1)\n\t\t\teManager.notify(new ControllerEvent(ControllerEvents.SWAP_SCREEN, ScreenType.STAT_INCREASE_SCREEN));\n\t\t\t\n\t}", "title": "" }, { "docid": "b6e3ff47bd7c37c5d553395c2de12c5c", "score": "0.5064204", "text": "@Override\n\tpublic void render(float delta) {\n\t\tGdx.gl.glClearColor(0.1f, 0.1f, 0.1f, 1);\n\t\tGdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\n\t\tcontroller.update(delta, elapsedTime);\n\t\trenderer.render();\n\t\telapsedTime += 1; // count elapsedTime for further control\n\t}", "title": "" }, { "docid": "c9550975dfa2e540e747ded5e61c8b07", "score": "0.5055162", "text": "public final void onWorldTick() {\n onTick();\n }", "title": "" }, { "docid": "bf4b3a05b8c581b69f0b1b8967b3ba29", "score": "0.50503105", "text": "@Override\n public void render(Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw,\n float headPitch, float scale) {\n this.setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scale, entityIn);\n GlStateManager.pushMatrix();\n\n mainFrame.render(scale);\n\n GlStateManager.popMatrix();\n\n if (true) return;\n\n if (this.isChild) {\n float f = 2.0F;\n GlStateManager.scale(0.5F, 0.5F, 0.5F);\n GlStateManager.translate(0.0F, 24.0F * scale, 0.0F);\n this.bipedLeftLegwear.render(scale);\n this.bipedRightLegwear.render(scale);\n this.bipedLeftArmwear.render(scale);\n this.bipedRightArmwear.render(scale);\n this.bipedBodyWear.render(scale);\n } else {\n if (entityIn.isSneaking()) {\n GlStateManager.translate(0.0F, 0.2F, 0.0F);\n }\n\n this.bipedLeftLegwear.render(scale);\n this.bipedRightLegwear.render(scale);\n this.bipedLeftArmwear.render(scale);\n this.bipedRightArmwear.render(scale);\n this.bipedBodyWear.render(scale);\n }\n\n GlStateManager.popMatrix();\n }", "title": "" }, { "docid": "d19cca830cd7d1508a8eb36470c61095", "score": "0.50484324", "text": "public void renderWorld(boolean renderWithLight);", "title": "" }, { "docid": "7798610f0ccb470925969f02fa55d89b", "score": "0.5038873", "text": "@Override\n\tpublic void render(ItemStack stack, float partialTick, TransformType camera)\n\t{\n\t\tMinecraft mc = Minecraft.getMinecraft();\n\n\t\tif(camera == TransformType.GUI)\n\t\t{\n\t\t\t/*\n\t\t\tGlStateManager.rotate(30F, 0F, 1F, 0F);\n\t\t\tGlStateManager.translate(0.3F, 0.8F, 0F);\n\t\t\tGlStateManager.scale(0.1F , -0.1F, 0.1F);\n\t\t\tthis.model.render(stack, partialTick, 1F);\n\t\t\t*/\n\t\t\tResourceLocation name = stack.getItem().getRegistryName();\n\t\t\tLambdaUtilities.RenderItem(new ModelResourceLocation(new ResourceLocation(name.getResourceDomain(), \"weapon/gui/\" + name.getResourcePath()), \"inventory\"), stack);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//GlStateManager.pushMatrix();\n\t\t\tmc.getTextureManager().bindTexture(texture);\n\t\t\t//GlStateManager.translate(0.5F, 0.8F, 0F);\n\t\t\t//GlStateManager.scale(0.08F, 0.08F, 0.08F);\n\t\t\t//GlStateManager.rotate(180F, 0F, 0F, 1F);\n\t\t\tGlStateManager.disableCull();\n\t\t\tthis.model.render(stack, partialTick, 1F);\n\t\t\t// TODO Pass using entity instead of player\n\t\t\tthis.model.setRotations(stack, partialTick);\n\t\t\tGlStateManager.enableCull();\n\t\t\t//GlStateManager.popMatrix();\n\t\t}\n\t}", "title": "" }, { "docid": "40cc42ce2074335543682a3066759ef5", "score": "0.5028022", "text": "@Override\n public void livingTick() {\n super.livingTick();\n }", "title": "" }, { "docid": "6a6203c6b87e025f08a989a071f4f983", "score": "0.50226295", "text": "public void render(float delta) {\n\t\tsuper.render(delta);\n\t\tworld.update();\n\t\trender.render();\n\t\t/*if (firstUpdate) {\n\t\t\trender.resetCamera();\n\t\t\tfirstUpdate = false;\n\t\t}*/\n\t}", "title": "" }, { "docid": "6b556a15d2ba3da8f44846bbec725f5a", "score": "0.5019163", "text": "public void update() {\n\t\t//TODO: permanent solution to render mode switching (maybe command terminal)\n\t\tif(Input.getInstance().isKeyPushed(Keys.KEY_P)) {\n\t\t\ttestEntity.setActiveRenderComponent(RenderComponents.POINT_RENDERER_COMPONENT);\n\t\t\ttestEntity2.setActiveRenderComponent(RenderComponents.POINT_RENDERER_COMPONENT);\n\t\t}\n\t\tif(Input.getInstance().isKeyPushed(Keys.KEY_L)) {\n\t\t\ttestEntity.setActiveRenderComponent(RenderComponents.WIREFRAME_RENDERER_COMPONENT);\n\t\t\ttestEntity2.setActiveRenderComponent(RenderComponents.WIREFRAME_RENDERER_COMPONENT);\n\t\t}\n\t\tif(Input.getInstance().isKeyPushed(Keys.KEY_O)) {\n\t\t\ttestEntity.setActiveRenderComponent(RenderComponents.RENDERER_COMPONENT);\n\t\t\ttestEntity2.setActiveRenderComponent(RenderComponents.RENDERER_COMPONENT);\n\t\t}\n\t}", "title": "" }, { "docid": "7b563991ca4d64aafccc2e42c0998568", "score": "0.50168186", "text": "@Override\n public void renderParticle(@Nonnull BufferBuilder buffer, @Nonnull Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ,\n float rotationXY, float rotationXZ) {\n buffer.setTranslation(-0.08 * facing.getDirectionVec().getX() * offset, -particleScale * height, -0.08 * facing.getDirectionVec().getZ() * offset);\n // Lie about rotation so that it always renders facing outwards from the machine\n super.renderParticle(buffer, entityIn, partialTicks, facing.getDirectionVec().getZ(), 1, facing.getDirectionVec().getX(), 0, 0);\n buffer.setTranslation(0, 0, 0);\n }", "title": "" }, { "docid": "1135c34725aed45b73be0001e9147fa9", "score": "0.50061244", "text": "@Override\n\tpublic void render() {\n\t\tGdx.gl.glClearColor(0, 0, 0, 0);\n\t\tGdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);\n\t\tworld.step(1f / 60f, 6, 2);\n\n\t\tgame.act();\n\t\tgame.render();\n\n\t}", "title": "" }, { "docid": "db0048514b63c6431cc2952a01c2ef8a", "score": "0.4995588", "text": "public void render() {\n\t\tRenderUtil.clearScreen();\n\t\t\n\t\tEntityShader.getInstance().updateLights(testLight);\n\t\t\n\t\ttestLight.render();\n\t\t\n\t\tsky.render();\n\t\t\t\t\n\t\ttestEntity.render();\t\t\n\t\ttestEntity2.render();\n\t\t\t\t\n\t\tSystem.out.println(\"Entity: \" + testEntity.getPositon().toString());\n\t\tSystem.out.println(\"Camera: \" + Camera.getInstance().getPosition().toString());\n\t\tSystem.out.println(\"Look: \" + Camera.getInstance().getForward().toString());\n\t\tSystem.out.println(\"Light: \" + testLight.getPosition().toString());\n\t\twindow.render();\n\t}", "title": "" }, { "docid": "769f19728c3b7ef02001baeed8c3d948", "score": "0.4988857", "text": "@SuppressWarnings(\"unchecked\")\n @Override\n public void drawScreen(int mouseX, int mouseY, float renderPartialTicks) {\n drawDefaultBackground();\n\n drawGuiContainerBackgroundLayer(renderPartialTicks, mouseX, mouseY);\n GL11.glDisable(GL12.GL_RESCALE_NORMAL);\n RenderHelper.disableStandardItemLighting();\n GL11.glDisable(GL11.GL_LIGHTING);\n GL11.glDisable(GL11.GL_DEPTH_TEST);\n\n // GuiScreen code start\n int k;\n for (k = 0; k < this.buttonList.size(); ++k) {\n ((GuiButton) this.buttonList.get(k)).drawButton(this.mc, mouseX, mouseY);\n }\n\n for (k = 0; k < this.labelList.size(); ++k) {\n ((GuiLabel) this.labelList.get(k)).drawLabel(this.mc, mouseX, mouseY);\n }\n // GuiScreen code end\n\n RenderHelper.enableGUIStandardItemLighting();\n GL11.glPushMatrix();\n GL11.glTranslatef((float) guiLeft, (float) guiTop, 0.0F);\n GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);\n GL11.glEnable(GL12.GL_RESCALE_NORMAL);\n OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, (float) 240 / 1.0F, (float) 240 / 1.0F);\n GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);\n\n this.theSlot = getHoveredSlot(mouseX, mouseY);\n\n drawSlots(inventorySlots.inventorySlots, (this.theSlot == null) ? -1 : this.theSlot.slotNumber);\n\n // Forge: Force lighting to be disabled as there are some issue where\n // lighting would\n // incorrectly be applied based on items that are in the inventory.\n GL11.glDisable(GL11.GL_LIGHTING);\n this.drawGuiContainerForegroundLayer(mouseX, mouseY);\n GL11.glEnable(GL11.GL_LIGHTING);\n\n InventoryPlayer inventoryplayer = this.mc.thePlayer.inventory;\n ItemStack itemstack = this.draggedStack == null ? inventoryplayer.getItemStack() : this.draggedStack;\n\n // Draw hold itemStack\n if (itemstack != null) {\n byte b0 = 8;\n int k1 = this.draggedStack == null ? 8 : 16;\n String format = null;\n\n if (this.draggedStack != null && this.isRightMouseClick) {\n itemstack = itemstack.copy();\n itemstack.stackSize = MathHelper.ceiling_float_int((float) itemstack.stackSize / 2.0F);\n } else if (this.dragSplitting && this.dragSplittingSlots.size() > 1) {\n itemstack = itemstack.copy();\n itemstack.stackSize = this.dragSplittingRemnant;\n\n if (itemstack.stackSize == 0) {\n format = \"\" + EnumChatFormatting.YELLOW + \"0\";\n }\n }\n\n this.drawItemStack(itemstack, mouseX - guiLeft - b0, mouseY - guiTop - k1, format);\n }\n\n if (this.returningStack != null) {\n float f1 = (float) (Minecraft.getSystemTime() - this.returningStackTime) / 100.0F;\n\n if (f1 >= 1.0F) {\n f1 = 1.0F;\n this.returningStack = null;\n }\n\n int k1 = this.returningStackDestSlot.xDisplayPosition - this.touchUpX;\n int j2 = this.returningStackDestSlot.yDisplayPosition - this.touchUpY;\n int l1 = this.touchUpX + (int) ((float) k1 * f1);\n int i2 = this.touchUpY + (int) ((float) j2 * f1);\n this.drawItemStack(this.returningStack, l1, i2, null);\n }\n\n GL11.glPopMatrix();\n\n // Render tooltips\n if (inventoryplayer.getItemStack() == null && this.theSlot != null && this.theSlot.getHasStack()) {\n ItemStack itemstack1 = this.theSlot.getStack();\n this.renderToolTip(itemstack1, mouseX, mouseY);\n }\n\n GL11.glEnable(GL11.GL_LIGHTING);\n GL11.glEnable(GL11.GL_DEPTH_TEST);\n RenderHelper.enableStandardItemLighting();\n }", "title": "" }, { "docid": "4c3869da0a5a93923f0a780c8c5be10c", "score": "0.49839315", "text": "@Override\n public void dynamicLightTick()\n {\n if (this.world == null || !this.world.isClient())\n return;\n if (!this.removed) {\n this.lambdynlights_luminance = DynamicLightHandlers.getLuminanceFrom((BlockEntity) (Object) this);\n LambDynLights.updateTracking(this);\n\n if (!this.isDynamicLightEnabled()) {\n this.lambdynlights_lastLuminance = 0;\n }\n }\n }", "title": "" }, { "docid": "6b914b20b023e1dd8b1001a633b39e85", "score": "0.4972425", "text": "public void doRender(EntityNinjastar ninjastar, double transX, double transY, double transZ, float param5, float dir){\n GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);\n GlStateManager.pushMatrix();\n\n GlStateManager.translate((float) transX, (float) transY, (float) transZ);\n\n //moved\n GlStateManager.enableRescaleNormal();\n float scale = 0.75F;\n GlStateManager.scale(scale, scale, scale);\n\n GlStateManager.rotate(ninjastar.prevRotationYaw + (ninjastar.rotationYaw - ninjastar.prevRotationYaw) * dir - 90.0F, 0.0F, 1.0F, 0.0F);\n GlStateManager.rotate(ninjastar.getRandomTilt(), 1.0F, 0.0F, 0.0F);\n\n //moved\n bindEntityTexture(ninjastar);\n\n Tessellator tessellator = Tessellator.getInstance();\n WorldRenderer worldRenderer = tessellator.getWorldRenderer();\n\n// GlStateManager.enableRescaleNormal();\n\n// float scale = 0.05F;\n// GlStateManager.scale(scale, scale, scale);\n\n GL11.glNormal3f(0.0F, 0.0F, scale);\n\n worldRenderer.startDrawingQuads();\n worldRenderer.addVertexWithUV(-2.0D, -2.0D, 0.0D, 0, 0);\n worldRenderer.addVertexWithUV(-2.0D, -2.0D, 0.0D, 1, 0);\n worldRenderer.addVertexWithUV(-2.0D, -2.0D, 0.0D, 1, 1);\n worldRenderer.addVertexWithUV(-2.0D, -2.0D, 0.0D, 0, 1);\n tessellator.draw();\n\n GlStateManager.rotate(100.0F, 1.0F, 0.0F, 0.0F);\n worldRenderer.startDrawingQuads();\n worldRenderer.addVertexWithUV(-2.0D, -2.0D, 0.0D, 0, 0);\n worldRenderer.addVertexWithUV(-2.0D, -2.0D, 0.0D, 1, 0);\n worldRenderer.addVertexWithUV(-2.0D, -2.0D, 0.0D, 1, 1);\n worldRenderer.addVertexWithUV(-2.0D, -2.0D, 0.0D, 0, 1);\n tessellator.draw();\n\n //added\n this.renderItemNinjastar.renderItemModel(this.func_177082_d(ninjastar));\n\n GlStateManager.disableRescaleNormal();\n GlStateManager.popMatrix();\n\n super.doRender(ninjastar, transX, transY, transZ, param5, dir);\n\n }", "title": "" }, { "docid": "7994ce428446ad066d1b9c30edcc448e", "score": "0.4969396", "text": "public void doRender(EntityMaxZombie entity, double x, double y, double z, float p_76986_8_, float partialTicks)\n {\n this.func_180579_a((EntityMaxZombie)entity, x, y, z, p_76986_8_, partialTicks);\n }", "title": "" }, { "docid": "a5d0934df5913d021269fe9e7cb7aeee", "score": "0.495809", "text": "private void renderHeldItem(EntityLivingBase entity, ItemStack itemStack, ItemCameraTransforms.TransformType transformType, EnumHandSide handSide, float ageInTicks, float scale) {\n/* 78 */ if (!itemStack.isEmpty()) {\n/* */ \n/* 80 */ GlStateManager.pushMatrix();\n/* */ \n/* 82 */ if (entity.isSneaking())\n/* */ {\n/* 84 */ GlStateManager.translate(0.0F, 0.2F, 0.0F);\n/* */ }\n/* */ \n/* 87 */ translateToHand(handSide, scale);\n/* 88 */ GlStateManager.rotate(-90.0F, 1.0F, 0.0F, 0.0F);\n/* 89 */ GlStateManager.rotate(180.0F, 0.0F, 1.0F, 0.0F);\n/* 90 */ boolean flag = (handSide == EnumHandSide.LEFT);\n/* */ \n/* 92 */ if (itemStack.getItem() == Items.BOOK) {\n/* 93 */ renderBook(ageInTicks);\n/* */ } else {\n/* 95 */ Minecraft.getMinecraft().getItemRenderer().renderItemSide(entity, itemStack, transformType, flag);\n/* */ } \n/* 97 */ GlStateManager.popMatrix();\n/* */ } \n/* */ }", "title": "" }, { "docid": "c936218409bb32ffee5229a354bcf5ae", "score": "0.49505994", "text": "@Override\n public void draw(GameTime gameTime) {\n GL11.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);\n GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);\n\n if (GlobalState.instance.debugMode) {\n // Draw using the debug renderer\n debugRenderer.draw();\n }\n else {\n // Setup default rendering state\n BlendState.OPAQUE.set();\n DepthState.NONE.set();\n RasterizerState.CULL_NONE.set();\n\n // Draw using the full renderer\n renderer.draw();\n }\n }", "title": "" }, { "docid": "a1d7c4e1e03c87622a39c1658f3f4317", "score": "0.49489096", "text": "@Override\n\tpublic void tick() {\n\t\trenderer.render(this);\n\t}", "title": "" }, { "docid": "be662f6d726fefd0e15e54c191b30df6", "score": "0.4946106", "text": "public void doRender(EntityLiving p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_)\n {\n this.doRender((EntityBat)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);\n }", "title": "" }, { "docid": "618380c20d3592570781a3bb8190951e", "score": "0.49444672", "text": "@Override\n public void render() {\n\n renderer.prepWindowRender(globalGameData.getGameWindow());\n renderer.setRenderSpace(0,0,500,500);\n\n\n renderEnvironment(getMainCamera(),testPlayer.getPlayerEntity().getEntityView().getViewableRegions(), instancedGridMesh);\n renderer.enableTransparency();\n walkieTalkie.render(renderer,renderer.getRenderWidth());\n renderer.disableTransparency();\n\n\n\n renderer.setRenderSpace(500,0,500,500);\n if (currentPlayers.containsKey(UUID.fromString(\"087954ba-2b12-4215-9a90-f7b810797562\"))) {\n renderEnvironment(getMainCamera(),currentPlayers.get(UUID.fromString(\"087954ba-2b12-4215-9a90-f7b810797562\")).getEntityView().getViewableRegions(), instancedGridMesh);\n }\n\n renderer.setRenderSpace(1000,0,500,500);\n renderer.enableTransparency();\n renderer.render2DTextItems(debugItems, \"Default2D\");\n renderer.disableTransparency();\n\n /*\n if (currentPlayers.containsKey(UUID.fromString(\"087954ba-2b12-4215-9a90-f7b810797562\"))) {\n renderer.setRenderSpace(500, 0, 500, 500);\n for (Region region : currentPlayers.get(UUID.fromString(\"087954ba-2b12-4215-9a90-f7b810797562\")).getEntityView().getViewableRegions()) {\n for (Block block : region.getBlocksArray()) {\n if (block instanceof CustomRenderBlock) {\n ((CustomRenderBlock) block).renderCustomBlock(renderer, camera);\n }\n }\n for (Entity entity : region.getEntities()) {\n entity.render(renderer, camera);\n }\n }\n }\n */\n\n\n //renderer.setRenderSpace(500,0,280,500);\n //SpriteItem spriteItem = new SpriteItem(AssetLoader.getTextureAsset(\"Noise\"),280,500,true);\n //spriteItem.setPosition(0,0,0);\n //renderer.render2DSpriteItem(spriteItem,\"Default2D\");\n //spriteItem.cleanup();\n\n\n\n /*\n renderer.getShader(\"DebugShader2D\").bind();\n glActiveTexture(GL_TEXTURE1);\n glBindTexture(GL_TEXTURE_2D, shaderTestBitmap.getId());\n glActiveTexture(GL_TEXTURE2);\n glBindTexture(GL_TEXTURE_2D, shaderTestEffect1.getId());\n glActiveTexture(GL_TEXTURE3);\n glBindTexture(GL_TEXTURE_2D, shaderTestEffect2.getId());\n glActiveTexture(GL_TEXTURE4);\n glBindTexture(GL_TEXTURE_2D, shaderTestEffect3.getId());\n renderer.getShader(\"DebugShader2D\").setUniform(\"bitmap\", 1);\n renderer.getShader(\"DebugShader2D\").setUniform(\"effect1\", 2);\n renderer.getShader(\"DebugShader2D\").setUniform(\"effect2\", 3);\n renderer.getShader(\"DebugShader2D\").setUniform(\"effect3\", 4);\n i++;\n i %= 600;\n float framePercent = i / 600.0f;\n renderer.getShader(\"DebugShader2D\").setUniform(\"frame\", framePercent);\n System.out.println(i);\n shaderTest.setPosition((float)gameInput.getMouseX(),(float)gameInput.getMouseY(),0);\n renderer.render2DSprite(shaderTest, \"DebugShader2D\");\n */\n\n\n\n\n\n }", "title": "" }, { "docid": "c880d7e9407aa992c44ba8613c0e5bc6", "score": "0.49403623", "text": "void updateRenderEngine() {\n if (renderEngine == null)\n renderEngine = this.game.p;\n }", "title": "" }, { "docid": "0b8041a5a40c99ad831977011429a414", "score": "0.4939259", "text": "public void update(){\n\t\tdouble timeStep = (double) 1 / METERS_PER_X_TICKS;\n\t\t\n\t\tdouble newXVel = xVel + xAccel * timeStep;\n\t\tdouble newYVel = yVel + yAccel * timeStep;\n\t\t\n//\t\tdouble deltaX = timeStep * (xVel + newXVel) / 2;\n//\t\tdouble deltaY = timeStep * (yVel + newYVel) / 2;\n\t\t\n\t\tdouble deltaX = timeStep * xVel;\n\t\tdouble deltaY = timeStep * yVel;\n\t\t\n\t\txCoord += deltaX;\n\t\tyCoord += deltaY;\n\t\t\n\t\txVel = newXVel;\n\t\tyVel = newYVel;\n\t\t\n\t\t//record new location\n\t\tif(recordPath)\n\t\t\tmyEnviron.getEntityHistories().get(ID).add(new double[]{xCoord, yCoord, xVel, yVel});\n\t\t\n\t\tcontactBlock = null; // reset to the appropriate block during block collision process, if needed\n\t\tcontactBlockSideNum = -1;\n\t\tcontactBlockVertexNum = -1;\n\t\tlifetime++;\n\t}", "title": "" }, { "docid": "8a85de1774279ea596bbb0781251c5be", "score": "0.493867", "text": "@Override\r\n public void preInit(FMLPreInitializationEvent e) {\n \tModBlocks.registerBlockModels();\r\n \tnet.minecraftforge.fml.client.registry.RenderingRegistry.registerEntityRenderingHandler(EntityTribeling.class, RenderTribeling.FACTORY);\r\n super.preInit(e);\r\n }", "title": "" }, { "docid": "dec8aa4edb7215adbe6a979368c3b985", "score": "0.49367505", "text": "private void updateAndRender(long deltaMillis) {\n currentState.update(deltaMillis / 1000f); \r\n //Double Buffering (reduce tearing)\r\n prepareGameImage();\r\n currentState.render(gameImage.getGraphics(), this.getWidth(), this.getHeight());\r\n renderGameImage(getGraphics());\r\n }", "title": "" }, { "docid": "ee314829f03f69cfa12e49d3491b4886", "score": "0.49336025", "text": "@Override\n public void onRender(final long ellapsedTime, final double deltaTime) {\n // -- Important. Call render() on the post processing manager.\n //\n\n mEffects.render(ellapsedTime, deltaTime);\n }", "title": "" }, { "docid": "74d6b84ddfa65294a0e5a15dee3beb6b", "score": "0.4929399", "text": "private void renderEntity(MapEntity entity) {\n\t\tdrawEntityTexture(entity);\n\t}", "title": "" }, { "docid": "a91770d22194e5d5c60886d9a24b7a10", "score": "0.49245736", "text": "@SubscribeEvent(receiveCanceled = true)\n\tpublic void onLivingUpdate(@Nonnull final LivingUpdateEvent event) {\n\t\tfinal Entity entity = event.getEntity();\n\t\tif (entity == null || !entity.getEntityWorld().isRemote)\n\t\t\treturn;\n\n\t\tfinal long start = System.nanoTime();\n\t\tfinal IEntityFX cap = CapabilityEntityFXData.getCapability(entity);\n\t\tif (cap != null) {\n\t\t\tfinal double distanceThreshold = ModOptions.effects.specialEffectRange\n\t\t\t\t\t* ModOptions.effects.specialEffectRange;\n\t\t\tfinal boolean inRange = entity.getDistanceSq(EnvironState.getPlayer()) <= distanceThreshold;\n\t\t\tfinal EntityEffectHandler handler = cap.get();\n\t\t\tif (handler != null && !inRange) {\n\t\t\t\tcap.clear();\n\t\t\t} else if (handler == null && inRange && entity.isEntityAlive()) {\n\t\t\t\tlibrary.create(entity).ifPresent(cap::set);\n\t\t\t} else if (handler != null) {\n\t\t\t\thandler.update();\n\t\t\t}\n\t\t}\n\n\t\tthis.nanos += (System.nanoTime() - start);\n\t}", "title": "" }, { "docid": "35aa008cc8f18365e11516d6f6b592c8", "score": "0.49094564", "text": "private void renderEngine() {\r\n GL11.glDisable(GL11.GL_LIGHTING);\r\n\r\n GL11.glEnable(GL11.GL_BLEND);\r\n GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE);\r\n\r\n shotTexture.bind();\r\n engine.render();\r\n\r\n GL11.glDisable(GL11.GL_BLEND);\r\n }", "title": "" }, { "docid": "c9031da83a6c15736fbf7a608f12844b", "score": "0.49086636", "text": "@Override\r\n public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)\r\n {\n \tif (f3 <= -180F) { f3 += 360F; }\r\n \telse if (f3 >= 180F) { f3 -= 360F; }\r\n \t\r\n \tGlStateManager.pushMatrix();\r\n \tGlStateManager.enableBlend();\r\n \tGlStateManager.blendFunc(SourceFactor.SRC_ALPHA, DestFactor.ONE_MINUS_SRC_ALPHA);\r\n \tGlStateManager.scale(this.scale, this.scale, this.scale);\r\n \tGlStateManager.translate(0F, this.offsetY, 0F);\r\n \t\r\n \t//main body\r\n \tsetRotationAngles(f, f1, f2, f3, f4, f5, entity);\r\n \tthis.BodyMain.render(f5);\r\n \t\r\n \t//light part\r\n \tGlStateManager.disableLighting();\r\n \tGlStateManager.enableCull();\r\n \tOpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240F, 240F);\r\n \tthis.GlowBodyMain.render(f5);\r\n \tGlStateManager.disableCull();\r\n \tGlStateManager.enableLighting();\r\n \t\r\n \tGlStateManager.disableBlend();\r\n \tGlStateManager.popMatrix();\r\n }", "title": "" }, { "docid": "d3a20b86e4da24eb26db94130f1845e1", "score": "0.49070835", "text": "public void doRender(EntityLiving p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_)\n {\n this.doRender((EntityEnderPig)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);\n }", "title": "" }, { "docid": "08bc4e8dfe14e2599a3933526b7dab04", "score": "0.49015242", "text": "@Override\n\tpublic void update(float deltaTime) {\n\t\t// Set camera to origin with zoom 10\n\t\twindow.setRelativeTransform(Transform.I.scaled(10.0f));\n\t\tworld.update(deltaTime);\n\n\t\tint numberOfCollisions = contactListener.getEntities().size();\n\t\tif (numberOfCollisions > 0) {\n\t\t\tballGraphics.setFillColor(Color.RED);\n\t\t}\n\n\t\t// The actual rendering will be done now, by the program loop\n\t\tballGraphics.draw(window);\n\t\tblockGraphics.draw(window);\n\t}", "title": "" }, { "docid": "268094c43e32b7933cdb6f7191add138", "score": "0.48821977", "text": "public void onLivingUpdate() {\n if (!this.onGround && this.motionY < 0.0D)\n this.motionY *= 0.6D;\n\n\n if (this.ticksExisted % 20 == 0 && this.getHealth() != this.getMaxHealth() && this.getHealth() >= 1)\n this.setHealth(this.getHealth() + 1);\n\n if (worldObj.isRemote) {\n if (this.isSitting())\n worldObj.spawnParticle(EnumParticleTypes.REDSTONE, posX, posY + 1.5, posZ, 0, 0, 0);\n }\n\n if (worldObj.isRemote) {\n MoWitchAndWizard.proxy.spawnParticles(\"air_normal\", this);\n }\n\n super.onLivingUpdate();\n }", "title": "" }, { "docid": "84630246bc50497436d4034f3ee830cc", "score": "0.48626497", "text": "public void render(int mouseX, int mouseY, float partialTicks)\n {\n this.drawDefaultBackground();\n this.drawCenteredString(this.fontRenderer, I18n.format(\"selectWorld.edit.title\"), this.width / 2, 20, 16777215);\n this.drawString(this.fontRenderer, I18n.format(\"selectWorld.enterName\"), this.width / 2 - 100, 47, 10526880);\n this.nameEdit.func_146194_f();\n super.render(mouseX, mouseY, partialTicks);\n }", "title": "" }, { "docid": "4b2dde197239020aef02a01ecd5e342f", "score": "0.48595163", "text": "private void updatePosition(FrameTime frameTime) {\n Vector3 desiredWorldPosition = this.desiredWorldPosition;\n if (desiredWorldPosition == null) {\n return;\n }\n\n Vector3 worldPosition = getTransformableNode().getWorldPosition();\n float lerpFactor = MathHelper.clamp(frameTime.getDeltaSeconds() * LERP_SPEED, 0, 1);\n worldPosition = Vector3.lerp(worldPosition, desiredWorldPosition, lerpFactor);\n\n float lengthDiff = Math.abs(Vector3.subtract(desiredWorldPosition, worldPosition).length());\n if (lengthDiff <= POSITION_LENGTH_THRESHOLD) {\n worldPosition = desiredWorldPosition;\n this.desiredWorldPosition = null;\n }\n\n getTransformableNode().setWorldPosition(worldPosition);\n }", "title": "" }, { "docid": "d310b408a7884ca40fe8db5e95ac15a2", "score": "0.48593068", "text": "private void doBeforeUpdateModel(final PhaseEvent arg0) {\n\t}", "title": "" }, { "docid": "2a248106f579e787793591370bcd22a6", "score": "0.48500243", "text": "@Override\n\tpublic void render() {\n\t\tif(!paused){\n\t\t\t//Update the game world with time since last rendered frame\n\t\t\tworldController.update(Gdx.graphics.getDeltaTime());\n\t\t}\n\t\t\n\t\t//Set ClearColor to default color\n\t\tGdx.gl20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);\n\t\t\n\t\t//Clear the screen\n\t\tGdx.gl20.glClear(GL20.GL_COLOR_BUFFER_BIT);\n\t\t\n\t\t//Render the game world to the screen\n\t\tworldRenderer.render();\n\t}", "title": "" }, { "docid": "838141971b28a255cd11fda6cd120359", "score": "0.48481673", "text": "@Override\n public void preUpdate(GameState currentState) {\n if (window.isCloseRequested())\n engine.shutdown();\n if (glUtils != null) {\n glUtils.color(0.1960784314f, 0.3921568627f, 0.6588235294f, 1.0f);\n glUtils.clear(true, true);\n }\n }", "title": "" }, { "docid": "b18b5cf1600ae8562513d8763c05e456", "score": "0.4845772", "text": "@Override protected void processEntity(Time time, Entity entity) {\n }", "title": "" }, { "docid": "84eca64ec087ef62be167a63bc4bfd6e", "score": "0.48437092", "text": "@Override\n public void render() {\n sortEntities(Entity.getEntities());\n renderBackground();\n renderBattleState();\n if(selectedPc != null){\n MyGL2dRenderer.drawLabel(getSelectedPc().getCollisionBox().left - 4 * GameView.density() + cameraX,\n getSelectedPc().getCollisionBox().bottom - getSelectedPc().getCollisionBox().width() / 5 + cameraY,\n getSelectedPc().getCollisionBox().width() + 8 * GameView.density(),\n getSelectedPc().getCollisionBox().width() * 2 / 5,\n TextureData.selected_character_visual, 255);\n }\n if(!win){\n renderSpells();\n renderGold();\n }\n }", "title": "" }, { "docid": "e9cbf227c7f4c9defc545fa64b23199b", "score": "0.48263705", "text": "public void regenerateEntity() {\n boolean isStopRepaint = parent.getStopRepaint();\n parent.setStopRepaint(true);\n\n entityName.setText(component.getName());\n innerRegenerate();\n\n if (!isStopRepaint) parent.goRepaint();\n\n updateHeight();\n }", "title": "" } ]
11814e66edca5c9bb78613687ced5ee2
NO EXISTE O NO ES APLICABLE
[ { "docid": "7fd3c976be7bd837f5ed5352ababa7e6", "score": "0.0", "text": "public void jLabelActionPerformedGeneral(String sTipo,ActionEvent evt) { \t \r\n\t\ttry {\r\n\t\t\t\r\n\t\t\t//SELECCIONA FILA A OBJETO ACTUAL\t\t\t\r\n\t\t\tthis.seleccionarFilaTablaEstadoGarantiaClienteActual();\r\n\t\t\t\t\r\n\t\t\tthis.actualizarInformacion(\"EVENTO_CONTROL\",false,this.estadogarantiacliente);\r\n\t\t\t\r\n\t\t\tthis.actualizarInformacion(\"INFO_PADRE\",false,this.estadogarantiacliente);\r\n\t\t\t\t\r\n\t\t} catch(Exception e) {\r\n \t\t\tFuncionesSwing.manageException2(this, e,logger,EstadoGarantiaClienteConstantesFunciones.CLASSNAME);\r\n \t\t}\r\n }", "title": "" } ]
[ { "docid": "96829b08e706677bfbdc7d304b3bbe6b", "score": "0.6567749", "text": "@Override\r\n\tpublic boolean exists() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "96829b08e706677bfbdc7d304b3bbe6b", "score": "0.6567749", "text": "@Override\r\n\tpublic boolean exists() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "2f083ba6a7c83013122d95511884b654", "score": "0.62502944", "text": "void exists();", "title": "" }, { "docid": "91f3c80f526065ab14b1d472bcf6065b", "score": "0.6233513", "text": "@Override\n\tpublic boolean exists(UniteEnseignementPK arg0) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "2dc3f6e044d6a758e6930b9416b23907", "score": "0.61964273", "text": "boolean coExist();", "title": "" }, { "docid": "7b44df2cd8979f5d7f59b8cf1151007d", "score": "0.6155624", "text": "boolean hasExisting();", "title": "" }, { "docid": "db64c34b76e3d14f5a7d4b9812a4227d", "score": "0.6150202", "text": "@Test\n void whenNotFound() {\n assertThat(typeReunionRepository.count()).isEqualTo(0);\n // [WHEN] Calling method for an id\n Set<TypeMateriel> result = service.fetchAllTypeMaterielRequis(1);\n // [THEN] Result is empty\n // TODO: should throw instead?\n assertThat(result).isEmpty();\n }", "title": "" }, { "docid": "8bfcdd558521addbcb7c47369312f6c1", "score": "0.6135218", "text": "ExistsSituation createExistsSituation();", "title": "" }, { "docid": "ed87eff7b992ec9bc6d79f7f197194d5", "score": "0.6116728", "text": "void incorrectOrNotFound();", "title": "" }, { "docid": "e9892f6048485ebe0682af6a41d837b3", "score": "0.610003", "text": "@Test\n void getAll_notExisting() {\n assertTrue(normalLoader.getAll(\"\").isEmpty());\n }", "title": "" }, { "docid": "3150071293ed7456daedbfae921e3bd7", "score": "0.60903865", "text": "private int alreadyEsists(FoodItem obj) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "b0678085fe769255750f5897137bb53d", "score": "0.60639507", "text": "@Override\n\tpublic boolean exists(Long arg0) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b0678085fe769255750f5897137bb53d", "score": "0.60639507", "text": "@Override\n\tpublic boolean exists(Long arg0) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b0678085fe769255750f5897137bb53d", "score": "0.60639507", "text": "@Override\n\tpublic boolean exists(Long arg0) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "733a1432925e6164d5394753bc672385", "score": "0.6030451", "text": "@Test\n\tpublic void testProcesaSolicitudNivelNoExiste() {\n\t\ttry {\n\t\t\tList<JugadorRequest> jugadores = new ArrayList<JugadorRequest>();\n\t\t\tJugadorRequest jugador = new JugadorRequest();\n\t\t\tjugador.setNombre(\"Juan Perez\");\n\t\t\tjugador.setNivel(\"Z\");\n\t\t\tjugador.setGoles(1);\n\t\t\tjugador.setSueldo(new BigDecimal(50000));\n\t\t\tjugador.setBono(new BigDecimal(25000));\n\t\t\tjugador.setEquipo(\"rojo\");\n\t\t\tjugadores.add(jugador);\n\t\t\tjugadorService.procesaSolicitud(jugadores);\n\t\t\tfail(\"Se esperaba excepcion\");\n\t\t} catch (Exception e) {\n\t\t\tassertNotNull(e);\n\t\t}\n\t}", "title": "" }, { "docid": "b1f70be24f9489c0eea8a4e221ef70b1", "score": "0.5976234", "text": "boolean getExists();", "title": "" }, { "docid": "b1f70be24f9489c0eea8a4e221ef70b1", "score": "0.5976234", "text": "boolean getExists();", "title": "" }, { "docid": "06579dc2395b43ad200d9e907732be9e", "score": "0.5957259", "text": "public abstract boolean exists();", "title": "" }, { "docid": "2a45101fd2d66632b28bf76f09da9142", "score": "0.5928295", "text": "@Test\n public void noneFoundForEmpty() {\n assertThat( finder.findFor( new HashSet<IJavaProject>() ), is( nullValue() ) );\n }", "title": "" }, { "docid": "33d1717ed2fe18808edab70f9c95dd47", "score": "0.5891689", "text": "public void testNoEntries() throws Exception {\n\t\tlong loggedInPatientMID = 684;\n\t\tList<DietSuggestionBean> results = dsDAO.getSuggestionByMID(loggedInPatientMID);\n\t\tassertTrue(results.isEmpty());\n\t}", "title": "" }, { "docid": "e8d349e15aee4665ca280c27111d267c", "score": "0.58742523", "text": "@Override\n\tpublic R isExists() {\n\t\tif (valueIsNull())\n\t\t\tthrow error(MSG_exceptionWasNotThrown);\n\t\treturn returns();\n\t}", "title": "" }, { "docid": "6e8f564fcd9e074c1d46c4a47ea88e6f", "score": "0.58575815", "text": "@Override\r\n\tpublic void vista_noedicion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fe79fc575bc27ecf7466467b9520978f", "score": "0.58571714", "text": "boolean existSelective(OnlOnlineMo record);", "title": "" }, { "docid": "07aba0dd3338d4827fe00cc7c17e46e8", "score": "0.5831337", "text": "@Override\r\n\tpublic Object noExists(DownInfo downInfo, HttpServletRequest request,\r\n\t\t\tException e) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "5d424e71742b265d53c782e1296cfdcc", "score": "0.5830578", "text": "@Override\n\tpublic boolean isExists(TypeEfficacy entity) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "00b06ec261998dfd7637ba01d0895352", "score": "0.58263475", "text": "public boolean exists() {\n return true;\n }", "title": "" }, { "docid": "fad7dc876ed23b5eab252374552c1d64", "score": "0.58025485", "text": "public void findAcessosNegados();", "title": "" }, { "docid": "a046173012f4b7ccfb723ee5c368c8ce", "score": "0.57980883", "text": "@Override\n\tpublic boolean existe(Long id) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "93eda4a65d72c8490d2b7585a9a38c72", "score": "0.5786892", "text": "public boolean isIndexExist(String id) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ddf319780ee8fa025228111402e44456", "score": "0.57782364", "text": "boolean hasFound();", "title": "" }, { "docid": "68daad26dbb7c78241a3c74808f2dc7e", "score": "0.57777095", "text": "public boolean doesExist()\n {\n\treturn exists;\n }", "title": "" }, { "docid": "7ab6f4b46e210fa8124386edfd8eef38", "score": "0.576429", "text": "boolean hasDefindex();", "title": "" }, { "docid": "7ab6f4b46e210fa8124386edfd8eef38", "score": "0.5764278", "text": "boolean hasDefindex();", "title": "" }, { "docid": "ee4cfd4d6167b92a19ffe4376e9aa9c6", "score": "0.57554466", "text": "@Override\n\tpublic void visit(ExistsExpression arg0) {\n\n\t}", "title": "" }, { "docid": "c7c00b9c47f8bfd20fa1e405063c4c61", "score": "0.57432395", "text": "@Override\n public void visit(Exists o)\n {\n }", "title": "" }, { "docid": "090de12c210728342909b9c92c2cf472", "score": "0.57415587", "text": "@Override\r\n\tpublic boolean exist(Long id) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "c8421a114ce48e603ac0b327f86ce684", "score": "0.57162195", "text": "private void defaultInfoSocieteShouldNotBeFound(String filter) throws Exception {\n restInfoSocieteMockMvc.perform(get(\"/api/info-societes?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restInfoSocieteMockMvc.perform(get(\"/api/info-societes/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "bf7ad33f2a4a9800fca4cd76b5288e3c", "score": "0.57156086", "text": "@Override\n\tpublic boolean isExist(Integer standarNo) {\n\t\treturn standardDAO.isExist(standarNo);\n\t}", "title": "" }, { "docid": "fdf20bc2ca2966c44b0aa63cd1fa4068", "score": "0.56832033", "text": "public static boolean noExiste(String editorial){ \n boolean noExiste=true;\n \n try{\n Connection con = conexionSQLServer.getConnection();\n String Query=\"SELECT * FROM editorial where nombre =?;\";\n PreparedStatement ps = con.prepareStatement(Query);\n ps.setString(1, editorial);\n ResultSet res = ps.executeQuery();\n \n while (res.next()) {\n noExiste=false;\n }\n \n res.close();\n ps.close();\n con.close();\n \n \n }catch(SQLException e){\n e.printStackTrace();\n }\n \n return noExiste; \n \n }", "title": "" }, { "docid": "cac675896c4ab532fcaee49bb4c91959", "score": "0.5675037", "text": "@org.junit.jupiter.api.Test\r\n public void searchForWordThatDoesNotExistTest(){\r\n CommonController.getUserDao().setLang(Lang.EN);\r\n CommonController.getUserDao().getDictionary().getAsObservable();\r\n Dictionary dictionary = CommonController.getUserDao().getDictionary();\r\n ArrayList<Word> afterSearch = dictionary.search(\"mousepad\");\r\n\r\n Assertions.assertEquals(0, afterSearch.size());\r\n }", "title": "" }, { "docid": "8c3817bcff487afd77ca74e6f63463f0", "score": "0.5670021", "text": "public boolean exists( String arg0 ) {\n return false;\n }", "title": "" }, { "docid": "8c3817bcff487afd77ca74e6f63463f0", "score": "0.5670021", "text": "public boolean exists( String arg0 ) {\n return false;\n }", "title": "" }, { "docid": "ab336ccd0eed65352a5316298d65c102", "score": "0.5659517", "text": "@Test\r\n public void findNoTopic()\r\n {\r\n boolean topicIsFound = m_queryGame.findTopic(NON_EXISTING_TOPIC_NAME);\r\n assertThat(\"Non existant topic was not found\", topicIsFound, is(false));\r\n }", "title": "" }, { "docid": "7afdea92ba26b0f51ca6b375281fe58e", "score": "0.56453204", "text": "@Test\n @DataSet({ \"indexation/FindIndexationsByJobTitle.xml\", CLEAN_DB_XML })\n public void testFindIndexationByJobTitleNoResult() {\n final List<Indexation> indexations = transactionHandler\n .execute((final Factory factory) -> {\n final IndexationRepository indexationRepository = factory\n .findService(IndexationRepository.class);\n final List<Indexation> indexationTest = indexationRepository\n .findIndexationBy(\"Manager\");\n return indexationTest;\n });\n assertEquals(\"Error! the expected result is 0! \", 0, indexations.size());\n }", "title": "" }, { "docid": "f7df290959571bfd4cb4e63c8d793810", "score": "0.5637298", "text": "@Test\n public void findByNombreNoEncontrado () {\n testCompletados++;\n assertNull(repositorioCategoria.findByNombre(\"categoria3\"));\n }", "title": "" }, { "docid": "10b04b21bc4d8b9adef1392e1fcfda10", "score": "0.5631406", "text": "public void testGet_no() {\r\n\t\tassertEmpty(\"get(notPresent) should return an empty collection\", get(samples.e3.getKey()));\r\n\t}", "title": "" }, { "docid": "4354d8fa0278c70afa8663fa05beecd8", "score": "0.56268483", "text": "@Test\n public void naoPermitirSessoesIniciandoDentroDeSessaoExistente() {\n Sessao sessao = new Sessao(this.horario, this.sala, this.filme);\n List<Sessao> sessoes = Arrays.asList(sessao);\n GerenciadorDeSessao gerenciadorDeSessao = new GerenciadorDeSessao(sessoes);\n Assert.assertFalse(gerenciadorDeSessao.cabe(new Sessao(this.horario.plusHours(1), this.sala, this.filme)));\n }", "title": "" }, { "docid": "32b11dae1adb0729aea0082010473da8", "score": "0.56086636", "text": "@Override\n\tpublic boolean ColaVacia() {\n\t\treturn ( indice == 0) ;\n\n\t}", "title": "" }, { "docid": "2f2f22ba8fe40fa5ae7a2412e09cae72", "score": "0.5605076", "text": "public boolean exists();", "title": "" }, { "docid": "515df63089b9ceab6c61b01487857c13", "score": "0.56047344", "text": "public boolean exists()\n/* */ {\n/* 88 */ return !this.node.getNode().isEmpty();\n/* */ }", "title": "" }, { "docid": "95114bbe34229869a3966d5d3b1c6c91", "score": "0.5600391", "text": "@Override\r\n\tpublic boolean existe(String cpf) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "070b3dc65721c659d8ffa7f8e4437aa8", "score": "0.5599403", "text": "@Override\n\tpublic <S extends CarrelloDBO> boolean exists(Example<S> example) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a901c01a53d31622a0126e872d63ea02", "score": "0.5597867", "text": "@Test(expected= NotFoundException.class)\n\tpublic void nonExistingCalcSheet() throws Exception {\n\t\tnew Expectations() {{\n\t\t\tremote.storeDocument(anyString, anyString, (byte[]) any); times = 0;\n\t\t}};\n\t\t\n\t\tExportDocumentIntegrator service = new ExportDocumentIntegrator(U_TOKEN, -1);\n\t\tservice.execute();\n\t}", "title": "" }, { "docid": "58a2e1194bc32b5f39b5d2ca770a2f91", "score": "0.5596", "text": "private void defaultPedidoShouldNotBeFound(String filter) throws Exception {\n restPedidoMockMvc\n .perform(get(ENTITY_API_URL + \"?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restPedidoMockMvc\n .perform(get(ENTITY_API_URL + \"/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "cd6c7254c586f3ce2bc47a35b680f98e", "score": "0.5583786", "text": "@Override\r\n\tpublic Boolean exists(Integer id) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "ded5b03eb9e19bd23e5e7c95b1347919", "score": "0.5583185", "text": "@Override\n\tpublic String getQueryDeExiste(Motorista entidade) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a9d4a0ee55eda039e1342a764ce7ecf2", "score": "0.5580926", "text": "private void defaultCLLEGAShouldNotBeFound(String filter) throws Exception {\n restCLLEGAMockMvc\n .perform(get(ENTITY_API_URL + \"?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restCLLEGAMockMvc\n .perform(get(ENTITY_API_URL + \"/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "8aeff1c522239c308eb8cde0c8cf0023", "score": "0.5575055", "text": "private void consultar() {\n }", "title": "" }, { "docid": "1c119120fa353670c3681e30a579b198", "score": "0.5574851", "text": "public ExcepcionNoExisteMovimiento(int indice){\n\t\tsuper(null);\n\t\tthis.indice=indice;\n\t}", "title": "" }, { "docid": "1388b2dda95488592b285c33e35731f1", "score": "0.5560457", "text": "@Override\r\n\tpublic boolean exists(String id) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "98a87d2cd1b6ebe7b6a7c348848ac49c", "score": "0.5559442", "text": "@Override\n\tpublic boolean isExists(SuperContestEffect entity) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "e511374d490268f6d848ae558d5821e1", "score": "0.55581516", "text": "void equipmentNotFound();", "title": "" }, { "docid": "71536663ed289f1d88e3e1cd2688897a", "score": "0.5528863", "text": "@Override\r\n\tpublic boolean isAllergicExist(Allergic allergic) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "126bd6d80186e3a5da2d468ae45cf474", "score": "0.5527274", "text": "@Test(expected = IllegalArgumentException.class)\r\n public void testEmptySearch() throws SolrServerException, IOException {\r\n logger.debug(\"--------------->Empty Search \");\r\n responseBean = storeSolrService.searchStore(\"\", \"\", facetFields);\r\n printData();\r\n }", "title": "" }, { "docid": "65275e86f55069c17dfe940301e27528", "score": "0.5524603", "text": "@Test\n public void testEsigNotRequiredNoOrgSettings() {\n RefLabourSkillKey lSkillKey = createLabourSkill( \"DUMMY\", false );\n\n // Build the SchedWPSignReqKey\n SchedWPSignReqKey lSchedWPSignReqKey = createWPSignRequirement( lSkillKey );\n\n // Build the HumanResourceKey\n HumanResourceKey lHrKey = createUser( \"dummy_user_1\" );\n\n // Execute the query\n QuerySet lQs = execute( lHrKey, lSchedWPSignReqKey );\n\n // We don't expect esignature to be required, therefore a result should not exist\n Assert.assertFalse( lQs.first() );\n }", "title": "" }, { "docid": "bc14c8bd87d55bd577925255bf316e34", "score": "0.55173594", "text": "@Override\n\tpublic boolean exists(Serializable id) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "167cffd2edc1e98a0f018158d2791d61", "score": "0.55143726", "text": "@Test\n public void gameDiscCouldNotBeFoundTest(){\n managementDisc.addDiscToList(gameDisc);\n boolean found = managementDisc.searchForDisc(\"RubbishGame\");\n\n assertFalse(found);\n }", "title": "" }, { "docid": "d76e811eb46244a79f82946ed0b05ac3", "score": "0.5506114", "text": "public boolean doSCOsExist()\n {\n if ( mLaunchDataList.isEmpty() )\n {\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "7a66c0ade46495cf54891697b166a895", "score": "0.5498715", "text": "boolean hasUtteranceIndex();", "title": "" }, { "docid": "3de6ab3bda46ff583c3a06bb961c8ff7", "score": "0.5497219", "text": "boolean exists();", "title": "" }, { "docid": "3de6ab3bda46ff583c3a06bb961c8ff7", "score": "0.5497219", "text": "boolean exists();", "title": "" }, { "docid": "3de6ab3bda46ff583c3a06bb961c8ff7", "score": "0.5497219", "text": "boolean exists();", "title": "" }, { "docid": "3de6ab3bda46ff583c3a06bb961c8ff7", "score": "0.5497219", "text": "boolean exists();", "title": "" }, { "docid": "37a062bf5478636fcbf14c229a009afe", "score": "0.5494127", "text": "void checkExists(EJBLocalRemoteObject ejbObj) {\n throw new EJBException(\n \"Internal ERROR: BaseContainer.checkExists called\");\n }", "title": "" }, { "docid": "0a74129036257bac6c18c4cbedfa2e69", "score": "0.5488951", "text": "@Test\n public void testCheckAvailableWithNonExistingName() {\n String areaName = \"TRALALA\";\n boolean result = dao.checkAvailable(areaName);\n assertEquals(false, result);\n\n }", "title": "" }, { "docid": "2a9a1129b1b4abd20f1b2b5de779e7b9", "score": "0.54879636", "text": "@Test( expected = AmApiResourceNotFoundException.class )\n public void testGetMaintenanceReleaseStatusByNonExistId() throws AmApiResourceNotFoundException {\n iMaintenanceReleaseStatusResourceBean.get( NE_AIRCRAFT_ID );\n }", "title": "" }, { "docid": "5300b7e3b5517bcc98a60377e5839533", "score": "0.54863733", "text": "@Test\n\tpublic void singleResultNoResult() {\n\t\tQuery query = em.createQuery(\"Select c from Customer c where c.email = :email\");\n\t\tquery.setParameter(\"email\", \"no_existe@gmail.com\");\n\n\t\ttry {\n\t\t\tCustomer customer = (Customer) query.getSingleResult();\n\t\t\tfail(\"No se debería haber dado esta situacion\");\n\t\t}\n\t\tcatch(NonUniqueResultException | NoResultException ex){\n\t\t\tassertTrue(ex instanceof NoResultException);\n\t\t}\n\t}", "title": "" }, { "docid": "0261ada8e3b365266adb62eb122c79c9", "score": "0.54844165", "text": "private void defaultOrganizationShouldNotBeFound(String filter) throws Exception {\n restOrganizationMockMvc\n .perform(get(ENTITY_API_URL + \"?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restOrganizationMockMvc\n .perform(get(ENTITY_API_URL + \"/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "b78de925a09252b4ad6626025fe7e445", "score": "0.54831785", "text": "boolean hasAnswera();", "title": "" }, { "docid": "7658a6582ba4a821a38c8713b0205e99", "score": "0.5473815", "text": "@Test\n void getAll_noParam() {\n assertNotNull(normalLoader.getAll());\n\n assertTrue(normalLoader.getAll().contains(\n new PowerupCard(EXISTING_ID, EXISTING_EFFECT, EXISTING_COLOR)));\n }", "title": "" }, { "docid": "bb8c3ef7858602edaeca576bf2231b3b", "score": "0.546867", "text": "@Override\r\n\tpublic void visit(ExistsExpression existsExpression) {\n\t\t\r\n\t}", "title": "" }, { "docid": "967372082f3084dc0e836b177f2cafb8", "score": "0.5466063", "text": "@Given(\"^Les autres nombres existent$\")\n public void les_autres_nombres_existent() throws Throwable {\n throw new PendingException();\n }", "title": "" }, { "docid": "dff528af58a4b506b9d6096233d86b87", "score": "0.5464258", "text": "@Override\r\n\tpublic void usarioNoEncontrado() {\n\r\n\t}", "title": "" }, { "docid": "73042ef64501834612c577bd8e5c53d3", "score": "0.54610986", "text": "private void defaultUserUniInfoShouldNotBeFound(String filter) throws Exception {\n restUserUniInfoMockMvc\n .perform(get(ENTITY_API_URL + \"?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(TestUtil.APPLICATION_JSON_UTF8))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restUserUniInfoMockMvc\n .perform(get(ENTITY_API_URL + \"/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(TestUtil.APPLICATION_JSON_UTF8))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "82fc837748d7a7f27cd7671c7e9746ae", "score": "0.5452313", "text": "public boolean existAppName(String appName) throws SystemException{\r\n\t\tif(super.scienceAppPersistence.countByName(appName) > 0)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn false;\r\n\t}", "title": "" }, { "docid": "30dc861bb42ed63c622a5c6c94f3f826", "score": "0.5451058", "text": "@Test(expectedExceptions = DataNotFoundException.class)\n public void testFindRegionNoResultFromMaster() {\n final InMemoryRegionMaster master = new InMemoryRegionMaster();\n final MockUriInfo uriInfo = new MockUriInfo(true);\n final WebRegionsResource resource = setUpResource(master, uriInfo);\n resource.findRegion(UniqueId.of(\"uid\", \"100\").toString());\n }", "title": "" }, { "docid": "433abbdedd510b34c1a00667e1b7d546", "score": "0.54496425", "text": "default boolean isEmpty () {\n return getEntitySystem().isEmpty();\n }", "title": "" }, { "docid": "a167e52372d1ab62329e305ece365d58", "score": "0.5444379", "text": "boolean existSelective(AfcFlowMo record);", "title": "" }, { "docid": "e947056f09b45260b0b960e4e9de3ed7", "score": "0.54442745", "text": "public static Paciente getPacienteNoExistente(String codigo_empresa,\r\n\t\t\tString codigo_sucursal) {\r\n\t\tPaciente paciente = new Paciente();\r\n\t\tpaciente.setCodigo_empresa(codigo_empresa);\r\n\t\tpaciente.setCodigo_sucursal(codigo_sucursal);\r\n\t\tpaciente.setNro_identificacion(IConstantes._NRO_IDENTIFICACION_NO_EXISTENTE);\r\n\t\tPaciente pacienteTemp = getServiceLocator().getServicio(\r\n\t\t\t\tPacienteService.class).consultar(paciente);\r\n\r\n\t\tif (pacienteTemp == null) {\r\n\t\t\tpaciente.setTipo_identificacion(IConstantes._TIPO_IDENTIFICACION_NO_EXISTENTE);\r\n\t\t\tpaciente.setCodigo_administradora(IConstantes._TIPO_ADMINISTRADORA_NO_EXISTENTE);\r\n\t\t\tpaciente.setTipo_usuario(\"\");\r\n\t\t\tpaciente.setApellido1(\"\");\r\n\t\t\tpaciente.setApellido2(\"\");\r\n\t\t\tpaciente.setNombre1(\"PACIENTE NO EXISTE\");\r\n\t\t\tpaciente.setNombre2(\"\");\r\n\t\t\tpaciente.setFecha_nacimiento(new Timestamp(Calendar.getInstance()\r\n\t\t\t\t\t.getTimeInMillis()));\r\n\t\t\tpaciente.setEdad(\"\");\r\n\t\t\tpaciente.setUnidad_medidad(\"\");\r\n\t\t\tpaciente.setSexo(\"\");\r\n\t\t\tpaciente.setCodigo_dpto(\"\");\r\n\t\t\tpaciente.setCodigo_municipio(\"\");\r\n\t\t\tpaciente.setZona(\"\");\r\n\t\t\tpaciente.setLugar_exp(\"\");\r\n\t\t\tpaciente.setProfesion(\"\");\r\n\t\t\t// paciente.setTel_oficina(String.valueOf(dbxTel_oficina\r\n\t\t\t// .getValue()));\r\n\t\t\tpaciente.setTel_oficina(\"\");\r\n\t\t\t// paciente.setTel_res(String.valueOf(dbxTel_res.getValue()));\r\n\t\t\tpaciente.setTel_res(\"\");\r\n\t\t\tpaciente.setDireccion(\"\");\r\n\t\t\tpaciente.setEstado_civil(\"\");\r\n\t\t\tpaciente.setPaciente_particula(\"N\");\r\n\t\t\tpaciente.setEstrato(\"\");\r\n\t\t\tpaciente.setTipo_afiliado(\"\");\r\n\t\t\tpaciente.setCreacion_date(new Timestamp(new GregorianCalendar()\r\n\t\t\t\t\t.getTimeInMillis()));\r\n\t\t\tpaciente.setUltimo_update(new Timestamp(new GregorianCalendar()\r\n\t\t\t\t\t.getTimeInMillis()));\r\n\t\t\tpaciente.setCreacion_user(\"TEMP\");\r\n\t\t\tpaciente.setUltimo_user(\"TEMP\");\r\n\t\t\tpaciente.setIngresos(0);\r\n\t\t\tpaciente.setLogin(\"\");\r\n\t\t\tpaciente.setPassword(\"\");\r\n\t\t\tpaciente.setNivel_sisben(\"\");\r\n\r\n\t\t\tpaciente.setPertenencia_etnica(\"\");\r\n\t\t\tpaciente.setCodigo_educativo(\"\");\r\n\t\t\tpaciente.setCodigo_ocupacion(\"\");\r\n\t\t\tpaciente.setArea_paciente(\"\");\r\n\t\t\tpaciente.setNivel_sisben(\"\");\r\n\t\t\t// creamos paciente si no existe\r\n\t\t\tgetServiceLocator().getServicio(PacienteService.class).crear(\r\n\t\t\t\t\tpaciente, false);\r\n\t\t\treturn paciente;\r\n\t\t} else {\r\n\t\t\treturn pacienteTemp;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b467c7a61015b37686e439fb0f87b7e1", "score": "0.5443845", "text": "@Override\n\tpublic boolean existWhenAddIn(int sNo) {\n\t\treturn standardDAO.existWhenAddIn(sNo);\n\t}", "title": "" }, { "docid": "0c9272a078250c464221290e88e31b7c", "score": "0.54395574", "text": "@Override\n\t\tpublic boolean exists(String id) {\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "9937c9d9224130e6619d07d8cf5c6d64", "score": "0.5439513", "text": "public boolean isSetIgnore_existed_index() {\n return __isset_bit_vector.get(__IGNORE_EXISTED_INDEX_ISSET_ID);\n }", "title": "" }, { "docid": "630f4c3dc71d6949c626eb39db92106a", "score": "0.5429907", "text": "@Override\r\n\tpublic boolean existsById(Integer id) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "630f4c3dc71d6949c626eb39db92106a", "score": "0.5429907", "text": "@Override\r\n\tpublic boolean existsById(Integer id) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "7860427abd605840b7349bb9ae421d23", "score": "0.54291946", "text": "@Override\n\tpublic boolean existsById(ID id) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "24baebc45127f6ba573f4aebb903789d", "score": "0.54260916", "text": "private boolean existeSetor(String codigo) throws SQLException{\r\n\t\t\r\n\t\t\tString sql = \"SELECT COUNT(*) as conta FROM Setores WHERE Codigo_setores = ?;\"; \r\n\t\t\tPreparedStatement stmt = conn.prepareStatement(sql); \r\n\r\n\t\t\tstmt.setString(1, codigo);\r\n\t\t\t//EXECUTEQUERY É PARA SELECTS\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t \t\t\r\n\t\t\twhile(rs.next()){\r\n\t\t\t\tif(rs.getInt(\"conta\") == 0){\r\n\t\t\t\t\treturn false;\r\n\t }\r\n\t\t\t}\r\n\t\t\trs.close();\r\n\t\t\treturn true;\r\n\t\t}", "title": "" }, { "docid": "c14c1890e14c2abb4097af8133cc826a", "score": "0.54185414", "text": "public boolean isExist(int con_id, int type) throws AppException;", "title": "" }, { "docid": "ab929bb59df9551e665195166d216ead", "score": "0.5414204", "text": "boolean hasDistrInfo();", "title": "" }, { "docid": "15d6bb9670c1b3d8805ce7373950e9c1", "score": "0.54079765", "text": "@Test\n public void redisExistFails() throws Exception {\n // ARRANGE\n RedisHashMap map = new RedisHashMap(\"test\");\n\n // ACT\n boolean exists = map.exists(redis, \"key\");\n\n // ASSERT\n assertThat(exists).isFalse();\n }", "title": "" }, { "docid": "e5ca999255e97781d29b317ae406279b", "score": "0.54072785", "text": "@Test(priority = 02,groups = { \"chpmex\" }, description = \"MAFQABANG-667\")\n\t\t\tpublic void verifyNoDocumentsErrorMsg() throws Exception {\n\t\t\t\tSoftAssert softas = new SoftAssert();\n\t\t\t\tHomePage homepage = this.homepage;\n\t\t\t\ttry {\n\t\t\t\t\ttestResult = Reporter.getCurrentTestResult();\n\n\t\t\t\t\textentLogger = setUpExtentTest(extentLogger, \"SearchPage\", testResult.getMethod().getMethodName());\n\t\t\t\t\t//homepage.openHomepage();\n\n\t\t\t\t\tString jiraNumber = testResult.getMethod().getDescription();\n\n\t\t\t\t\t//String issueSummary = getIssueTitle(jiraNumber, \"Verify the Error message when user search with empty search box\");\n\n\t\t\t\t\tJSONArray listOfSearchData = jsonReader.readJSONDataFromFile(jiraNumber, extentLogger);\n\n\t\t\t\t\tfor (Object searchString : listOfSearchData) {\n\n\t\t\t\t\t\tJSONObject jsonObjectChild = (JSONObject) searchString;\n\n\t\t\t\t\t\tString searchword = jsonReader.readKeyValueFromJsonObject(jsonObjectChild,\n\t\t\t\t\t\t\t\t\"searchKeyword\", extentLogger);\n\t\t\t\t\t\t\n\t\t\t\t\t\tString issueSummary = jsonReader.readKeyValueFromJsonObject(jsonObjectChild,\n\t\t\t\t\t\t\t\t\"Summary\", extentLogger);\n\n\t\t\t\t\t//homepage.openHomepage();\n\t\t\t\t\tsearchpage = homepage.OpenSearchPage();\n\t\t\t\t\tsearchpage.enterTextInSearchField(searchword);\n\t\t\t\t\t\n\n\t\t\t\t\tsearchResultsPage = searchpage.clickOnSearch();\n\t\t\t\t\tboolean isDisplayed = searchResultsPage.isNoDocumentErrorDisplayed();\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t softas.assertTrue(isDisplayed,issueSummary+\":\"+jiraNumber);\n\t\t\t\t\tlogExtentStatus(extentLogger, isDisplayed, \":verifyNoDocumentsErrorMsg\", jiraNumber);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception exc) {\n\t\t\t\t\tlogTestExceptionToExtentLogger(testResult.getMethod().getMethodName(), exc, extentLogger);\n\n\t\t\t\t\tsoftas.assertTrue(false, \"Exception in Test\");\n\t\t\t\t} finally {\n\t\t\t\t\textentReports.endTest(extentLogger);\n\t\t\t\t\tsoftas.assertAll();\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "f1cfa100fbd03dc914969f380be92c26", "score": "0.54059535", "text": "@Override\n public boolean hasObjeto() {\n return objeto_ != null;\n }", "title": "" } ]
da81b94c78d54e5842c3b1d93c5f5947
Tests querying a non existing section.
[ { "docid": "5e68d1fcb3f4a679e3a5fd7081de3f07", "score": "0.6707845", "text": "@Test\n public void testGetSectionNonExisting() throws ConfigurationException {\n final INIConfiguration config = setUpConfig(INI_DATA);\n final HierarchicalConfiguration<ImmutableNode> section = config.getSection(\"Non existing section\");\n assertTrue(section.isEmpty());\n }", "title": "" } ]
[ { "docid": "8f0a1498b9a372f4b23b8662680e51fc", "score": "0.6218697", "text": "@Test\n public void testGetSectionExisting() throws ConfigurationException {\n final INIConfiguration config = setUpConfig(INI_DATA);\n final HierarchicalConfiguration<ImmutableNode> section = config.getSection(\"section1\");\n assertEquals(\"foo\", section.getString(\"var1\"));\n assertEquals(\"451\", section.getString(\"var2\"));\n }", "title": "" }, { "docid": "dbc79f9904b839df9929761a799e3a66", "score": "0.61541057", "text": "@Test\n public void testGetSectionsNoGlobal() throws ConfigurationException {\n checkSectionNames(INI_DATA, new String[] {\"section1\", \"section2\", \"section3\"});\n }", "title": "" }, { "docid": "f16d70a74c1c2350e6839d403e617c0a", "score": "0.6105211", "text": "boolean has(Section section);", "title": "" }, { "docid": "114de46775cd3a90a7ecae987491ca15", "score": "0.5791287", "text": "private void ensureSectionExists(final String sectionName) {\n if (!invalidNodes.containsKey(sectionName)) {\n invalidNodes.put(sectionName, new ArrayList<>());\n }\n }", "title": "" }, { "docid": "828b7862f6a2cf6d4799dc24a2ded143", "score": "0.57498914", "text": "@Test\n public void testGetSectionGlobalNonExisting() throws ConfigurationException {\n final INIConfiguration config = setUpConfig(INI_DATA);\n final HierarchicalConfiguration<ImmutableNode> section = config.getSection(null);\n assertTrue(section.isEmpty());\n }", "title": "" }, { "docid": "992c8690018db487b3d505ac62b41b35", "score": "0.5745466", "text": "@Test\n public void testGetSectionNonExistingManipulate() throws ConfigurationException, IOException {\n final INIConfiguration config = setUpConfig(INI_DATA);\n HierarchicalConfiguration<ImmutableNode> section = config.getSection(\"newSection\");\n section.addProperty(\"test\", \"success\");\n assertEquals(\"success\", config.getString(\"newSection.test\"));\n final StringWriter writer = new StringWriter();\n config.write(writer);\n final INIConfiguration config2 = setUpConfig(writer.toString());\n section = config2.getSection(\"newSection\");\n assertEquals(\"success\", section.getString(\"test\"));\n }", "title": "" }, { "docid": "a1cb29ef39734091660754dbc4d56199", "score": "0.57216805", "text": "@Test\n public void testGetPropertyNoKey() throws ConfigurationException {\n final String data = INI_DATA2 + LINE_SEPARATOR + \"= noKey\" + LINE_SEPARATOR;\n final INIConfiguration config = setUpConfig(data);\n assertEquals(\"noKey\", config.getString(\"section4. \"));\n }", "title": "" }, { "docid": "e2e86464832fbc47fc2ac9f990539f11", "score": "0.57194465", "text": "@Test\n public void testGetSections() throws Exception {\n testSections(\"\", 1, 1, 1, 1, 1);\n // ask explicitly for all\n testSections(\"All\", 1, 1, 1, 1, 1);\n // test sections one by one\n testSections(\"ServiceIdentification\", 1, 0, 0, 0, 0);\n testSections(\"ServiceProvider\", 0, 1, 0, 0, 0);\n testSections(\"OperationsMetadata\", 0, 0, 1, 0, 0);\n testSections(\"FeatureTypeList\", 0, 0, 0, 1, 0);\n testSections(\"Filter_Capabilities\", 0, 0, 0, 0, 1);\n // try a group\n testSections(\"ServiceIdentification,Filter_Capabilities\", 1, 0, 0, 0, 1);\n // mix All in the middle\n testSections(\"ServiceIdentification,Filter_Capabilities,All\", 1, 1, 1, 1, 1);\n // try an invalid section\n Document dom = getAsDOM(\"wfs?service=WFS&version=2.0.0&request=GetCapabilities&sections=FooBar\");\n checkOws11Exception(dom, \"2.0.0\", \"InvalidParameterValue\", \"sections\");\n }", "title": "" }, { "docid": "bc052cdf22a53081db0dfc1d4a9ec600", "score": "0.5673845", "text": "public boolean hasSection(String section) {\n return root_sections.hasSection(section);\n }", "title": "" }, { "docid": "8681348fb983f2941744b7d14259b854", "score": "0.5558549", "text": "@Test\n public void testGetSectionsGlobalOnly() throws ConfigurationException {\n checkSectionNames(INI_DATA_GLOBAL_ONLY, new String[] {null});\n }", "title": "" }, { "docid": "1716d8cd62fc9e93970e78d58e1f4590", "score": "0.55194885", "text": "public Section getSectionByName(String name) throws DaoEntityNotFoundException;", "title": "" }, { "docid": "855a6d4c2564e0ec31592534a505cbd2", "score": "0.55173826", "text": "@Test\n public void sectionIdTest() {\n // TODO: test sectionId\n }", "title": "" }, { "docid": "3df3f80def3ca0945272d416167ea50b", "score": "0.54747283", "text": "@Test\n public void testGetSectionsAdded() throws ConfigurationException {\n final INIConfiguration config = setUpConfig(INI_DATA2);\n config.addProperty(\"section5.test\", Boolean.TRUE);\n checkSectionNames(config, new String[] {\"section4\", \"section5\"});\n }", "title": "" }, { "docid": "84a1f58f4ec9bacbcbc0a2e14fc8afdf", "score": "0.53758055", "text": "private static boolean ValSectionCourse(Connection conn, String course, String section) throws SQLException {\n\t\t\n\t\t String Db_course_name =null;\n\t\t PreparedStatement p = conn.prepareStatement(SelCourseNoFromSection);\n\t\t p.clearParameters();\n\t\t p.setString(1, section);\n\t\t ResultSet r = p.executeQuery();\n\t\t \n\t\t if(r.next()){\n\t\t\t Db_course_name = r.getString(1);\n\t\t }\n\t\t if(Db_course_name != null && Db_course_name.equalsIgnoreCase(course))\n\t\t {\n\t\t\treturn true;\n\t\t }\n\t\t System.out.println(\"\\nWARNING: The Course = \"+course +\"and section = \"+section+ \"are either not presenting or matching\");\n\t\treturn false;\n\t\t\n\t}", "title": "" }, { "docid": "7f17171debd225cbd221532af61fdc84", "score": "0.53615177", "text": "@Test\n public void testGetSectionsWithGlobal() throws ConfigurationException {\n checkSectionNames(INI_DATA_GLOBAL, new String[] {null, \"section1\", \"section2\", \"section3\"});\n }", "title": "" }, { "docid": "1c17377d67f911a6965b8fbb763feac9", "score": "0.53594446", "text": "@Test\n public void testGetSectionDuplicate() {\n final INIConfiguration config = new INIConfiguration();\n config.addProperty(\"section.var1\", \"value1\");\n config.addProperty(\"section(-1).var2\", \"value2\");\n final HierarchicalConfiguration<ImmutableNode> section = config.getSection(\"section\");\n final Iterator<String> keys = section.getKeys();\n assertEquals(\"var1\", keys.next());\n assertFalse(keys.hasNext());\n }", "title": "" }, { "docid": "2dadf348d60a3f5ca9d823022223375f", "score": "0.52795845", "text": "@Test\n public void testGetPropertyNoValue() throws ConfigurationException {\n final String data = INI_DATA2 + LINE_SEPARATOR + \"noValue =\" + LINE_SEPARATOR;\n final INIConfiguration config = setUpConfig(data);\n assertEquals(\"\", config.getString(\"section4.noValue\"));\n }", "title": "" }, { "docid": "29f49e3df8a5a0a2ba32d50a27ca0f7a", "score": "0.5268838", "text": "private boolean isEmpty(SectionItem item) {\r\n boolean flag = true;\r\n\r\n String sql = \"SELECT category_id FROM tblcategory \";\r\n sql += \"WHERE category_section_id ='\" + item.getSection_id() + \"'\";\r\n ResultSet rs = this.get(sql);\r\n if (rs != null) {\r\n try {\r\n if (rs.next()) {\r\n flag = false;\r\n }\r\n } catch (SQLException ex) {\r\n ex.printStackTrace();\r\n }\r\n }\r\n return flag;\r\n }", "title": "" }, { "docid": "7c745bc6f5a52196cf4920e343900e87", "score": "0.52265114", "text": "public Deedtype[] findWhereSectionEquals(String section) throws DeedtypeDaoException;", "title": "" }, { "docid": "ceadce916e7f2f71d918f358299c0177", "score": "0.52195555", "text": "@Override\n\tpublic SectionTest selectById(Integer id) throws DaoException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f2e9cb5e680e47761daa61c074c96409", "score": "0.5207053", "text": "private void ignoreIfFindNotSupported() {\n try {\n Assume.assumeTrue(\"This format does not support range queries\", storeCreationFunction.newInstance().getKeyFormat().apply(new SupportFindFormatVisitor()));\n } catch (InstantiationException | IllegalAccessException e) {\n fail(\"TestStoreCreationFunction instantiation problem: \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "edcad09fc5fb915485dd9bcf0260be9c", "score": "0.51683664", "text": "@Test\n public void testGetWithInvalidId() {\n LUNs result = dao.get(\"farkle\");\n\n assertNull(result);\n }", "title": "" }, { "docid": "c1dfadc99614b52490274b3d32c5fdd5", "score": "0.5143875", "text": "public void courseNotFound()\n\t{\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"This course could not be found.\");\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "1e2e6bff8e233ff09a8720f4c33c8738", "score": "0.5138055", "text": "private void checkQueryAvailability(String query)\n\t\t\tthrows Exception {\n\t\tif (query == null) {\n\t\t\tthrow new Exception(\"The value of query is null.\");\n\t\t}\n\t\tif (query == null) {\n\t\t\tthrow new Exception(\"The value of query is empty.\");\n\t\t}\n\t}", "title": "" }, { "docid": "43b7d2162bbb8ce52087b3d8867ec95b", "score": "0.5128318", "text": "@Test(expected=ClassicNotFoundException.class)\n public void testGetCourseNotesReferenceNotFoundException() throws ClassicDatabaseException, ClassicNotFoundException {\n \tcourseNotesReferenceController.getCourseNotesReference(0);\n }", "title": "" }, { "docid": "1deefa99c8211aadcfb41e1c247a0501", "score": "0.51261425", "text": "public void testContainsAnchorNonexist() {\n assertFalse(\"false expected\", instance.containsAnchor(anchor1));\n }", "title": "" }, { "docid": "44609e7063adbb5c1bb2cae59c325791", "score": "0.5121931", "text": "@Test\n public void testGetSectionsSynchronized() throws ConfigurationException {\n final INIConfiguration config = setUpConfig(INI_DATA);\n final SynchronizerTestImpl sync = new SynchronizerTestImpl();\n config.setSynchronizer(sync);\n assertFalse(config.getSections().isEmpty());\n sync.verify(Methods.BEGIN_READ, Methods.END_READ);\n }", "title": "" }, { "docid": "0b7599cb68d99e2213fb7fcc1ed91894", "score": "0.5070784", "text": "private boolean checkSectionsPresent(Course c) {\r\n\t\t\tboolean toReturn = true;\r\n\t\t\t\r\n\t\t\tif(c.shouldHaveSection(\"LAB\") && c.getLab() == null) {\r\n JOptionPane.showMessageDialog(null, c.getNumber() + \" has no open LAB sections\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n toReturn = false;\r\n\t\t\t}\t\r\n\t\t\telse if(c.shouldHaveSection(\"QZ\") && c.getQuiz() == null) {\r\n JOptionPane.showMessageDialog(null, c.getNumber() + \" has no open QZ sections\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n toReturn = false;\r\n\t\t\t}\r\n\t\t\telse if(c.shouldHaveSection(\"REC\") && c.getRec() == null) {\r\n JOptionPane.showMessageDialog(null, c.getNumber() + \" has no open REC sections\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n toReturn = false;\r\n\t\t\t}\r\n\t\t\telse if(c.shouldHaveSection(\"LEC\") && (c.getSections() == null || c.getSections().size() == 0)) {\r\n JOptionPane.showMessageDialog(null, c.getNumber() + \" has no open LEC/other sections\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n toReturn = false;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn toReturn;\r\n\t\t}", "title": "" }, { "docid": "984f9f8e481cf02ee6d78207e82aa1c3", "score": "0.5049156", "text": "@Test\n public void testFindNonExisting() {\n assertNull(menuService.find(0));\n }", "title": "" }, { "docid": "83a1b77ad4c2c79da6c3c29e61998d48", "score": "0.50353986", "text": "@Implementation(minSdk = JELLY_BEAN_MR2)\n protected static void beginSection(String sectionName) {\n if (tags == 0) {\n return;\n }\n if (!checkValidSectionName(sectionName)) {\n return;\n }\n currentSections.get().addFirst(sectionName);\n }", "title": "" }, { "docid": "dd97504fdf6f032941dff59d6afa2a6c", "score": "0.5032738", "text": "public void setSection(String section) {\n this.section = section;\n }", "title": "" }, { "docid": "c1f77b761a9b95a0475a3800d3aacdc2", "score": "0.5029076", "text": "public Map getSection(String sectionName);", "title": "" }, { "docid": "2181cd71ecadff64f79128169693a10f", "score": "0.50262934", "text": "public boolean notFound()\n {\n return notFound;\n }", "title": "" }, { "docid": "8b3a65b4436442a1eb346865176dd689", "score": "0.5025806", "text": "@Test\n public void findProfessorFailure() {\n String uname = AssignmentDao.getUname();\n AssignmentDao.setUname(\"\");\n assertTrue(AssignmentDao.getInstance().\n findProfessor(1).isEmpty());\n AssignmentDao.setUname(uname);\n }", "title": "" }, { "docid": "dc93c94d7545bcadbdc575f73e064afb", "score": "0.5023406", "text": "public void testLineDoesNotContainColon() throws BadLocationException {\n IndentRuleQuestion rule = new QuestionLineContains(':', null, null);\n \n // No colon in text\n _setDocText(\"foo();\\nreturn test ? x : y;\\n}\\n\");\n _doc.setCurrentLocation(6);\n assertTrue(\"no colon\", !rule.applyRule(_doc));\n _doc.setCurrentLocation(28);\n assertTrue(\"line of close brace (no colon in text)\", !rule.applyRule(_doc)); \n }", "title": "" }, { "docid": "634dcab32e82bc6797c6d5cd4e599475", "score": "0.49976113", "text": "public boolean DBExistsPlayerData(final String section, final String name);", "title": "" }, { "docid": "00e045a53aa89ba835281b66860da322", "score": "0.4993447", "text": "private void validateNoRowsReturned( QuerySet aResults ) {\n assertEquals( 0, aResults.getRowCount() );\n }", "title": "" }, { "docid": "8e635377b69f310b4cbe9c2efc6e006c", "score": "0.497858", "text": "public void testEmptySearch() {\r\n\t\tItem[] arr = requestManager.searchItems(\"thisqueryshouldreturnnoresults ***\");\r\n\r\n\t\tassertNotNull(\"Zero length array expected, got null array\", arr);\r\n\t\tassertEquals(arr.length, 0);\r\n\t}", "title": "" }, { "docid": "3d51c380de078e5e201e95780f1750e9", "score": "0.4972908", "text": "@Override\n\t\t\tprotected boolean noSubQueryIsKeyQuery(String query) {\n\t\t\t\treturn true;\n\t\t\t}", "title": "" }, { "docid": "e8354d43190c1f6047ed148874876478", "score": "0.49717224", "text": "@Override\r\n\tpublic List<Section> selectByIdTest(int idtest) throws DALException {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "dceef364fddfe11e41b70155170a0b11", "score": "0.49709213", "text": "@isTest static void verifyEmptySearch() {\n String noInputErrorMsg = system.label.account_search_no_input_provided;\n \n AccountSeachController accountSearchController = new AccountSeachController();\n \n Test.startTest();\n accountSearchController.search();\n Test.stopTest(); \n \n List<Apexpages.Message> msgs = ApexPages.getMessages();\n boolean verifyMsg = false;\n for(Apexpages.Message msg:msgs){\n if(msg.getDetail().contains(noInputErrorMsg)) {\n verifyMsg = true;\n }\n }\n system.assert(verifyMsg);\n }", "title": "" }, { "docid": "b70233427897aacf32f8e19837be8752", "score": "0.4970138", "text": "public void testNonExistentID() throws Exception {\n ServletRunner runner = new ServletRunner(createDefaultWebXML());\n ServletUnitClient client = runner.newClient();\n\n WebRequest request = createPostRequest(VALID_TEST_XML, READER_TEST_URL);\n WebResponse response = client.getResponse(request);\n String id = response.getHeaderField(\n MessageStoreServlet.MESSAGE_RESPONSE_HEADER_NAME);\n\n // Check the ID has been returned OK\n assertNotNull(\"ID should exist in the headers\", id);\n\n // Use a fake servlet class to avoid the need to initialise and run\n // an entire MCS session.\n request = new GetMethodWebRequest(PARTIAL_TEST_URL);\n request.setHeaderField(\"User-Agent\", \"Mozilla/5.0 Firefox...\");\n request.setParameter(MessageStoreServlet.MESSAGE_RETRIEVE_PARAM_NAME,\n id);\n\n client = runner.newClient();\n response = client.getResponse(request);\n assertEquals(\"The response code should indicate success\",\n MessageStoreMessageEnumeration.SUCCESS.getValue(),\n response.getResponseCode());\n\n // create invalid ID\n String invalidID = \"123h23h29t\";\n\n // get the invalid ID\n request = new GetMethodWebRequest(FULL_TEST_URL);\n request.setHeaderField(\"User-Agent\", \"Mozilla/5.0 Firefox...\");\n request.setParameter(MessageStoreServlet.MESSAGE_RETRIEVE_PARAM_NAME,\n invalidID);\n\n client = runner.newClient();\n\n try {\n client.getResponse(request);\n fail(\"Getting an invalid ID is not allowed and should throw a 404\");\n } catch (HttpException he) {\n // exception should be thrown\n // check that the reponse code is correct.\n assertEquals(\"Reponse code is not correct\",\n HttpServletResponse.SC_NOT_FOUND,\n he.getResponseCode());\n }\n\n\n }", "title": "" }, { "docid": "14b24cb9e0a02b43a11004fcab9bf24d", "score": "0.49654374", "text": "@Override\n\tpublic Section selectById(int id) throws DALException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "59a0a6a45f9f9c46932d50168def952c", "score": "0.496198", "text": "public void getAlternativeSections(Section section){\n\n String department = section.getSourceCourse().getDepartmentAcronym();\n String classNumber = section.getSourceCourse().getCourseNumber();\n\n String url = URL_GET_COURSE_SECTIONS\n + URL_GET_COURSE_SECTIONS_PARAM_SEMESTER + scheduleToShow.getSemesterNumber()\n + URL_GET_COURSE_SECTIONS_PARAM_CLASSNUMBER + department + \"-\" + classNumber;\n\n HTTPService.FetchURL(url, ACTION_GET_COURSE_SECTIONS, this);\n\n showProgressDialog(\"Fetching Class Details\", \"Getting alternate sections for class:\\n\" + section.getDescription());\n\n }", "title": "" }, { "docid": "de8980b6b9c281619a0d80b467464338", "score": "0.4960323", "text": "String getSection();", "title": "" }, { "docid": "e44f78a12d9eec3234b0bb3e01d420d1", "score": "0.49602258", "text": "@Test\n public void testWriteEmptySection() throws ConfigurationException, IOException {\n final String section = \"[EmptySection]\";\n final INIConfiguration config = setUpConfig(section);\n assertEquals(Collections.singleton(\"EmptySection\"), config.getSections());\n\n final StringWriter writer = new StringWriter();\n config.write(writer);\n assertEquals(section + LINE_SEPARATOR + LINE_SEPARATOR, writer.toString());\n }", "title": "" }, { "docid": "bba7c9770d9359a466eca80d96d021f8", "score": "0.49516752", "text": "@Test\n public void testEmptyWrappingAbstractSection() throws Exception {\n JCas cas = JCasFactory.createJCas(\"de.julielab.jcore.types.jcore-document-meta-pubmed-types\",\n \"de.julielab.jcore.types.jcore-document-structure-pubmed-types\");\n CollectionReader reader = CollectionReaderFactory.createReader(PMCReader.class, PMCReader.PARAM_INPUT,\n \"src/test/resources/documents-misc/PMC2836310.nxml.gz\");\n reader.getNext(cas.getCas());\n Iterator<AnnotationFS> secIt = CasUtil.iterator(cas.getCas(),\n CasUtil.getAnnotationType(cas.getCas(), AbstractSection.class));\n assertTrue(secIt.hasNext());\n int i = 0;\n while (secIt.hasNext()) {\n AbstractSection sec = (AbstractSection) secIt.next();\n if (i == 1) {\n assertEquals(\"Background\", sec.getAbstractSectionHeading().getCoveredText());\n }\n if (i == 2) {\n assertEquals(\"Results\", sec.getAbstractSectionHeading().getCoveredText());\n }\n if (i == 3) {\n assertEquals(\"Conclusions\", sec.getAbstractSectionHeading().getCoveredText());\n }\n assertTrue(i < 4);\n ++i;\n }\n }", "title": "" }, { "docid": "6dfa793db39cee138735cf88617a1d55", "score": "0.49476787", "text": "public GutSection getSection(Species species, GutComponentName name) {\n\t\tString queryString = \"FROM GutSection WHERE species LIKE '\" + species + \"' AND name LIKE '\"+name+\"'\";\n\t\tlogger.info(queryString);\n\t\tQuery query = em.createQuery(queryString);\n \tList<GutSection> allSections = (List<GutSection>) query.getResultList();\n \tif(allSections.isEmpty()) {\n \t\tthrow new DatabaseException(\"No \"+name+\" from species \" + species.toString()+\" in database.\");\n \t}\n \treturn allSections.get(0);\n\t}", "title": "" }, { "docid": "ab28707616e20a609698a3c776157012", "score": "0.4938845", "text": "private void defaultLookupShouldNotBeFound(String filter) throws Exception {\n restLookupMockMvc.perform(get(\"/api/lookups?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restLookupMockMvc.perform(get(\"/api/lookups/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "4c62d66f3292f765514a409d0009120a", "score": "0.4925879", "text": "private void defaultExerciseShouldNotBeFound(String filter) throws Exception {\n restExerciseMockMvc\n .perform(get(ENTITY_API_URL + \"?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restExerciseMockMvc\n .perform(get(ENTITY_API_URL + \"/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "762ab7c5c9efbd9aeebc9db8ed4da4eb", "score": "0.49228674", "text": "@Test\r\n\tpublic void itemDoesNotExist() {\r\n\t\tList<Integer> testList = new ArrayList<>();\r\n\t\ttestList.add(0);\r\n\t\ttestList.add(1);\r\n\t\tassertFalse(testList.contains(2));\r\n\r\n\t}", "title": "" }, { "docid": "0edc37fed1a26fb00996c0e3a6892708", "score": "0.4922501", "text": "@Test\n public void testRetrievingAMissingKey(TestContext tc) {\n JsonObject additionalConfig = getRetrieverConfiguration();\n JsonObject config = additionalConfig.copy()\n .put(\"path\", \"secret/app/foo\").put(\"key\", \"missing\");\n\n retriever = ConfigRetriever.create(vertx, new ConfigRetrieverOptions()\n .addStore(new ConfigStoreOptions().setType(\"vault\")\n .setConfig(config)));\n\n Async async = tc.async();\n\n retriever.getConfig().onComplete(json -> {\n tc.assertTrue(json.succeeded());\n tc.assertTrue(json.result().isEmpty());\n async.complete();\n });\n }", "title": "" }, { "docid": "1f5c19dbc809644403196f5cf4aa4d0a", "score": "0.49128184", "text": "@Test\n public void TestGetPostIdThatDoesNotExist() throws UnirestException {\n wpLogger.info(\"Testing giving a post ID that doesn't exist to the Get Post by Id endpoint.\");\n JSONObject response = wpTC.getPost(getNonExistentId);\n wpTestLib.VerifyResponseItemDoesNotExist(response, getNonExistentCode, getNonExistentMessage);\n }", "title": "" }, { "docid": "f9e73002bff0ca755809a8f0dedaa755", "score": "0.49093363", "text": "public void setSection(String section) {\r\n this.section = section == null ? null : section.trim();\r\n }", "title": "" }, { "docid": "8738cb31d9865d353d1fca7b85e34d11", "score": "0.49063924", "text": "@Test\n\t@DisplayName(\"ID로 ExercisePost 찾기 -> 존재하지 않음\")\n\tvoid findByIdNonExist() {\n\t\t//Given\n\t\tLong nonExistId = Long.valueOf(1);\n\t\tgiven(exercisePostRepository.findById(nonExistId)).willReturn(Optional.empty());\n\t\t\n\t\t//When\n\t\tassertThrows(ExercisePostNotFoundedException.class, () -> {\n\t\t\texercisePostService.findById(nonExistId);\n\t\t});\n\t}", "title": "" }, { "docid": "cc923809c88f9b4039a228285f60c6a1", "score": "0.4901468", "text": "public void testCheckNonExistingItem() throws Exception {\n String dummyPath = \"[\" + NodeId.randomId() + \"]\";\n assertFalse(superuser.itemExists(dummyPath));\n assertFalse(superuser.nodeExists(dummyPath));\n }", "title": "" }, { "docid": "c19354cc8e209721a3a5f1259524cbfa", "score": "0.48989972", "text": "private void defaultProfessorShouldNotBeFound(String filter) throws Exception {\n restProfessorMockMvc\n .perform(get(ENTITY_API_URL + \"?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restProfessorMockMvc\n .perform(get(ENTITY_API_URL + \"/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "3c15d1bdb8267ae2ebb2d85d613a57df", "score": "0.48893675", "text": "private void verifyFieldExists(String fieldName) {\n\t\t// method called in all get field methods. If the code flow\n\t\t// encounters a field which is not declared in operation input fields,\n\t\t// exception will be raised. The exception will always be raised for the\n\t\t// first invalid field\n\n\t\tif (!fields.contains(fieldName)) {\n\t\t\tthrow new ReusableRowException(\n\t\t\t\t\t\"ReusableRow can only be used to fetch values for fields it has been instantiated with. Missing field: '\"\n\t\t\t\t\t\t\t+ fieldName + \"'\");\n\n\t\t}\n\t}", "title": "" }, { "docid": "d63f9ca95434c7c66f79ad3d3968e902", "score": "0.4884195", "text": "@Test(groups=\"functional-tests\")\n\tpublic void getPageNotFound()\n\t{\n\t\tClientResponse<Page> response = pageClient.getPage(UUID.fromString(\"0a00d62c-af29-3723-f949-95a950a0dddd\"));\n\t\t\n\t\tAssert.assertEquals(response.getStatus(), 404);\n\t}", "title": "" }, { "docid": "ae1c7a1aa898a80447cb0b5abd97171d", "score": "0.48797554", "text": "@Test\n\t@DisplayName(\"ID로 ExercisePost 찾기, Comments 페치 조인 -> 존재하지 않음\")\n\tvoid findWithCommentsByIdNonExist() {\n\t\t//Given\n\t\tLong nonExistId = Long.valueOf(1);\n\t\tgiven(exercisePostRepository.findWithCommentsById(nonExistId)).willReturn(Optional.empty());\n\t\t\n\t\t//When, Then \n\t\tassertThrows(ExercisePostNotFoundedException.class, () -> {\n\t\t\texercisePostService.findWithCommentsById(nonExistId);\n\t\t});\n\t}", "title": "" }, { "docid": "ec8552a07c0ad02add2efe846eb1b8ff", "score": "0.4864126", "text": "public void setSection(String v) \n {\n \n if (!ObjectUtils.equals(this.section, v))\n {\n this.section = v;\n setModified(true);\n }\n \n \n }", "title": "" }, { "docid": "21a173d00549bc175f80a655d014bece", "score": "0.4856608", "text": "@Override\n\tpublic Section selectByIdentifiant(String identifiant, String mdp) throws DALException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "71d2c9cb717bd67c2fc06aaedcfdc813", "score": "0.48560137", "text": "@Test(description = \"Capabilities document with no Content section.\\n\"\n \t\t+ \"Requirements Class: https://www.opengis.net/def/security/1.0/cr/clientParsing/3\")\n public void noContentSectionCapabilities() {\n \t// Print out Client Conformance Test Checklist for human operator\n \tthrow new SkipException(\"Please see site documentation page for \\\"Test Suite\\\" and apply section \"\n \t\t\t+ \"\\\"Manual Checklist: Capabilities with No Content Section\\\"\");\n }", "title": "" }, { "docid": "5747d23c7c64f9396c43f78de3437767", "score": "0.4853561", "text": "public void testIndexOfAnchorNonexist() {\n assertEquals(\"-1 expected\", -1, instance.indexOfAnchor(anchor1));\n }", "title": "" }, { "docid": "2eb437911ae93ef36b81a3fcdb3f2137", "score": "0.48529512", "text": "public void presentSpeakerNotFound() {\n System.out.println(\"The entered id is either not exist or not a speaker. Please double check and try again\");\n }", "title": "" }, { "docid": "98aebd6bcd9d7b21cfeb9a1d675ddb15", "score": "0.48501718", "text": "private void defaultPersonNotesShouldNotBeFound(String filter) throws Exception {\n restPersonNotesMockMvc\n .perform(get(ENTITY_API_URL + \"?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(jsonPath(\"$\").isArray())\n .andExpect(jsonPath(\"$\").isEmpty());\n\n // Check, that the count call also returns 0\n restPersonNotesMockMvc\n .perform(get(ENTITY_API_URL + \"/count?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_VALUE))\n .andExpect(content().string(\"0\"));\n }", "title": "" }, { "docid": "59982945a7bb424f324d62dc57f3f72a", "score": "0.48478252", "text": "@Test\n public void getConfigNotFound() {\n boolean success = false;\n try {\n configurationService.getConfig(random.nextString().replace(ConfigurationService.IN_SERVER, \"\"));\n } catch (NotFoundEntityException e) {\n assertEquals(ConfigurationService.CONFIG_NOT_FOUND, e.getMessage());\n success = true;\n }\n assertTrue(success);\n }", "title": "" }, { "docid": "4e2699e1856aa29de567bcd0eac519af", "score": "0.48467728", "text": "@Test\n void testEndpointTestNotFound() {\n final String accountId = \"test-endpoint-test-account-number\";\n final String orgId = \"test-endpoint-test-org-id\";\n\n final String identityHeaderValue = TestHelpers.encodeRHIdentityInfo(accountId, orgId, \"user-name\");\n final Header identityHeader = TestHelpers.createRHIdentityHeader(identityHeaderValue);\n\n MockServerConfig.addMockRbacAccess(identityHeaderValue, FULL_ACCESS);\n\n // Call the endpoint under test.\n final String path = String.format(\"/endpoints/%s/test\", UUID.randomUUID());\n\n final String responseBody = given()\n .header(identityHeader)\n .when()\n .post(path)\n .then()\n .statusCode(404)\n .extract()\n .body()\n .asString();\n\n Assertions.assertEquals(\"integration not found\", responseBody, \"unexpected not found error message returned\");\n }", "title": "" }, { "docid": "94f3c529d946be23e026c3c9940aab28", "score": "0.48392823", "text": "public void setSection(String section) {\n\t\tthis.section = section;\n\t}", "title": "" }, { "docid": "81553d920a38fdc5585e8aceafb4c44d", "score": "0.48387638", "text": "public boolean contains(Section section) {\n return sections.contains(section);\n }", "title": "" }, { "docid": "31c1ad98d910a643bec0109af755143a", "score": "0.4827502", "text": "private boolean verifySegment(String docId) {\n if (1 == indexDescriptor.getTotalNumberOfNodes()) {\n return true;\n }\n // otherwise, check that the document hashes to this node.\n int nodeNumber = indexDescriptor.getNodeNumber();\n int hash = hashFunction.hash(docId);\n if (nodeNumber!= hash) {\n String error = \"Trying to add a document that does not hash to this indexer.\"\n + \" Maybe the MultiIndexer configuration is wrong (indexers are mixed)\"\n + \" or some client is indexing here directly. Unfortunately, I can not\"\n + \" tell the difference.\"\n + \" This indexer handles node \" + indexDescriptor.getNodeNumber() + \"(\"+nodeNumber+\")\"\n + \" and got a document for node \" + hashFunction.hash(docId) + \"(\" + hash + \").\"\n + \" documentId is \\\"\" + docId + \"\\\"\";\n logger.error(error);\n return false;\n }\n // no error found. \n return true;\n }", "title": "" }, { "docid": "4f440e23d36f5b60621e33a00c7cc57d", "score": "0.48199654", "text": "@Test\n public void testRead() {\n verifyThat(numberOfRowsIn(\"#recordTable\"), is(0));\n }", "title": "" }, { "docid": "a0ee4cfa75c2920c7d8605a243e9a641", "score": "0.48185855", "text": "public void addSection(Section c) throws TooManySectionException, SecondSectionException {\n try {\n for (int i = 0; i < numberEnrolled; i++){\n if (section[i].getSubject().equals(c.getSubject()) && section[i].getNumber().equals(c.getNumber())) {\n throw new SecondSectionException(\"Duplicate Course: \", c);\n }\n }\n section[numberEnrolled] = c;\n numberEnrolled++;\n } catch (ArrayIndexOutOfBoundsException e) {\n throw new TooManySectionException();\n }\n }", "title": "" }, { "docid": "716615212ada327d43b6db41c643e4ba", "score": "0.48160768", "text": "private TestResult runOneTableExistsTest(QATest qatest, HashMap<String, Boolean> pool) throws IOException {\r\n TestResult result = new TestResult();\r\n result.setPassed(true);\r\n result.setResult(\"\");\r\n boolean expectedBool = getExpectedAsBool(qatest);\r\n String query = qatest.getQuery().trim().toUpperCase();\r\n String[] tables = query.split(\"\\\\s*,\\\\s*\");\r\n List<String> failures = new ArrayList<String>(tables.length);\r\n\r\n for (String table : tables) {\r\n if (\"\".equals(table)) {\r\n continue;\r\n }\r\n if (expectedBool) {\r\n if (!pool.containsKey(table)) {\r\n failures.add(table);\r\n }\r\n } else {\r\n if (pool.containsKey(table)) {\r\n failures.add(table);\r\n }\r\n }\r\n }\r\n if (failures.size() > 0) {\r\n if (expectedBool) {\r\n result.setResult(\"Not found: \" + String.join(\", \", failures));\r\n } else {\r\n result.setResult(\"Not expected: \" + String.join(\", \", failures));\r\n }\r\n result.setPassed(false);\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "bedc6f3e9a66ac20aaa2c365ec52ed6e", "score": "0.47992706", "text": "boolean hasQuery();", "title": "" }, { "docid": "bedc6f3e9a66ac20aaa2c365ec52ed6e", "score": "0.47982657", "text": "boolean hasQuery();", "title": "" }, { "docid": "bedc6f3e9a66ac20aaa2c365ec52ed6e", "score": "0.47982657", "text": "boolean hasQuery();", "title": "" }, { "docid": "bedc6f3e9a66ac20aaa2c365ec52ed6e", "score": "0.47982657", "text": "boolean hasQuery();", "title": "" }, { "docid": "bedc6f3e9a66ac20aaa2c365ec52ed6e", "score": "0.47982657", "text": "boolean hasQuery();", "title": "" }, { "docid": "bedc6f3e9a66ac20aaa2c365ec52ed6e", "score": "0.47982657", "text": "boolean hasQuery();", "title": "" }, { "docid": "7f67701ae68fa1973a343704888544d7", "score": "0.47977307", "text": "@Test\r\n public void testGetOnUnExistingId() {\r\n assertNull(repository.get(unExistingUserId));\r\n }", "title": "" }, { "docid": "c27552145609b37797c98d1c19d8d109", "score": "0.47831908", "text": "@Test\n public void getConfigInServerNotFound() {\n boolean success = false;\n try {\n configurationService.getConfig(random.nextString() + ConfigurationService.IN_SERVER);\n } catch (NotFoundEntityException e) {\n assertEquals(ConfigurationService.CONFIG_NOT_FOUND, e.getMessage());\n success = true;\n }\n assertTrue(success);\n }", "title": "" }, { "docid": "14cc4ce4f5ba9c9341314f33e8ea9d62", "score": "0.47805443", "text": "private String search(String section, String parameters) {\n try {\n HierarchicalINIConfiguration configuration = new HierarchicalINIConfiguration();\n configuration.load(\"properties/properties.cfg\");\n SubnodeConfiguration sObj = configuration.getSection(section);\n\n String param1 = sObj.getString(parameters);\n\n System.out.println(\" data in section \" + section + \"-> \" + param1);\n return param1;\n\n } catch (ConfigurationException e) {\n System.out.println(\"ERROR \" + e.hashCode() + \": \" + e.getMessage());\n e.printStackTrace();\n System.exit(-1);\n } catch (Exception e) {\n System.out.println(\"ERROR \" + e.hashCode() + \": \" + e.getMessage());\n System.exit(-1);\n }\n\n return null;\n }", "title": "" }, { "docid": "87ed3209040bf8258f08944f5b36a46f", "score": "0.47795147", "text": "public void testNoFieldNoScript() {\n expectThrows(\n IllegalStateException.class,\n () -> ValuesSourceConfig.resolve(null, null, null, null, null, null, null, CoreValuesSourceType.KEYWORD)\n );\n }", "title": "" }, { "docid": "7084d60334cf03ce10daf7a90b49d7d6", "score": "0.47729504", "text": "@Override\n\tpublic SectionTest insert(SectionTest sectionT) throws DaoException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "eaf60e5388b8670accdd753efdf5f775", "score": "0.47726268", "text": "public boolean isSection() {\n return type() == Element.SECTION;\n }", "title": "" }, { "docid": "73266096b89b779dc7fa20eb46627b5a", "score": "0.4762001", "text": "public Map removeSection(String sectionName);", "title": "" }, { "docid": "53ff9aacedcefad554577870f86e621f", "score": "0.47618946", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Section)) {\n return false;\n }\n Section other = (Section) object;\n if ((this.sectionId == null && other.sectionId != null) || (this.sectionId != null && !this.sectionId.equals(other.sectionId))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "b3552ac5e1f5bf4b007eb884f2d67f7f", "score": "0.47607762", "text": "@Test(timeout = 4000)\n public void test040() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.isQuery((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "3fc82f37be86f8afe4e6f39fd0e102d1", "score": "0.47575998", "text": "public void testUnknownQueryName() {\n String query = \"{\\\"rule_query\\\" : {\\\"organic\\\" : { \\\"unknown_query\\\" : { } } } }\";\n\n ParsingException ex = expectThrows(ParsingException.class, () -> parseQuery(query));\n assertEquals(\"[1:50] [rule_query] failed to parse field [organic]\", ex.getMessage());\n }", "title": "" }, { "docid": "687d0993eb459f1d6f7a5d8dc839591a", "score": "0.47564787", "text": "@Test(expected = FileNotFoundException.class)\n public void testGetReaderNotExisting() throws IOException {\n try (CsvFileCollection collection = new CsvFileCollection(new File(TESTDATA, \"test\"))) {\n collection.getReader(\"doesnt_exist\");\n }\n }", "title": "" }, { "docid": "130c4671183bf109b63799d30e9ad875", "score": "0.4752532", "text": "@Override\n public void assertNotExist() {\n onView(EspRecyclerViewMatcher.withRecyclerView(recyclerViewMatcher)\n .ignoreItemNotFound(true).atIndex(index)\n ).check(doesNotExist());\n }", "title": "" }, { "docid": "affb32354387c27b2b873cf4f3293e71", "score": "0.4751883", "text": "@Test\n public void testGetSectionConnected() throws ConfigurationException {\n final INIConfiguration config = setUpConfig(INI_DATA);\n final HierarchicalConfiguration<ImmutableNode> section = config.getSection(\"section1\");\n section.setProperty(\"var1\", \"foo2\");\n assertEquals(\"foo2\", config.getString(\"section1.var1\"));\n }", "title": "" }, { "docid": "5cd365f70172c9f10a7c4d75944035e3", "score": "0.47490382", "text": "public void testSearchTaskTypes2() {\r\n Filter filter = new EqualToFilter(\"no_column\", \"value\");\r\n try {\r\n instance.searchTaskTypes(filter);\r\n fail(\"DataAccessException expected.\");\r\n } catch (DataAccessException e) {\r\n //good\r\n }\r\n }", "title": "" }, { "docid": "357fe8a2cd7a3b36bc379ced05025075", "score": "0.47354138", "text": "public LPAHome verifyTargetTxtUnderSection(String strSection, String targetTxt) {\n\t\tList<WebElement> divClause = commonLibrary.isExistList(UIMAP_LPAHome.divClause, 20);\n\t\tif (divClause.size() > 0) {\n\t\t\tfor (int i = 0; i < divClause.size(); i++) {\n\t\t\t\tWebElement sectionSpan = commonLibrary.isExistNegative(divClause.get(i), UIMAP_LPAHome.sectionSpan, 10);\n\t\t\t\tif (sectionSpan != null && sectionSpan.getText().toLowerCase().contains(strSection.toLowerCase())) {\n\t\t\t\t\tList<WebElement> allParas = commonLibrary.isExistList(UIMAP_LPAHome.p, 20);\n\t\t\t\t\tif (allParas.size() > 0) {\n\t\t\t\t\t\tfor (int k = 0; k < allParas.size(); k++) {\n\t\t\t\t\t\t\tif (!(allParas.get(i) != null && allParas.get(i).getText().toLowerCase().contains(targetTxt.toLowerCase()))) {\n\t\t\t\t\t\t\t\treport.updateTestLog(\"Verify 'Testing_Clause' displays below the Alternate clause with tilte as 'User Added Clause'\", \"'Testing_Clause' doesnot displays below the Alternate clause with tilte as 'User Added Clause'.\", Status.PASS);\n\t\t\t\t\t\t\t\tbreak;\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\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn new LPAHome(scriptHelper);\n\t}", "title": "" }, { "docid": "035a2438430830be97353849d76943d6", "score": "0.47345054", "text": "@Test\n public void testGetPreferenceNonExistent() {\n Preference preference = graph.getPreference(\"missing_preference_id\",\n PreferenceCategory.MOVIES);\n \n assertNull(\"A missing Preference id was passed in, but null was not returned\", preference);\n }", "title": "" }, { "docid": "1ff2d8ce71211a696834325caf6f91ef", "score": "0.47342086", "text": "@Test(expected = NoStudentAvailableException.class)\r\n\tpublic void getStudentShouldFail() throws NoStudentAvailableException {\r\n\t\t\r\n\t\twhen(studentDAO.findById(any(long.class))).thenThrow(new NullPointerException());\r\n\r\n\t\tstudentService.getStudent((long)1);\r\n\t}", "title": "" }, { "docid": "6d49bc986fb7634d41d1f355d7a2a5bb", "score": "0.47168192", "text": "public void testHSection() { \n\t\tString input, expected, actual;\n\t\tinput = \"[Home#HSection]\\n\" + \n\t\t\"\";\n\t\texpected = \"[Home#Section]\\n\" + \n\t\t\"\";\n\t\tactual = tester.convertLinks(input);\n\t\tassertNotNull(actual);\n\t\tassertEquals(expected, actual);\n\t}", "title": "" }, { "docid": "886ccd7579839e6665b4dddb482f538c", "score": "0.47163105", "text": "public void testUnknownField() throws IOException {\n String marker = \"#marker#\";\n QB testQuery;\n do {\n testQuery = createTestQueryBuilder();\n } while (testQuery.toString().contains(marker));\n testQuery.queryName(marker); // to find root query to add additional bogus field there\n String queryAsString = testQuery.toString().replace(\"\\\"\" + marker + \"\\\"\", \"\\\"\" + marker + \"\\\", \\\"bogusField\\\" : \\\"someValue\\\"\");\n try {\n parseQuery(queryAsString);\n fail(\"expected ParsingException or XContentParsingException\");\n } catch (ParsingException | XContentParseException e) {\n // we'd like to see the offending field name here\n assertThat(e.getMessage(), containsString(\"bogusField\"));\n }\n\n }", "title": "" }, { "docid": "46a7fabf470f516b1a6522abf40843c5", "score": "0.4711948", "text": "public java.lang.String getSection(){\r\n return localSection;\r\n }", "title": "" } ]
4b7bc1ca45efafe6fa969261e19f0eef
repeated .resource.Field fields = 6;
[ { "docid": "e847c3cdbfbf08201c345ff5afcf07be", "score": "0.0", "text": "public Builder setFields(\n int index, cn.ymatou.ops.resource.Field value) {\n if (fieldsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFieldsIsMutable();\n fields_.set(index, value);\n onChanged();\n } else {\n fieldsBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" } ]
[ { "docid": "c4ec3b965d71151e65924d720b1a55ca", "score": "0.6373434", "text": "public int getNFields() { return 11; }", "title": "" }, { "docid": "5b126909e75a4fa5145134b49d37eecf", "score": "0.5701377", "text": "public interface Fields extends DocumentWorkerObject, Iterable<Field>\n{\n /**\n * Gets a field object for the specified field. This can be used to read the data values currently associated with the field, or to\n * add or replace the data values.\n *\n * @param fieldName the name of the field to access\n * @return the object that can be used to access or update the field\n */\n @Nonnull\n Field get(String fieldName);\n\n /**\n * Returns the document that this collection of fields is associated with.\n *\n * @return the document that this collection of fields is associated with\n */\n @Nonnull\n Document getDocument();\n\n /**\n * Resets this collection of fields back to its original state, undoing any changes made to any of the fields in the collection.\n */\n void reset();\n\n /**\n * Returns a sequential {@code Stream} with this field collection as its source.\n *\n * @return a sequential {@code Stream} over the collection of fields\n */\n @Nonnull\n Stream<Field> stream();\n}", "title": "" }, { "docid": "1abb09f57d742d58fa34a8c6af6619a3", "score": "0.56733394", "text": "public int getFieldCount() {\r\n\t\treturn 2;\r\n\t}", "title": "" }, { "docid": "06a3a08ffddd83fdea7c43081b1ef22a", "score": "0.55696315", "text": "public cn.ymatou.ops.resource.Field.Builder addFieldsBuilder() {\n return getFieldsFieldBuilder().addBuilder(\n cn.ymatou.ops.resource.Field.getDefaultInstance());\n }", "title": "" }, { "docid": "f3f639c70d896a7f17061bc2bcf0174e", "score": "0.5509585", "text": "@Override\r\n\tpublic void field(String[] fields) {\n\t\t\r\n\t}", "title": "" }, { "docid": "1e45715a3acb9ba44083d02b651e8657", "score": "0.53899676", "text": "public int getFieldCount() { return this.Fields.length; }", "title": "" }, { "docid": "eabe6dedffcc00ec9089661637674c95", "score": "0.5379529", "text": "@Fields({\n @Field(propName = \"id\", type = int.class, since = 1.2, until = 2.0),\n @Field(propName = \"name\" ,seriaName = \"stu_name\"),\n @Field(propName = \"desc\" , flags = FLAGS_MAIN_SCOPES_2 | FLAGS_NO_EXPOSE),\n @Field(propName = \"test\" , flags = FLAGS_MAIN_SCOPES_2 | FLAGS_NO_EXPOSE),\n})\npublic interface FlowItem extends com.heaven7.java.data.mediator.DataPools.Poolable {\n\n Property PROP_id = SharedProperties.get(\"int\", \"id\", 0);\n Property PROP_name = SharedProperties.get(\"java.lang.String\", \"name\", 0);\n Property PROP_desc = SharedProperties.get(\"java.lang.String\", \"desc\", 0);\n Property PROP_test = SharedProperties.get(\"java.lang.String\", \"test\", 0);\n\n int getId();\n\n FlowItem setId(int id1);\n\n String getName();\n\n FlowItem setName(String name1);\n\n String getDesc();\n\n FlowItem setDesc(String desc1);\n\n String getTest();\n\n FlowItem setTest(String test1);\n}", "title": "" }, { "docid": "0f0f73fb8739b548faad251ca4169601", "score": "0.53577936", "text": "public java.util.List<? extends cn.ymatou.ops.resource.FieldOrBuilder> \n getFieldsOrBuilderList() {\n return fields_;\n }", "title": "" }, { "docid": "f14c3d5133e42b5320b041f2d4debd09", "score": "0.5338097", "text": "public abstract ListMultimap<String, FieldModel> getFieldsWithResourceNamesByMessage();", "title": "" }, { "docid": "9e14438aa2220257f340791071edab43", "score": "0.5321765", "text": "int getFieldsCount();", "title": "" }, { "docid": "9e14438aa2220257f340791071edab43", "score": "0.5321765", "text": "int getFieldsCount();", "title": "" }, { "docid": "76ec1c585245dd247afbe29edd1b0070", "score": "0.53094065", "text": "public ResourceFieldSchema[] getFields() {\n return fields;\n }", "title": "" }, { "docid": "b6aff34467d8555dcced8b50bdbf5830", "score": "0.5305418", "text": "public cn.ymatou.ops.resource.FieldOrBuilder getFieldsOrBuilder(\n int index) {\n return fields_.get(index);\n }", "title": "" }, { "docid": "d25e66536eda26cb973756c2c2bdddec", "score": "0.52924657", "text": "interface WithFieldDefinitions {\n /**\n * Specifies the fieldDefinitions property: Gets or sets the field definitions of the connection type..\n *\n * @param fieldDefinitions Gets or sets the field definitions of the connection type.\n * @return the next definition stage.\n */\n Update withFieldDefinitions(Map<String, FieldDefinition> fieldDefinitions);\n }", "title": "" }, { "docid": "8d5ccf1328690e54c3befe70b2c0ee9d", "score": "0.5280194", "text": "int getFieldIdArrayCount();", "title": "" }, { "docid": "242ff5325636e7b9e99ab37a84626d6e", "score": "0.520419", "text": "public void setFields(String fields)\r\n/* 142: */ {\r\n/* 143:151 */ this.fields = fields;\r\n/* 144: */ }", "title": "" }, { "docid": "1a9a1578b86fd95e64d522d30c8007c7", "score": "0.51800436", "text": "public ResourceSchema setFields(ResourceFieldSchema[] fields) {\n if (fields != null)\n this.fields = Arrays.copyOf(fields, fields.length);\n return this;\n }", "title": "" }, { "docid": "930f3397acd32f6a9ef510e8f79c24ea", "score": "0.5177288", "text": "public EcsRegFieldsExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "3b361e0590f63d69b1c1e9100dfd851c", "score": "0.51720136", "text": "public void setFields(Fields[] fields) {\n this.fields = fields;\n }", "title": "" }, { "docid": "787b0cd0a94fc655177eeedc9d55ed42", "score": "0.51544344", "text": "public Builder addAllFields(\n java.lang.Iterable<? extends cn.ymatou.ops.resource.Field> values) {\n if (fieldsBuilder_ == null) {\n ensureFieldsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, fields_);\n onChanged();\n } else {\n fieldsBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" }, { "docid": "c34718b6cff3d4ddd3734aaa94aeb0f9", "score": "0.51526266", "text": "public cn.ymatou.ops.resource.Field.Builder addFieldsBuilder(\n int index) {\n return getFieldsFieldBuilder().addBuilder(\n index, cn.ymatou.ops.resource.Field.getDefaultInstance());\n }", "title": "" }, { "docid": "c92f9db67310094fd4726cbaedfd5c45", "score": "0.5143012", "text": "@Test\n public void fieldsTest() {\n // TODO: test fields\n }", "title": "" }, { "docid": "db9d4941272704f3652ea2addf8cb3f1", "score": "0.51386374", "text": "@Fields({\n @Field(propName = \"id\", seriaName = \"_id\", since = 1.1, until = 1.5),\n @Field(propName = \"test\", flags = FieldFlags.FLAGS_MAIN_SCOPES_2 &~ FieldFlags.FLAG_GSON_PERSISTENCE)\n})\npublic interface GsonTest extends DataPools.Poolable {\n\n Property PROP_id = SharedProperties.get(String.class.getName(), \"id\", 0);\n Property PROP_test = SharedProperties.get(String.class.getName(), \"test\", 0);\n\n GsonTest setId(String id1);\n\n String getId();\n\n GsonTest setTest(String test1);\n\n String getTest();\n}", "title": "" }, { "docid": "0d44f4f20ff54a4ae421f0ff6a9c8c72", "score": "0.51262206", "text": "public RuntimeCollectionField(WireFormat.FieldType type, int number, String name, Tag tag, CollectionSchema.MessageFactory messageFactory)\r\n/* 19: */ {\r\n/* 20:46 */ super(type, number, name, false, tag);\r\n/* 21:47 */ this.schema = new CollectionSchema(messageFactory)\r\n/* 22: */ {\r\n/* 23: */ protected void addValueFrom(Input input, Collection<V> collection)\r\n/* 24: */ throws IOException\r\n/* 25: */ {\r\n/* 26:53 */ RuntimeCollectionField.this.addValueFrom(input, collection);\r\n/* 27: */ }\r\n/* 28: */ \r\n/* 29: */ protected void writeValueTo(Output output, int fieldNumber, V value, boolean repeated)\r\n/* 30: */ throws IOException\r\n/* 31: */ {\r\n/* 32:60 */ RuntimeCollectionField.this.writeValueTo(output, fieldNumber, value, repeated);\r\n/* 33: */ }\r\n/* 34: */ \r\n/* 35: */ protected void transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated)\r\n/* 36: */ throws IOException\r\n/* 37: */ {\r\n/* 38:68 */ RuntimeCollectionField.this.transferValue(pipe, input, output, number, repeated);\r\n/* 39: */ }\r\n/* 40: */ };\r\n/* 41: */ }", "title": "" }, { "docid": "39cebd0a5b61e7bcd1690add69ef6557", "score": "0.51209116", "text": "interface WithFieldDefinitions {\n /**\n * Specifies the fieldDefinitions property: Gets or sets the field definitions of the connection type..\n *\n * @param fieldDefinitions Gets or sets the field definitions of the connection type.\n * @return the next definition stage.\n */\n WithCreate withFieldDefinitions(Map<String, FieldDefinition> fieldDefinitions);\n }", "title": "" }, { "docid": "48fdd5cea138ce9035a8fd8c18441470", "score": "0.5086174", "text": "com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field getFields(int index);", "title": "" }, { "docid": "960acd21e9cf0b5f0b67d89d3edf3803", "score": "0.50839347", "text": "com.google.protobuf.StructOrBuilder getResourceOrBuilder();", "title": "" }, { "docid": "c56d6cf6cdb94a7ee211101384765404", "score": "0.5070488", "text": "@Test\n\tpublic void test() {\n\t\tint i=0;\n\t\tfor(InterfaceField field:info.getInfoList()) {\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(\"i=\"+i);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "722be00e1480186469eba4181c562272", "score": "0.50691605", "text": "public void setFields(ArrayList<CrudField> fields) {\r\n\t\tthis.fields = fields;\r\n\t}", "title": "" }, { "docid": "5389e1f2cfe1ee98118fa9d78ed9ed9b", "score": "0.50358045", "text": "public BaseField setupField(int iFieldSeq)\n {\n BaseField field = null;\n if (iFieldSeq == 0)\n {\n field = new CounterField(this, ID, 8, null, null);\n field.setHidden(true);\n }\n //if (iFieldSeq == 1)\n //{\n // field = new RecordChangedField(this, LAST_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n // field.setHidden(true);\n //}\n //if (iFieldSeq == 2)\n //{\n // field = new BooleanField(this, DELETED, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(false));\n // field.setHidden(true);\n //}\n //if (iFieldSeq == 3)\n // field = new StringField(this, CODE, 16, null, null);\n if (iFieldSeq == 4)\n field = new StringField(this, NAME, 30, null, null);\n //if (iFieldSeq == 5)\n // field = new StringField(this, ADDRESS_LINE_1, 40, null, null);\n //if (iFieldSeq == 6)\n // field = new StringField(this, ADDRESS_LINE_2, 40, null, null);\n //if (iFieldSeq == 7)\n // field = new StringField(this, CITY_OR_TOWN, 15, null, null);\n if (iFieldSeq == 8)\n field = new StringField(this, STATE_OR_REGION, 15, null, \"CA\");\n //if (iFieldSeq == 9)\n // field = new StringField(this, POSTAL_CODE, 10, null, null);\n //if (iFieldSeq == 10)\n // field = new StringField(this, COUNTRY, 15, null, null);\n if (iFieldSeq == 11)\n field = new PhoneField(this, HOME_PHONE, 24, null, null);\n //if (iFieldSeq == 12)\n // field = new FaxField(this, FAX, 24, null, null);\n //if (iFieldSeq == 13)\n // field = new EMailField(this, EMAIL, 40, null, null);\n //if (iFieldSeq == 14)\n // field = new URLField(this, WEB, 60, null, null);\n if (iFieldSeq == 15)\n {\n field = new Employee_HireDate(this, HIRE_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n //if (iFieldSeq == 16)\n // field = new DateField(this, DATE_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 17)\n // field = new ReferenceField(this, CHANGED_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 18)\n field = new MemoField(this, COMMENTS, 9999, null, null);\n if (iFieldSeq == 19)\n field = new UserField(this, USER_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 20)\n // field = new StringField(this, PASSWORD, 16, null, null);\n if (iFieldSeq == 21)\n field = new StringField(this, NAME_SORT, 6, null, null);\n //if (iFieldSeq == 22)\n // field = new StringField(this, POSTAL_CODE_SORT, 5, null, null);\n if (iFieldSeq == 23)\n field = new StringField(this, FIRST_NAME, 20, null, null);\n if (iFieldSeq == 24)\n field = new StringField(this, TITLE, 30, null, null);\n if (iFieldSeq == 25)\n field = new DateField(this, BIRTHDATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 26)\n field = new StringField(this, EXTENSION, 4, null, null);\n if (iFieldSeq == 27)\n field = new ImageField(this, PHOTO, 9999, null, null);\n if (iFieldSeq == 28)\n field = new EmployeeField(this, REPORTS_TO, 8, null, null);\n if (iFieldSeq == 29)\n {\n field = new PeriodTypeField(this, PAY_FREQUENCY, 1, null, \"PeriodTypeField.WEEKLY\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 30)\n field = new PayTypeField(this, PAY_TYPE, 1, null, \"H\");\n if (iFieldSeq == 31)\n field = new CurrencyField(this, SALARY, 9, null, null);\n if (iFieldSeq == 32)\n field = new CurrencyField(this, HOURLY_RATE, 5, null, null);\n if (iFieldSeq == 33)\n field = new CurrencyField(this, OVERTIME_RATE, 5, null, null);\n if (iFieldSeq == 34)\n field = new CurrencyField(this, SPECIAL_1_RATE, 5, null, null);\n if (iFieldSeq == 35)\n field = new CurrencyField(this, SPECIAL_2_RATE, 5, null, null);\n if (iFieldSeq == 36)\n {\n field = new StringField(this, TAX_ID_NO, 11, null, null);\n field.setMinimumLength(11);\n }\n if (iFieldSeq == 37)\n field = new MaritalStatusField(this, MARITAL_STATUS, 1, null, null);\n if (iFieldSeq == 38)\n field = new ShortField(this, FED_ALLOW, 2, null, new Short((short)2));\n if (iFieldSeq == 39)\n field = new FloatField(this, ADD_DEDUCT, 8, null, null);\n if (iFieldSeq == 40)\n field = new BooleanField(this, FED_EXEMPT, 1, null, null);\n if (iFieldSeq == 41)\n field = new StringField(this, STATE_TAX_CODE, 2, null, null);\n if (iFieldSeq == 42)\n field = new ShortField(this, STATE_ALLOW, 2, null, null);\n if (iFieldSeq == 43)\n field = new FloatField(this, ADD_STATE, 8, null, null);\n if (iFieldSeq == 44)\n field = new BooleanField(this, STATE_EXEMPT, 1, null, null);\n if (iFieldSeq == 45)\n field = new StringField(this, LOCAL_CODE, 2, null, null);\n if (iFieldSeq == 46)\n field = new ShortField(this, LOCAL_ALLOW, 2, null, null);\n if (iFieldSeq == 47)\n {\n field = new FloatField(this, ADD_LOCAL, 8, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 48)\n field = new BooleanField(this, LOCAL_EXEMPT, 1, null, null);\n if (iFieldSeq == 49)\n field = new BooleanField(this, FICA_EXEMPT, 1, null, null);\n if (iFieldSeq == 50)\n field = new BooleanField(this, FUI_EXEMPT, 1, null, null);\n if (iFieldSeq == 51)\n field = new BooleanField(this, SUI_EXEMPT, 1, null, null);\n if (iFieldSeq == 52)\n field = new BooleanField(this, SDI_EXEMPT, 1, null, null);\n if (iFieldSeq == 53)\n field = new DepartmentField(this, DEPARTMENT_ID, 3, null, null);\n if (iFieldSeq == 54)\n field = new AccountField(this, HOME_ACCOUNT_ID, 7, null, null);\n if (iFieldSeq == 55)\n field = new BooleanField(this, IN_PENSION_PLAN, 1, null, new Boolean(true));\n if (iFieldSeq == 56)\n field = new StringField(this, EF_TACCOUNT, 30, null, null);\n if (iFieldSeq == 57)\n field = new BooleanField(this, DIST_PAY, 1, null, null);\n if (iFieldSeq == 58)\n field = new FloatField(this, SICK_DUE, 3, null, null);\n if (iFieldSeq == 59)\n field = new FloatField(this, SICK_TAKEN, 3, null, null);\n if (iFieldSeq == 60)\n field = new FloatField(this, VACATION_DUE, 3, null, null);\n if (iFieldSeq == 61)\n field = new FloatField(this, VACATION_TAKEN, 3, null, null);\n if (iFieldSeq == 62)\n field = new FloatField(this, YTD_SICK_HOURS, 10, null, null);\n if (iFieldSeq == 63)\n field = new CurrencyField(this, YTD_SICK_PAY, 10, null, null);\n if (iFieldSeq == 64)\n {\n field = new DeductionField(this, DEDUCTION_ID1, 3, null, \"\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 65)\n {\n field = new PeriodTypeField(this, FREQUENCY_1, 1, null, \"PeriodTypeField.WEEKLY\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 66)\n {\n field = new CurrencyField(this, AMOUNT_1, 7, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 67)\n {\n field = new DeductionField(this, DEDUCTION_ID2, 3, null, \"\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 68)\n {\n field = new PeriodTypeField(this, FREQUENCY_2, 1, null, \"PeriodTypeField.WEEKLY\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 69)\n {\n field = new CurrencyField(this, AMOUNT_2, 7, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 70)\n {\n field = new DeductionField(this, DEDUCTION_ID3, 3, null, \"\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 71)\n {\n field = new PeriodTypeField(this, FREQUENCY_3, 1, null, \"PeriodTypeField.WEEKLY\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 72)\n {\n field = new CurrencyField(this, AMOUNT_3, 7, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 73)\n {\n field = new DeductionField(this, DEDUCTION_ID4, 3, null, \"\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 74)\n {\n field = new PeriodTypeField(this, FREQUENCY_4, 1, null, \"PeriodTypeField.WEEKLY\");\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 75)\n {\n field = new CurrencyField(this, AMOUNT_4, 7, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 76)\n field = new DateField(this, LAST_RAISE_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 77)\n field = new CurrencyField(this, PREVIOUS_SALARY, 9, null, null);\n if (iFieldSeq == 78)\n field = new CurrencyField(this, PREVIOUS_PAY_RATE, 5, null, null);\n if (iFieldSeq == 79)\n field = new DateField(this, REVIEW_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 80)\n field = new DateField(this, ANNIVERSARY_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 81)\n field = new DateField(this, TERMINATION_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 82)\n field = new CurrencyField(this, YTD_SUI_PAID, 7, null, null);\n if (iFieldSeq == 83)\n field = new CurrencyField(this, YTD_FUI_PAID, 7, null, null);\n if (iFieldSeq == 84)\n field = new BooleanField(this, STATUS, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (field == null)\n field = super.setupField(iFieldSeq);\n return field;\n }", "title": "" }, { "docid": "4d9ced886150edc5e41bc6abdaf07bc7", "score": "0.4993209", "text": "@Override\n\tpublic int getDefaultFieldCount() {\n\t\treturn 4;\n\t}", "title": "" }, { "docid": "6bf276786e2e391c6f4be34360216daa", "score": "0.49882287", "text": "public void setFields(List<Field> fields) {\n\t\tthis.fields = fields;\n\t}", "title": "" }, { "docid": "f5144f112fe368d8acd7d12d7c3df85f", "score": "0.49564347", "text": "private void collectFields(AnnotationWrapper fields) {\n\n for (AnnotationWrapper field : fields.getAsAnnotationWrapper(\"value\")) {\n mappingRegistry.pushFieldMap(element, field);\n }\n\n }", "title": "" }, { "docid": "a3195e5d7dd9fed9e9803b81ef28d3cd", "score": "0.49550083", "text": "@Override\r\n\tpublic void fillFieldMaps() {\n\t\t\r\n\t}", "title": "" }, { "docid": "65e5d7f5d8f6b1212f2541c6b8bf82ab", "score": "0.49513966", "text": "public interface fields\r\n {\r\n static final String itemID_=\"ItemID\";\r\n static final String itemName_=\"ItemName\";\r\n static final String exhibitID_=\"ExhibitID\";\r\n static final String xThemeID_=\"XThemeID\";\r\n static final String yThemeID_=\"YThemeID\";\r\n static final String xThemeName_=\"XThemeName\";\r\n static final String yThemeName_=\"YThemeName\";\r\n static final String primaryItem_=\"PrimaryItem\";\r\n static final String fileName_=\"Filename\";\r\n static final String client_=\"Client\";\r\n static final String labelTitle_=\"InterpretationTitle\";\r\n static final String label_=\"Interpretation\";\r\n static final String intLabel_=\"IntLabel\";\r\n static final String begLabel_=\"BegLabel\";\r\n static final String subthemeName_=\"SubthemeName\";\r\n static final String subthemeID_=\"SubthemeID\";\r\n static final String accession_=\"AccessionNumber\";\r\n static final String creator_=\"Creator\";\r\n static final String description_=\"Description\";\r\n static final String objectDate_=\"ObjectDate\";\r\n static final String themeInterpretation_=\"ThemeInterpretation\";\r\n static final String themeClient_=\"ThemeClient\";\r\n static final String themeFilename_=\"ThemeFilename\";\r\n static final String material_=\"Material\";\r\n static final String objectType_=\"Nomenclature\";\r\n static final String lastName_=\"LastName\";\r\n static final String themeItemName_=\"ThemeItemName\";\r\n static final String themeCircaYear_=\"ThemeCircaYear\";\r\n static final String themeCreator_=\"ThemeCreator\";\r\n static final String imgPath_=\"ImagePath\";\r\n static final String activity_=\"HasActivity\";\r\n static final String altName_=\"AltName\";\r\n }", "title": "" }, { "docid": "e3deb95ad55cfb0fcbadc6c8a58c87b1", "score": "0.4950666", "text": "public int getFieldsCount() {\n return fields_.size();\n }", "title": "" }, { "docid": "f48587c620a3661903a8a0c76f2e952d", "score": "0.4934198", "text": "private void ensureEnoughFields(int fieldRequested) {\n\t\tint fieldsToAdd = fieldRequested - this.numFields();\n\t\tif (fieldsToAdd < 0) {\n\t\t\tfieldsToAdd = 0;\n\t\t}\n\n\t\ttry {\n\t\t\tfor (int i = 0; i < fieldsToAdd; i++) {\n\t\t\t\tthis.add(Varies.class, false, 0, 65536, null); // using 65536\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// following\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// example of\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// OBX-5\n\t\t\t}\n\t\t} catch (HL7Exception e) {\n\t\t\tlog.error(\n\t\t\t\t\t\"Can't create additional generic fields to handle request for field \"\n\t\t\t\t\t\t\t+ fieldRequested, e);\n\t\t}\n\t}", "title": "" }, { "docid": "5a37251989390a702a57afb09c92a147", "score": "0.49256432", "text": "public BaseField setupField(int iFieldSeq)\n {\n BaseField field = null;\n //if (iFieldSeq == 0)\n //{\n // field = new CounterField(this, ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n // field.setHidden(true);\n //}\n //if (iFieldSeq == 1)\n //{\n // field = new RecordChangedField(this, LAST_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n // field.setHidden(true);\n //}\n //if (iFieldSeq == 2)\n //{\n // field = new BooleanField(this, DELETED, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(false));\n // field.setHidden(true);\n //}\n //if (iFieldSeq == 3)\n // field = new TrxStatusField(this, TRX_STATUS_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 4)\n // field = new ApTrx_TrxUserID(this, TRX_USER_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 5)\n field = new StringField(this, CODE, 28, null, null);\n if (iFieldSeq == 6)\n field = new StringField(this, DESCRIPTION, 50, null, null);\n if (iFieldSeq == 7)\n {\n field = new IntegerField(this, AP_TRX_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, new Integer(ApTrx.AP_TRX_TYPE));\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 8)\n field = new BooleanField(this, ACTIVE_TRX, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(true));\n if (iFieldSeq == 9)\n field = new VendorField(this, VENDOR_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 10)\n field = new TourField(this, TOUR_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 11)\n field = new ReferenceField(this, PRODUCT_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 12)\n {\n field = new DateField(this, START_SERVICE_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 13)\n {\n field = new DateField(this, END_SERVICE_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 14)\n {\n field = new DateField(this, FINALIZATION_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 15)\n field = new DateField(this, ORDER_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 16)\n {\n field = new DateField(this, ACKNOWLEDGE_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 17)\n {\n field = new DateField(this, ACKNOWLEDGED_ON, Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 18)\n field = new ReferenceField(this, ACKNOWLEDGED_BY, 16, null, null);\n if (iFieldSeq == 19)\n {\n field = new StringField(this, VENDOR_CONFIRMATION_NO, 20, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 20)\n field = new StringField(this, VENDOR_CONF_STATUS, 2, null, null);\n if (iFieldSeq == 21)\n field = new FullCurrencyField(this, DEPARTURE_ESTIMATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 22)\n {\n field = new RealField(this, DEPARTURE_EXCHANGE, 10, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 23)\n field = new CurrencyField(this, DEPARTURE_ESTIMATE_LOCAL, 10, null, null);\n if (iFieldSeq == 24)\n {\n field = new DateField(this, DEPARTURE_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setVirtual(true);\n }\n if (iFieldSeq == 25)\n field = new StringField(this, INVOICE_NO, 28, null, null);\n if (iFieldSeq == 26)\n field = new DateField(this, INVOICE_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 27)\n field = new FullCurrencyField(this, INVOICE_AMOUNT, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 28)\n field = new CurrencyField(this, INVOICE_LOCAL, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 29)\n field = new FullCurrencyField(this, INVOICE_BALANCE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 30)\n field = new CurrencyField(this, INVOICE_BALANCE_LOCAL, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 31)\n field = new FullCurrencyField(this, AMOUNT_SELECTED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 32)\n field = new VendorField(this, DRAFT_VENDOR_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 33)\n field = new ApTrxField(this, PREPAYMENT_AP_TRX_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 34)\n field = new DateField(this, VOUCHER_BASED_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 35)\n field = new DateTimeField(this, TRX_ENTRY, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 36)\n field = new AccountField(this, ACCOUNT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 37)\n {\n field = new StringField(this, TICKET_NUMBER, 28, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 38)\n {\n field = new DateField(this, ISSUE_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 39)\n field = new AirlineField(this, AIRLINE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 40)\n field = new DateField(this, ARC_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 41)\n field = new DateField(this, ARC_PAY, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 42)\n field = new StringField(this, INTL, 1, null, null);\n if (iFieldSeq == 43)\n {\n field = new BooleanField(this, CREDIT_CARD, 1, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 44)\n field = new CurrencyField(this, TOTAL, 10, null, null);\n if (iFieldSeq == 45)\n field = new CurrencyField(this, FARE, 10, null, null);\n if (iFieldSeq == 46)\n field = new CurrencyField(this, COMM_AMOUNT, 9, null, null);\n if (iFieldSeq == 47)\n field = new PercentField(this, COMM_PERCENT, 5, null, null);\n if (iFieldSeq == 48)\n field = new CurrencyField(this, TAX_AMOUNT, 9, null, null);\n if (iFieldSeq == 49)\n {\n field = new PercentField(this, TAX_PERCENT, 5, null, null);\n field.addListener(new InitOnceFieldHandler(null));\n }\n if (iFieldSeq == 50)\n field = new CurrencyField(this, NET_FARE, 10, null, null);\n if (iFieldSeq == 51)\n field = new CurrencyField(this, COST_AMOUNT, 10, null, null);\n if (iFieldSeq == 52)\n field = new PercentField(this, OVERRIDE_PERCENT, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 53)\n field = new CurrencyField(this, OVERRIDE_AMOUNT, 10, null, null);\n if (iFieldSeq == 54)\n field = new DateField(this, OVERRIDE_PAID_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 55)\n field = new CurrencyField(this, OVERRIDE_PAID, 10, null, null);\n if (iFieldSeq == 56)\n field = new DateField(this, VOID_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (field == null)\n field = super.setupField(iFieldSeq);\n return field;\n }", "title": "" }, { "docid": "cc42cccf6de3a9a209530f87ac67d5ad", "score": "0.49224913", "text": "@Valid\n @JsonProperty(\"fields\")\n public FieldContainer getFields();", "title": "" }, { "docid": "a0718273c99aa138faf13522d9997629", "score": "0.49030283", "text": "public int getFieldCount()\r\n {\r\n Iterator it = getFields();\r\n int count = 0;\r\n while(it.hasNext())\r\n {\r\n count ++;\r\n it.next();\r\n }\r\n return count;\r\n }", "title": "" }, { "docid": "76789105cac79504c7b47b8645b7f453", "score": "0.48950046", "text": "SpdzSInt getNextRandomFieldElement();", "title": "" }, { "docid": "9614648c49285c50f9977907dd3eb64b", "score": "0.48928607", "text": "InitializerFields(int first, boolean second, boolean third) {\n }", "title": "" }, { "docid": "a09ea4ac460c9df9479aaa1afa2d06ab", "score": "0.48902205", "text": "public int getFieldCount()\n {\n return fields.size();\n }", "title": "" }, { "docid": "b09f24e95d61153daa2120ca54e6ac25", "score": "0.4875605", "text": "protected abstract void createFields();", "title": "" }, { "docid": "1e2a71728bb1741bdd2ce6582c97f493", "score": "0.48738173", "text": "public Record(int numberOfFields) {\n this.tuple = new ArrayList<StringBuilder>();\n for(int i = 0; i < numberOfFields; i++) {\n this.tuple.add(new StringBuilder(\"\"));\n }\n }", "title": "" }, { "docid": "94b090df540b286ccdd02a073d6a5e61", "score": "0.48726377", "text": "@Test public void testFieldMessages() {\n \tMessageMap testMap = new MessageMap();\n\n testMap.putError(\"accountNbr\", RiceKeyConstants.ERROR_INACTIVE);\n testMap.putError(\"accountNbr\", RiceKeyConstants.ERROR_INVALID_FORMAT);\n testMap.putError(\"accountNbr\", RiceKeyConstants.ERROR_PHONE_NUMBER);\n assertEquals(3, testMap.countFieldMessages(\"accountNbr\"));\n assertTrue(testMap.fieldHasMessage(\"accountNbr\", RiceKeyConstants.ERROR_INACTIVE));\n assertTrue(testMap.fieldHasMessage(\"accountNbr\", RiceKeyConstants.ERROR_INVALID_FORMAT));\n assertTrue(testMap.fieldHasMessage(\"accountNbr\", RiceKeyConstants.ERROR_PHONE_NUMBER));\n }", "title": "" }, { "docid": "44cfdc4d8ee11c0906019debae6e3c86", "score": "0.48671487", "text": "private Fields() {\n\t\t\tsuper();\n\t\t}", "title": "" }, { "docid": "6843d252cb0a2bae55536271a7ddd045", "score": "0.4860025", "text": "protected void setFields() {}", "title": "" }, { "docid": "9bce58e8eb1fd0d4c05812290987f1bd", "score": "0.48564276", "text": "@Fields(value = {\n @Field(propName = \"name\", seriaName = \"heaven7\", type = String.class, flags = FLAGS_ALL_SCOPES),\n @Field(propName = \"test_object\", seriaName = \"test_object\",\n flags = FLAG_EXPOSE_DEFAULT | FLAG_EXPOSE_SERIALIZE_FALSE, type = Object.class),\n @Field(propName = \"test_Format\", seriaName = \"test_Format\", flags = 1, type = Double.class),\n @Field(propName = \"test_int\", seriaName = \"test_int\", type = int.class,\n flags = FLAG_EXPOSE_DEFAULT | FLAG_COPY | FLAG_RESET),\n @Field(propName = \"test_list\", seriaName = \"test_list\", type = long.class, complexType = COMPLEX_LIST,\n flags = FLAG_RESET | FLAG_SHARE | FLAG_SNAP),\n @Field(propName = \"test_array\", seriaName = \"test_array\", type = String.class,\n complexType = COMPLEX_ARRAY,\n flags = FLAG_RESET | FLAG_SHARE | FLAG_SNAP\n ),\n}, maxPoolCount = 10)\npublic interface StudentBind extends IDataMediator, ISelectable, DataPools.Poolable {\n\n Property PROP_selected = SharedProperties.get(boolean.class.getName(), \"selected\", 0);\n Property PROP_name = SharedProperties.get(String.class.getName(), \"name\", 0);\n Property PROP_test_object = SharedProperties.get(Object.class.getName(), \"test_object\", 0);\n Property PROP_test_Format = SharedProperties.get(Double.class.getName(), \"test_Format\", 0);\n Property PROP_test_int = SharedProperties.get(int.class.getName(), \"test_int\", 0);\n Property PROP_test_list = SharedProperties.get(long.class.getName(), \"test_list\", 2);\n Property PROP_test_array = SharedProperties.get(String.class.getName(), \"test_array\", 1);\n\n StudentBind setName(String name1);\n\n String getName();\n\n StudentBind setTest_object(Object test_object1);\n\n Object getTest_object();\n\n StudentBind setTest_Format(Double test_Format1);\n\n Double getTest_Format();\n\n StudentBind setTest_int(int test_int1);\n\n int getTest_int();\n\n StudentBind setTest_list(List<Long> test_list1);\n\n List<Long> getTest_list();\n\n ListPropertyEditor<? extends StudentBind, Long> beginTest_listEditor();\n\n StudentBind setTest_array(String[] test_array1);\n\n String[] getTest_array();\n}", "title": "" }, { "docid": "de1169465753bc62693a73ff87a69027", "score": "0.48193055", "text": "public void increaseField() {\n\n }", "title": "" }, { "docid": "0997bff951e2619195c9175ef7dc0ed0", "score": "0.48135972", "text": "public cn.ymatou.ops.resource.FieldOrBuilder getFieldsOrBuilder(\n int index) {\n if (fieldsBuilder_ == null) {\n return fields_.get(index); } else {\n return fieldsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "ee56f383d63deaa560b6b8855718f892", "score": "0.48114312", "text": "MFieldDefinition createMFieldDefinition();", "title": "" }, { "docid": "794fad1957139292804c6a26dad2eedf", "score": "0.4809276", "text": "List<Field> getFields();", "title": "" }, { "docid": "317784767c8b270ecfc7326df9b514f1", "score": "0.48084557", "text": "public java.util.List<? extends cn.ymatou.ops.resource.FieldOrBuilder> \n getFieldsOrBuilderList() {\n if (fieldsBuilder_ != null) {\n return fieldsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(fields_);\n }\n }", "title": "" }, { "docid": "caecce44d01c79ee9e40b23dc77ddb68", "score": "0.48083237", "text": "@Test\n public void parse_multipleRepeatedFields_acceptsLast() {\n String userInput = CLIENT_INDEX_DESC_A + SESSION_INDEX_DESC_A + UPDATED_PAYMENT_UNPAID\n + UPDATED_SESSION_INDEX_DESC_B;\n\n EditScheduleDescriptor descriptor = new EditScheduleDescriptorBuilder()\n .withClientIndex(INDEX_FIRST_CLIENT)\n .withSessionIndex(INDEX_FIRST_SESSION)\n .withUpdatedSessionIndex(INDEX_SECOND_SESSION)\n .withUpdatedPaymentStatus(PAYMENT_UNPAID)\n .build();\n EditScheduleCommand expectedCommand = new EditScheduleCommand(INDEX_FIRST_CLIENT, INDEX_FIRST_SESSION,\n descriptor);\n\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // update remark twice, takes last\n userInput = CLIENT_INDEX_DESC_A + SESSION_INDEX_DESC_A + UPDATED_REMARK_NONEMPTY\n + UPDATED_REMARK_EMPTY;\n\n descriptor = new EditScheduleDescriptorBuilder()\n .withClientIndex(INDEX_FIRST_CLIENT)\n .withSessionIndex(INDEX_FIRST_SESSION)\n .withUpdatedRemark(Remark.EMPTY_REMARK)\n .build();\n expectedCommand = new EditScheduleCommand(INDEX_FIRST_CLIENT, INDEX_FIRST_SESSION,\n descriptor);\n\n assertParseSuccess(parser, userInput, expectedCommand);\n\n //update weight twice, takes last\n userInput = CLIENT_INDEX_DESC_A + SESSION_INDEX_DESC_A + UPDATED_WEIGHT_VALID2\n + UPDATED_WEIGHT_VALID;\n\n descriptor = new EditScheduleDescriptorBuilder()\n .withClientIndex(INDEX_FIRST_CLIENT)\n .withSessionIndex(INDEX_FIRST_SESSION)\n .withUpdatedWeight(TEST_WEIGHT)\n .build();\n expectedCommand = new EditScheduleCommand(INDEX_FIRST_CLIENT, INDEX_FIRST_SESSION,\n descriptor);\n\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "title": "" }, { "docid": "83c270459bfb0c77998114ba6dd69abc", "score": "0.48063228", "text": "@java.lang.Override\n public int getFieldsCount() {\n return fields_.size();\n }", "title": "" }, { "docid": "8b50b82d4c29ec840572f83dba0d5b8a", "score": "0.48061243", "text": "public ResourceFieldSchema() {\n \n }", "title": "" }, { "docid": "77b3a7c17a475f0da6eda345d0f44061", "score": "0.48052806", "text": "public MultipleFieldsVisitor(String... fields) {\n fieldsToAdd = new HashSet<String>(fields.length);\n for(String field : fields) {\n fieldsToAdd.add(field);\n }\n }", "title": "" }, { "docid": "4c230de1e165325a2b669c0f961e3fe4", "score": "0.47883296", "text": "public interface FieldGenerator {\n\n public String generate(Method method, Map<String, String> extendFields, Object ... args);\n}", "title": "" }, { "docid": "964b7060287c94600df06d7b049c923d", "score": "0.47816274", "text": "T setAdditionalFields(List<String> additionalFields);", "title": "" }, { "docid": "f25089f606c5b64764a6b27e763ed90f", "score": "0.47608858", "text": "public interface SootFieldRef {\n public SootClass declaringClass();\n\n public String name();\n\n public Type type();\n\n public boolean isStatic();\n\n public String getSignature();\n\n public SootField resolve();\n}", "title": "" }, { "docid": "80ea6792cf7cd8d7bd2ef7f2fe846ffb", "score": "0.4759207", "text": "@Test\n public void testGetFields() {\n NameValueMap instance = new NameValueMap();\n Iterator<String> iterFields = instance.getFields();\n while (iterFields.hasNext()) {\n fail(\"you should never enter here\");\n iterFields.next();\n }\n String[] someFieldNames = {\"a\", \"B\", \"C\", \"d\", \"FK121_RES_TBL\"};\n for (int i = 0; i < someFieldNames.length; ++i)\n instance.setFieldValue(someFieldNames[i], null);\n iterFields = instance.getFields();\n while (iterFields.hasNext()) {\n String fldName = iterFields.next();\n int i = 0;\n for (i = 0; i < someFieldNames.length; ++i)\n if (0 == fldName.compareTo(someFieldNames[i]))\n break;\n assertTrue(i < someFieldNames.length);\n }\n }", "title": "" }, { "docid": "757bbcb689a7edfeaa1f85e9ea9d69a6", "score": "0.4757785", "text": "interface SpIterRepeatConstants\n{\n\n\tpublic static final String COUNT = \"repeatCount\" ;\n\tpublic static final int COUNT_DEF = 1 ;\n}", "title": "" }, { "docid": "9b764d725d725330653a0093ad2b524f", "score": "0.47535488", "text": "private void renameFields(PdfDocument doc, int counter) {\n PdfAcroForm form = PdfAcroForm.getAcroForm(doc, true);\n form.setGenerateAppearance(true);\n\n Set<String> keySet = form.getFormFields().keySet();\n String[] array = new String[keySet.size()];\n String[] fields = keySet.toArray(array);\n\n for (String fieldName : fields) {\n form.renameField(fieldName, fieldName + \"_\" + counter);\n }\n }", "title": "" }, { "docid": "48b25e6a86bb5f6577960d62e766ce80", "score": "0.4751055", "text": "int countByExample(SRoleResourcesExample example);", "title": "" }, { "docid": "6a613bf24a76388d5c3981888ac9d6a6", "score": "0.4745778", "text": "private synchronized void buildFields() {\n fields.removeAllElements();\n \n RW3270Field lastField = null;\n \n \n for (int i = 0; i < chars.length; i++) {\n RW3270Char currChar = chars[i];\n \n if (currChar.isStartField()) {\n if (lastField != null) {\n lastField.setEnd(i - 1);\n }\n \n //since it's a Start Field FA, create a new field\n RW3270Field currField = new RW3270Field(currChar, rw);\n \n //set it's begin point as the current counter position\n currField.setBegin(i);\n \n //add it to the fields vector\n fields.addElement(currField);\n \n //move it to the last field variable, so we can set its\n //end point.\n lastField = currField;\n }\n \n currChar.setField(lastField);\n }\n \n // now we have to find the end point for the last field. We\n // can't just set it to the last address in the buffer,\n // because fields that aren't terminated wrap to the beginning\n // of the buffer.\n if (fields.size() > 0) {\n RW3270Field firstField = (RW3270Field) fields.elementAt(0);\n lastField.setEnd((firstField.getBegin() == 0) ? chars.length\n : (firstField.getBegin() -\n 1));\n \n for (int c = 0; c < firstField.getBegin(); c++) {\n chars[c].setField(lastField);\n }\n }\n }", "title": "" }, { "docid": "981a7d080340e429a858dd0d1550c08e", "score": "0.47399175", "text": "public java.util.List<cn.ymatou.ops.resource.Field> getFieldsList() {\n return fields_;\n }", "title": "" }, { "docid": "df6803d80125c8a8041bb2804c995de1", "score": "0.47353297", "text": "com.google.protobuf.Struct getValues();", "title": "" }, { "docid": "fe27c7f708e829296819e54b7b4d775a", "score": "0.4732509", "text": "public Field61() {\n super(10);\n }", "title": "" }, { "docid": "08c46e5b3ff418d1037e2fca1b4bdef1", "score": "0.4730267", "text": "@Test\n public void parse_multipleRepeatedSimilarFields_acceptsLast() {\n String userInput = ASSESSMENT_DESC_AMY + NAME_DESC_AMY + SCORE_DESC_AMY\n + ASSESSMENT_DESC_BOB + NAME_DESC_AMY + SCORE_DESC_AMY\n + ASSESSMENT_DESC_BOB + NAME_DESC_BOB + SCORE_DESC_BOB;\n ScoreDescriptor descriptor = new ScoreDescriptorBuilder()\n .withAssessment(VALID_ASSESSMENT_BOB)\n .withName(VALID_NAME_BOB)\n .withScore(VALID_SCORE_BOB).build();\n AddScoreCommand expectedCommand = new AddScoreCommand(descriptor);\n\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // add score by id\n userInput = ASSESSMENT_DESC_AMY + ID_DESC_AMY + SCORE_DESC_AMY\n + ASSESSMENT_DESC_BOB + ID_DESC_AMY + SCORE_DESC_AMY\n + ASSESSMENT_DESC_BOB + ID_DESC_BOB + SCORE_DESC_BOB;\n descriptor = new ScoreDescriptorBuilder()\n .withAssessment(VALID_ASSESSMENT_BOB)\n .withId(VALID_ID_BOB)\n .withScore(VALID_SCORE_BOB).build();\n expectedCommand = new AddScoreCommand(descriptor);\n\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "title": "" }, { "docid": "faca08c7026fe047d64ac11c00e96b67", "score": "0.4726511", "text": "public RecordTypeImpl(String _name, Iterable<FieldDeclaration> _fields) {\n this.name = _name;\n this.fields = new LinkedList<FieldDeclaration>();\n for (FieldDeclaration _field : _fields) {\n this.fields.add(_field);\n }\n }", "title": "" }, { "docid": "eadd84228799e966af6e3e189d6bcf0c", "score": "0.4725726", "text": "MessageUpdateFields(int i2) {\n this.value = i2;\n }", "title": "" }, { "docid": "0e6e87e2836d08eb3198aa86f8c8fd66", "score": "0.4713132", "text": "public int getFieldsCount() {\n return ProtocolStatus._ALL_FIELDS.length;\n }", "title": "" }, { "docid": "649009811a9fdf5b9f8ec89248887856", "score": "0.47099894", "text": "public static void numberClassAndFields(){\n\t\tScene scene = Scene.v();\n\t\tNumberer fieldNumberer = scene.getFieldNumberer();\n\t\tint clsNum = 1;\n\t\t\n\t\t//Assure field numbers. SOOT only set number for fields of RefLikeType(s)\n\t\t//The later analysis may depend on the field numbers to distinguish them\n\t\tCollection<SootClass> classes = scene.getClasses();\n\t\tfor(SootClass cls: classes){\n\t\t\tcls.setNumber(clsNum);\n\t\t\tclsNum++;\n\t\t\tCollection<SootField> fields = cls.getFields();\n\t\t\tfor(SootField f: fields){\n\t\t\t\tif(f.getNumber()==0){\n\t\t\t\t\tfieldNumberer.add(f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ca66d9dea57471d461df88bc5006ea4c", "score": "0.4693973", "text": "com.google.privacy.dlp.v2.FieldId getField();", "title": "" }, { "docid": "ef605e978e116a8f76131d924ad61412", "score": "0.4689428", "text": "public String[] getMultipleFields() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8acf5b82219200b66ea649e7038944a2", "score": "0.46893916", "text": "public void registerFields(String... fields) {\n for (String field : fields) {\n String[] split = field.split(\"#\");\n if (split.length == 2) {\n Set<String> fieldNames = allowedFields.getOrDefault(split[0], new HashSet<>());\n fieldNames.add(split[1]);\n\n allowedFields.put(split[0], fieldNames);\n }\n }\n }", "title": "" }, { "docid": "79d79adcdbc7c8d8cef176570d233d30", "score": "0.46891668", "text": "public int getFieldCount()\n {\n return ListTools.size(this.fieldList);\n }", "title": "" }, { "docid": "9756f4542709941b190d7fa5eb091154", "score": "0.46887484", "text": "@PublicApi\npublic interface GraphQLInputFieldsContainer extends GraphQLNamedType {\n\n GraphQLInputObjectField getFieldDefinition(String name);\n\n List<GraphQLInputObjectField> getFieldDefinitions();\n}", "title": "" }, { "docid": "f2a8fd76bc3a388d526836e5c61f08ab", "score": "0.46865663", "text": "WithFieldDefinitions withName(String name);", "title": "" }, { "docid": "a58afcaaa678988548da75edf57db604", "score": "0.4681767", "text": "public abstract Builder zza(List<Field> list);", "title": "" }, { "docid": "6e4d89b98d0ca03857ace100c82c48f7", "score": "0.46717244", "text": "@Label(value = \"PROPERTIES\", usingIndexedPropertyOf = FileDescriptor.class)\npublic interface PropertyFileDescriptor extends FileDescriptor {\n\n @Relation(\"HAS\")\n public Set<PropertyDescriptor> getProperties();\n\n}", "title": "" }, { "docid": "5b3eff4801025083f05ecb05be372f64", "score": "0.46691293", "text": "@Test\n @DisplayName(\"extract data and associated fields\")\n public void extractDataAndAssociatedFields() throws IOException, ParseException {\n Logger.getLogger(BaseService.class.getName()).setLevel(Level.OFF);\n\n // Create the needed services\n AuthenticationService authenticationService = new AuthenticationService();\n CategoryService categoryService = new CategoryService();\n PriorityService priorityService = new PriorityService();\n DepartmentService departmentService = new DepartmentService();\n LocalizationService localizationService = new LocalizationService();\n FormService formService = new FormService();\n MessageService messageService = new MessageService();\n\n // Lets login first\n LoginResponse loginResponse = authenticationService.login(\n getTenant(), getUsername(), getPassword(), \"rest-api\");\n\n // Next grab all the needed objects\n List<CategoryGroupResponse> categories = categoryService.categories(\n loginResponse.getAuthTokenKey(), loginResponse.getTenantName(), loginResponse.getLanguageId(),\n loginResponse.getLanguageId(), null, \"rest-api\");\n List<PriorityResponse> prioities = priorityService.priorities(\n loginResponse.getAuthTokenKey(), loginResponse.getTenantName(), loginResponse.getLanguageId(),\n loginResponse.getLanguageId(), null, \"rest-api\");\n List<DepartmentHierarchyResponse> departments = departmentService.departments(\n loginResponse.getAuthTokenKey(), loginResponse.getTenantName(), null, \"rest-api\");\n List<LanguageResponse> languages = localizationService.languages(\n loginResponse.getAuthTokenKey(), loginResponse.getTenantName(), \"rest-api\");\n List<LocalizedResponse> displayTagNames = localizationService.displayTagNames(\n null, \"rest-api\");\n List<FormResponse> forms = formService.formList(\n loginResponse.getAuthTokenKey(), loginResponse.getTenantName(), loginResponse.getLanguageId(),\n loginResponse.getLanguageId(), null, \"rest-api\");\n\n// forms.forEach(formResponse -> {\n//// formResponse.getFormLayout().forEach(formLayoutResponse -> {\n//// formLayoutResponse.\n//// });\n// });\n\n // Iterate over all the forms and show the messages for each form\n for (FormResponse formResponse : forms) {\n System.out.println(String.format(\"form : %s : %s\", formResponse.getFormId(), formResponse.getFormName()));\n\n // Create a query\n MessageService.Query query = new MessageService.Query();\n query.setFromDate(formatter.parse(\"01-01-2018\"));\n query.setToDate(formatter.parse(\"31-01-2019\"));\n query.setFormId(formResponse.getFormId());\n\n // Get a set of messages\n List<MessageResponse> messages = messageService\n .messageList(getAuthTokenKey(), loginResponse.getTenantName(), loginResponse.getLanguageId(), loginResponse.getLanguageId(), query, null);\n\n if (messages != null) {\n messages.forEach(messageResponse -> {\n System.out.println();\n System.out.println(String.format(\" -- message : %s\", messageResponse.getMessageId()));\n\n System.out.println(String.format(\" -- categories\"));\n // Print all the categories\n messageResponse.getCategoryValues().entrySet().forEach(entry -> {\n // Locate the category entry\n CategoryResponse category = locateCategory(categories, entry.getKey());\n if (category != null) {\n System.out.println(String.format(\" -- category : %s : %s\", category.getId(), category.getName()));\n }\n });\n\n // Locate the Department\n DepartmentHierarchyResponse department = locateDepartment(departments, messageResponse.getDepartment().getDepartmentId());\n if (department != null) {\n System.out.println(String.format(\" -- department : %s : %s\", department.getDepartmentId(), department.getDepartmentName()));\n }\n\n System.out.println(String.format(\" -- fields\"));\n // Print all fields\n for (FormLayoutResponse formLayoutResponse : formResponse.getFormLayout()) {\n for (MessageTextFieldResponse messageTextFieldResponse : messageResponse.getMessageTextFields()) {\n Integer layoutId = formLayoutResponse.getId();\n Integer messageTextFieldId = messageTextFieldResponse.getMessageTextFieldId();\n\n if (layoutId == messageTextFieldId) {\n System.out.println(String.format(\" -- field : %s : %s\",\n formLayoutResponse.getLabelText(), messageTextFieldResponse.getValue()));\n }\n }\n }\n });\n }\n }\n\n // Logout the user\n LogoutResponse logoutResponse = authenticationService.logout(\n loginResponse.getAuthTokenKey(), loginResponse.getTenantName(), loginResponse.getUserId(), \"rest-api\");\n }", "title": "" }, { "docid": "579ca0a618e1d1784f0885105069259f", "score": "0.46502236", "text": "private void initField() {\n }", "title": "" }, { "docid": "5ee6da648442bd9095f8673485f32617", "score": "0.46439043", "text": "public void populateFields(int numSecurities, int numStates) {\n \n }", "title": "" }, { "docid": "bc1c57c62385291aab001cfff72f450e", "score": "0.46417627", "text": "public final void setFields(List<JsonField> fields) {\n this.fields = fields;\n }", "title": "" }, { "docid": "a2ea588bb51df26f2ed4681178696abe", "score": "0.46391532", "text": "void genFieldReadStmts() {\n\t\t // create field-specific verilog signal names\n\t\t String logicToHwDataName = fieldProperties.getFullSignalName(DefSignalType.L2H_DATA); // hwBaseName + \"_r\" ;\n\t\t String fieldRegisterName = fieldProperties.getFullSignalName(DefSignalType.FIELD); //\"ff_\" + hwBaseName;\n\n\t\t // if sw readable, set output (else return 0s)\n\t\t genSwFieldReadStmts();\n\t\t \n\t\t // if hw readable, add the interface and set output\n\t\t if (fieldProperties.isHwReadable()) {\n\t\t\t // add read signals from logic to hw\n\t\t\t addHwVector(DefSignalType.L2H_DATA, 0, fieldProperties.getFieldWidth()); // logic to hw list \n\t\t\t \n\t\t\t // assign hw read data outputs\n\t\t\t addVectorReg(logicToHwDataName, 0, fieldProperties.getFieldWidth()); // add outputs to define list since we'll use block assign\n\t\t\t addCombinAssign(regProperties.getBaseName(), logicToHwDataName + \" = \" + fieldRegisterName + \";\"); \n\t\t }\n\t\t \n\t\t // if anded/ored/xored outputs specified\n\t\t genBitwiseOutputStmts();\n\t}", "title": "" }, { "docid": "65d813fad39d6e335278ca52cf0103ee", "score": "0.46342844", "text": "com.google.protobuf.ByteString getFieldsBytes(int index);", "title": "" }, { "docid": "1b5da29b5ddc3526ad6bdfc1ba45f39c", "score": "0.46328172", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return field0;\n case 1: return field1;\n case 2: return field2;\n case 3: return field3;\n case 4: return field4;\n case 5: return field5;\n case 6: return field6;\n case 7: return field7;\n case 8: return field8;\n case 9: return field9;\n case 10: return field10;\n case 11: return field11;\n case 12: return field12;\n case 13: return field13;\n case 14: return field14;\n case 15: return field15;\n case 16: return field16;\n case 17: return field17;\n case 18: return field18;\n case 19: return field19;\n case 20: return field20;\n case 21: return field21;\n case 22: return field22;\n case 23: return field23;\n case 24: return field24;\n case 25: return field25;\n case 26: return field26;\n case 27: return field27;\n case 28: return field28;\n case 29: return field29;\n case 30: return field30;\n case 31: return field31;\n case 32: return field32;\n case 33: return field33;\n case 34: return field34;\n case 35: return field35;\n case 36: return field36;\n case 37: return field37;\n case 38: return field38;\n case 39: return field39;\n case 40: return field40;\n case 41: return field41;\n case 42: return field42;\n case 43: return field43;\n case 44: return field44;\n case 45: return field45;\n case 46: return field46;\n case 47: return field47;\n case 48: return field48;\n case 49: return field49;\n case 50: return field50;\n case 51: return field51;\n case 52: return field52;\n case 53: return field53;\n case 54: return field54;\n case 55: return field55;\n case 56: return field56;\n case 57: return field57;\n case 58: return field58;\n case 59: return field59;\n case 60: return field60;\n case 61: return field61;\n case 62: return field62;\n case 63: return field63;\n case 64: return field64;\n case 65: return field65;\n case 66: return field66;\n case 67: return field67;\n case 68: return field68;\n case 69: return field69;\n case 70: return field70;\n case 71: return field71;\n case 72: return field72;\n case 73: return field73;\n case 74: return field74;\n case 75: return field75;\n case 76: return field76;\n case 77: return field77;\n case 78: return field78;\n case 79: return field79;\n case 80: return field80;\n case 81: return field81;\n case 82: return field82;\n case 83: return field83;\n case 84: return field84;\n case 85: return field85;\n case 86: return field86;\n case 87: return field87;\n case 88: return field88;\n case 89: return field89;\n case 90: return field90;\n case 91: return field91;\n case 92: return field92;\n case 93: return field93;\n case 94: return field94;\n case 95: return field95;\n case 96: return field96;\n case 97: return field97;\n case 98: return field98;\n case 99: return field99;\n case 100: return field100;\n case 101: return field101;\n case 102: return field102;\n case 103: return field103;\n case 104: return field104;\n case 105: return field105;\n case 106: return field106;\n case 107: return field107;\n case 108: return field108;\n case 109: return field109;\n case 110: return field110;\n case 111: return field111;\n case 112: return field112;\n case 113: return field113;\n case 114: return field114;\n case 115: return field115;\n case 116: return field116;\n case 117: return field117;\n case 118: return field118;\n case 119: return field119;\n case 120: return field120;\n case 121: return field121;\n case 122: return field122;\n case 123: return field123;\n case 124: return field124;\n case 125: return field125;\n case 126: return field126;\n case 127: return field127;\n case 128: return field128;\n case 129: return field129;\n case 130: return field130;\n case 131: return field131;\n case 132: return field132;\n case 133: return field133;\n case 134: return field134;\n case 135: return field135;\n case 136: return field136;\n case 137: return field137;\n case 138: return field138;\n case 139: return field139;\n case 140: return field140;\n case 141: return field141;\n case 142: return field142;\n case 143: return field143;\n case 144: return field144;\n case 145: return field145;\n case 146: return field146;\n case 147: return field147;\n case 148: return field148;\n case 149: return field149;\n case 150: return field150;\n case 151: return field151;\n case 152: return field152;\n case 153: return field153;\n case 154: return field154;\n case 155: return field155;\n case 156: return field156;\n case 157: return field157;\n case 158: return field158;\n case 159: return field159;\n case 160: return field160;\n case 161: return field161;\n case 162: return field162;\n case 163: return field163;\n case 164: return field164;\n case 165: return field165;\n case 166: return field166;\n case 167: return field167;\n case 168: return field168;\n case 169: return field169;\n case 170: return field170;\n case 171: return field171;\n case 172: return field172;\n case 173: return field173;\n case 174: return field174;\n case 175: return field175;\n case 176: return field176;\n case 177: return field177;\n case 178: return field178;\n case 179: return field179;\n case 180: return field180;\n case 181: return field181;\n case 182: return field182;\n case 183: return field183;\n case 184: return field184;\n case 185: return field185;\n case 186: return field186;\n case 187: return field187;\n case 188: return field188;\n case 189: return field189;\n case 190: return field190;\n case 191: return field191;\n case 192: return field192;\n case 193: return field193;\n case 194: return field194;\n case 195: return field195;\n case 196: return field196;\n case 197: return field197;\n case 198: return field198;\n case 199: return field199;\n case 200: return field200;\n case 201: return field201;\n case 202: return field202;\n case 203: return field203;\n case 204: return field204;\n case 205: return field205;\n case 206: return field206;\n case 207: return field207;\n case 208: return field208;\n case 209: return field209;\n case 210: return field210;\n case 211: return field211;\n case 212: return field212;\n case 213: return field213;\n case 214: return field214;\n case 215: return field215;\n case 216: return field216;\n case 217: return field217;\n case 218: return field218;\n case 219: return field219;\n case 220: return field220;\n case 221: return field221;\n case 222: return field222;\n case 223: return field223;\n case 224: return field224;\n case 225: return field225;\n case 226: return field226;\n case 227: return field227;\n case 228: return field228;\n case 229: return field229;\n case 230: return field230;\n case 231: return field231;\n case 232: return field232;\n case 233: return field233;\n case 234: return field234;\n case 235: return field235;\n case 236: return field236;\n case 237: return field237;\n case 238: return field238;\n case 239: return field239;\n case 240: return field240;\n case 241: return field241;\n case 242: return field242;\n case 243: return field243;\n case 244: return field244;\n case 245: return field245;\n case 246: return field246;\n case 247: return field247;\n case 248: return field248;\n case 249: return field249;\n case 250: return field250;\n case 251: return field251;\n case 252: return field252;\n case 253: return field253;\n case 254: return field254;\n case 255: return field255;\n case 256: return field256;\n case 257: return field257;\n case 258: return field258;\n case 259: return field259;\n case 260: return field260;\n case 261: return field261;\n case 262: return field262;\n case 263: return field263;\n case 264: return field264;\n case 265: return field265;\n case 266: return field266;\n case 267: return field267;\n case 268: return field268;\n case 269: return field269;\n case 270: return field270;\n case 271: return field271;\n case 272: return field272;\n case 273: return field273;\n case 274: return field274;\n case 275: return field275;\n case 276: return field276;\n case 277: return field277;\n case 278: return field278;\n case 279: return field279;\n case 280: return field280;\n case 281: return field281;\n case 282: return field282;\n case 283: return field283;\n case 284: return field284;\n case 285: return field285;\n case 286: return field286;\n case 287: return field287;\n case 288: return field288;\n case 289: return field289;\n case 290: return field290;\n case 291: return field291;\n case 292: return field292;\n case 293: return field293;\n case 294: return field294;\n case 295: return field295;\n case 296: return field296;\n case 297: return field297;\n case 298: return field298;\n case 299: return field299;\n case 300: return field300;\n case 301: return field301;\n case 302: return field302;\n case 303: return field303;\n case 304: return field304;\n case 305: return field305;\n case 306: return field306;\n case 307: return field307;\n case 308: return field308;\n case 309: return field309;\n case 310: return field310;\n case 311: return field311;\n case 312: return field312;\n case 313: return field313;\n case 314: return field314;\n case 315: return field315;\n case 316: return field316;\n case 317: return field317;\n case 318: return field318;\n case 319: return field319;\n case 320: return field320;\n case 321: return field321;\n case 322: return field322;\n case 323: return field323;\n case 324: return field324;\n case 325: return field325;\n case 326: return field326;\n case 327: return field327;\n case 328: return field328;\n case 329: return field329;\n case 330: return field330;\n case 331: return field331;\n case 332: return field332;\n case 333: return field333;\n case 334: return field334;\n case 335: return field335;\n case 336: return field336;\n case 337: return field337;\n case 338: return field338;\n case 339: return field339;\n case 340: return field340;\n case 341: return field341;\n case 342: return field342;\n case 343: return field343;\n case 344: return field344;\n case 345: return field345;\n case 346: return field346;\n case 347: return field347;\n case 348: return field348;\n case 349: return field349;\n case 350: return field350;\n case 351: return field351;\n case 352: return field352;\n case 353: return field353;\n case 354: return field354;\n case 355: return field355;\n case 356: return field356;\n case 357: return field357;\n case 358: return field358;\n case 359: return field359;\n case 360: return field360;\n case 361: return field361;\n case 362: return field362;\n case 363: return field363;\n case 364: return field364;\n case 365: return field365;\n case 366: return field366;\n case 367: return field367;\n case 368: return field368;\n case 369: return field369;\n case 370: return field370;\n case 371: return field371;\n case 372: return field372;\n case 373: return field373;\n case 374: return field374;\n case 375: return field375;\n case 376: return field376;\n case 377: return field377;\n case 378: return field378;\n case 379: return field379;\n case 380: return field380;\n case 381: return field381;\n case 382: return field382;\n case 383: return field383;\n case 384: return field384;\n case 385: return field385;\n case 386: return field386;\n case 387: return field387;\n case 388: return field388;\n case 389: return field389;\n case 390: return field390;\n case 391: return field391;\n case 392: return field392;\n case 393: return field393;\n case 394: return field394;\n case 395: return field395;\n case 396: return field396;\n case 397: return field397;\n case 398: return field398;\n case 399: return field399;\n case 400: return field400;\n case 401: return field401;\n case 402: return field402;\n case 403: return field403;\n case 404: return field404;\n case 405: return field405;\n case 406: return field406;\n case 407: return field407;\n case 408: return field408;\n case 409: return field409;\n case 410: return field410;\n case 411: return field411;\n case 412: return field412;\n case 413: return field413;\n case 414: return field414;\n case 415: return field415;\n case 416: return field416;\n case 417: return field417;\n case 418: return field418;\n case 419: return field419;\n case 420: return field420;\n case 421: return field421;\n case 422: return field422;\n case 423: return field423;\n case 424: return field424;\n case 425: return field425;\n case 426: return field426;\n case 427: return field427;\n case 428: return field428;\n case 429: return field429;\n case 430: return field430;\n case 431: return field431;\n case 432: return field432;\n case 433: return field433;\n case 434: return field434;\n case 435: return field435;\n case 436: return field436;\n case 437: return field437;\n case 438: return field438;\n case 439: return field439;\n case 440: return field440;\n case 441: return field441;\n case 442: return field442;\n case 443: return field443;\n case 444: return field444;\n case 445: return field445;\n case 446: return field446;\n case 447: return field447;\n case 448: return field448;\n case 449: return field449;\n case 450: return field450;\n case 451: return field451;\n case 452: return field452;\n case 453: return field453;\n case 454: return field454;\n case 455: return field455;\n case 456: return field456;\n case 457: return field457;\n case 458: return field458;\n case 459: return field459;\n case 460: return field460;\n case 461: return field461;\n case 462: return field462;\n case 463: return field463;\n case 464: return field464;\n case 465: return field465;\n case 466: return field466;\n case 467: return field467;\n case 468: return field468;\n case 469: return field469;\n case 470: return field470;\n case 471: return field471;\n case 472: return field472;\n case 473: return field473;\n case 474: return field474;\n case 475: return field475;\n case 476: return field476;\n case 477: return field477;\n case 478: return field478;\n case 479: return field479;\n case 480: return field480;\n case 481: return field481;\n case 482: return field482;\n case 483: return field483;\n case 484: return field484;\n case 485: return field485;\n case 486: return field486;\n case 487: return field487;\n case 488: return field488;\n case 489: return field489;\n case 490: return field490;\n case 491: return field491;\n case 492: return field492;\n case 493: return field493;\n case 494: return field494;\n case 495: return field495;\n case 496: return field496;\n case 497: return field497;\n case 498: return field498;\n case 499: return field499;\n case 500: return field500;\n case 501: return field501;\n case 502: return field502;\n case 503: return field503;\n case 504: return field504;\n case 505: return field505;\n case 506: return field506;\n case 507: return field507;\n case 508: return field508;\n case 509: return field509;\n case 510: return field510;\n case 511: return field511;\n case 512: return field512;\n case 513: return field513;\n case 514: return field514;\n case 515: return field515;\n case 516: return field516;\n case 517: return field517;\n case 518: return field518;\n case 519: return field519;\n case 520: return field520;\n case 521: return field521;\n case 522: return field522;\n case 523: return field523;\n case 524: return field524;\n case 525: return field525;\n case 526: return field526;\n case 527: return field527;\n case 528: return field528;\n case 529: return field529;\n case 530: return field530;\n case 531: return field531;\n case 532: return field532;\n case 533: return field533;\n case 534: return field534;\n case 535: return field535;\n case 536: return field536;\n case 537: return field537;\n case 538: return field538;\n case 539: return field539;\n case 540: return field540;\n case 541: return field541;\n case 542: return field542;\n case 543: return field543;\n case 544: return field544;\n case 545: return field545;\n case 546: return field546;\n case 547: return field547;\n case 548: return field548;\n case 549: return field549;\n case 550: return field550;\n case 551: return field551;\n case 552: return field552;\n case 553: return field553;\n case 554: return field554;\n case 555: return field555;\n case 556: return field556;\n case 557: return field557;\n case 558: return field558;\n case 559: return field559;\n case 560: return field560;\n case 561: return field561;\n case 562: return field562;\n case 563: return field563;\n case 564: return field564;\n case 565: return field565;\n case 566: return field566;\n case 567: return field567;\n case 568: return field568;\n case 569: return field569;\n case 570: return field570;\n case 571: return field571;\n case 572: return field572;\n case 573: return field573;\n case 574: return field574;\n case 575: return field575;\n case 576: return field576;\n case 577: return field577;\n case 578: return field578;\n case 579: return field579;\n case 580: return field580;\n case 581: return field581;\n case 582: return field582;\n case 583: return field583;\n case 584: return field584;\n case 585: return field585;\n case 586: return field586;\n case 587: return field587;\n case 588: return field588;\n case 589: return field589;\n case 590: return field590;\n case 591: return field591;\n case 592: return field592;\n case 593: return field593;\n case 594: return field594;\n case 595: return field595;\n case 596: return field596;\n case 597: return field597;\n case 598: return field598;\n case 599: return field599;\n case 600: return field600;\n case 601: return field601;\n case 602: return field602;\n case 603: return field603;\n case 604: return field604;\n case 605: return field605;\n case 606: return field606;\n case 607: return field607;\n case 608: return field608;\n case 609: return field609;\n case 610: return field610;\n case 611: return field611;\n case 612: return field612;\n case 613: return field613;\n case 614: return field614;\n case 615: return field615;\n case 616: return field616;\n case 617: return field617;\n case 618: return field618;\n case 619: return field619;\n case 620: return field620;\n case 621: return field621;\n case 622: return field622;\n case 623: return field623;\n case 624: return field624;\n case 625: return field625;\n case 626: return field626;\n case 627: return field627;\n case 628: return field628;\n case 629: return field629;\n case 630: return field630;\n case 631: return field631;\n case 632: return field632;\n case 633: return field633;\n case 634: return field634;\n case 635: return field635;\n case 636: return field636;\n case 637: return field637;\n case 638: return field638;\n case 639: return field639;\n case 640: return field640;\n case 641: return field641;\n case 642: return field642;\n case 643: return field643;\n case 644: return field644;\n case 645: return field645;\n case 646: return field646;\n case 647: return field647;\n case 648: return field648;\n case 649: return field649;\n case 650: return field650;\n case 651: return field651;\n case 652: return field652;\n case 653: return field653;\n case 654: return field654;\n case 655: return field655;\n case 656: return field656;\n case 657: return field657;\n case 658: return field658;\n case 659: return field659;\n case 660: return field660;\n case 661: return field661;\n case 662: return field662;\n case 663: return field663;\n case 664: return field664;\n case 665: return field665;\n case 666: return field666;\n case 667: return field667;\n case 668: return field668;\n case 669: return field669;\n case 670: return field670;\n case 671: return field671;\n case 672: return field672;\n case 673: return field673;\n case 674: return field674;\n case 675: return field675;\n case 676: return field676;\n case 677: return field677;\n case 678: return field678;\n case 679: return field679;\n case 680: return field680;\n case 681: return field681;\n case 682: return field682;\n case 683: return field683;\n case 684: return field684;\n case 685: return field685;\n case 686: return field686;\n case 687: return field687;\n case 688: return field688;\n case 689: return field689;\n case 690: return field690;\n case 691: return field691;\n case 692: return field692;\n case 693: return field693;\n case 694: return field694;\n case 695: return field695;\n case 696: return field696;\n case 697: return field697;\n case 698: return field698;\n case 699: return field699;\n case 700: return field700;\n case 701: return field701;\n case 702: return field702;\n case 703: return field703;\n case 704: return field704;\n case 705: return field705;\n case 706: return field706;\n case 707: return field707;\n case 708: return field708;\n case 709: return field709;\n case 710: return field710;\n case 711: return field711;\n case 712: return field712;\n case 713: return field713;\n case 714: return field714;\n case 715: return field715;\n case 716: return field716;\n case 717: return field717;\n case 718: return field718;\n case 719: return field719;\n case 720: return field720;\n case 721: return field721;\n case 722: return field722;\n case 723: return field723;\n case 724: return field724;\n case 725: return field725;\n case 726: return field726;\n case 727: return field727;\n case 728: return field728;\n case 729: return field729;\n case 730: return field730;\n case 731: return field731;\n case 732: return field732;\n case 733: return field733;\n case 734: return field734;\n case 735: return field735;\n case 736: return field736;\n case 737: return field737;\n case 738: return field738;\n case 739: return field739;\n case 740: return field740;\n case 741: return field741;\n case 742: return field742;\n case 743: return field743;\n case 744: return field744;\n case 745: return field745;\n case 746: return field746;\n case 747: return field747;\n case 748: return field748;\n case 749: return field749;\n case 750: return field750;\n case 751: return field751;\n case 752: return field752;\n case 753: return field753;\n case 754: return field754;\n case 755: return field755;\n case 756: return field756;\n case 757: return field757;\n case 758: return field758;\n case 759: return field759;\n case 760: return field760;\n case 761: return field761;\n case 762: return field762;\n case 763: return field763;\n case 764: return field764;\n case 765: return field765;\n case 766: return field766;\n case 767: return field767;\n case 768: return field768;\n case 769: return field769;\n case 770: return field770;\n case 771: return field771;\n case 772: return field772;\n case 773: return field773;\n case 774: return field774;\n case 775: return field775;\n case 776: return field776;\n case 777: return field777;\n case 778: return field778;\n case 779: return field779;\n case 780: return field780;\n case 781: return field781;\n case 782: return field782;\n case 783: return field783;\n case 784: return field784;\n case 785: return field785;\n case 786: return field786;\n case 787: return field787;\n case 788: return field788;\n case 789: return field789;\n case 790: return field790;\n case 791: return field791;\n case 792: return field792;\n case 793: return field793;\n case 794: return field794;\n case 795: return field795;\n case 796: return field796;\n case 797: return field797;\n case 798: return field798;\n case 799: return field799;\n case 800: return field800;\n case 801: return field801;\n case 802: return field802;\n case 803: return field803;\n case 804: return field804;\n case 805: return field805;\n case 806: return field806;\n case 807: return field807;\n case 808: return field808;\n case 809: return field809;\n case 810: return field810;\n case 811: return field811;\n case 812: return field812;\n case 813: return field813;\n case 814: return field814;\n case 815: return field815;\n case 816: return field816;\n case 817: return field817;\n case 818: return field818;\n case 819: return field819;\n case 820: return field820;\n case 821: return field821;\n case 822: return field822;\n case 823: return field823;\n case 824: return field824;\n case 825: return field825;\n case 826: return field826;\n case 827: return field827;\n case 828: return field828;\n case 829: return field829;\n case 830: return field830;\n case 831: return field831;\n case 832: return field832;\n case 833: return field833;\n case 834: return field834;\n case 835: return field835;\n case 836: return field836;\n case 837: return field837;\n case 838: return field838;\n case 839: return field839;\n case 840: return field840;\n case 841: return field841;\n case 842: return field842;\n case 843: return field843;\n case 844: return field844;\n case 845: return field845;\n case 846: return field846;\n case 847: return field847;\n case 848: return field848;\n case 849: return field849;\n case 850: return field850;\n case 851: return field851;\n case 852: return field852;\n case 853: return field853;\n case 854: return field854;\n case 855: return field855;\n case 856: return field856;\n case 857: return field857;\n case 858: return field858;\n case 859: return field859;\n case 860: return field860;\n case 861: return field861;\n case 862: return field862;\n case 863: return field863;\n case 864: return field864;\n case 865: return field865;\n case 866: return field866;\n case 867: return field867;\n case 868: return field868;\n case 869: return field869;\n case 870: return field870;\n case 871: return field871;\n case 872: return field872;\n case 873: return field873;\n case 874: return field874;\n case 875: return field875;\n case 876: return field876;\n case 877: return field877;\n case 878: return field878;\n case 879: return field879;\n case 880: return field880;\n case 881: return field881;\n case 882: return field882;\n case 883: return field883;\n case 884: return field884;\n case 885: return field885;\n case 886: return field886;\n case 887: return field887;\n case 888: return field888;\n case 889: return field889;\n case 890: return field890;\n case 891: return field891;\n case 892: return field892;\n case 893: return field893;\n case 894: return field894;\n case 895: return field895;\n case 896: return field896;\n case 897: return field897;\n case 898: return field898;\n case 899: return field899;\n case 900: return field900;\n case 901: return field901;\n case 902: return field902;\n case 903: return field903;\n case 904: return field904;\n case 905: return field905;\n case 906: return field906;\n case 907: return field907;\n case 908: return field908;\n case 909: return field909;\n case 910: return field910;\n case 911: return field911;\n case 912: return field912;\n case 913: return field913;\n case 914: return field914;\n case 915: return field915;\n case 916: return field916;\n case 917: return field917;\n case 918: return field918;\n case 919: return field919;\n case 920: return field920;\n case 921: return field921;\n case 922: return field922;\n case 923: return field923;\n case 924: return field924;\n case 925: return field925;\n case 926: return field926;\n case 927: return field927;\n case 928: return field928;\n case 929: return field929;\n case 930: return field930;\n case 931: return field931;\n case 932: return field932;\n case 933: return field933;\n case 934: return field934;\n case 935: return field935;\n case 936: return field936;\n case 937: return field937;\n case 938: return field938;\n case 939: return field939;\n case 940: return field940;\n case 941: return field941;\n case 942: return field942;\n case 943: return field943;\n case 944: return field944;\n case 945: return field945;\n case 946: return field946;\n case 947: return field947;\n case 948: return field948;\n case 949: return field949;\n case 950: return field950;\n case 951: return field951;\n case 952: return field952;\n case 953: return field953;\n case 954: return field954;\n case 955: return field955;\n case 956: return field956;\n case 957: return field957;\n case 958: return field958;\n case 959: return field959;\n case 960: return field960;\n case 961: return field961;\n case 962: return field962;\n case 963: return field963;\n case 964: return field964;\n case 965: return field965;\n case 966: return field966;\n case 967: return field967;\n case 968: return field968;\n case 969: return field969;\n case 970: return field970;\n case 971: return field971;\n case 972: return field972;\n case 973: return field973;\n case 974: return field974;\n case 975: return field975;\n case 976: return field976;\n case 977: return field977;\n case 978: return field978;\n case 979: return field979;\n case 980: return field980;\n case 981: return field981;\n case 982: return field982;\n case 983: return field983;\n case 984: return field984;\n case 985: return field985;\n case 986: return field986;\n case 987: return field987;\n case 988: return field988;\n case 989: return field989;\n case 990: return field990;\n case 991: return field991;\n case 992: return field992;\n case 993: return field993;\n case 994: return field994;\n case 995: return field995;\n case 996: return field996;\n case 997: return field997;\n case 998: return field998;\n case 999: return field999;\n case 1000: return field1000;\n case 1001: return field1001;\n case 1002: return field1002;\n case 1003: return field1003;\n case 1004: return field1004;\n case 1005: return field1005;\n case 1006: return field1006;\n case 1007: return field1007;\n case 1008: return field1008;\n case 1009: return field1009;\n case 1010: return field1010;\n case 1011: return field1011;\n case 1012: return field1012;\n case 1013: return field1013;\n case 1014: return field1014;\n case 1015: return field1015;\n case 1016: return field1016;\n case 1017: return field1017;\n case 1018: return field1018;\n case 1019: return field1019;\n case 1020: return field1020;\n case 1021: return field1021;\n case 1022: return field1022;\n case 1023: return field1023;\n case 1024: return field1024;\n case 1025: return field1025;\n case 1026: return field1026;\n case 1027: return field1027;\n case 1028: return field1028;\n case 1029: return field1029;\n case 1030: return field1030;\n case 1031: return field1031;\n case 1032: return field1032;\n case 1033: return field1033;\n case 1034: return field1034;\n case 1035: return field1035;\n case 1036: return field1036;\n case 1037: return field1037;\n case 1038: return field1038;\n case 1039: return field1039;\n case 1040: return field1040;\n case 1041: return field1041;\n case 1042: return field1042;\n case 1043: return field1043;\n case 1044: return field1044;\n case 1045: return field1045;\n case 1046: return field1046;\n case 1047: return field1047;\n case 1048: return field1048;\n case 1049: return field1049;\n case 1050: return field1050;\n case 1051: return field1051;\n case 1052: return field1052;\n case 1053: return field1053;\n case 1054: return field1054;\n case 1055: return field1055;\n case 1056: return field1056;\n case 1057: return field1057;\n case 1058: return field1058;\n case 1059: return field1059;\n case 1060: return field1060;\n case 1061: return field1061;\n case 1062: return field1062;\n case 1063: return field1063;\n case 1064: return field1064;\n case 1065: return field1065;\n case 1066: return field1066;\n case 1067: return field1067;\n case 1068: return field1068;\n case 1069: return field1069;\n case 1070: return field1070;\n case 1071: return field1071;\n case 1072: return field1072;\n case 1073: return field1073;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "0d239bdd7bc4056443fe5322dc0d633a", "score": "0.46220538", "text": "@Test\n public void parse_multipleRepeatedDifferentFields_failure() {\n String userInput = ASSESSMENT_DESC_AMY + ID_DESC_AMY + SCORE_DESC_AMY\n + ASSESSMENT_DESC_BOB + NAME_DESC_BOB + SCORE_DESC_BOB;\n assertParseFailure(parser, userInput, MESSAGE_INVALID_FORMAT);\n\n // add score by id\n userInput = ASSESSMENT_DESC_AMY + NAME_DESC_AMY + SCORE_DESC_AMY\n + ASSESSMENT_DESC_BOB + ID_DESC_BOB + SCORE_DESC_BOB;\n assertParseFailure(parser, userInput, MESSAGE_INVALID_FORMAT);\n }", "title": "" }, { "docid": "2c75a4949edf51450aa27f7300892a56", "score": "0.46214688", "text": "public void setFields(Field[] fields, int instanceSize) {\n this.fields = fields;\n this.instanceSize = instanceSize;\n assume(instanceSize >= 0);\n }", "title": "" }, { "docid": "a33a1785b4387fa3340d682da1298a4b", "score": "0.46202984", "text": "public interface CushyField {\n public static final String POST =\"POST\";\n public static final String GET =\"GET\";\n public static final int JSON=200;\n public static final int XML =300;\n}", "title": "" }, { "docid": "7f024b38fc0608ea5abad98ab01a18ae", "score": "0.46147308", "text": "public interface Example {\n\n HelloResData hello(HelloReqData reqData);\n\n ComplexResData helloComplex(ComplexReqData resData);\n\n @Data\n class ComplexReqData extends RequestInfo {\n @Protocol(fieldType = FieldType.STRING, order = 2, description = \"请求字符列子\")\n private String req;\n @Protocol(fieldType = FieldType.OBJECT, order = 3, description = \"测试list\")\n private List<DetailData> details;\n @Protocol(fieldType = FieldType.OBJECT, order = 4,description = \"测试message\")\n private DetailData reqDetail;\n @Protocol(fieldType = FieldType.STRING, order = 5, description = \"测试list\")\n private List<String> listString;\n @Protocol(fieldType = FieldType.INT, order = 6, description = \"测试list\")\n private List<Integer> listInt;\n @Protocol(fieldType = FieldType.ENUM, order = 7)\n private BankCodeEnum bankCodeEnum;\n @Protocol(fieldType = FieldType.LONG, order = 8)\n private long resLong;\n @Protocol(fieldType = FieldType.INT, order = 9)\n private Integer resInt;\n @Protocol(fieldType = FieldType.FLOAT, order = 10)\n private Float resFloat;\n @Protocol(fieldType = FieldType.DOUBLE, order = 11)\n private Double resDouble;\n @Protocol(fieldType = FieldType.LONG, order = 12)\n private List<Long> listLong;\n @Protocol(fieldType = FieldType.FLOAT, order = 13)\n private List<Float> listFloat;\n @Protocol(fieldType = FieldType.DOUBLE, order = 14)\n private List<Double> listDouble;\n }\n\n class DetailData {\n @Protocol(fieldType = FieldType.STRING, order = 1)\n private String itemID;\n @Protocol(fieldType = FieldType.STRING, order = 2)\n private String name;\n\n public String getItemID() {\n return itemID;\n }\n\n public DetailData setItemID(String itemID) {\n this.itemID = itemID;\n return this;\n }\n\n public String getName() {\n return name;\n }\n\n public DetailData setName(String name) {\n this.name = name;\n return this;\n }\n }\n\n @Data\n class ComplexResData extends ResultInfo {\n @Protocol(fieldType = FieldType.STRING, order = 2)\n private String res;\n @Protocol(fieldType = FieldType.OBJECT, order = 3)\n private List<DetailData> retDetails;\n @Protocol(fieldType = FieldType.ENUM, order = 4)\n private BankCodeEnum bankCode;\n @Protocol(fieldType = FieldType.OBJECT, order = 5)\n private DetailData detail;\n @Protocol(fieldType = FieldType.STRING, order = 6)\n private List<String> listString;\n @Protocol(fieldType = FieldType.INT, order = 7)\n private List<Integer> listInt;\n }\n\n enum BankCodeEnum {\n WEIXIN_WAP(10), //微信公众号支付 111\n WEIXIN_QRCODE(1), //微信二维码支付 112\n WEIXIN_SCAN(2), //微信刷卡支付 113\n ALIPAY_WAP(3), //支付宝微信里支付 121\n ALIPAY_QRCODE(4); //支付宝二维码 122\n\n private final int value;\n\n BankCodeEnum(int value) { this.value = value; }\n\n public int value() { return this.value; }\n }\n\n @Data\n class HelloReqData {\n @Protocol(fieldType = FieldType.STRING, order = 1)\n String paramStr;\n @Protocol(fieldType = FieldType.INT, order = 2)\n int paramInt;\n @Protocol(fieldType = FieldType.LONG, order = 3)\n long paramLong;\n }\n @Data\n class HelloResData {\n @Protocol(fieldType = FieldType.STRING, order = 1)\n String paramStr;\n @Protocol(fieldType = FieldType.INT, order = 2)\n int paramInt;\n @Protocol(fieldType = FieldType.LONG, order = 3)\n long paramLong;\n }\n}", "title": "" }, { "docid": "1fb6f201819d81952bdb9b472828c7af", "score": "0.46145806", "text": "interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithKind> {\n }", "title": "" }, { "docid": "e7b45ea7198a911ed74c3bd3fa3212b2", "score": "0.46143138", "text": "public Field[] getFields() {\n return fields;\n }", "title": "" }, { "docid": "6b670dae28ee18a5f8abc65df05953dc", "score": "0.46110824", "text": "public int getNumFields()\n {\n return (inputFields.size());\n }", "title": "" }, { "docid": "05bd9fc0d8361e44d5f96f4ff7b5a86b", "score": "0.46078613", "text": "Map<String, FieldDefinition> fieldDefinitions();", "title": "" }, { "docid": "73ab58c8f8d972ea7f19360d4ecc4214", "score": "0.4603353", "text": "@Fields({\n @Field(propName = \"name\", seriaName = \"heaven7\", type = String.class),\n @Field(propName = \"test_object\", seriaName = \"test_object\",\n flags = FLAG_EXPOSE_DEFAULT | FLAG_EXPOSE_SERIALIZE_FALSE, type = Object.class),\n @Field(propName = \"test_Format\", seriaName = \"test_Format\", flags = 1, type = Double.class),\n @Field(propName = \"test_int\", seriaName = \"test_int\", type = int.class,\n flags = FLAG_EXPOSE_DEFAULT | FLAG_COPY | FLAG_RESET),\n @Field(propName = \"test_list\", seriaName = \"test_list\", type = long.class, complexType = COMPLEXT_LIST,\n flags = FLAG_RESET | FLAG_SHARE | FLAG_SNAP),\n @Field(propName = \"test_array\", seriaName = \"test_array\", type = String.class,\n complexType = COMPLEXT_ARRAY,\n flags = FLAG_RESET | FLAG_SHARE | FLAG_SNAP\n ),\n})\npublic interface StudentBind extends ICopyable, IResetable, IShareable, ISnapable {\n}", "title": "" }, { "docid": "92076f968602af02745c9c4b2f104893", "score": "0.4599618", "text": "com.google.protobuf.Struct getResource();", "title": "" }, { "docid": "c6825221dc1600b1b77ca912bed66a85", "score": "0.4597988", "text": "public int getFieldCount() {\n\t\treturn fieldDescriptors.size();\n\t}", "title": "" }, { "docid": "d361ceb4b98be165ed6931e2c19e6427", "score": "0.45957258", "text": "public FieldValueCollection() {}", "title": "" } ]
9e63a638b9fbd49e5213698c8d70797f
Sets values Motion Picture type for 007 fixed field
[ { "docid": "42e2e9138d8c5103a985a9dd66c7846b", "score": "0.5224203", "text": "private void setPhysicalInfoMPcodes(final String lang, final StorageService storageService, final FixedFieldCodesGroup fixedFieldCodesGroup) {\n\n fixedFieldCodesGroup.setSpecificMaterialDesignationCodes(storageService.getCodesList(lang, CodeListsType.MP_SPEC_DESIGN).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setColorCodes(storageService.getCodesList(lang, CodeListsType.MP_COLOR).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setPresentationFormatCodes(storageService.getCodesList(lang, CodeListsType.MP_PRESENT_FORMAT).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setSoundOnMediumOrSeparateCodes(storageService.getCodesList(lang, CodeListsType.SOUND_MEDIUM_OR_SEP).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setMediumForSoundCodes(storageService.getCodesList(lang, CodeListsType.MEDIUM_FOR_SOUND).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setDimensionCodes(storageService.getCodesList(lang, CodeListsType.MP_DIMENSIONS).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setConfigurationCodes(storageService.getCodesList(lang, CodeListsType.MP_CONF_PLAYBACK).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setProductionElementsCodes(storageService.getCodesList(lang, CodeListsType.MP_PROD_ELEM).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setPolarityCodes(storageService.getCodesList(lang, CodeListsType.MP_POLARITY).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setGenerationCodes(storageService.getCodesList(lang, CodeListsType.MP_GENERATION).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setBaseOfFilmCodes(storageService.getCodesList(lang, CodeListsType.MP_BASE_FILM).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setRefinedCategoriesOfColourCodes(storageService.getCodesList(lang, CodeListsType.MP_REFINE_CAT_COLOR).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setKindOfColourStockCodes(storageService.getCodesList(lang, CodeListsType.MP_KIND_COLORS).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setDeteriorationStageCodes(storageService.getCodesList(lang, CodeListsType.MP_DETERIORATION_STAGE).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setCompletenessCodes(storageService.getCodesList(lang, CodeListsType.MP_COMPLETENESS).stream().map(toPairItem).collect(toList()));\n }", "title": "" } ]
[ { "docid": "08cec48aba3777030a55cb5da9c1edb9", "score": "0.5902482", "text": "public void setPictype(Byte pictype) {\r\n\t this.pictype = pictype;\r\n }", "title": "" }, { "docid": "7952f51339f291a48ecca8f5a1dfdf64", "score": "0.5796004", "text": "private void setFields() {\n red_mask = maskArray[0];\n red_offset = maskOffsets[0];\n green_mask = maskArray[1];\n green_offset = maskOffsets[1];\n blue_mask = maskArray[2];\n blue_offset = maskOffsets[2];\n if (nBits[0] < 8) {\n red_scale = (1 << nBits[0]) - 1;\n }\n if (nBits[1] < 8) {\n green_scale = (1 << nBits[1]) - 1;\n }\n if (nBits[2] < 8) {\n blue_scale = (1 << nBits[2]) - 1;\n }\n if (supportsAlpha) {\n alpha_mask = maskArray[3];\n alpha_offset = maskOffsets[3];\n if (nBits[3] < 8) {\n alpha_scale = (1 << nBits[3]) - 1;\n }\n }\n }", "title": "" }, { "docid": "425ab2f94c476371de95d0a6f7102c88", "score": "0.5549958", "text": "public void vgSetf(int type, float value);", "title": "" }, { "docid": "ce2c211cbf2813fe7d7ea1680b30740e", "score": "0.5504712", "text": "public void setGravity(float value) { this.field_70545_g = value; }", "title": "" }, { "docid": "4b0ae354330cdd95cb761bb26af03f19", "score": "0.5486521", "text": "public void mo7640b(int i) {\n this.f4691f = i;\n }", "title": "" }, { "docid": "d5553a2947265a3b78eb0bbdec2d874c", "score": "0.54806894", "text": "private void m7020z() {\n this.f5332h = 0;\n this.f5335k = new C1970a();\n this.f5327c = 0;\n this.f5328d = new NextPing();\n this.f5328d.setMinTime(300);\n this.f5330f = new StopDetect();\n this.f5333i = 0;\n this.f5334j = new SignalScan();\n this.f5336l = false;\n this.f5337m = false;\n this.f5338n = false;\n this.f5339o = false;\n this.f5331g = null;\n this.f5342r = false;\n this.f5347w = new LinkedHashSet();\n this.f5340p = 15;\n this.f5341q = 100;\n }", "title": "" }, { "docid": "abf9a303e373f2cd3cf115c643e5d564", "score": "0.54671687", "text": "public void setIm(double value) {\n this.im = value;\n }", "title": "" }, { "docid": "b99c5e05954e4d2f4d8bcd7ad34c3c82", "score": "0.5398724", "text": "public void setImgFixed(boolean is) {\n IS_IMG_FIXED = is;\n }", "title": "" }, { "docid": "a7a58f84bab934e3263aa0fa974b3627", "score": "0.5386786", "text": "void setValues() {\n s1 = \"Hi Kolia\";\n mString = \"IBM\";\n mCharSequence = \"MSFT\";\n mEnum = TestEnum.ONE;\n mByte = 1;\n mShort = 2;\n mInt = 3;\n mInt48 = 4;\n mLong = 5;\n mFloat = 63545.34f;\n mDouble = 76456577.76;\n\n mBoolean = true;\n mBoolByte = BooleanDataType.TRUE;\n mChar = 'C';\n mDateTime = 1235746625319L;\n mTimeOfDay = 56841;\n\n mPUINT30 = 0x1CCCAAAA;\n mPUINT61 = 0x1CCCAAAA1CCCAAAAL;\n mPIneterval = 60000;\n mSCALE_AUTO = 1.52;\n mSCALE4 = 1.53;\n //mSCALE4 = Double.NaN;\n }", "title": "" }, { "docid": "1237044308d0a1ad57628b13a786a503", "score": "0.5341256", "text": "public void setPhotoActual(int value){\n this.photo_actual = value;\n }", "title": "" }, { "docid": "8e8cf4d30bc0e1d552ac5a616ca0ed30", "score": "0.53354096", "text": "public void setImage(final DefineImage2 definition)\r\n throws DataFormatException {\r\n if (definition.getTableSize() > 0) {\r\n setIDXA(definition);\r\n } else {\r\n setRGBA(definition);\r\n }\r\n }", "title": "" }, { "docid": "991491dc1a7f4034879c2f51d833721b", "score": "0.53276926", "text": "void setType(int type);", "title": "" }, { "docid": "ba9ed7ba7aa2c82e303c8f221caccef1", "score": "0.5327175", "text": "private void m17255o() {\n this.f13893a.setVolume(1.0f, 1.0f);\n }", "title": "" }, { "docid": "329c45ca5920951fa2c58fc7cc6b4a81", "score": "0.53101444", "text": "public void mo40871o() {\n this.f25223k = 1;\n }", "title": "" }, { "docid": "b294bc989d6a3125688714db5b1a0b0f", "score": "0.5287462", "text": "@Override\n public void setPhotoActual(int value){\n super.setPhotoActual(value);\n }", "title": "" }, { "docid": "4088d6a31764e699d21e88b35728c9b0", "score": "0.5281275", "text": "private void FixValues(){\n gravityAssistProgram[1] = 12;\n gravityAssistProgram[2] = 2;\n }", "title": "" }, { "docid": "779b6b22834fef0656065d00c29216fc", "score": "0.52784353", "text": "private void setPhysicalInfoMICcodes(final String lang, final StorageService storageService, final FixedFieldCodesGroup fixedFieldCodesGroup) {\n fixedFieldCodesGroup.setSpecificMaterialDesignationCodes(storageService.getCodesList(lang, CodeListsType.MIC_SPEC_DESIGN).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setPolarityCodes(storageService.getCodesList(lang, CodeListsType.MIC_POLARITY).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setDimensionCodes(storageService.getCodesList(lang, CodeListsType.MIC_DIMENSIONS).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setReductionRatioRangeCodes(storageService.getCodesList(lang, CodeListsType.MIC_REDUCT_RATIO_RANGE).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setColorCodes(storageService.getCodesList(lang, CodeListsType.MIC_COLOR).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setEmulsionOnFilmCodes(storageService.getCodesList(lang, CodeListsType.MIC_EMUL_FILM).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setGenerationCodes(storageService.getCodesList(lang, CodeListsType.MIC_GENERATION).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setBaseOfFilmCodes(storageService.getCodesList(lang, CodeListsType.MIC_BASE_FILM).stream().map(toPairItem).collect(toList()));\n }", "title": "" }, { "docid": "c810e37d062decc850c0dfad746922e1", "score": "0.5261363", "text": "void setValueImage(ImagePlus valueImg) {\n\t\tthis.valueImg = valueImg;\n\t\t//this.valueImgOverlay = new CustomCanvas(valueImg);\n\t\t//this.valueImg\n\t\tthis.numPoints = valueImg.getStack().getSize();\n\t\tthis.cellTracks.setValueImageForTracks(valueImg);\n\t\t\n\t\tif (this.controlTimecourse == null) {\n\t\t\tthis.controlTimecourse = new double[this.numPoints];\n\t\t}\n\t\telse if (this.controlTimecourse.length != this.numPoints) {\n\t\t\tlog(\"setValueImage: Error! The newly set timecourse image has a\");\n\t\t\tlog(\" different number of points than the loaded control file.\");\n\t\t\tlog(\" Resetting the control timecourse to 0.\");\n\t\t\tthis.controlTimecourse = new double[this.numPoints];\n\t\t}\n\t\t\t\n\t}", "title": "" }, { "docid": "1bdf7d87ce455244b770507f27fe8026", "score": "0.5252664", "text": "Set mo2233i();", "title": "" }, { "docid": "5f32404c9d3208874ca5932e843b3e64", "score": "0.52287614", "text": "public void setValues ()\r\n {\r\n for (int i = 0 ; i < numOfDiscs ; i++)\r\n {\r\n startingP [i + 1] = 120 - (7 * i);\r\n x [i + 1] = 60 + (14 * i);\r\n }\r\n }", "title": "" }, { "docid": "c3a6e6945abdcd48aabd170804b8d008", "score": "0.52204126", "text": "private void m7002C() {\n if (this.f5330f == null) {\n this.f5330f = m7019y();\n }\n if (this.f5330f.getLocLag() == 0) {\n this.f5330f.setLocLag(30);\n }\n if (this.f5330f.getSpeedLag() == 0) {\n this.f5330f.setSpeedLag(60);\n }\n if (this.f5330f.getLowThres() < 1.0E-4d) {\n this.f5330f.setLowThres(0.2d);\n }\n if (this.f5330f.getHighThres() < 1.0E-4d) {\n this.f5330f.setHighThres(0.35d);\n }\n if (this.f5330f.getAccelSigma() < 1.0E-4d) {\n this.f5330f.setAccelSigma(0.005d);\n }\n if (this.f5330f.getPosSigma() < 1.0E-4d) {\n this.f5330f.setPosSigma(50.0d);\n }\n if (this.f5330f.getVelSigma() < 1.0E-4d) {\n this.f5330f.setVelSigma(3.0d);\n }\n if (this.f5330f.getSampleRateInSeconds() < 10) {\n this.f5330f.setSampleRateInSeconds(60);\n }\n if (((long) this.f5330f.getFastestIntervalInSeconds()) < 10) {\n this.f5330f.setFastestIntervalInSeconds(60);\n }\n this.f5330f.setBackgroundTimerInSeconds(900);\n }", "title": "" }, { "docid": "ab8bf4f8392445cb72cf6e526125fd1a", "score": "0.5214345", "text": "public void mo1414R() {\n setType(1);\n this.f114bW.setVisibility(4);\n mo1416T();\n }", "title": "" }, { "docid": "9b4ffcf8b1467dae640c6242576f4d69", "score": "0.5192519", "text": "@Override\n\tpublic void setValues( Sprite target, int tweenType, float[ ] newValues ) {\n\t\tswitch ( tweenType ) {\n\t\tcase POSITION_X:\n\t\t\ttarget.setX( newValues[0] );\n\t\t\tbreak;\n\t\tcase POSITION_Y:\n\t\t\ttarget.setY( newValues[0] );\n\t\t\tbreak;\n\t\tcase POSITION_XY:\n\t\t\ttarget.setPosition( newValues[0], newValues[1] );\n\t\t\tbreak;\n\t\tcase ROTATION:\n\t\t\ttarget.setRotation( newValues[0] );\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tassert false;\n\t\t}\n\t}", "title": "" }, { "docid": "287f3b896430591b9722f4dd48198a9b", "score": "0.51812595", "text": "@Override\n public void assigneImage() {\n if(dir == Direction.NORD)\n image = Images.PANNEAU_BU;\n else if (dir == Direction.SUD)\n image = Images.PANNEAU_SP2MI;\n else if (dir == Direction.SUD_EST)\n image = Images.PANNEAU_IFMI;\n else if (dir == Direction.NORD_EST)\n image = Images.PANNEAU_TP;\n else if (dir == Direction.TOUTES)\n image = Images.PARKING_NORD;\n else\n image = Images.PARKING;\n }", "title": "" }, { "docid": "a591ca7ab7f228316a2738f00ced4375", "score": "0.51663184", "text": "public void setPhoto(ValuesDelta valuesDelta) {\n // Check if we can update to the full size photo immediately\n final Long photoFileId = EditorUiUtils.getPhotoFileId(valuesDelta);\n if (photoFileId != null) {\n final Uri photoUri = ContactsContract.DisplayPhoto.CONTENT_URI.buildUpon()\n .appendPath(photoFileId.toString()).build();\n setFullSizedPhoto(photoUri);\n adjustDimensions();\n return;\n }\n\n // Use the bitmap image from the values delta\n final Bitmap bitmap = EditorUiUtils.getPhotoBitmap(valuesDelta);\n if (bitmap != null) {\n setPhoto(bitmap);\n adjustDimensions();\n return;\n }\n\n setDefaultPhoto(mMaterialPalette);\n adjustDimensions();\n }", "title": "" }, { "docid": "abdc2bbd84c27a534fd0d6909fae88d7", "score": "0.51654243", "text": "protected float getMotionFactor()\n\t{\n\t\treturn 0.98F;\n\t}", "title": "" }, { "docid": "582b2e7240c963c95228e13a0856d75e", "score": "0.515556", "text": "@Override\n public void putValue( Integer tagID, ImageMetaValue value ) {\n switch ( tagID ) {\n case SONY_CAMERA_SETTINGS:\n // TODO\n break;\n }\n super.putValue( tagID, value );\n }", "title": "" }, { "docid": "50a63ef60ba4f1c74a9c538af38fb006", "score": "0.51481724", "text": "public static void setCamMode() {\n limeTable.getEntry(\"camMode\").setNumber(cammode);\n }", "title": "" }, { "docid": "309f8e417c33bf1b7e524c8722485294", "score": "0.51376283", "text": "@Override\n public void setSkeletonType(int type) {\n super.setSkeletonType(type);\n this.isImmuneToFire = this.getSpecialData().isImmuneToFire;\n }", "title": "" }, { "docid": "2bcc83bf30b81c91898318d523b0bb67", "score": "0.5125067", "text": "public void mo13200b(float f) {\n this.f4383f = f;\n }", "title": "" }, { "docid": "62e5790a2b24e1f385d04a341aa03758", "score": "0.5116988", "text": "public void setIMAGE_TYPE(String IMAGE_TYPE);", "title": "" }, { "docid": "83f04e0364bab801abc40d2a1fa2f691", "score": "0.5115867", "text": "private void setType(int value) {\n \n type_ = value;\n }", "title": "" }, { "docid": "bc8b059e6c8f332b2d02d8c8830a8069", "score": "0.5109715", "text": "private void m12295l() {\n m12279a((int) C1373R.drawable.vignette_map);\n m12279a((int) C1373R.drawable.sutro_metal);\n m12279a((int) C1373R.drawable.soft_light);\n m12279a((int) C1373R.drawable.sutro_edge_burn);\n m12279a((int) C1373R.drawable.sutro_curves);\n }", "title": "" }, { "docid": "4fc648f36116faf5c7c17f730867177a", "score": "0.51030934", "text": "void setField();", "title": "" }, { "docid": "c59ae98ca189a13c6d0eb64294eceda2", "score": "0.51018375", "text": "public void setImage(final DefineImage definition)\r\n throws DataFormatException {\r\n\r\n width = definition.getWidth();\r\n height = definition.getHeight();\r\n\r\n if (definition.getTableSize() > 0) {\r\n setIDX(definition);\r\n } else {\r\n if (definition.getPixelSize() == RGB5_SIZE) {\r\n setRGB5(definition);\r\n } else {\r\n setRGB8(definition);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "1f931b3f3a9147540bb56c69af213aed", "score": "0.50947726", "text": "public void setM8(Integer m8)\n/* 333: */ {\n/* 334:283 */ this.m8 = m8;\n/* 335: */ }", "title": "" }, { "docid": "b69aab55d4e8b3997412d881edf65b36", "score": "0.5085623", "text": "public void mo1412P() {\n setType(2);\n this.f114bW.setVisibility(0);\n mo1416T();\n }", "title": "" }, { "docid": "f06b2b127ce63dc9a0edd4d5734580c9", "score": "0.50718015", "text": "public void mo21749b(int i) {\n this.f11001b = i;\n }", "title": "" }, { "docid": "847eddaa487cf5015dc3e87982376a07", "score": "0.50699925", "text": "private void setPhysicalInfoVRcodes(final String lang, final StorageService storageService, final FixedFieldCodesGroup fixedFieldCodesGroup) {\n fixedFieldCodesGroup.setSpecificMaterialDesignationCodes(storageService.getCodesList(lang, CodeListsType.VR_SPEC_DESIGN).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setColorCodes(storageService.getCodesList(lang, CodeListsType.VR_COLOR).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setVideoRecordingFormatCodes(storageService.getCodesList(lang, CodeListsType.VR_FORMAT).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setSoundOnMediumOrSeparateCodes(storageService.getCodesList(lang, CodeListsType.SOUND_MEDIUM_OR_SEP).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setMediumForSoundCodes(storageService.getCodesList(lang, CodeListsType.MEDIUM_FOR_SOUND).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setDimensionCodes(storageService.getCodesList(lang, CodeListsType.VR_DIMENSIONS).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setConfigurationCodes(storageService.getCodesList(lang, CodeListsType.VR_CONF_PLAYBACK).stream().map(toPairItem).collect(toList()));\n }", "title": "" }, { "docid": "9c9160ef37f374dc32f5592cd3550b3e", "score": "0.50627744", "text": "public void setTypeFromInt(Integer i)\n {\n if ( i == null )\n {\n setType(null);\n return;\n }\n\n for ( KmContactImType e : KmContactImType.values() )\n if ( i == e.getCode() )\n {\n setType(e);\n return;\n }\n\n setType(null);\n }", "title": "" }, { "docid": "d53653eecc5c19590904ab1319f73e45", "score": "0.5060829", "text": "public void setIm(double im_in) {\n im = im_in;\n }", "title": "" }, { "docid": "deb0640b5fd1c137cb283f70cc012155", "score": "0.5048969", "text": "public void setType(Integer type)\n/* 234: */ {\n/* 235:235 */ this.type = type;\n/* 236: */ }", "title": "" }, { "docid": "d2b88ebdcea850d1f481c1c6b034f815", "score": "0.50437653", "text": "public void setType(int type);", "title": "" }, { "docid": "d2b88ebdcea850d1f481c1c6b034f815", "score": "0.50437653", "text": "public void setType(int type);", "title": "" }, { "docid": "a6270f27ca7ae13d2afee6467f5a656e", "score": "0.5039466", "text": "public void setGrados(byte value) {\r\n this.grados = value;\r\n }", "title": "" }, { "docid": "a6270f27ca7ae13d2afee6467f5a656e", "score": "0.5039466", "text": "public void setGrados(byte value) {\r\n this.grados = value;\r\n }", "title": "" }, { "docid": "3afc38479c83574f43398462a4bce05d", "score": "0.5033118", "text": "public final void setFirstTypeOfContent(byte firsttypeOfContent){\n\t\tfirsttypeOfContent&=0x0f;\n\t\tuclCode[14]&=0xf0;\n\t\tuclCode[14]|=firsttypeOfContent;\n\t}", "title": "" }, { "docid": "6349d42382c76845865265e402184ad7", "score": "0.5032778", "text": "private void m15047h() {\n if (this.f12971x == null) {\n return;\n }\n if (this.f12937E || this.f12939G) {\n this.f12971x = C0295a.m1061g(this.f12971x).mutate();\n if (this.f12937E) {\n C0295a.m1050a(this.f12971x, this.f12936D);\n }\n if (this.f12939G) {\n C0295a.m1053a(this.f12971x, this.f12938F);\n }\n if (this.f12973z != null && this.f12973z.getDrawable() != this.f12971x) {\n this.f12973z.setImageDrawable(this.f12971x);\n }\n }\n }", "title": "" }, { "docid": "813522ca42f55bc2bf74cfe6263f8919", "score": "0.5029858", "text": "@Override\n public void setField() {\n this.field = new Field();\n this.field.addCells(true, new Location(0, 0), new Location(0, 1), new Location(0, 2),\n new Location(1, 0), new Location(1, 1), new Location(1, 2), new Location(2, 0),\n new Location(2, 1), new Location(2, 2));\n this.field.isConnected();\n }", "title": "" }, { "docid": "7b2d5551af4178ea459e1026b35f709d", "score": "0.50172746", "text": "public Byte getPictype() {\r\n\t return pictype;\r\n }", "title": "" }, { "docid": "ede170d780e67b68b505826602aad7ed", "score": "0.5016302", "text": "public final void mo1227b() {\n this.f1269f = 0;\n }", "title": "" }, { "docid": "3e48b84bd90e56dba533a17d1c03df8b", "score": "0.5013804", "text": "public void setField(int x, int y, Type type, Colors color) {\n if (checkValidField(x, y)) {\n raster[y][x].setColor(color);\n raster[y][x].setType(type);\n } else {\n throw new IllegalArgumentException();\n }\n }", "title": "" }, { "docid": "df0b1af1748af412a36b4d7f6c9d932a", "score": "0.5012454", "text": "public void Set(int frame,int x,int y,int z,int type){\r\n\t\tALL[frame][z][(((x<<bit)+y)) ]=(byte)(type-128); //<<2\r\n\t\tint xxx=x>>5;\r\n\t\tint yyy=y>>5;\r\n\t\t\tsegment[xxx][yyy].equilibrium=false;\r\n\t\t\tsegment[xxx][yyy].waterStill=false;\r\n\t\t\tsegment[xxx][yyy].updatedC=true;\r\n\t\t\tif(z==0){\r\n\r\n\t\t\t}else{\r\n\t\t\t\tsegment[xxx][yyy].updatedV=true;\r\n\t\t\t}\r\n\t}", "title": "" }, { "docid": "b2acfd233c6dc5b9b141a11d1cea747d", "score": "0.5012277", "text": "private void setPhysicalInfoPGcodes(final String lang, final StorageService storageService, final FixedFieldCodesGroup fixedFieldCodesGroup) {\n fixedFieldCodesGroup.setSpecificMaterialDesignationCodes(storageService.getCodesList(lang, CodeListsType.PG_SPEC_DESIGN).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setColorCodes(storageService.getCodesList(lang, CodeListsType.PG_COLOR).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setBaseOfEmulsionCodes(storageService.getCodesList(lang, CodeListsType.PG_EMUL_BASE).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setSoundOnMediumOrSeparateCodes(storageService.getCodesList(lang, CodeListsType.SOUND_MEDIUM_OR_SEP).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setMediumForSoundCodes(storageService.getCodesList(lang, CodeListsType.MEDIUM_FOR_SOUND).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setDimensionCodes(storageService.getCodesList(lang, CodeListsType.PG_DIMENSIONS).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setSecondarySupportMaterialCodes(storageService.getCodesList(lang, CodeListsType.PG_SECONDARY_SUPPORT).stream().map(toPairItem).collect(toList()));\n }", "title": "" }, { "docid": "4ff7a9106e0e04171458c27214c3e11b", "score": "0.5007071", "text": "public final void setTypeOfMedia(byte typeOfMedia){\n\t\tuclCode[0]=(byte)(uclCode[0]&0x07);\n\t\tuclCode[0]|=(typeOfMedia&0x1f)<<3;\n\t}", "title": "" }, { "docid": "7b66399a4873042d0e4583999df385f3", "score": "0.50051665", "text": "void setPiece(byte t);", "title": "" }, { "docid": "bd097cb35eb98b12d220d929eb15f36a", "score": "0.50007385", "text": "public void mo1415S() {\n setType(0);\n this.f114bW.setVisibility(4);\n mo1416T();\n }", "title": "" }, { "docid": "4ca6e49eebd1058e31928ec8bdfffdb1", "score": "0.5000553", "text": "private void m112862x() {\n this.f91299g = false;\n this.f91313u = false;\n this.f91301i = false;\n this.f91302j = false;\n this.f91303k = 0;\n this.f91314v = false;\n this.f91315w = false;\n }", "title": "" }, { "docid": "ae10910ba84c09cc72cec727f0fc67e6", "score": "0.49965784", "text": "public void setPicture(Picture pict) {\n myPict = pict;\n }", "title": "" }, { "docid": "ce527d4b4ace9137c7b02894390a4916", "score": "0.49944994", "text": "public void setType(int type)\r\n {\r\n setValue(FLD_TYPE, type);\r\n }", "title": "" }, { "docid": "0874172d358dd0d7dd44166e8f39927a", "score": "0.4992175", "text": "public void setResolution(int x, int y){\n switch (x) {\n case (1920):\n i_BMResolutionX = 0;\n i_SBResolutionX = 0;\n i_MResolutionX = 650;\n break;\n case (1680):\n i_BMResolutionX = 240;\n i_SBResolutionX = 328;\n i_MResolutionX = 617;\n break;\n case (1440):\n i_BMResolutionX = 480;\n i_SBResolutionX = 208;\n i_MResolutionX = 497;\n break;\n case (1280):\n i_BMResolutionX = 640;\n i_SBResolutionX = 128;\n i_MResolutionX = 417;\n break;\n case (1240):\n i_BMResolutionX = 680;\n i_SBResolutionX = 108;\n i_MResolutionX = 397;\n break;\n case (1024):\n default:\n i_BMResolutionX = 896;\n i_SBResolutionX = 0;\n i_MResolutionX = 289;\n break;\n }// switch x\n\n switch (y) {\n case (1080):\n i_BMResolutionY = 0;\n i_SBResolutionY = 0;\n i_MResolutionY = 50;\n break;\n case (900):\n i_BMResolutionY = 124;\n i_SBResolutionY = 50;\n i_MResolutionY = 100;\n break;\n case (800):\n default:\n i_BMResolutionY = 163;\n i_SBResolutionY = 0;\n i_MResolutionY = 50;\n break;\n }// switch y\n \n if (x != 1920) {\n i_ButtonResolutionX = i_MResolutionX + 55;\n i_ButtonResolutionY = i_MResolutionY + 96;\n i_ButtonResolutionADDY = 97;\n /*m_iButtonW = 335;\n m_iButtonH = 78;\n m_sBackgroundfile = \"Data/Anzeigen/BackgroundSmall.bmp\";\n m_sSMenu = \"Data/Menu/Small/SM_Menu_Small.bmp\";\n m_sLoadMenu = \"Data/Menu/Small/SlM_Menu_Small.bmp\";\n m_sSaveMenu = \"Data/Menu/Small/SpM_Menu_Small.bmp\";\n m_sOptionMenu = \"Data/Menu/Small/OM_Menu_Small.bmp\";\n m_sCredits = \"Data/Anzeigen/Small/Credits_Small.bmp\";\n m_sNewGame = \"Data/Menu/Small/SM_NewGame_Small.bmp\";\n m_sLoad = \"Data/Menu/Small/SM_Spielladen_Small.bmp\";\n m_sCreditsb = \"Data/Menu/Small/SM_Credits_Small.bmp\";\n m_sClose = \"Data/Menu/Small/SM_Spielbeenden_Small.bmp\";\n m_sSave = \"Data/Menu/Small/OM_Spielspeichern_Small.bmp\";\n m_SSave1 = \"Data/Menu/Small/SpM_1_Small.bmp\";\n m_SSave2 = \"Data/Menu/Small/SpM_2_Small.bmp\";\n m_SSave3 = \"Data/Menu/Small/SpM_3_Small.bmp\";\n m_SSave4 = \"Data/Menu/Small/SpM_4_Small.bmp\";\n m_SSave5 = \"Data/Menu/Small/SpM_5_Small.bmp\";*/\n\n } else {\n i_ButtonResolutionX = i_MResolutionX + 76;\n i_ButtonResolutionY = i_MResolutionY + 133;\n i_ButtonResolutionADDY = 130;\n /*m_iButtonW = 461;\n m_iButtonH = 106;\n m_sBackgroundfile = \"Data/Anzeigen/StartBackground.bmp\";\n m_sSMenu = \"Data/Menu/SM_Menu.bmp\";\n m_sLoadMenu = \"Data/Menu/SlM_Menu.bmp\";\n m_sSaveMenu = \"Data/Menu/SpM_Menu.bmp\";\n m_sOptionMenu = \"Data/Menu/OM_Menu.bmp\";\n m_sCredits = \"Data/Anzeigen/Credits.bmp\";\n m_sNewGame = \"Data/Menu/SM_NeuesSpiel.bmp\";\n m_sLoad = \"Data/Menu/SM_SpielLaden.bmp\";\n m_sCreditsb = \"Data/Menu/SM_Credits.bmp\";\n m_sClose = \"Data/Menu/SM_SpielBeenden.bmp\";\n m_sSave = \"Data/Menu/OM_SpielSpeichern.bmp\";\n m_SSave1 = \"Data/Menu/SpM_SpSt1.bmp\";\n m_SSave2 = \"Data/Menu/SpM_SpSt2.bmp\";\n m_SSave3 = \"Data/Menu/SpM_SpSt3.bmp\";\n m_SSave4 = \"Data/Menu/SpM_SpSt4.bmp\";\n m_SSave5 = \"Data/Menu/SpM_SpSt5.bmp\";*/\n }\n setMoveResolution(x,y);\n }", "title": "" }, { "docid": "3c480fa8b18e22b9bfe84b48779158be", "score": "0.49833715", "text": "public void set(double re_in, double im_in) {\n re = re_in;\n im = im_in;\n }", "title": "" }, { "docid": "46053a847c6c28f6562a81b0c8da5c1a", "score": "0.49825415", "text": "public void m6115a(int i) {\n this.f4348f = i;\n }", "title": "" }, { "docid": "de0e6d8bd164e3945bc7df2030c62059", "score": "0.49814984", "text": "private void m1754h() {\n this.f1527a = 0;\n this.f1530d = -1.0f;\n this.f1531e = -1.0f;\n this.f1529c = -1.0f;\n this.f1532f = new int[0];\n this.f1528b = false;\n }", "title": "" }, { "docid": "599ade568d67d436c1438edbf11bcb16", "score": "0.49781498", "text": "public void setImage (int image){\n Image = image;\n }", "title": "" }, { "docid": "91a31e8f8440393c7bdd3d4c8059189a", "score": "0.49689215", "text": "public void setField(PwsField value) {\n\t\tint theType;\n\n\t\ttheType = value.getType();\n\n\t\tif (ignoreFieldTypes) {\n\t attributes.put(Integer.valueOf(theType), value);\n\t setModified();\n\t return;\n\t }\n\n\t\t// try a shortcut first\n\t\tif (theType < ValidTypes.length) {\n\t\t\tif (((Integer) ((Object[]) ValidTypes[theType])[0]).intValue() == theType) {\n\t\t\t\tClass<? extends PwsField> cl = value.getClass();\n\n\t\t\t\tif (cl == (((Object[]) ValidTypes[theType])[2])) {\n\t\t\t\t\tattributes.put(Integer.valueOf(theType), value);\n\t\t\t\t\tsetModified();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// no chance, iterate over all values\n\t\tfor (int ii = 0; ii < ValidTypes.length; ++ii) {\n\t\t\tint vType;\n\n\t\t\tvType = ((Integer) ((Object[]) ValidTypes[ii])[0]).intValue();\n\n\t\t\tif (vType == theType) {\n\t\t\t\tClass<? extends PwsField> cl = value.getClass();\n\n\t\t\t\tif (cl == (((Object[]) ValidTypes[ii])[2])) {\n\t\t\t\t\tattributes.put(Integer.valueOf(theType), value);\n\t\t\t\t\tsetModified();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// before giving up, check if unknown fields are allowed\n\t\tif (allowUnknownFieldTypes()) {\n\t\t\tLOG.warn(\"Adding unknown field of type \" + theType +\n\t\t\t \", class \" + value.getClass() +\n\t\t\t \" - maybe a new version is needed?\");\n\t\t\tattributes.put (Integer.valueOf(theType), value);\n\t\t\tsetModified();\n\t\t} else {\n\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\"Invalid type: \" + Integer.valueOf(theType));\n\t\t}\n\t}", "title": "" }, { "docid": "d4c685c090e412c279d9385c0e2cf83d", "score": "0.4968229", "text": "public void mo7409a() {\n this.f3033a = 0;\n this.f3034b = false;\n this.f3035c = false;\n this.f3036d = false;\n }", "title": "" }, { "docid": "cfad0536ef6d2714372e31def5dd54f7", "score": "0.49651292", "text": "public void mo4500a() {\n Theme a;\n Zt0 zt0 = this.f1302b;\n if (zt0 != null && (a = zt0.a()) != this.f1301a) {\n this.f1301a = a;\n Mm0[] mm0Arr = new xu0[this.f1305e.size()];\n this.f1305e.toArray(mm0Arr);\n for (Mm0 mm0 : mm0Arr) {\n if (mm0.a()) {\n this.f1305e.remove(mm0);\n } else {\n mm0.a(mo4505b());\n }\n }\n Iterator<OnThemeChangedListener> it = this.f1306f.iterator();\n while (it.hasNext()) {\n it.next().onThemeChanged();\n }\n }\n }", "title": "" }, { "docid": "a526a82cdff46b71b3907bf5912ad24f", "score": "0.4961896", "text": "private void m2358g() {\n ((C1530a) getPresenter()).mo17038d();\n ((C1530a) getPresenter()).mo17036b();\n this.f2209y.mo17178a();\n this.f2188d.setMode(-1);\n this.f2210z.mo17192b();\n }", "title": "" }, { "docid": "ee623bd9f565943eaacbbb986f2780f2", "score": "0.49598032", "text": "public void setImage(final ImageTag definition)\r\n throws DataFormatException {\r\n\r\n if (definition instanceof DefineImage) {\r\n setImage((DefineImage) definition);\r\n } else if (definition instanceof DefineImage2) {\r\n setImage((DefineImage2) definition);\r\n }\r\n }", "title": "" }, { "docid": "4eff0a3df6ec95ce4118e54652f03177", "score": "0.49591982", "text": "public abstract void set8(int offset, int value);", "title": "" }, { "docid": "c81f97799c7333b8e4e7f289179a4e39", "score": "0.4957943", "text": "private void m33616g(float f) {\n this.f19641b = f;\n }", "title": "" }, { "docid": "454baebd3031c6b4ab35e372e290433a", "score": "0.4957707", "text": "public interface ImageType {\n\n public final static int UndefinedType = 0;\n public final static int BilevelType = 1;\n public final static int GrayscaleType = 2;\n public final static int GrayscaleMatteType = 3;\n public final static int PaletteType = 4;\n public final static int PaletteMatteType = 5;\n public final static int TrueColorType = 6;\n public final static int TrueColorMatteType = 7;\n public final static int ColorSeparationType = 8;\n public final static int ColorSeparationMatteType = 9;\n public final static int OptimizeType = 10;\n\n}", "title": "" }, { "docid": "ec35921c5a46caf76e24543c43bd18a5", "score": "0.49568322", "text": "public void changeVitesse(){\n\t\tswitch(this.metamorphose){\n\t\tcase 0:\n\t\t\tthis.deltaX *= 2.0f;\n\t\t\tthis.deltaY *= 2.0f;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tthis.deltaX *= 1.5f;\n\t\t\tthis.deltaY *= 1.5f;\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tthis.deltaX *= 3.0f;\n\t\t\tthis.deltaY *= 3.0f;\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tthis.deltaX *= 2.5f;\n\t\t\tthis.deltaY *= 2.5f;\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tthis.deltaX *= 3.5f;\n\t\t\tthis.deltaY *= 3.5f;\n\t\t\tbreak;\n\t\tcase 5:\n\t\t\tthis.deltaX *= 0.9f;\n\t\t\tthis.deltaY *= 0.9f;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\t//this.deltaX *= 1.0f;\n\t\t\t//this.deltaY *= 1.0f;\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "805696d37e4e8301db73c4215d9c0873", "score": "0.4949083", "text": "@ApiModelProperty(value = \"OleObject image fill properties.\")\n public PictureFill getSubstitutePictureFormat() {\n return substitutePictureFormat;\n }", "title": "" }, { "docid": "def3c09ed69f5d7e01354ca3aa5044b0", "score": "0.49483484", "text": "public void changeMap(String type, int value) {\n switch (type) {\n case \"Floors\":\n simulatorView = new SimulatorView(value, simulatorView.getNumberOfRows(),simulatorView.getNumberOfPlaces() , this);\n case \"Rows\":\n simulatorView = new SimulatorView(simulatorView.getNumberOfFloors(), value, simulatorView.getNumberOfPlaces(), this);\n break;\n case \"Places\":\n simulatorView = new SimulatorView(simulatorView.getNumberOfFloors(), simulatorView.getNumberOfRows(), value, this);\n }\n }", "title": "" }, { "docid": "8f1c8c3cb9e7d791f891ca874ccf2659", "score": "0.4948238", "text": "public void m15402l(float f) {\n this.f13948G = f;\n }", "title": "" }, { "docid": "47fadb6608d2a8d6d63eba81463ba803", "score": "0.49472338", "text": "void PluginSetChromaCustomFlag(int animationId, boolean flag);", "title": "" }, { "docid": "47b2bdc319c39c6491b8522d143234c2", "score": "0.49390897", "text": "void setTile(ValueEnum value);", "title": "" }, { "docid": "2579fe8894156e83dd6fdf37cfcb6372", "score": "0.49387932", "text": "void mo2968b(C0749e eVar, float f);", "title": "" }, { "docid": "5add757383b1c8796c2db15015ac4c43", "score": "0.49321607", "text": "public IBO32DataType(DataTypeManager dtm) {\n\t\tsuper(NAME, null, 4, dtm);\n\t\tPointerTypeSettingsDefinition.DEF.setType(getDefaultSettings(),\n\t\t\tPointerType.IMAGE_BASE_RELATIVE);\n\t}", "title": "" }, { "docid": "e475851b6c75e2a8bff3542ee952ed37", "score": "0.49314564", "text": "public void setF9(Integer f9) {\r\n this.f9 = f9;\r\n }", "title": "" }, { "docid": "4d6dd9caf7c86564aa340d3425e6b8fa", "score": "0.4929885", "text": "private void setImagemFase(final int[] buttonGraphics, int fase){\n if(fase == 0){\n buttonGraphics[0] = R.drawable.rato;\n buttonGraphics[1] = R.drawable.tartaruga;\n buttonGraphics[2] = R.drawable.cachorro;\n buttonGraphics[3] = R.drawable.girafa;\n buttonGraphics[4] = R.drawable.tigre;\n buttonGraphics[5] = R.drawable.elefante;\n }else if (fase == 1){\n buttonGraphics[0] = R.drawable.tigre;\n buttonGraphics[1] = R.drawable.rato;\n buttonGraphics[2] = R.drawable.porcoquinho;\n buttonGraphics[3] = R.drawable.zebra;\n buttonGraphics[4] = R.drawable.jacare;\n buttonGraphics[5] = R.drawable.elefante;\n buttonGraphics[6] = R.drawable.vaca;\n buttonGraphics[7] = R.drawable.tartaruga;\n }\n }", "title": "" }, { "docid": "2e17dc198fa3410931a05d3c2776b5b7", "score": "0.49222127", "text": "private void setPhysicalInfoCFcodes(final String lang, final StorageService storageService, final FixedFieldCodesGroup fixedFieldCodesGroup) {\n fixedFieldCodesGroup.setSpecificMaterialDesignationCodes(storageService.getCodesList(lang, CodeListsType.CF_SPEC_DESIGN).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setColorCodes(storageService.getCodesList(lang, CodeListsType.CF_COLOR).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setDimensionCodes(storageService.getCodesList(lang, CodeListsType.CF_DIMENSIONS).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setIncludesSoundCodes(storageService.getCodesList(lang, CodeListsType.SOUND_MEDIUM_OR_SEP).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setFileFormatsCodes(storageService.getCodesList(lang, CodeListsType.CF_FILE_FORMAT).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setQualityAssuranceTargetCodes(storageService.getCodesList(lang, CodeListsType.CF_QUALITY_ASS).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setAntecedentSourceCodes(storageService.getCodesList(lang, CodeListsType.CF_ANTECEDENT_SRC).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setLevelOfCompressionCodes(storageService.getCodesList(lang, CodeListsType.CF_COMPRESSION_LVL).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setReformattingQualityCodes(storageService.getCodesList(lang, CodeListsType.CF_REFORMATTING_QUALITY).stream().map(toPairItem).collect(toList()));\n }", "title": "" }, { "docid": "9c3c3a49c70959e9fc52cb741b3ac574", "score": "0.49204105", "text": "void onSetDots(boolean dot7, boolean dot8);", "title": "" }, { "docid": "cb0756de5086fb687f8b0cdd00bdc66b", "score": "0.49192554", "text": "public final void mo34024a() {\n this.f2180f.f2148m.addAll(this.f2175a);\n this.f2180f.f2149n.addAll(this.f2176b);\n this.f2180f.m1565r(5, 0, Long.valueOf(this.f2177c), Long.valueOf(this.f2177c), (List<String>) null, (Integer) null, (List<String>) null);\n }", "title": "" }, { "docid": "91d4323b8a18a67335b24e70d4d25c48", "score": "0.49188754", "text": "public void setType (int pType)\r\n {\r\n mType = pType ;\r\n }", "title": "" }, { "docid": "95798f0a5ca2eeb43139a9f30476d2fd", "score": "0.49176335", "text": "private void m33615f(float f) {\n this.f19640a = f;\n }", "title": "" }, { "docid": "a06ee00fefd0e5b02d65aae058e35bc8", "score": "0.49165106", "text": "private void setPhysicalInfoNPGcodes(final String lang, final StorageService storageService, final FixedFieldCodesGroup fixedFieldCodesGroup) {\n fixedFieldCodesGroup.setSpecificMaterialDesignationCodes(storageService.getCodesList(lang, CodeListsType.NPG_SPEC_DESIGN).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setColorCodes(storageService.getCodesList(lang, CodeListsType.NPG_COLOR).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setPrimarySupportMaterialCodes(storageService.getCodesList(lang, CodeListsType.NPG_PRIMARY_SUPPORT).stream().map(toPairItem).collect(toList()));\n fixedFieldCodesGroup.setSecondarySupportMaterialCodes(storageService.getCodesList(lang, CodeListsType.NPG_SECONDARY_SUPPORT).stream().map(toPairItem).collect(toList()));\n }", "title": "" }, { "docid": "80a8340edc3b878bcac28de20dbee7c4", "score": "0.49148265", "text": "public void set(float[] m)\n\t{\n\t\tfor (int i=0; i<16; i++)\n\t\t\tm_[i] = m[i];\n\t}", "title": "" }, { "docid": "b6ca2837ce024616e35e343e743f8305", "score": "0.49119955", "text": "public void mo805a(Drawable drawable) {\n this.f862J = drawable;\n this.f861I = 0;\n if (this.f863K == null) {\n return;\n }\n if (drawable != null) {\n this.f863K.setVisibility(0);\n this.f863K.setImageDrawable(drawable);\n return;\n }\n this.f863K.setVisibility(8);\n }", "title": "" }, { "docid": "99dfa22b06e7349de65528c505555af5", "score": "0.49116272", "text": "private void m1776c() {\r\n this.f1260i = new Vector();\r\n }", "title": "" }, { "docid": "63fd5fad0fc7d5911f922d833f9a52d0", "score": "0.49113294", "text": "public void setRightImage(){\n if(GameData.getInstance().getPlayer().getSettings().getGameSpeed()==0){\n super.setImage(downImage);\n }else{\n super.setImage(upImage);\n }\n }", "title": "" }, { "docid": "ecf6b96da49dfc8a16610414d4bc77fb", "score": "0.49089772", "text": "void setPgShoots3ptValue() {\n this.pgShoots3ptValue = offensiveFive.pg.threePtFrequency * \n (425 + (((offensiveFive.pg.threePtOpen + offensiveFive.pg.threePtContested) / 2) - 75) * 20);\n }", "title": "" }, { "docid": "c62827437f1aa33c385ec66803f5b853", "score": "0.49064612", "text": "public void setFillType(FillType ft)\n {\n nSetFillType(nRef, ft.ordinal());\n }", "title": "" }, { "docid": "9a884edf344217092925a9778e381617", "score": "0.49003416", "text": "void setNulls() {\n mEnum = null;\n mString = null;\n mCharSequence = null;\n //mBoolean = true;\n mBoolByte = BooleanDataType.NULL;\n mChar = CharDataType.NULL;\n mDateTime = DateTimeDataType.NULL;\n mTimeOfDay = TimeOfDayDataType.NULL;\n\n mByte = IntegerDataType.INT8_NULL;\n mShort = IntegerDataType.INT16_NULL;\n mInt = IntegerDataType.INT32_NULL;\n mInt48 = IntegerDataType.INT48_NULL;\n mLong = IntegerDataType.INT64_NULL;\n mFloat = FloatDataType.IEEE32_NULL;\n mDouble = FloatDataType.IEEE64_NULL;\n //mDouble2 = FloatDataType.IEEE64_NULL;\n mPUINT30 = IntegerDataType.PUINT30_NULL;\n mPUINT61 = IntegerDataType.PUINT61_NULL;\n mPIneterval = IntegerDataType.PINTERVAL_NULL;\n mSCALE_AUTO = FloatDataType.DECIMAL_NULL;\n mSCALE4 = FloatDataType.DECIMAL_NULL;\n }", "title": "" }, { "docid": "72090fa0e1be40d9de2afbfb0044ba69", "score": "0.48947844", "text": "public void setF(String str) {\r\n\t\tswitch(str) {\r\n\t\tcase \"IMAX\": f = Format.IMAX; break;\r\n\t\tcase \"3D\": f = Format.THREE_D; break;\r\n\t\tdefault: f = Format.NONE;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "58dddfd6455e1c34bb8acbb52d592360", "score": "0.4894227", "text": "public void setMaskBits(short bits) throws NullPointerException{\n body.getFixtureList().get(0).setMaskBits(bits);\n }", "title": "" }, { "docid": "ed37b858a54a72b5d5ac4cbbb5a34587", "score": "0.4891867", "text": "private void setMidiValues() {\n\t\tmidis.clear();\n\t\tint noOfNotes = notes.size() - 1;\n\t\tfor (int i = 1; i <= 7; i++) {\n\t\t\tfor (int j = 0; j < noOfNotes; j++) {\n\t\t\t\tString note = notes.get(j).getNote();\n\t\t\t\tnote += i;\n\t\t\t\ttry {\n\t\t\t\t\tmidis.add(MidiValues.getMidiValue(note));\n\t\t\t\t}catch (Exception e){}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f6353812eda729fa7de842c86bdb3481", "score": "0.4891687", "text": "public void setPoint(int x, int y, char nature) {\n try {\n image[x][y].setNature(nature);\n } catch (Exception e) {\n System.out.println(\"error setPoint() in class Board : exception = \" + e);\n }\n\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "00b0a1b3e95be38dc2917482dddf77bd", "score": "0.0", "text": "@Override\r\n\tpublic List<StudentVo> studentLackList(StudentVo vo, int page, int rows) {\n\t\treturn studentMapper.studentLackList(vo, page, rows);\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.6646134", "text": "public void mo3640e() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "5314003d8592219f71035b81985fabc0", "score": "0.64631", "text": "@Override\n\tpublic void roule() {\n\t\t\n\t}", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.6461734", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f9de8c9acb961a9d05ed00de5fe361e7", "score": "0.60638905", "text": "@Override\n\tpublic void seRetrage() {\n\t\t\n\t}", "title": "" }, { "docid": "483ae2cb94563f8e11864a532e44b464", "score": "0.606149", "text": "@Override\r\n public void perturb() {\n \r\n }", "title": "" }, { "docid": "e41230eaa4480036f1db3ae4856b5e2c", "score": "0.6048755", "text": "@Override\n\tpublic void evoluer() {\n\t\t\n\t}", "title": "" }, { "docid": "1fd4f5b0b471084e004373c89c1cf248", "score": "0.6040993", "text": "@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "432a53d7cc7bff50c3cce7662418fe22", "score": "0.60228735", "text": "private static void daelijeom() {\n\t\t\n\t}", "title": "" }, { "docid": "feb1a9485d06df38283881186fb528a9", "score": "0.6014977", "text": "@Override\n \tprotected void initialize() {\n \n \t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.6005143", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "609ec2ff060d9d4cb0276468f482734d", "score": "0.59771466", "text": "public void mo89673a() {\n }", "title": "" }, { "docid": "f3ea867fdaa4b61546bfc393614a093c", "score": "0.59687567", "text": "@Override\n\tpublic void setingInicial() {\n\t\t\n\t}", "title": "" }, { "docid": "3211287bc24304a8ca2975647e8a262e", "score": "0.59549016", "text": "public void mo1702b() {\n }", "title": "" }, { "docid": "e98e1f8ddb7a94a5d95c29c94232f737", "score": "0.5943817", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2d61391fe8770661f25917f3770f2a26", "score": "0.5926535", "text": "@Override\n\t\tpublic void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.5925673", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "6a8c6480f9fa5ab89d0437d00ffffccc", "score": "0.591947", "text": "@Override\n public void tirer() {\n\n }", "title": "" }, { "docid": "8f8a1c1dfa100614be8cac1247e068d5", "score": "0.59192646", "text": "@Override\r\n\t\t\tpublic void work() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "619a28ba3c7707bdf8bb1451d5c3d12b", "score": "0.5910928", "text": "public void mo25069a() {\n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "3e6e2e657db69bfc88c40c8467801266", "score": "0.5899844", "text": "@Override\r\n\tpublic void ben() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1134c4caabd33b9bbd414763740fddde", "score": "0.5896682", "text": "@Override\n\tpublic void respirar() {\n\n\t}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "1dc1426b3b1c079ac18377166a6b34d3", "score": "0.5893354", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "f737e2251cf43d326f43b44297696e55", "score": "0.58891016", "text": "@Override\n\tpublic void patrol() {\n\n\t}", "title": "" }, { "docid": "de8c2aa495b8cdade7e8895e58745ea2", "score": "0.5887025", "text": "public void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "13e4409784fd6f872b474e6effe9726e", "score": "0.5879506", "text": "@Override\n protected void initialization() {\n\n\n\n }", "title": "" }, { "docid": "bafce2e94d56e61baeadcb37047f6035", "score": "0.5858384", "text": "@Override\n\tprotected void postprocess() {\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "cdf2a119ee69429ad4420d45c29db1b6", "score": "0.5849137", "text": "@Override\n\tpublic void netword() {\n\t\t\n\t}", "title": "" }, { "docid": "2bcac1bab4eaa6c9cc4cb7e33c684cef", "score": "0.5848443", "text": "public void mo1691a() {\n }", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "6ed3e363c02164bd00163fa46e2c48c2", "score": "0.58366287", "text": "@Override\n public void init_moduule() {\n \n }", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "b04ed49986fb3f4321a90ec19ab7f86d", "score": "0.57759553", "text": "@Override\n public void alistar() {\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": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "10e00e5505d97435b723aeadb7afb929", "score": "0.57712233", "text": "@Override\n\tpublic void pintar2() {\n\t\t\n\t}", "title": "" }, { "docid": "683eea6c39ec4e6df90f6be05200559d", "score": "0.5769485", "text": "@Override\r\n public void confer(){\n \r\n }", "title": "" }, { "docid": "728d084a23664ecf9b5c04acb6367b9c", "score": "0.5769356", "text": "@Override\r\n\tpublic void descarnsar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "359987993ad84757f9d7a12eaf38d2d7", "score": "0.5769273", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "0e6111ae009ad752a364e5e9fb168e98", "score": "0.5768801", "text": "@Override\n\tpublic void volumne() {\n\t\t\n\t}", "title": "" }, { "docid": "3f651ef5a6fad17e313e8da4ea72b6e3", "score": "0.57645357", "text": "@Override\n\tpublic void CT() {\n\t\t\n\t}", "title": "" }, { "docid": "615018f0186427ab904e872db6726b2d", "score": "0.5759138", "text": "@Override\n public void init()\n {\n \n }", "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": "e634836bc1d61a011e04bfb67a971792", "score": "0.5745885", "text": "@Override\r\n\tpublic void sair() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a7cff18dc205a0d79dbe54bb988e6894", "score": "0.57428306", "text": "public void emettreSon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "ac5a7a92eda66d2b7ef40199230fa4af", "score": "0.5731894", "text": "@Override\n\tpublic void arbeiteInPizzeria() {\n\n\t}", "title": "" }, { "docid": "d1c2c284b75d7d46145b6f407496cd96", "score": "0.5725441", "text": "@Override\n\t\tprotected void initParameters() {\n\t\t\t\n\t\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": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "65022f0bb57de78da8518cd156b102e6", "score": "0.57112384", "text": "private void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "216da885329e8d80cdc3490fda895c11", "score": "0.57087225", "text": "@Override\n\tpublic void yaz1() {\n\t\t\n\t}", "title": "" }, { "docid": "3c6f91c038ca7ffdab72b5c233b827c5", "score": "0.5705329", "text": "@Override\n\tprotected void initMethod() {\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f3e16954465fbae384d88f411211419", "score": "0.56972444", "text": "@Override\r\n public int E_generar() {\r\n return 0;\r\n }", "title": "" }, { "docid": "365a661b2084f764f5e458915ff735ac", "score": "0.56864643", "text": "@Override\n public int getMunition() {\n return 0;\n }", "title": "" }, { "docid": "40539b782464082aab77fae6b047eade", "score": "0.5681723", "text": "@Override\n\tprotected int get_count() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.56774884", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5f628d368579dd40ef68362831006940", "score": "0.56769013", "text": "@Override\n\tpublic void fahreFahrzeug() {\n\n\t}", "title": "" }, { "docid": "5ae17f2516c21590c850e6758048effe", "score": "0.56625473", "text": "@Override\n public int getID()\n {\n return 0;\n }", "title": "" }, { "docid": "b8cd427648ea50c94f93c47d407d10a0", "score": "0.5660459", "text": "public void mo3639d() {\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": "" } ]
141bd974b381c757fae7171f5d0bfd56
Plan version number optional uint64 planVersion = 3;
[ { "docid": "66586ef8d096aa1ee7733c85f89eca74", "score": "0.6484103", "text": "public boolean hasPlanVersion() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" } ]
[ { "docid": "61b0311825cab36472e6bc82f3e9907e", "score": "0.8236281", "text": "long getPlanVersion();", "title": "" }, { "docid": "37f3f2741543b4f83b7c9ecb7895ecd1", "score": "0.7550806", "text": "public long getPlanVersion() {\n return planVersion_;\n }", "title": "" }, { "docid": "c03bae9ea0c0464fbb5a10c5958d2c53", "score": "0.74865544", "text": "public long getPlanVersion() {\n return planVersion_;\n }", "title": "" }, { "docid": "bde00fc3bd87d74ad883c880e3fead8b", "score": "0.7347365", "text": "public Builder setPlanVersion(long value) {\n bitField0_ |= 0x00000004;\n planVersion_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "55b12714dd6226488f41d668b1acc1dd", "score": "0.67831844", "text": "boolean hasPlanVersion();", "title": "" }, { "docid": "c41640c7a29fdc43e1a70d742f3ddeef", "score": "0.65354526", "text": "public boolean hasPlanVersion() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "5549cec6213449c017bf4590b7f6ff7a", "score": "0.6463624", "text": "public static String getVersion()\n\t{\n\t\treturn \"$Id: ShippingPlan.java,v 1.5 2006/11/16 02:15:38 suresh Exp $\" ;\n\t}", "title": "" }, { "docid": "eab14273e92d133391708e364c2e7b79", "score": "0.59722364", "text": "cosmos.upgrade.v1beta1.Upgrade.Plan getPlan();", "title": "" }, { "docid": "c7153a83590d0965efd677c3ea85da3f", "score": "0.5892539", "text": "public Builder clearPlanVersion() {\n bitField0_ = (bitField0_ & ~0x00000004);\n planVersion_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ff88c124c136484c9b5cb4094acf334b", "score": "0.5874047", "text": "cosmos.upgrade.v1beta1.Upgrade.PlanOrBuilder getPlanOrBuilder();", "title": "" }, { "docid": "c26b8aead6ddfff3791f758834a856f3", "score": "0.57782257", "text": "long getVersion();", "title": "" }, { "docid": "c26b8aead6ddfff3791f758834a856f3", "score": "0.57782257", "text": "long getVersion();", "title": "" }, { "docid": "c26b8aead6ddfff3791f758834a856f3", "score": "0.57782257", "text": "long getVersion();", "title": "" }, { "docid": "6f3eb4a7c40523ad927e28c3bce464aa", "score": "0.57567143", "text": "java.lang.String getPlan();", "title": "" }, { "docid": "51dbc98d64233feb58c57a66a747bfe9", "score": "0.56671786", "text": "public void setVersion(Integer version);", "title": "" }, { "docid": "4c3b9f90867d876980d05bfb7339b149", "score": "0.56462586", "text": "String citusVersion();", "title": "" }, { "docid": "59cb8f42e8f15d00fbe5ba60a5ebec43", "score": "0.56344026", "text": "public java.lang.String getPlan() {\n java.lang.Object ref = plan_;\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 plan_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "746c6d869e14808a936346b78086a345", "score": "0.5616381", "text": "public Builder setPlanBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n plan_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "859b89dcb8b5dddea3c1ce8d426cce3b", "score": "0.5615731", "text": "@java.lang.Override\n public cosmos.upgrade.v1beta1.Upgrade.PlanOrBuilder getPlanOrBuilder() {\n return getPlan();\n }", "title": "" }, { "docid": "38b15e606210651196feeb1345d526c2", "score": "0.56000966", "text": "com.google.protobuf.ByteString\n getPlanBytes();", "title": "" }, { "docid": "fc0d8bf3c6f2323f282733f8ece9bd7f", "score": "0.55846673", "text": "public int getVersion();", "title": "" }, { "docid": "fc0d8bf3c6f2323f282733f8ece9bd7f", "score": "0.55846673", "text": "public int getVersion();", "title": "" }, { "docid": "fc0d8bf3c6f2323f282733f8ece9bd7f", "score": "0.55846673", "text": "public int getVersion();", "title": "" }, { "docid": "ef93a3ae4a8a9c9d83a4996bce61f08f", "score": "0.558356", "text": "public java.lang.String getPlan() {\n java.lang.Object ref = plan_;\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 if (bs.isValidUtf8()) {\n plan_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "fa028abaf2a3f1f72aa37637b54dcee2", "score": "0.5572209", "text": "void setVersion(final Integer version);", "title": "" }, { "docid": "ac9555d9ad90ee2716a780275d2b731e", "score": "0.55676836", "text": "public cosmos.upgrade.v1beta1.Upgrade.Plan getPlan() {\n if (planBuilder_ == null) {\n return plan_ == null ? cosmos.upgrade.v1beta1.Upgrade.Plan.getDefaultInstance() : plan_;\n } else {\n return planBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "51c75e8312fb0db596f615eb400c9a88", "score": "0.55662805", "text": "long getPlanid();", "title": "" }, { "docid": "3df5517a52fd1c11c4b60767c5a71be4", "score": "0.55659705", "text": "public void setVer(int value) {\r\n this.ver = value;\r\n }", "title": "" }, { "docid": "1e3d6a871da987e1f3558e6fce2f85fc", "score": "0.55642545", "text": "public long getPlanid() {\n return planid_;\n }", "title": "" }, { "docid": "721a75b343300663163a999e3d4d7f62", "score": "0.55641454", "text": "public long getPlanid() {\n return planid_;\n }", "title": "" }, { "docid": "c1a9fe9c6f954340a0ecc8c34aa697cd", "score": "0.55590135", "text": "public void setVersion(final Long version);", "title": "" }, { "docid": "c1a9fe9c6f954340a0ecc8c34aa697cd", "score": "0.55590135", "text": "public void setVersion(final Long version);", "title": "" }, { "docid": "9de046f5f8753c8c4faa35ad65495be7", "score": "0.5537918", "text": "@java.lang.Override\n public cosmos.upgrade.v1beta1.Upgrade.Plan getPlan() {\n return plan_ == null ? cosmos.upgrade.v1beta1.Upgrade.Plan.getDefaultInstance() : plan_;\n }", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.55182165", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "c93294a9ff39bf4f6cdb8cfc5923f59b", "score": "0.54956543", "text": "public String getVersion()\r\n/* 71: */ {\r\n/* 72: 90 */ return \"2.2.11.012\";\r\n/* 73: */ }", "title": "" }, { "docid": "83492931262dd1b76c7bf39a6f015d62", "score": "0.54923934", "text": "Integer getVersion();", "title": "" }, { "docid": "737cf788d855dc4d4321d4e58ee23209", "score": "0.5484418", "text": "public com.google.protobuf.ByteString\n getPlanBytes() {\n java.lang.Object ref = plan_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n plan_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "2e3a491b57dc3ffb8ed4f2861043c529", "score": "0.54817325", "text": "public cosmos.upgrade.v1beta1.Upgrade.PlanOrBuilder getPlanOrBuilder() {\n if (planBuilder_ != null) {\n return planBuilder_.getMessageOrBuilder();\n } else {\n return plan_ == null ?\n cosmos.upgrade.v1beta1.Upgrade.Plan.getDefaultInstance() : plan_;\n }\n }", "title": "" }, { "docid": "600afda0b1941345b8529de80b5370eb", "score": "0.54783475", "text": "public void setVersion(String version);", "title": "" }, { "docid": "600afda0b1941345b8529de80b5370eb", "score": "0.54783475", "text": "public void setVersion(String version);", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.5468593", "text": "int getVersion();", "title": "" }, { "docid": "25cacf86efafe071c7a08765d8ef488c", "score": "0.54618114", "text": "long nextVersion() {\n return version + 1;\n }", "title": "" }, { "docid": "fa9c34f3b6436897018f2b7cd93ddf87", "score": "0.54515177", "text": "public Version version()\n/* */ {\n/* 416 */ return PackageVersion.VERSION;\n/* */ }", "title": "" }, { "docid": "6d3c00c1b7b031125467b9dd05ab317e", "score": "0.5421679", "text": "public com.google.protobuf.ByteString\n getPlanBytes() {\n java.lang.Object ref = plan_;\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 plan_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "25c4d338f37ade7cfc977ce02c56591e", "score": "0.54164296", "text": "public void setVersion(int version) {\r\n this.version = version;\r\n }", "title": "" }, { "docid": "b6a5fbccadafbf98c48852ef0a388757", "score": "0.5415897", "text": "long getIrVersion();", "title": "" }, { "docid": "b6a5fbccadafbf98c48852ef0a388757", "score": "0.5415897", "text": "long getIrVersion();", "title": "" }, { "docid": "c24d26f5e1d51771754daa3ffac052f5", "score": "0.5396935", "text": "public Builder setPlan(String plan) {\n this.plan = plan;\n return this;\n }", "title": "" }, { "docid": "defac1559d4ad3ef5e87a933b3dacad4", "score": "0.53925747", "text": "public Integer getVersion();", "title": "" }, { "docid": "b22e36f37742845d62a19e6ae8103107", "score": "0.536845", "text": "public String getPlanId() {\r\n\t\treturn planId;\r\n\t}", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.53646195", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.53646195", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.53646195", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.53646195", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.53646195", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.53646195", "text": "String getVersion();", "title": "" }, { "docid": "c64528c3cc189c3d03620e4ab372becc", "score": "0.53557646", "text": "public void setVersion(int version) {\n this.version = version;\n }", "title": "" }, { "docid": "c64528c3cc189c3d03620e4ab372becc", "score": "0.53557646", "text": "public void setVersion(int version) {\n this.version = version;\n }", "title": "" }, { "docid": "c64528c3cc189c3d03620e4ab372becc", "score": "0.53557646", "text": "public void setVersion(int version) {\n this.version = version;\n }", "title": "" }, { "docid": "5eabb8e142f0d20ae7b05efb52938dbd", "score": "0.5344039", "text": "Plan plan();", "title": "" }, { "docid": "ece9fe2ab843108d64d7190b9239d6a8", "score": "0.5343163", "text": "public void setPlan(String value) {\n setAttributeInternal(PLAN, value);\n }", "title": "" }, { "docid": "b5d9c68883ff69d19b88862914eca5d2", "score": "0.5340634", "text": "public Builder setPlan(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n plan_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9fd5d82f473802c3291c8a13bfeb704d", "score": "0.53403527", "text": "double getVersion();", "title": "" }, { "docid": "89f62eb5e19bac08845f444aaf6b9559", "score": "0.53386354", "text": "public java.lang.String getPlanID() {\n java.lang.Object ref = planID_;\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 planID_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "89f62eb5e19bac08845f444aaf6b9559", "score": "0.53386354", "text": "public java.lang.String getPlanID() {\n java.lang.Object ref = planID_;\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 planID_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "89f62eb5e19bac08845f444aaf6b9559", "score": "0.53386354", "text": "public java.lang.String getPlanID() {\n java.lang.Object ref = planID_;\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 planID_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "08e56fec3d06983af2354d171c962597", "score": "0.5332454", "text": "protected int getVersionUpdateNumber() { return 1; }", "title": "" }, { "docid": "1a7751f64d34b3f4d4f4b86cbaeacf66", "score": "0.5325384", "text": "public String getVersion();", "title": "" }, { "docid": "1a7751f64d34b3f4d4f4b86cbaeacf66", "score": "0.5325384", "text": "public String getVersion();", "title": "" }, { "docid": "1a7751f64d34b3f4d4f4b86cbaeacf66", "score": "0.5325384", "text": "public String getVersion();", "title": "" }, { "docid": "1a7751f64d34b3f4d4f4b86cbaeacf66", "score": "0.5325384", "text": "public String getVersion();", "title": "" }, { "docid": "0b3b792c2989d95e8878ec961d45998f", "score": "0.53222525", "text": "public String getVersion () { \n return (\"2004.09\"); \n }", "title": "" }, { "docid": "876715ba4a520495313482b71489f07d", "score": "0.53106153", "text": "public static String getVersion()\n {\n return \"OurCraft:BuildNumber\";\n }", "title": "" }, { "docid": "89d28d4e6ee5326e5a28a715b360defb", "score": "0.530363", "text": "Plan getDefaultPlan();", "title": "" }, { "docid": "f1b1d1b604478778e0e8904819cd451d", "score": "0.52949697", "text": "public String getPlan() {\n return (String)getAttributeInternal(PLAN);\n }", "title": "" }, { "docid": "dcedd791d239cb7c6098bbf8c9832651", "score": "0.529189", "text": "protected abstract Long version();", "title": "" }, { "docid": "1c2a45fd5a22dd72f410c98d4dac3946", "score": "0.5291022", "text": "public void setVer(String string) {\n\t\t\n\t}", "title": "" } ]
33a33079b6ef162acf31c566761a95d6
font = Numeric value to convert to text.
[ { "docid": "609be9f41d4c38bb078d0d9fc4c34d54", "score": "0.5946656", "text": "public static FontEnum valueOf(int font) \n {\n // The function converts the passed numeric value to its corresponding text.\n return (FontEnum) fontMap.get(font);\n }", "title": "" } ]
[ { "docid": "973c97206c13a2fc699f5050485b980a", "score": "0.7304981", "text": "public int getTextFont ()\n {\n return textFont;\n }", "title": "" }, { "docid": "82ad58105cc8a81ac9ef131bb3c20ae2", "score": "0.6977861", "text": "TextRenderer getTextRenderer(Font font);", "title": "" }, { "docid": "196103041c808b0ce499194339f20c7a", "score": "0.6977626", "text": "public void setTextFont (int ival)\n {\n if (ival < 0 || ival > 107) {\n ival = 103;\n }\n else if (ival > 7 && ival < 101) {\n ival = 103;\n }\n textFont = ival;\n }", "title": "" }, { "docid": "601bb607ad36066af5e20809e3dbe98b", "score": "0.6885176", "text": "public String getFont();", "title": "" }, { "docid": "efccd01ca80724db19d14e114ab17732", "score": "0.68337655", "text": "public float getFontSize();", "title": "" }, { "docid": "fa829acd838b6545d137ea3602ea45c8", "score": "0.68231547", "text": "Font getFont() ;", "title": "" }, { "docid": "a63dc16e5890c70e6202ea5a99f373b4", "score": "0.66292113", "text": "private void setNumbersFont(Graphics2D g2d) {\n g2d.setFont(new Font(\"Helvetica\", Font.BOLD, 10));\n g2d.setColor(Color.BLACK);\n }", "title": "" }, { "docid": "9b73d73131e25709eefd4cfd8c6a8189", "score": "0.6616442", "text": "public String getFontWeight();", "title": "" }, { "docid": "f6c9263c2d2c53492d5eacc74eb032c8", "score": "0.66053075", "text": "public String convertText(String font, String text);", "title": "" }, { "docid": "71db50810619e31bd5df203abe41f6fa", "score": "0.65762556", "text": "@VTID(54)\r\n excel.Font getFont();", "title": "" }, { "docid": "ee89dfc76b68f91ee614d6c379fe0d72", "score": "0.65336484", "text": "public int getValue() \n {\n return fontEnum;\n }", "title": "" }, { "docid": "0cea10b196904ad159bd7cdfaed867cd", "score": "0.6491684", "text": "public String getTextFont()\n {\n return textFont;\n }", "title": "" }, { "docid": "38c2292a8cdb32a46cb4f4f7dcb3f3ac", "score": "0.6488937", "text": "public Font getFont();", "title": "" }, { "docid": "73e686586cacc85d2c1b902e13883617", "score": "0.645794", "text": "public String getFontSize();", "title": "" }, { "docid": "3b7dd5d4f3bc69de27bf9ddc2218bce2", "score": "0.6418398", "text": "public int getFontStyle ()\n {\n return fontStyle;\n }", "title": "" }, { "docid": "9e73988517c7b63153850e97817ed182", "score": "0.641531", "text": "@Override\n public BitmapFont getEnergyNumFont() {\n return FontHelper.energyNumFontRed;\n }", "title": "" }, { "docid": "07176aaeff0061a2f9366dc3d9f211bb", "score": "0.6405186", "text": "@Override\n\tpublic String getCssText() {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(numbers[0]);\n\t\tfor (int i = 1; i < numbers.length; i++) {\n\t\t\tsb.append(' ');\n\t\t\tsb.append(numbers[i]);\n\t\t}\n\t\treturn sb.toString();\n\t}", "title": "" }, { "docid": "818081f7060d0f75d691dd17f9c9f91f", "score": "0.63612205", "text": "public void setFont(Object value) {\n labelFont = value;\n stateChanged();\n }", "title": "" }, { "docid": "e845fa921fbd9a0619802f7498bbafaa", "score": "0.6360009", "text": "public int getFontType(){\n return type;\n }", "title": "" }, { "docid": "7af7a4a37fed06626add2c3730cc0ba1", "score": "0.6310847", "text": "public java.lang.String getFontSize(){\n return localFontSize;\n }", "title": "" }, { "docid": "7af7a4a37fed06626add2c3730cc0ba1", "score": "0.6310847", "text": "public java.lang.String getFontSize(){\n return localFontSize;\n }", "title": "" }, { "docid": "7af7a4a37fed06626add2c3730cc0ba1", "score": "0.6310847", "text": "public java.lang.String getFontSize(){\n return localFontSize;\n }", "title": "" }, { "docid": "45cf853fdd8fa9c3419d1752fbb75a56", "score": "0.62818766", "text": "public void setFontType(int val){\n type = val;\n }", "title": "" }, { "docid": "014648fd786d90615b9fda339e242e4b", "score": "0.61771065", "text": "TextRenderer getTextRenderer(Font font, boolean antiAliased, boolean mipMaps, boolean fractional, boolean smoothing);", "title": "" }, { "docid": "c463404bbb59962c7e2492a731e145c0", "score": "0.61661965", "text": "public static int getTextFontSize() {\n\t\tContext apkont = App.getAppComponent().getContext();\n\t\tString sVelicina = PreferenceManager.getDefaultSharedPreferences(apkont).getString(EDITOR_FONT_TEXT, null);\n\t\t\n\t\tint velicina;\n\t\tif(sVelicina == null) {\n\t\t\tvelicina = Math.round(apkont.getResources().getDimension(R.dimen.subtitle_line_demo_text_font_size));\n\t\t} else {\n\t\t\tvelicina = Integer.parseInt(sVelicina);\n\t\t}\n\t\treturn velicina;\n\t}", "title": "" }, { "docid": "671442f756bb96ccf99eb90acec04f3c", "score": "0.61162484", "text": "public DisplayFont getFont() {\n\t\treturn font;\n\t}", "title": "" }, { "docid": "10d5f86ac4637ccd42fc93b936ef77f5", "score": "0.6113935", "text": "public static void setFont(String type ,int size){\n if (type==null||type.isEmpty()){\n output.setFont(new Font(output.getFont().getName(),Font.PLAIN,size));\n }\n if (size<1){\n output.setFont(new Font(type,Font.PLAIN,output.getFont().getSize()));\n }\n }", "title": "" }, { "docid": "4b4be7c6560cea3eb56f98bf6e5b7f11", "score": "0.61115783", "text": "public Object getFont() {\n return labelFont;\n }", "title": "" }, { "docid": "fc16da65babb2c93be9c036a56d2d12e", "score": "0.6106675", "text": "public String getFontStyle();", "title": "" }, { "docid": "f807ec9e13267b172976695f6c751f32", "score": "0.61064327", "text": "public void setExponentFont(Font f) {\r\n exponent.setFont(f);\r\n }", "title": "" }, { "docid": "2a8ac35d68ae359cbbaa348a25f5b2ba", "score": "0.6095447", "text": "public String fontName() {\n// When formatting becomes available again\n//\t\t\n//\t\tif (Formatter.isSymbol(alpha) || Formatter.isSymbol(beta)) {\n//\t\t\treturn \"Symbol\";\n//\t\t}\n\t\t\n\t\treturn null; // nothing special.\n\t}", "title": "" }, { "docid": "f708e6e94990fecbecbf1c5665ef490c", "score": "0.60886467", "text": "public void setFont(Font font);", "title": "" }, { "docid": "803728713811977ad65b1da4e944e28f", "score": "0.6079389", "text": "public String getFontName();", "title": "" }, { "docid": "a4d1dabcd3e6aacf361146fc147781ae", "score": "0.6073537", "text": "int getLength(FontRenderer fontRenderer);", "title": "" }, { "docid": "439a5d890f7f4816d4ade4cb29b63981", "score": "0.60731995", "text": "int getFontId();", "title": "" }, { "docid": "d72c72069841573a5cf5bf736a5eb19b", "score": "0.60690343", "text": "public Color getFontColor();", "title": "" }, { "docid": "75eebeadbf701d1d513cb720840f7f74", "score": "0.606413", "text": "public FontStyle getFontStyle();", "title": "" }, { "docid": "3b9be14db225a5af6856555bd72c61ae", "score": "0.6058599", "text": "private void setTextFont(Text thisText){\n thisText.setFont(Font.font(\"\", FontWeight.BLACK, 30));\n }", "title": "" }, { "docid": "26e3c7c5e4d26806b8fd44800303cc5f", "score": "0.60515714", "text": "public String giveFontReplacement(String font);", "title": "" }, { "docid": "3588a81ff07304f4278b7a57a73b63b6", "score": "0.6051253", "text": "int TextCreate(String font, int fontSize, boolean bBold, boolean bItalic, int x, int y, NativeLong color, String text, boolean bShadow, boolean bShow);", "title": "" }, { "docid": "5d45aac3823772d1e439844ef98d46d3", "score": "0.605113", "text": "public static Font getBoxCountFont() {\r\n\t\treturn new Font(\"Consolas\", Font.BOLD, 16);\r\n\t}", "title": "" }, { "docid": "96832bb138d2bb06416363abd7743845", "score": "0.604219", "text": "public String getFontFamily();", "title": "" }, { "docid": "883030538489f42cd344bc3df2dff3ff", "score": "0.6039146", "text": "public Font getFont()\n {\n return graphic.getFont();\n }", "title": "" }, { "docid": "89e7d5e195f6279fab861551113986ff", "score": "0.60356086", "text": "private void setFont()\n {\n int fontStyle = 0;\n switch (fontStyleList.getSelectedIndex())\n {\n case 0:\n fontStyle = Font.BOLD;\n break;\n case 1:\n fontStyle = Font.ITALIC;\n break;\n default:\n fontStyle = Font.PLAIN;\n break;\n }\n\n fontNameLabel.setText(\"\" + fontList.getSelectedValue());\n fontStyleNameLabel.setText(\"\" + fontStyleList.getSelectedValue());\n fontSizeValueLabel.setText(\"\" + fontSizeList.getSelectedValue());\n\n fontList.ensureIndexIsVisible(fontList.getSelectedIndex());\n fontStyleList.ensureIndexIsVisible(fontStyleList.getSelectedIndex());\n fontSizeList.ensureIndexIsVisible(fontSizeList.getSelectedIndex());\n\n sampleText.setFont(new Font(fontList.getSelectedValue(), fontStyle, fontSizeList.getSelectedValue()));\n }", "title": "" }, { "docid": "af55978badea671eb4f8bfbc470038aa", "score": "0.6027575", "text": "double getCurveFontScaling();", "title": "" }, { "docid": "4915610c00f3017b40fdf1bc9e6e9858", "score": "0.60023993", "text": "Paint getTextPaint();", "title": "" }, { "docid": "8d7ff57c6f92da892581c3c57d463e4c", "score": "0.5992426", "text": "public String getFontStretch();", "title": "" }, { "docid": "d99a3c72b20ce490c81bc6e42bfb468d", "score": "0.596141", "text": "CurveFontType getCurveFont();", "title": "" }, { "docid": "59da7f26087df3fadd6bf64be1fbb3c0", "score": "0.59412074", "text": "public void setFont(Font font) {\r\n }", "title": "" }, { "docid": "961cd583e5650bc529cbb1442e58fc28", "score": "0.5934272", "text": "public String getFontSizeAdjust();", "title": "" }, { "docid": "e75c97d927d5226cabf1b74f2bd2ad59", "score": "0.5923073", "text": "public void setFont(Font newVal) {\n\t\t\r\n\t}", "title": "" }, { "docid": "9a8ea2bd83599500caab425ce0ac1b19", "score": "0.5912361", "text": "public String getFontsize() {\r\n\treturn _fontSize;\r\n}", "title": "" }, { "docid": "1f31bc8a75374764c5fb9a17acd7aae8", "score": "0.5911809", "text": "public String getFontVariant();", "title": "" }, { "docid": "51e09e153493c9a61da56cc39104368b", "score": "0.5906559", "text": "Font getHeaderTitleFont();", "title": "" }, { "docid": "38f6965dd0886a122fa373cd927e72e2", "score": "0.5899031", "text": "private Bounds textWidth(double size, SensorValue sensorValue)\r\n\t{\n\t\t\r\n\t\tdouble valueRounded = Math.round(sensorValue.getCurrentValue()*10)/10;\r\n\t\tString eineNachkomma = String.format(\"%.1f\", valueRounded);\r\n\t\tString showValue = eineNachkomma + \" \" + sensorValue.getMeasurementUnit();\r\n\t\t\r\n\t\tif(fontVorgabe == null)\r\n\t\t\tfontVorgabe = new Font(\"Verdana\", 12);\r\n\t\tText text = new Text(showValue);\r\n\t\tFont font = Font.font(fontVorgabe.getFamily(), size);\r\n text.setFont(font);\r\n return text.getBoundsInLocal();\r\n\t}", "title": "" }, { "docid": "2a40af07d99290a28e8ede3fe0664dc7", "score": "0.5893523", "text": "@Override\r\n public String getTextValue() { \r\n return \"R:\" + red + \" G:\" + green + \" B:\" + blue + \" A:\" + alpha;\r\n }", "title": "" }, { "docid": "219675cc6c0fcc77c3a60c18bf12bf20", "score": "0.58903897", "text": "private static String smallFont(String s) {\n return String.format(\"<font size=\\\"-1\\\">%s</font>\", s); \n }", "title": "" }, { "docid": "9d50f558315be9b2b270f3138d8d622f", "score": "0.5871683", "text": "public void setFontsize(String val) {\r\n\t_fontSize = val;\r\n}", "title": "" }, { "docid": "c2e753c642a881b75b2b9927a77d4f44", "score": "0.5870218", "text": "private void setFontSizes() {\n int numberSizeOne = this.currentNumberPair.getFontSizeOne();\n int numberSizeTwo = this.currentNumberPair.getFontSizeTwo();\n theView.getLeftOption().setFont(new Font(\"Tahoma\", numberSizeOne));\n theView.getRightOption().setFont(new Font(\"Tahoma\", numberSizeTwo));\n }", "title": "" }, { "docid": "eb51c6ae6a75775e6381644b397f4413", "score": "0.5869947", "text": "void setFont(Font aFont) ;", "title": "" }, { "docid": "8e9f149898f3591a8e6c6dd5b8624fab", "score": "0.5865039", "text": "private void chooseFont(String font, int pointSize) {\n this.font = font;\n if (pointSize > 0)\n point = pointSize;\n fprintf(out, \"/%s findfont %d scalefont setfont\\n\", this.font, point);\n }", "title": "" }, { "docid": "fe64f64724c9fcd8d204df1405dd32dd", "score": "0.58605176", "text": "@Override\n\tpublic void setFontSize(float input) {\n\t\ttextPaintComponent.setFontSize(input);\n\t}", "title": "" }, { "docid": "cbcb7753b2e8445433ca02d808532bde", "score": "0.5852396", "text": "public void updateTextSize() {\n int size = Integer.parseInt(fontSize);\n setTextSize(size);\n System.out.println(size);\n }", "title": "" }, { "docid": "853829eac3a69d015516541915c57278", "score": "0.58497244", "text": "public void textFont(PFont which, float size) {\n if (recorder != null)\n recorder.textFont(which, size);\n g.textFont(which, size);\n }", "title": "" }, { "docid": "ce76f4fb641bb9bf1d6b2d65c600127c", "score": "0.5844812", "text": "public String getValueAsFontEndTag() {\r\n String value = getValue();\r\n String style = null;\r\n if (value != null) {\r\n StringTokenizer tok = new StringTokenizer(value, \",\");\r\n tok.nextToken();\r\n style = tok.nextToken();\r\n StringBuffer ret = new StringBuffer();\r\n if (style.indexOf(\"ITALIC\") > -1)\r\n ret.append(\"</i>\");\r\n if (style.indexOf(\"BOLD\") > -1)\r\n ret.append(\"</b>\");\r\n ret.append(\"</FONT>\");\r\n return ret.toString();\r\n\r\n }\r\n return null;\r\n\r\n }", "title": "" }, { "docid": "ac9719ff5913068d303cd5cb489da8b9", "score": "0.5844509", "text": "void setTextStyle(GralColor color, GralFont font);", "title": "" }, { "docid": "bc957924b30055316b4753d376eaf2ae", "score": "0.5837181", "text": "@Override\n\t\tpublic Font getFont()\n\t\t{\n\t\t\treturn _customFont;\n\t\t}", "title": "" }, { "docid": "c145c067c171e838ed603d383fa1464f", "score": "0.58308077", "text": "public void setFontValue(String fontTag) {\r\n if (fontTag == null) {\r\n setValue(null);\r\n return;\r\n }\r\n String face = getTagAttribute(fontTag, \"face\");\r\n String size = getTagAttribute(fontTag, \"size\");\r\n if (size == null) {\r\n size = getTagAttribute(fontTag, \"style\").toUpperCase();\r\n int pos = size.indexOf(\"FONT-SIZE:\");\r\n if (pos > -1) {\r\n int pos2 = size.indexOf(\";\", pos);\r\n if (pos2 > -1) {\r\n size = size.substring(pos + 10, pos2);\r\n _usePointSize = true;\r\n }\r\n }\r\n } else\r\n _usePointSize = false;\r\n\r\n fontTag = fontTag.toLowerCase();\r\n boolean italic = (fontTag.indexOf(\"<i>\") > -1);\r\n boolean bold = (fontTag.indexOf(\"<b>\") > -1);\r\n String style = \"PLAIN\";\r\n\r\n if (bold && !italic)\r\n style += \"BOLD\";\r\n else if (!bold && italic)\r\n style += \"ITALIC\";\r\n else if (bold && italic)\r\n style += \"BOLD|ITALIC\";\r\n\r\n String value = face + \",\" + style + \",\" + size;\r\n setValue(value);\r\n\r\n }", "title": "" }, { "docid": "53533dd7363770eb0902a85ac5290d70", "score": "0.58268195", "text": "IfcTextFontSelect getTextFontStyle();", "title": "" }, { "docid": "f81a7f7dfe750217fe0411af3c462dbc", "score": "0.5807245", "text": "void setFont(GridItem gridItem, int index, Font font);", "title": "" }, { "docid": "2e335008a522fead22a5ca1ca70ce300", "score": "0.5789112", "text": "public void setFont( Font font )\n {\n this.font = font;\n }", "title": "" }, { "docid": "8a7b3577a8ed588809473bc2aa927968", "score": "0.5783443", "text": "default int getHeightPerLine(FontRenderer fontRenderer){return fontRenderer.FONT_HEIGHT + 1;}", "title": "" }, { "docid": "ae0e661a3a13c2edf7086c9587616448", "score": "0.57831305", "text": "public String getFontAsString(){\n\t\tString fontString = \"\";\n\n\t\tif (!bold && !italic) {\n\t\t\tfontString = fntName + \", \" + \"Plain\" + \", \" + fntSize;\n\t\t} else if (bold && !italic) {\n\t\t\tfontString = fntName + \", \" + \"Bold\" + \", \" + fntSize;\n\t\t} else if (!bold && italic) {\n\t\t\tfontString = fntName + \", \" + \"Italic\" + \", \" + fntSize;\n\t\t} else if (bold && italic) {\n\t\t\tfontString = fntName + \", \" + \"Bold+Italic\" + \", \" + fntSize;\n\t\t}\n\n\t\treturn fontString;\n\t}", "title": "" }, { "docid": "00c50f28fa2f5c62d40a134324962839", "score": "0.5771757", "text": "public Font getFont() {\r\n\t\tif (myFont == null)\r\n\t\t\tmyFont = new Font(\"SansSerif\", Font.PLAIN, 12);\r\n\t\treturn myFont;\r\n\t\t// return getProperties().getFontProperty(mapKey(FONT), myFont);\r\n\t}", "title": "" }, { "docid": "6707d522d929092246cb859d8fb0f51c", "score": "0.5763329", "text": "@Override\n\tpublic Font getLabelFont(Unit object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6cff7597314b29bf383d3eb44284b0e7", "score": "0.5759713", "text": "public Font getFont()\n {\n return getStyle().getFont();\n }", "title": "" }, { "docid": "9aab9cb278e19f9a6534ea208f74d37b", "score": "0.5758097", "text": "public void setCharCountTextStyle(int i) {\n this.f120533d.setTextAppearance(getContext(), i);\n }", "title": "" }, { "docid": "37941c9e0bb2776f3afcefa1a1cb9c40", "score": "0.5746774", "text": "public FontStyle getFontStyle(){\n return localFontStyle;\n }", "title": "" }, { "docid": "37941c9e0bb2776f3afcefa1a1cb9c40", "score": "0.5746774", "text": "public FontStyle getFontStyle(){\n return localFontStyle;\n }", "title": "" }, { "docid": "37941c9e0bb2776f3afcefa1a1cb9c40", "score": "0.5746774", "text": "public FontStyle getFontStyle(){\n return localFontStyle;\n }", "title": "" }, { "docid": "37941c9e0bb2776f3afcefa1a1cb9c40", "score": "0.5746774", "text": "public FontStyle getFontStyle(){\n return localFontStyle;\n }", "title": "" }, { "docid": "98aaaef28d5ef586c8ce9bce41fa7acf", "score": "0.5743505", "text": "private Font getFontProperty(String name, Font def)\n\t{\n\t\tString family = getProperty(name);\n\t\tString sizeString = getProperty(name + \"size\");\n\t\tString styleString = getProperty(name + \"style\");\n\n\t\tif(family == null || sizeString == null || styleString == null)\n\t\t\treturn def;\n\t\telse\n\t\t{\n\t\t\tint size;\n\n\t\t\ttry\n\t\t\t{\n\t\t\t\tsize = Integer.parseInt(sizeString);\n\t\t\t}\n\t\t\tcatch(NumberFormatException nf)\n\t\t\t{\n\t\t\t\treturn def;\n\t\t\t}\n\n\t\t\tint style;\n\t\t\ttry\n\t\t\t{\n\t\t\t\tstyle = Integer.parseInt(styleString);\n\t\t\t}\n\t\t\tcatch(NumberFormatException nf)\n\t\t\t{\n\t\t\t\treturn def;\n\t\t\t}\n\n\t\t\treturn new Font(family,style,size);\n\t\t}\n\t}", "title": "" }, { "docid": "7847e02bc5cd631068493da70e2e5e95", "score": "0.57397074", "text": "private void applyTextPropertiesToPaint(android.graphics.Paint r10, com.horcrux.svg.FontData r11) {\n /*\n r9 = this;\n java.lang.String r0 = \"fonts/\"\n com.facebook.react.bridge.ReactContext r1 = r9.mContext\n android.content.res.Resources r1 = r1.getResources()\n android.content.res.AssetManager r1 = r1.getAssets()\n double r2 = r11.fontSize\n float r4 = r9.mScale\n double r4 = (double) r4\n java.lang.Double.isNaN(r4)\n double r2 = r2 * r4\n com.horcrux.svg.TextProperties$FontWeight r4 = r11.fontWeight\n com.horcrux.svg.TextProperties$FontWeight r5 = com.horcrux.svg.TextProperties.FontWeight.Bold\n r6 = 1\n r7 = 0\n if (r4 != r5) goto L_0x0020\n r4 = 1\n goto L_0x0021\n L_0x0020:\n r4 = 0\n L_0x0021:\n com.horcrux.svg.TextProperties$FontStyle r5 = r11.fontStyle\n com.horcrux.svg.TextProperties$FontStyle r8 = com.horcrux.svg.TextProperties.FontStyle.italic\n if (r5 != r8) goto L_0x0029\n r5 = 1\n goto L_0x002a\n L_0x0029:\n r5 = 0\n L_0x002a:\n if (r4 == 0) goto L_0x0030\n if (r5 == 0) goto L_0x0030\n r6 = 3\n goto L_0x0038\n L_0x0030:\n if (r4 == 0) goto L_0x0033\n goto L_0x0038\n L_0x0033:\n if (r5 == 0) goto L_0x0037\n r6 = 2\n goto L_0x0038\n L_0x0037:\n r6 = 0\n L_0x0038:\n r4 = 0\n java.lang.String r11 = r11.fontFamily\n java.lang.StringBuilder r5 = new java.lang.StringBuilder // Catch:{ Exception -> 0x0054 }\n r5.<init>() // Catch:{ Exception -> 0x0054 }\n r5.append(r0) // Catch:{ Exception -> 0x0054 }\n r5.append(r11) // Catch:{ Exception -> 0x0054 }\n java.lang.String r7 = \".otf\"\n r5.append(r7) // Catch:{ Exception -> 0x0054 }\n java.lang.String r5 = r5.toString() // Catch:{ Exception -> 0x0054 }\n android.graphics.Typeface r4 = android.graphics.Typeface.createFromAsset(r1, r5) // Catch:{ Exception -> 0x0054 }\n goto L_0x0077\n L_0x0054:\n java.lang.StringBuilder r5 = new java.lang.StringBuilder // Catch:{ Exception -> 0x006d }\n r5.<init>() // Catch:{ Exception -> 0x006d }\n r5.append(r0) // Catch:{ Exception -> 0x006d }\n r5.append(r11) // Catch:{ Exception -> 0x006d }\n java.lang.String r0 = \".ttf\"\n r5.append(r0) // Catch:{ Exception -> 0x006d }\n java.lang.String r0 = r5.toString() // Catch:{ Exception -> 0x006d }\n android.graphics.Typeface r4 = android.graphics.Typeface.createFromAsset(r1, r0) // Catch:{ Exception -> 0x006d }\n goto L_0x0077\n L_0x006d:\n com.facebook.react.views.text.ReactFontManager r0 = com.facebook.react.views.text.ReactFontManager.getInstance() // Catch:{ Exception -> 0x0076 }\n android.graphics.Typeface r4 = r0.getTypeface(r11, r6, r1) // Catch:{ Exception -> 0x0076 }\n goto L_0x0077\n L_0x0076:\n L_0x0077:\n r10.setTypeface(r4)\n float r11 = (float) r2\n r10.setTextSize(r11)\n android.graphics.Paint$Align r11 = android.graphics.Paint.Align.LEFT\n r10.setTextAlign(r11)\n int r11 = android.os.Build.VERSION.SDK_INT\n r0 = 21\n if (r11 < r0) goto L_0x008d\n r11 = 0\n r10.setLetterSpacing(r11)\n L_0x008d:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.horcrux.svg.TSpanView.applyTextPropertiesToPaint(android.graphics.Paint, com.horcrux.svg.FontData):void\");\n }", "title": "" }, { "docid": "eac52bad65b81c5570d4471d5fbf2bb7", "score": "0.5736382", "text": "public static Font getMyFont(){\r\n\t\tFont myFont = null;\r\n\t\tFont myFontActual = null;\r\n\t\ttry {\r\n\t\t\tInputStream myFontInput = new BufferedInputStream(new FileInputStream(\"Assignment3Resources/fonts/kenvector_future.ttf\"));\r\n\t\t\tmyFont = Font.createFont(Font.TRUETYPE_FONT, myFontInput);\r\n\t\t\tfloat num = 14;\r\n\t\t\tmyFontActual = myFont.deriveFont(num);\r\n\t\t}catch (Exception ex) {\r\n\t\t\tSystem.err.println(\"Font file not loaded.\");\r\n\t\t}\r\n\t\treturn myFontActual;\t\r\n\t}", "title": "" }, { "docid": "1d4a863ab135eede424b15714d69e428", "score": "0.57356596", "text": "private Font trouverFont() {\r\n Font font = null;\r\n String police = null;\r\n\r\n if (courier.getSelectedItem().equals(\"Arial\")) {\r\n police = \"Arial Unicode MS\";\r\n } else if (courier.getSelectedItem().equals(\"Courier\")) {\r\n police = \"Courier New\";\r\n } else if (courier.getSelectedItem().equals(\"Lucida Grande\")) {\r\n police = \"Lucida Bright\";\r\n } else if (courier.getSelectedItem().equals(\"Time\")) {\r\n police = \"Times New Roman\";\r\n }\r\n \r\n if (normal.isSelected()) {\r\n font = new Font(police, Font.PLAIN, Integer.parseInt(textTaille.getText()));\r\n } else if (gras.isSelected()) {\r\n font = new Font(police, Font.BOLD, Integer.parseInt(textTaille.getText()));\r\n } else if (italique.isSelected()) {\r\n font = new Font(police, Font.ITALIC, Integer.parseInt(textTaille.getText()));\r\n }\r\n\r\n return font;\r\n\r\n }", "title": "" }, { "docid": "4f022eab829451721f9dc32957e7fe7f", "score": "0.57339406", "text": "public Font getFont() {\n\t\treturn font;\n\t}", "title": "" }, { "docid": "568b72ff5efc1443294fb03690806167", "score": "0.5727908", "text": "@Override\n\tpublic Font getLabelFont(Citizen obj) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5c39a0841039749afaab913c39177c18", "score": "0.5724864", "text": "public String getFontFamily() {\n/* 260 */ return this.fontFamily;\n/* */ }", "title": "" }, { "docid": "cb2d2d55b29aca25d429e45b2b90033e", "score": "0.5721263", "text": "public int fontSize() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "72ac7c17565ff16e07a44c64c2b4aa36", "score": "0.57159054", "text": "public boolean setFont(String name, int style, float size);", "title": "" }, { "docid": "9ad76b07885471afc5ea4a01add18f64", "score": "0.57139206", "text": "public void textFont(PFont which) {\n if (recorder != null)\n recorder.textFont(which);\n g.textFont(which);\n }", "title": "" }, { "docid": "da6f5425ba2550ebd4c568bb0d6c7dd0", "score": "0.5699167", "text": "public void setFont(UFont agr0) {\n\t\t\n\t}", "title": "" }, { "docid": "e2e5d5c19bef1e93b790c477ec7c68ff", "score": "0.56900924", "text": "public Typeface updateTextFont() {\n Typeface family;\n switch (font) {\n\n case default_bold:\n family = Typeface.DEFAULT_BOLD;\n break;\n case monospace:\n family = Typeface.MONOSPACE;\n break;\n case sans_serif:\n family = Typeface.SANS_SERIF;\n break;\n case serif:\n family = Typeface.SERIF;\n break;\n default:\n family = Typeface.DEFAULT;\n break;\n }\n return family;\n }", "title": "" }, { "docid": "6ceef37212c4a3c71445bea9c897a11c", "score": "0.5685351", "text": "@Test\n public void test_toText() {\n assertThat(formatter.toText(1)).isEqualTo(\"1.00\");\n assertThat(formatter.toText(1.0000)).isEqualTo(\"1.00\");\n assertThat(formatter.toText(1.2345)).isEqualTo(\"1.23\");\n }", "title": "" }, { "docid": "50bd50b6b8cde73f1bcaa56485cf0e5f", "score": "0.567852", "text": "public float getFontSize() {\n return size;\n }", "title": "" }, { "docid": "9f3c02e0efa2edffcd42b7e44fbff5fc", "score": "0.5657751", "text": "@Override\r\n\t\tpublic FontFormatting getFontFormatting() {\n\t\t\treturn null;\r\n\t\t}", "title": "" }, { "docid": "82b8224ca73cf34e4dbb5ae38181d62b", "score": "0.56518656", "text": "public void setFont(Font f) {\r\n\t\t// getProperties().put(reverseMapKey(FONT), f);\r\n\t\tmyFont = f;\r\n\t\tfm = Animal.getConcreteFontMetrics(f);\r\n\t\tfor (int i = 0; i < entry.length; i++) {\r\n\t\t\tentry[i].setFont(f);\r\n\t\t}\r\n\t\tupdateAllCellsWithCurrentStates();\r\n\t}", "title": "" }, { "docid": "dd5faae3936e27bd6fc67dc3a4a885a6", "score": "0.56503266", "text": "public JComponent getDrawing(Font fnt);", "title": "" }, { "docid": "b9f1d760345d1fe578f677b878e8125c", "score": "0.565022", "text": "public FontModel getGeneralContainerFont();", "title": "" }, { "docid": "b30f8b583a29ac17a8443f97fb181636", "score": "0.5645196", "text": "public FontMetrics getFontMetrics(Font f) {\r\n return null;\r\n }", "title": "" } ]
dc69e4b8cf502f574568fc07b3c0f6bc
This is the dumb method that creates a new game
[ { "docid": "ab8136d4f65d08a72492c9996e9bfde1", "score": "0.7267842", "text": "public void startNewGame() {\n bg.makeNewGame();\n }", "title": "" } ]
[ { "docid": "10c41be8eb324d1268ec59594cfc36ba", "score": "0.8738369", "text": "public void newGame() {\n create();\n }", "title": "" }, { "docid": "28c24a14478c5dc56d9a8f662935b6e8", "score": "0.8488308", "text": "private void newGame() {\n NewGame newGame = new NewGame(creator, creator.maxCards);\n }", "title": "" }, { "docid": "f90f163c93b10e102634922a4e9f1606", "score": "0.8473704", "text": "public void createGame() {\n game = new Game(nimUI, getDifficulty(difficulty), isSecondPlayerComputer );\n }", "title": "" }, { "docid": "4094f21e83bf17693971e3adeba0526e", "score": "0.83883965", "text": "public void createGame() {\n\t\tgameManager.createGame();\n\t}", "title": "" }, { "docid": "5fdeea1ec793ff8362004d5871de3563", "score": "0.8300973", "text": "Game createGame();", "title": "" }, { "docid": "3641413c99e0a02a77a177521ad1d67a", "score": "0.8176375", "text": "private void createNewGame() {\n\t\tfirstPlayer.resetScore();\n\t\tsecondPlayer.resetScore();\n\t\tcurrentGame = new Game(firstPlayer, secondPlayer);\n\t}", "title": "" }, { "docid": "631f6a62427431e89405b38e2d33d149", "score": "0.7923086", "text": "public static void createGame() {\n\t\t\n\t\t// create Quoridor game and get users\n\t\tQuoridor quoridor = QuoridorApplication.getQuoridor();\n\t\tGame newGame = new Game(GameStatus.Initializing, false, MoveMode.WallMove, quoridor);\n\n\t}", "title": "" }, { "docid": "e87f7c5a3b8de1617f8879f312612c74", "score": "0.7774988", "text": "public Game() \n {\n createGame(); \n }", "title": "" }, { "docid": "20253535dafde3812c5bddc544d4862e", "score": "0.77564514", "text": "private void newGame() {\r\n\t\t//create new game frame, setup the GameFrame components\r\n gameFrame = new GameFrame();\r\n //invoke run() function in GameFrame, which allows user to start playing\r\n gameFrame.run();\r\n //close the GameMenu frame\r\n dispose();\r\n }", "title": "" }, { "docid": "a6c851cf9ec24c0dfb494de73c6b8a67", "score": "0.77436465", "text": "void createGame() {\n // TODO: myDataManager = new **insert sample GAEtoJSON object here\n myGameCreator = new PlatformGameCreator(myDataManager);\n\n // add elements and other game attributes\n }", "title": "" }, { "docid": "1acf064ab875ec974add2770b0afd1d3", "score": "0.7602293", "text": "public void newGame();", "title": "" }, { "docid": "1acf064ab875ec974add2770b0afd1d3", "score": "0.7602293", "text": "public void newGame();", "title": "" }, { "docid": "06ebf3dc1278bf09863bf8f9cda0a154", "score": "0.7579106", "text": "private void startNewGame() {\n GameControl.createNewGame(Monopofastpro.getPlayer());\r\n \r\n // display the game manu\r\n GameMenuView gameMenu = new GameMenuView();\r\n gameMenu.display();\r\n }", "title": "" }, { "docid": "c80d7ee4e6d1c0ea4e1729fa6b4a0c08", "score": "0.74410933", "text": "public void newGame() {\n \n // Start a new game, reset instance variables\n Game newGame = new Game();\n game = newGame;\n board = newGame.board;\n \n // Enable add three button\n addThree.setDisable(false);\n \n // Clear selected\n selected.clear();\n\n // Redraw board\n redrawBoard();\n }", "title": "" }, { "docid": "f06a4e9730cbae30ce19e944bb7dde1c", "score": "0.7334742", "text": "public String createGame() {\r\n CreateGameController createGameController = this.getControllerFactory()\r\n .getCreateGameControler();\r\n createGameController.createGame();\r\n this.update();\r\n LogManager.getLogger(createGameController.getClass().getName()).info(\"Creado game\");\r\n return null;\r\n }", "title": "" }, { "docid": "4213a64ecbd07d2e6350cfb8c15c1b7a", "score": "0.7323098", "text": "void newVersusGame();", "title": "" }, { "docid": "a60772fcfc4b0522308d19823dfc3e04", "score": "0.7275591", "text": "public void newGame(GTemplate t){\n\t\t//game = null;\n\t\tPlayer p1 = new Player(t.getP1_c(),t.getP1_name());\n\t\tPlayer p2 = new Player(t.getP2_c(),t.getP2_name());\n\t\tgame = new Game(p1,p2);\n\t}", "title": "" }, { "docid": "ac741d2bf31a22b6d7944c07531b356f", "score": "0.7265217", "text": "private void startNewGame() {\r\n\t\tgameWorld.showSpeedControls = true;\r\n\t\tgameWorld.showTime = true;\r\n\t\tgameWorld.showUltrafast = false;\r\n\t\tgameWorld.gameSpeed = GameSpeed.NORMAL;\r\n\t\tgameWorld.calendar.setTimeInMillis(45997848000000L); //August 13th, 3427, 12 PM\r\n\r\n\t\tgameWorld.language = language;\r\n\t\tgameWorld.labels = grm.labels;\r\n\t\t\r\n\t\tgameWorld.research.clear();\r\n\t\tgameWorld.research.putAll(ResearchTech.parse(\"/hu/openig/res/tech.xml\", grm));\r\n\t\t\r\n\t\tgameWorld.races.clear();\r\n\t\tgameWorld.races.addAll(GameRace.parse(\"/hu/openig/res/races.xml\"));\r\n\t\t\r\n\t\tgameWorld.buildingPrototypesMap.clear();\r\n\t\tgameWorld.buildingPrototypesMap.putAll(GameBuildingPrototype.parse(\"/hu/openig/res/buildings.xml\", grm));\r\n\t\tgameWorld.buildingPrototypes.clear();\r\n\t\tgameWorld.buildingPrototypes.addAll(gameWorld.buildingPrototypesMap.values());\r\n\t\t\r\n\t\tgameWorld.assignBuildingToResearch();\r\n\t\t\r\n\t\tgameWorld.players.clear();\r\n\t\tfor (int i = 0; i < gameWorld.races.size(); i++) {\r\n\t\t\t// create the single player\r\n\t\t\tGamePlayer player = new GamePlayer();\r\n\t\t\tplayer.playerType = i == 0 ? PlayerType.LOCAL_HUMAN : PlayerType.LOCAL_AI;\r\n\t\t\tplayer.race = gameWorld.getRace(i + 1);\r\n\t\t\tplayer.money = 32000;\r\n\t\t\tplayer.name = gameWorld.getLabel(\"EmpireNames.\" + player.race.id);\r\n\t\t\tplayer.fleetIcon = i;\r\n\t\t\tgameWorld.players.add(player);\r\n\t\t\tif (i == 0) {\r\n\t\t\t\tgameWorld.player = player;\r\n\t\t\t}\r\n\t\t}\r\n\t\tgameWorld.level = 6;\r\n\t\tgameWorld.assignTechnologyToPlayers();\r\n\t\t\r\n\t\tgameWorld.planets.clear();\r\n\t\tgameWorld.planets.addAll(GamePlanet.parse(\"/hu/openig/res/planets.xml\", new GamePlanetLookup() {\r\n\t\t\t@Override\r\n\t\t\tpublic GameBuildingPrototype getBuildingPrototype(String buildingId) {\r\n\t\t\t\treturn gameWorld.getBuildingPrototype(buildingId);\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic GamePlayer getPlayerForRace(GameRace race) {\r\n\t\t\t\treturn gameWorld.getPlayerForRace(race);\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic GameRace getRace(int index) {\r\n\t\t\t\treturn gameWorld.getRace(index);\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic GameRace getRace(String id) {\r\n\t\t\t\treturn gameWorld.getRace(id);\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic Map<Integer, List<BufferedImage>> getRotations(\r\n\t\t\t\t\tString planetString) {\r\n\t\t\t\treturn grm.getRotations(planetString);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}));\r\n\t\t// initialize local player\r\n\t\t\r\n\t\t// create fleets for all owned planets\r\n\t\tint i = 1;\r\n\t\tfor (GamePlanet p : gameWorld.planets) {\r\n\t\t\tif (p.owner != null) {\r\n\t\t\t\tGameFleet f = new GameFleet();\r\n\t\t\t\tf.name = p.owner.race.id + \" \" + i + \" fleet over \" + p.name;\r\n\t\t\t\tf.owner = p.owner;\r\n\t\t\t\tf.x = p.x;\r\n\t\t\t\tf.y = p.y;\r\n\t\t\t\tgameWorld.fleets.add(f);\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t\t\r\n\t\tgameWorld.setPlanetOwnerships();\r\n\t\tgameWorld.setFleetOwnerships();\r\n\t\tgameWorld.allocateResources();\r\n\t\tstarmapRenderer.scrollToLogical(gameWorld.player.ownPlanets.iterator().next().getPoint());\r\n\t\tachievementRenderer.enqueueAchievement(\"Welcome to Open Imperium Galactica\");\r\n\t\tachievementRenderer.enqueueAchievement(\"Good luck\");\r\n\t\t\r\n//\t\tfor (GamePlanet p : gameWorld.planets) {\r\n//\t\t\tint rc = 0;\r\n//\t\t\tSet<GameBuilding> gb = p.buildingKinds.get(\"Science\");\r\n//\t\t\tif (gb != null && gb.size() > 1) {\r\n//\t\t\t\tSystem.out.printf(p.name);\r\n//\t\t\t}\r\n//\t\t}\r\n\t}", "title": "" }, { "docid": "d20e0f14ae32f0d27f8731c3b01676d6", "score": "0.7253851", "text": "public void createGame() throws IOException {\n generatePlayers();\n phase = \"DAY\";\n updateClients();\n voted = new Player[players.length];\n server.sendGameObject(new Datapacket(2, null, null, new Data(\"voteMayor\", \"Couple\"), null));\n\n //cupid\n //server.sendGameObject(new Datapacket(2, null, null, new Data(this.couple), null));\n }", "title": "" }, { "docid": "fde86f8318c17f7140df4201c4783407", "score": "0.7249107", "text": "Game createGame(String gameName, List<Object> settings) {\n if (gameName.equals(SlidingTileGame.GAMENAME))\n return new SlidingTileGame(settings);\n else if (gameName.equals(Game2048.GAMENAME)) {\n return new Game2048(settings);\n } else if (gameName.equals(MineSweeperGame.GAMENAME)) {\n return new MineSweeperGame(settings);\n }\n return null;\n }", "title": "" }, { "docid": "b559ff6b546857fc60a07b509d63184a", "score": "0.72476786", "text": "public void setupNewGame()\n\t{\n\t}", "title": "" }, { "docid": "22812b3fb850f1e5bd80dca11ddffd6c", "score": "0.7242131", "text": "public void newGame() {\r\n\t\tplayerTurn = false; // before the ships are placed it's not the player's\r\n\t\t// turn\r\n\t\tgameOver = false;\r\n\t\twinPlayer = false;\r\n\t\tplayerLastShot = LastShot.MISS;\r\n\t\taiLastShot = LastShot.MISS;\r\n\t\tplayer.placeShips();\r\n\t\ttry {Thread.sleep(20);} catch (InterruptedException e) {}\r\n\t\tai.placeShips();\r\n\t\ttry {Thread.sleep(20);} catch (InterruptedException e) {}\r\n\t\t// This gives the GUI enough time to update\r\n\t}", "title": "" }, { "docid": "0a2d20ea0fe615ae8ef8d269ec9294a6", "score": "0.72175515", "text": "@Override\n\tpublic void newGame() {\n\t}", "title": "" }, { "docid": "83151ad8d571738fc5ca2725dc563d7a", "score": "0.71997035", "text": "@Override\n\tpublic Game createGame(String name, boolean randomTiles,\n\t\t\tboolean randomNumbers, boolean randomPorts) \n\t{\n\t\tshared.model.Fascade new_game_facade = new Fascade();\n\t\ttry\n\t\t{\n\t\t\tnew_game_facade.buildNewGame(name, randomTiles, randomNumbers, randomPorts);\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.err.print(\"Game Creation Exception \" + e.getMessage() + \"\\n\");\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tthis.games.add(new_game_facade);\n\t\tthis.commands.put(new_game_facade.getGameID(), new ArrayList<Command>());\n\t\treturn null;\n\t}", "title": "" }, { "docid": "29f1fbab7c24a7278a306795812d5b35", "score": "0.7188235", "text": "public Game createGame(Player p){\n\t\tGame game = new Game();\n\t\t\n\t\t// on passe directement le joueur créateur en tant que joueur 1\n\t\tgame.setPlayer1(p); \n\t\t\n\t\t// Optionnal : on instancie le numéro de tour à 0\n\t\tgame.setOnGoingMove(0); \n\t\t\n\t\t// on attribue des nouvelles grilles aux joueurs. Utilisation d'une factory\n\t\tgame.setGridPlayer1(GridFactory.getGridFactory().createGrid());\n\n\t\tgame.setGridPlayer2(GridFactory.getGridFactory().createGrid());\n\n\t\t// le joueur qui crée la partie commencera à jouer.\n\t\tgame.setCurrentPlayer(p); \n\t\t\n\t\t// on passe la partie en tant que partie en cours pour le joueur qui crée la partie\n\t\tp.setOnGoingGame(game); \n\t\t// puis on ajoute cette partie à la liste des parties du joueur\n\t\tp.getGames().add(game); \n\t\t\n\t\t// enregistre dans la liste totale des parties\n\t\tGameManager.getGames().add(game); \n\t\treturn game;\n\t}", "title": "" }, { "docid": "45e275de2767e3f34c5fb36a1b6e8dc1", "score": "0.71831787", "text": "private void newGameAction() {\n model.createBoard();\n displayBoard();\n }", "title": "" }, { "docid": "7b733ab85df5985bcbae0e0fd88919ff", "score": "0.7171607", "text": "public void newGame() {\n final ArrayList<String> fullDeck = new ArrayList<>();\n final String[] suitList = {\"clubs\", \"diamonds\", \"hearts\", \"spades\"};\n for (int deckNum = 0; deckNum < 3; deckNum++)\n for (final String suit : suitList)\n for (int cardNum = 1; cardNum <= 13; cardNum++)\n fullDeck.add(suit + cardNum);\n final Random random = new Random();\n random.setSeed(random.nextLong());\n timeInSeconds = 0;\n activity.updateTime();\n moveCount = 0;\n activity.updateMoveCount();\n for (int h = 0; h < 13; h++)\n autoplayLaneIndexLocked[h] = false;\n moves = new Stack<>();\n activity.invalidateOptionsMenu();\n Collections.shuffle(fullDeck, random);\n int currentIndex = 0;\n stock = new Stack<>();\n for (int stockIndex = 0; stockIndex < 65; stockIndex++)\n stock.push(fullDeck.get(currentIndex++));\n activity.updateStockUI();\n waste = new LinkedList<>();\n activity.updateWasteUI();\n foundation = new String[12];\n for (int foundationIndex = 0; foundationIndex < 12; foundationIndex++)\n activity.updateFoundationUI(foundationIndex);\n lane = new LaneData[13];\n for (int laneIndex = 0; laneIndex < 13; laneIndex++) {\n lane[laneIndex] = new LaneData();\n for (int i = 0; i < laneIndex; i++)\n lane[laneIndex].getStack().addLast(fullDeck.get(currentIndex++));\n lane[laneIndex].getCascade().add(fullDeck.get(currentIndex++));\n final Lane laneLayout = activity.getLane(laneIndex);\n laneLayout.setStackSize(lane[laneIndex].getStack().size());\n laneLayout.addCascade(lane[laneIndex].getCascade());\n }\n }", "title": "" }, { "docid": "f5a3447792782414f0d2900e45e141c7", "score": "0.7118056", "text": "public void newGame()\n {\n try\n {\n out.writeByte ('N');\n out.flush();\n }\n catch (IOException exc)\n {\n error (exc);\n }\n }", "title": "" }, { "docid": "989a47455130c83e6b6433d801e16ff2", "score": "0.7117796", "text": "private static void startGame() {\n\t\tGame game = new Game();\r\n\t}", "title": "" }, { "docid": "0b935fcdbe5fcd1df347878ec50c5c58", "score": "0.7098604", "text": "public void startNewGame() {\r\n\t\tstartNewGame(null);\r\n\t}", "title": "" }, { "docid": "fa8e1583320c46cc6c82bafee45e6c8a", "score": "0.70852935", "text": "private void startNewGame() {\n boolean isTiebreaker = player1Score == MAX_WINNING_SCORE - 1 && player2Score == MAX_WINNING_SCORE - 1;\n game = new Game(player1, player2, isTiebreaker);\n }", "title": "" }, { "docid": "8f3b4cad9535554a95f81dac37aa18a4", "score": "0.70555604", "text": "public void newGame() {\n\n try {\n out.writeByte('N');\n out.flush();\n } catch (IOException exc) {\n displayError(exc);\n }\n }", "title": "" }, { "docid": "40853f9cf1707ad72aa065bee0412503", "score": "0.70519024", "text": "private void NewGame()\n\t{\n\t\n\t\tGridMines();\n\t\tEndShowMines();\n\t\t\n\t\tminesleft = Gridmines;\n\t\tupdateMineCountDisplay();\n\t\tcheckFail = false;\n\t\n\t\tsectime = 0;\n\t\tpopDialog(\"Click on smiley to reset\", 3000, true, false);\n\t}", "title": "" }, { "docid": "b84325b6d45c1b0efd5d2311d5bf067b", "score": "0.70487195", "text": "@Override\n public void newGame(){\n gameController.newGame();\n changeState(new InGameState());\n }", "title": "" }, { "docid": "013d5343770835eff47e0e4a76cf2a3d", "score": "0.7044306", "text": "private void startNewgame() {\n\t\t//initInteristitialAds();\n\t\tempty_view.setVisibility(View.GONE);\n\t\t//isHintTaken = SettingsPreferences.getHintEnableDisable(mContext);\n\t\tmovesCount = 0;\n\t\tupdateMovesText();\n\t\tisPaused = false;\n\t\tupdatePlayPauseStatus();\n\t\tupdateUndoStatus();\n\t\tint blankLoc = SettingsPreferences.getEmptyLocation(mContext);\n\t\tmTime = 0;\n\t\tmTimerView.setBase(SystemClock.elapsedRealtime() - mTime);\n\t\tmTileView.setPhotoUrl(mPhotosUrlList.get(mCurrentPosition));\n\t\tmTileView.newGame(null, blankLoc, mTimerView);\n\t\tmTimerView.start();\n\t}", "title": "" }, { "docid": "30f5c01e2a70a9fbb7ff3f8e5fbdcdd7", "score": "0.7040801", "text": "boolean createGame(String game, String name, String pass) throws RemoteException;", "title": "" }, { "docid": "a5f3a46aaa27f183af66a62858f955bf", "score": "0.70289904", "text": "private void createGame(){\r\n this.snake = new Snake(WIDTH / 2, HEIGHT / 2);\r\n // this.apple = new Apple(5, 5);\r\n createNewApple();\r\n isGameStopped = false;\r\n\r\n drawScene();\r\n \r\n // Apple apple = new Apple(7, 7);\r\n // apple.draw(this);\r\n\r\n this.turnDelay = 300;\r\n setTurnTimer(turnDelay);\r\n \r\n score = 0;\r\n setScore(score);\r\n }", "title": "" }, { "docid": "3f7cde1b1a41f3545b853791ec9b1413", "score": "0.70265985", "text": "public void startNewGame(){\n game = new EngineBurn(getResources(), getCurrentCharacter());\n gameOverCount = 0;\n }", "title": "" }, { "docid": "7f083a08a04034068e01b5b8290abebb", "score": "0.7026169", "text": "static void startNewGame() {\n\t\tgameWindow = new GameWindow(\"Obey!\");\n\t\tgameWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tgame();\n\t}", "title": "" }, { "docid": "197dd127c670c14b15555831c52fa04d", "score": "0.7018423", "text": "private void createGameBtnActionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\n\t\ttry {\n\t\t\tString newName = textField.getText();\n\t\t\tBlock223Controller.createGame(newName);\n\t\t\t// added this after long rant abt updateGame diff name w/ alrdy existing game\n\t\t\t// create game in controller used to call setCurrentGame on application class to set current game var to the game we just created so the test wld fail\n\t\t\tBlock223Controller.selectGame(newName);\n\t\t}\n\t\tcatch(InvalidInputException e) {\n\t\t\terrorMessage.setText(e.getMessage());\n\t\t\treturn;\n\t\t}\n\t\tframe.dispose();\n\t\tnew GameSettingPage();\n\t\t//new Block223Page().setVisible(true);\n\t}", "title": "" }, { "docid": "f5faaa505c547627bf6c2f9c41281c94", "score": "0.70001644", "text": "private void newGame() {\n\t\t// If a game is already in process, prompt the user to see if they want\n\t\t// to end it and begin anew\n\t\tif (!isGameOver) {\n\t\t\tString message = \"End current game?\";\n\t\t\tint choice = JOptionPane.showConfirmDialog(this, message, \"New Game\", JOptionPane.YES_NO_CANCEL_OPTION);\n\t\t\tif (choice != JOptionPane.YES_OPTION)\n\t\t\t\treturn;\n\t\t}\n\n\t\t// Prompt the user for how many people will play\n\t\tint numPlayers = 0;\n\t\twhile (numPlayers < 2 || numPlayers > MAX_NUM_PLAYERS) {\n\t\t\ttry {\n\t\t\t\tString message = \"How Many Will Play (2-\" + MAX_NUM_PLAYERS\t+ \")?\";\n\t\t\t\tString result = JOptionPane.showInputDialog(this, message, \"New Game\", JOptionPane.QUESTION_MESSAGE);\n\t\t\t\tif (result == null)\n\t\t\t\t\treturn;\n\t\t\t\tnumPlayers = Integer.parseInt(result);\n\t\t\t} \n\t\t\tcatch (NumberFormatException ex) {}\n\t\t}\n\n\t\t// Lets the user define the players for the game\n\t\tLinkedList<PlayerSocket> connectedPlayerSockets = new LinkedList<PlayerSocket>();\n\t\tfor (PlayerSocket playerSocket : playerSockets)\n\t\t\tif (!playerSocket.isCleanlyClosed())\n\t\t\t\tconnectedPlayerSockets.add(playerSocket);\n\t\tNewGameDialog playerInput = new NewGameDialog(this, numPlayers,\tdefaultPlayers, connectedPlayerSockets);\n\t\tplayerInput.setVisible(true);\n\t\tif (playerInput.getPlayers() == null) {\n\t\t\tnewGame();\n\t\t\treturn;\n\t\t}\n\n\t\tplayers = playerInput.getPlayers();\n\t\tcontrolledPlayer = players.getFirst();\n\t\tLinkedList<PlayerSocket> oldPlayerSockets = playerSockets;\n\t\tplayerSockets = playerInput.getPlayerSockets();\n\n\t\tisGameOver = false;\n\t\t\n\t\tString[] playerNames = new String[players.size()];\n\t\tfor (int playerIdx = 0; playerIdx < players.size(); playerIdx++)\n\t\t\tplayerNames[playerIdx] = players.get(playerIdx).getName();\n\t\tinitializeGame(playerNames);\n\t\t\n\t\tfor (final PlayerSocket playerSocket : playerSockets) {\n\t\t\tif (oldPlayerSockets.contains(playerSocket))\n\t\t\t\toldPlayerSockets.remove(playerSocket);\n\t\t\telse\n\t\t\t\tstartPlayerSocketListener(playerSocket);\n\t\t\tplayerSocket.sendActionMessage(new NewGameAction().createMessage(playerNames));\n\t\t}\n\t\tfor (PlayerSocket playerSocket : oldPlayerSockets)\n\t\t\tplayerSocket.close();\n\n\t\tboneyard = new Boneyard(players);\n\t\tbeginRound();\n\t\t\n\t\tplayers = playerInput.getPlayers();\n\t\tfor (int playerIdx = 0; playerIdx < players.size(); playerIdx++) {\n\t\t\tPlayer currentPlayer = players.get(playerIdx);\n\n\t\t\tif (currentPlayer.getPlayerType() == PlayerType.HOST)\n\t\t\t\tcontrolledPlayer = currentPlayer;\n\n\t\t\tif (playerIdx < defaultPlayers.size())\n\t\t\t\tdefaultPlayers.set(playerIdx, currentPlayer);\n\t\t\telse\n\t\t\t\tdefaultPlayers.add(currentPlayer);\n\t\t}\n\t}", "title": "" }, { "docid": "5c013ee54632ac84fca790aa50186829", "score": "0.69992054", "text": "public Game()\n {\n \tcreatePlayer(\"BinSab\");\n createRooms();\n createCourses();\n parser = new Parser();\n }", "title": "" }, { "docid": "791e04796b741ef57b5ca85f4c8e7aed", "score": "0.6994614", "text": "private void newGame()\n {\n // Set up the board for a new game.\n frame.getContentPane().remove(reversiBoard.getBoardPanel());\n reversiBoard = new Board();\n frame.getContentPane().add(reversiBoard.getBoardPanel(), BorderLayout.CENTER);\n\n // Set up the player panel and status bar for the new game.\n getStatusLabel().setText(who() + \", it is your turn to play.\");\n\n getBlackPlayerScore().setText(\"Total: \" + 2);\n getWhitePlayerScore().setText(\"Total: \" + 2);\n // Show available moves.\n reversiBoard.displayValidMoves(reversiBoard.getBlackPlayer());\n\n newGame = true;\n playing = true;\n winner = \"\";\n startNewGame.setVisible(false);\n play.setEnabled(true);\n // Pack the contents in order.\n frame.pack();\n frame.repaint();\n }", "title": "" }, { "docid": "0815741fbb776fc2475c404a442b7519", "score": "0.699384", "text": "private void createGameBoard() {\n gameBoard = new Board();\n }", "title": "" }, { "docid": "91c4a6bf4a582b1dfd88de224f01fd13", "score": "0.69740516", "text": "public CoreInterface createGame(String gameName, String[] teamNames) throws XAmbienttalk;", "title": "" }, { "docid": "19973834afba5a0dc964494323b47aad", "score": "0.697348", "text": "private static void createGame(Session session) {\n if (games.values().stream().filter(game\n -> game.getPlayers().getKey() == session).count() == 0) {\n gameID++;\n games.put(gameID, new Game(gameID, session));\n updateGameList();\n }\n }", "title": "" }, { "docid": "ee7a9daf89712772879fcf4cf1523fce", "score": "0.6970568", "text": "private void runNewGame()\n {\n if (!mGameInAction) // can only be done if no game is active\n {\n mGUI.getTimePanel().stop();\n mGUI.getTimePanel().reset();\n clearBoard(); // just to be sure nothing remains\n Game game = mLoader.loadGame(\"newgames\"); // set the folder from where new game is retrieved\n if (game != null)\n {\n mGUI.getBoard().setButtons(game.getButtons()); // set the buttons\n startGame();\n mLoader.nullGame();\n }\n }\n }", "title": "" }, { "docid": "2247266bb26025c1b275ce5deea45447", "score": "0.6969056", "text": "public static Game createNewGame(String playerName){\n Player player = new Player(playerName);\n Game game = Game.builder()\n .thePlayer(player)\n .acresOwned(1000)\n .currentPopulation(1000)\n .wheatInStorage(5000)\n .theMap(MapControl.createMap())\n .theStorehouse(StorehouseControl.createStorehouse())\n .build();\n\n return game;\n }", "title": "" }, { "docid": "63f31645d38ad0342a2321d5789d3874", "score": "0.6961472", "text": "public void new_game()\n\t{\n\t\t\n\t\tboard = new Board(boardSize, difficulty);\n\t\twin = false;\n\t\tlose = false;\n\t\t\n\t\t// determine if there are any zero tiles on the board\n\t\tboolean hasZero = false;\n\t\tfor(int y = 0; y < boardSize; y++)\n\t\t{\n\t\t\tfor(int x = 0; x < boardSize; x++)\n\t\t\t{\n\t\t\t\thasZero = hasZero || board.get_tile(x, y).get_value() == 0;\n\t\t\t}\n\t\t}\t\n\t\t\n\t\t// place hint marker on a random zero tile\n\t\tif(hasZero)\n\t\t{\n\t\t\tint randX;\n\t\t\tint randY;\n\t\t\tTile randTile;\n\t\t\tdo\n\t\t\t{\n\t\t\t\trandX = (int) (Math.random() * boardSize);\n\t\t\t\trandY = (int) (Math.random() * boardSize);\n\t\t\t\trandTile = board.get_tile(randX, randY); \n\t\t\t}\n\t\t\twhile(randTile.get_value() != 0);\n\t\t\thintTile = new int[] {randX, randY};\n\t\t}\n\t}", "title": "" }, { "docid": "b33289387ee18f41987f5778e7121e8b", "score": "0.69407153", "text": "public void newGame()\n {\n for (int i = 0; i < getNumberPoints(); ++i)\n setColor(getPoint(i), GoColor.EMPTY);\n m_stack.clear(); \n m_capturedB = 0;\n m_capturedW = 0;\n m_toMove = GoColor.BLACK;\n m_koPoint = null;\n }", "title": "" }, { "docid": "0d8b2e541941e24fb8d8ccb3e73817db", "score": "0.69298166", "text": "public void newGame() {\n this.data = new GameBackUpData();\n }", "title": "" }, { "docid": "d0295f6c5e738a76ffe87db2768ce09b", "score": "0.6921446", "text": "public void newGame() {\n\n\n snakeLength = 1;\n snakeXs[0] = NUM_BLOCKS_WIDE / 2;\n snakeYs[0] = numBlocksHigh / 2;\n\n // Get Bob ready for dinner\n spawnBob();\n\n // Reset the score\n score = 0;\n\n // Setup nextFrameTime so an update is triggered\n nextFrameTime = System.currentTimeMillis();\n MainActivity.mp.start();\n\n //\n MainActivity.mp.setLooping(true);\n\n\n }", "title": "" }, { "docid": "581094ee875a9f8db86b3a92a492e41d", "score": "0.69106144", "text": "public void newGame(Difficulty diff, int time) {\n\t\tgame = new Game(diff, time);\n\t\tactive=true;\n\t}", "title": "" }, { "docid": "4f409baef79f014fb54c4a4ae7d41db9", "score": "0.6909176", "text": "void newGame(String username);", "title": "" }, { "docid": "2ef0fe87a38bfadb64fef9c1879c14ca", "score": "0.6905571", "text": "public Game() {}", "title": "" }, { "docid": "c35c6f2cef3128e8f3a9c15bcbe3afd4", "score": "0.6902604", "text": "private void newGame(){\r\n\t\tnewBoard();\r\n\t\tnewPieceQueue();\r\n\t\tscore = 0;\r\n\t\ttimer.start();\r\n\t}", "title": "" }, { "docid": "7cad5b0845df228f42ea8f8e4dd9029a", "score": "0.6883749", "text": "public Game() \r\n {\r\n createRooms();\r\n parser = new Parser();\r\n }", "title": "" }, { "docid": "1e5d7d12fc286b36da59bcc1a2e752a5", "score": "0.6861082", "text": "public Game() \n {\n createRooms();\n parser = new Parser();\n }", "title": "" }, { "docid": "2de2b6155f5f5ac10650d02cb1313d1c", "score": "0.68601424", "text": "private void newGame(){\n\t\tkingIsInCheck = false;\n\t\t_PlayersTurn = Player.white;\n\t\twhitePieces.clear();\n\t\tblackPieces.clear();\n\t\tgameUI.board.setupNewGame();\n\t\t for (ChessPiece piece : getWhitePieces()) {\n\t\t\t piece.generateMoves();\n\t }\n\t\t for (ChessPiece piece : getBlackPieces()) {\n\t\t\t piece.generateMoves();\n\t }\n\t}", "title": "" }, { "docid": "7ed3f61733b8542c943081b937d875bf", "score": "0.6855134", "text": "public void makeGame(){\n if(!gameNameInput.getText().toString().matches(\"\") && !dateInput.getText().toString().matches(\"\") && !startTimeInput.getText().toString().matches(\"\") && !durationInput.getText().toString().matches(\"\")){\n name = gameNameInput.getText().toString();\n date = dateInput.getText().toString().replace('/','-');\n time = startTimeInput.getText().toString();\n duration = Integer.parseInt(durationInput.getText().toString());\n\n\n String selectedGameType = gameTypeSpinner.getSelectedItem().toString();\n String selectedPlace = placeSpinner.getSelectedItem().toString();\n String selectedPrimary = primarySpinner.getSelectedItem().toString();\n String selectedSecondary = secondarySpinner.getSelectedItem().toString();\n\n gameTypeId = gameTypeMap.get(selectedGameType);\n placeId = placesMap.get(selectedPlace);\n primaryCategoryId = primaryMap.get(selectedPrimary);\n\n secondaryCategoryId = secondaryMap.get(selectedSecondary);\n\n\n gameObject = new Game(id, name, date, time, duration, gameTypeId, placeId, primaryCategoryId, secondaryCategoryId, null);\n\n CREATE_FLAG = true;\n\n }else{\n Snackbar snackbar = Snackbar\n .make(parent, \"Did you remember to fill out all the fields?\", Snackbar.LENGTH_LONG);\n snackbar.show();\n }\n\n }", "title": "" }, { "docid": "d6c42d77784f5897e7ef61e6f15208bf", "score": "0.68310165", "text": "public void newGame() {\n faceIcon.setIcon( R.drawable.ic_face_alive );\n pauseIcon.setIcon( R.drawable.ic_game_pause );\n finalUpdate = false;\n game.reset();\n if( flagMode ) {\n setFABColor( 0xff00e676, 0xffff5252 );\n modeButton.setImageResource( R.drawable.ic_mode_reveal );\n flagMode = false;\n }\n mode.started();\n updateGameState();\n toolbar.invalidate();\n gameCanvas.invalidate();\n }", "title": "" }, { "docid": "5aa3fe9d8083277874ce49323302e585", "score": "0.6826221", "text": "public Game newGame(String player) throws IllegalArgumentException {\n final Game game = new Game();\n game.setPlayer(playersRepository.getByLogin(player)\n .orElseThrow(() -> new IllegalArgumentException(\"This player doesn't exists\")));\n game.setGuessedNumber(new Random(System.currentTimeMillis()).ints(0, 9)\n .distinct()\n .limit(4)\n .boxed()\n .map(String::valueOf)\n .collect(Collectors.joining(\"\")));\n return gamesRepository.saveAndFlush(game);\n }", "title": "" }, { "docid": "22ec8aa73aeedc7c609e45e3df953a96", "score": "0.6825308", "text": "public Game() \n {\n player = new Player();\n createRooms();\n parser = new Parser();\n }", "title": "" }, { "docid": "39006ded6e70b669f895963cc9842898", "score": "0.6809896", "text": "@Override\n\tpublic void create() {\n\n\t\tak = new Texture(\"ak47.png\");\n\t\takSprite = new Sprite(ak);\n\n\t\t// network related variables initialized\n\t\tshots = new Array<Shot>();\n\t\tplayers = new HashMap<String, Player>();\n\t\tplayer = new Player();\n\t\tplayers.put(player.id, player);\n\t\ttry {\n\t\t\tnetwork = new Network(args.contains(\"server\", false), player, players, shots);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(1);\n\t\t}\n\n\t\tplayerTexture = new Texture(\"bettersquare.png\");\n\t\tregions = TextureRegion.split(playerTexture, 18, 26)[0];\n\t\tstand = new Animation<TextureRegion>(0, regions[0]);\n\n\t\tjump = new Animation<TextureRegion>(0, regions[1]);\n\t\twalk = new Animation<TextureRegion>(0.15f, regions[2], regions[3], regions[4]);\n\t\twalk.setPlayMode(Animation.PlayMode.LOOP_PINGPONG);\n\n\t\t// level = new Level(\"level1.tmx\");\n\t\t// level = new Level(\"small.tmx\");\n\t\tlevel = new Level(\"kenney.tmx\");\n\n\t\t// create an orthographic camera\n\t\tcamera = new OrthographicCamera();\n\t\tcamera.setToOrtho(false, 1920 / 25f, 1080 / 25f);\n\t\tcamera.update();\n\n\t\tfont = new BitmapFont();\n\t\tbatch = new SpriteBatch();\n\n\t\trayCastHelper = new RayCastHelper();\n\t\tshapeRenderer = new ShapeRenderer();\n\t\tdebugTiles = new Array<Rectangle>();\n\t\tdebugHelper = new DebugHelper(shapeRenderer, camera, debugTiles, player, level);\n\n\t\t// Cursor customCursor = Gdx.graphics.newCursor(new\n\t\t// Pixmap(Gdx.files.internal(\"cursor.png\")), 0, 0);\n\t\t// Gdx.graphics.setCursor(customCursor);\n\t}", "title": "" }, { "docid": "2c353533d1e5808a3291dbea9f327f29", "score": "0.6809169", "text": "public void newGame() {\n\t\tblack = 0x0000000810000000L;\n\t\twhite = 0x0000001008000000L;\n\t}", "title": "" }, { "docid": "1a99de1343551ed1df29d972d3aeddbc", "score": "0.6801673", "text": "public Game addGame(){\n\t\tGame game = new Game();\n\t\tgames.put(game.getId(),game);\n\t\treturn game;\n\t}", "title": "" }, { "docid": "3a6bc750925e776401ed413d3ee6ddd6", "score": "0.67721504", "text": "private GameInfoDTO startNewGame() throws CustomException {\n log.info(\"Starting new game...\");\n return dragonsOfMugloarRestClient.startGame();\n }", "title": "" }, { "docid": "1bdf4b30d865f1549bba238e074a43f7", "score": "0.6757386", "text": "@Override\n\tpublic void create() {\n\t\tthis.setScreen(new SnakeGame(this));\n\n\t}", "title": "" }, { "docid": "a842fc4ef5f62637d66c2f70f26df6ab", "score": "0.67425036", "text": "void gameCreated(UserGame game);", "title": "" }, { "docid": "ebd4010d5312f5db96b137b50450a35c", "score": "0.6740533", "text": "public void createGame(View view){\n\t\tIntent intent = new Intent(this, CreateGameActivity.class);\n\t\tstartActivityForResult(intent, CREATE_GAME_REQUEST);\n }", "title": "" }, { "docid": "ff04abdc480b9c83d5f36daed708e9fa", "score": "0.67402136", "text": "public PlayGame() {\n createDestinationDeck();\n }", "title": "" }, { "docid": "8db41d13bf76faafa05feca10f9239b0", "score": "0.673246", "text": "private void startNewGame() {\n // todo server\n// Game game = new Game(currentUser, null, 1);\n// Platform.runLater(()-> {\n// MainGameMenu controller = loadGameScreen();\n// controller.setGame(game);\n// controller.setMyUser(currentUser);\n// game.runGame();\n// controller.setMyPlayer(game.getFirstPlayer());\n// Game.setFirstPlayerGraphicsController(controller);\n// Game.setSecondPlayerGraphicsController(null);\n// stage.hide();\n// controller.refresh();\n// });\n }", "title": "" }, { "docid": "44443419b0c2b8ab6ba0b423f605cb89", "score": "0.6729579", "text": "public void newGame()\n {\n dissapear = false;\n\n bottomborder.clear();\n topborder.clear();\n\n missiles.clear();\n smoke.clear();\n\n minBorderHeight = 5;\n maxBorderHeight=30;\n\n player.resetDY();\n\n player.setY(HEIGHT/2);\n\n player.resetScore();\n //create initial borders\n\n //initial top border\n for(int i=0;i*20<WIDTH+40;i++)\n {\n //first top border create\n if(i==0)\n {\n topborder.add(new TopBorder(BitmapFactory.decodeResource(getResources(),R.drawable.brick\n ),i*20,0,10));\n }\n else\n {\n topborder.add(new TopBorder(BitmapFactory.decodeResource(getResources(),R.drawable.brick\n ),i*20,0,topborder.get(i-1).getHeight()+1));\n }\n }\n //initial bottom border\n for(int i = 0; i*20<WIDTH+40; i++)\n {\n //first border ever created\n if(i==0)\n {\n bottomborder.add(new BottomBorder(BitmapFactory.decodeResource(getResources(),R.drawable.brick)\n ,i*20,HEIGHT-minBorderHeight));\n }\n //adding borders until the initial screen is filed\n else\n {\n bottomborder.add(new BottomBorder(BitmapFactory.decodeResource(getResources(), R.drawable.brick),\n i*20,bottomborder.get(i - 1).getY()-1));\n }\n }\n\n newGameCreated = true;\n\n\n }", "title": "" }, { "docid": "bf605dd9d20b005f44e8e87f8a35a7de", "score": "0.67183745", "text": "public long createGame(String name, User creator, int winningPoints) {\r\n\t\tGame g = new Game(name, creator, null, null, winningPoints);\r\n\r\n\t\tgames.put(gameCount, g);\r\n\t\taddUserToGame(creator, gameCount);\r\n\t\treturn gameCount++;\r\n\t}", "title": "" }, { "docid": "9fc4112ac97917df0270c507fb8714d4", "score": "0.6713568", "text": "public Game createGame(int numberOfPlayers) throws InvalidInputException {\n\t\tTileO app = TileOApplication.getTileO();\n\t\tint numberOfGames = app.getGames().size();\n\t\tGame game = null;\n\t\tgame = new Game(Game.SpareConnectionPieces, app);\n\n\t\tSystem.out.println(game.getPlayers());\n\n\t\tif (numberOfPlayers < Game.minimumNumberOfPlayers() || numberOfPlayers > Game.maximumNumberOfPlayers()) {\n\t\t\tthrow new InvalidInputException(\"Invalid Number of Players\");\n\t\t}\n\n\t\tint j = (4 * numberOfGames) + 1;\n\t\tPlayer[] players = new Player[numberOfPlayers + 1];\n\t\tfor (int i = 1; i <= numberOfPlayers; i++) {\n\t\t\tplayers[i] = game.addPlayer(j);\n\t\t\tSystem.out.println(\"set\" + i);\n\t\t\tswitch (i) {\n\t\t\tcase 1:\n\t\t\t\tplayers[i].setColor(Player.Color.RED);\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tplayers[i].setColor(Player.Color.BLUE);\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tplayers[i].setColor(Player.Color.GREEN);\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tplayers[i].setColor(Player.Color.YELLOW);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tj++;\n\t\t}\n\t\tapp.setCurrentGame(game);\n\n\t\treturn game;\n\n\t}", "title": "" }, { "docid": "754db1f1abc1bd98dc5388b0f400f0db", "score": "0.6703171", "text": "private void newGame() \n {\n _turnField.clear(10);\n \n // If user clicked on \"New Game\" (against the computer), and the previous game\n // played was against a BlackBerry Messenger contact , then add back the \n // deleted difficulty selector field.\n if(_twoPlayerFlag)\n {\n hfm.add(_difficultyField);\n }\n \n for (int i=_TOP_LEFT; i<=_BOTTOM_RIGHT; ++i) \n {\n _squareFields[i].setSquare(_NONE);\n }\n \n _firstTurnFlag = true;\n _middleStartFlag = false;\n _gameOverFlag = false;\n _twoPlayerFlag = false;\n _yourMark = _X;\n _theirMark = _O;\n\n // Win lines going through each square.\n _winLineOccurrences = new int[][] \n {\n {0, 3, 6}, // Square 0 - top left\n {0, 4}, // Square 1 - top center\n {0, 5, 7}, // Square 2 - top right\n {1, 3}, // Square 3 - left\n {1, 4, 6, 7}, // Square 4 - center\n {1, 5}, // Square 5 - right\n {2, 3, 7}, // Square 6 - bottom left\n {2, 4}, // Square 7 - bottom center\n {2, 5, 6} // Square 8 - bottom right\n };\n\n _winLineCount = new int[] {0, 0, 0, 0, 0, 0, 0, 0};\n }", "title": "" }, { "docid": "9471ef35f1b6b2d99fe04bf2c22695d0", "score": "0.66833764", "text": "public String createGameCommand(\n\t\t\t\tshared.communication.toServer.games.CreateGameRequest params)\n\t{\n\t\ttry \n\t\t{\n\t\t\tthis.createGame(params.getName(), params.isRandomTiles(), params.isRandomNumbers(), params.isRandomPorts());\n shared.communication.fromServer.games.EmptyPlayer[] emptyPlayers =\n new shared.communication.fromServer.games.EmptyPlayer[0];\n NewGame newGame = new NewGame(params.getName(), ServerFacade.nextGameID++,\n emptyPlayers);\n return Serializer.getSINGLETON().serialize(newGame);\n\t\t} \n\t\tcatch (Exception e) \n\t\t{\n\t\t\tSystem.err.print(\"\\nERROR: FAILED TO CREATE GAME.\\n\" + e.getMessage() + \"\\n\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8e6bb7a36c9b932e0696608f3ec668aa", "score": "0.6672576", "text": "public void newGame() {\n reset();\n board.setCode();\n }", "title": "" }, { "docid": "16c13d8d05569157cae7499853f4c602", "score": "0.66611534", "text": "public String createRiskGame()\n {\n return availableGame.startGame();\n }", "title": "" }, { "docid": "be527cdfb84d3c360ce7645ac7bf7c20", "score": "0.66572994", "text": "private void setupGameAndGoToLobby() {\n int numberOfObjects = mGameObjectsField.getValue();\n int studyDuration = mGameDurationField.getValue();\n GameObject.Type type;\n switch (mTypeSelector.getCheckedRadioButtonId()) {\n case R.id.gameCreateTypeItems:\n type = GameObject.Type.ITEM;\n break;\n case R.id.gameCreateTypeUsLicensePlates:\n type = GameObject.Type.US_LICENSE_PLATE;\n break;\n default:\n type = GameObject.Type.ITEM;\n break;\n }\n\n Game.Config gameConfig = new Game.Config(numberOfObjects, studyDuration, type);\n setLoadingState(true);\n DataModel.getDataModel().createGame(gameConfig, new BaseDataSource.GetDataCallback<Game>() {\n @Override\n public void onDataLoaded(Game data) {\n setLoadingState(false);\n goToLobby();\n }\n\n @Override\n public void onDataError() {\n\n }\n });\n }", "title": "" }, { "docid": "cc9d1b914a7aaf3f961284057c1c27f5", "score": "0.6652806", "text": "public void newGame(int saveSlot, int difficultyChosen) {\n\t\t// DIFFICULTY_3 - START OF MODIFICATION - NP STUDIOS - BRUNO DAVIES\n\t\tmainGameScreen = new GameScreen(this,0, difficultyChosen, saveSlot);// Initialise new game\n\t\t// DIFFICULTY_3 - END OF MODIFICATION - NP STUDIOS - BRUNO DAVIES\n\t\tsetScreen(mainGameScreen);// Display new game\n\t}", "title": "" }, { "docid": "2d9d862bb035ce24fb227ed92b0f84d0", "score": "0.6650024", "text": "public void startNewGame(View view) {\n //Provera da li su sva polja popunjena i da li su korektno popunjena\n if (player1Name.getText().toString().trim().isEmpty()){\n Toast.makeText(this, \"Player 1 name required\", Toast.LENGTH_SHORT).show();\n return;\n }\n if (player2Name.getText().toString().trim().isEmpty()){\n Toast.makeText(this, \"Player 2 name required\", Toast.LENGTH_SHORT).show();\n return;\n }\n if (player1Counter == player2Counter){\n Toast.makeText(this, \"Need to choose different teams\", Toast.LENGTH_LONG).show();\n return;\n }\n\n //Postavljanje svih dobijenih podataka na mesta koja cemo koristiti dalje u programu\n AppConstants.getBitmapBank().setPlayer1Flag(AppConstants.getBitmapBank().getFlag(player1Counter));\n AppConstants.getBitmapBank().setPlayer2Flag(AppConstants.getBitmapBank().getFlag(player2Counter));\n AppConstants.getBitmapBank().setPlayer1FlagID(player1Counter);\n AppConstants.getBitmapBank().setPlayer2FlagID(player2Counter);\n\n GameStatus gameStatus = new GameStatus(player1Name.getText().toString(),\n player2Name.getText().toString(),\n AppConstants.getBitmapBank().getFiled(),\n AppConstants.getBitmapBank().getPlayer1Flag(),\n AppConstants.getBitmapBank().getPlayer2Flag(),\n isPlayer1Computer,\n isPlayer2Computer);\n\n AppConstants.getGameEngine().setGameStats(gameStatus);\n AppConstants.getGameEngine().initFiledAndPlayers(this);\n\n Intent intent = new Intent(this, GameActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "cca52ea383acf8f45520ef77d78daf50", "score": "0.6648079", "text": "public Game() { }", "title": "" }, { "docid": "3e777235e4074d26e8c9e7411d838820", "score": "0.6645211", "text": "public static void newGame(int mode) {\r\n\t\tnewMode = mode;\r\n\t\t// Is there a saved game file?\r\n\t\tif (MiniGame.isRestoreAvailable()) {\r\n\t\t\tMiniGame.restoreGame();\r\n\t\t} else {\r\n\t\t\tcleanGame();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "aa5ab44fb83504adb1f3ec80b0dc421b", "score": "0.66296375", "text": "public Game() {\n\t}", "title": "" }, { "docid": "3bdc2d0ea4d5bffcbe2a0ff6ce280361", "score": "0.6620036", "text": "public void initNewGame() {\n this.ball = null;\n this.paddle = new Paddle(xBounds / 2, yBounds - 15, 150, 10);\n this.gameObjectList = new ArrayList();\n this.gameObjectList.add(paddle);\n\n this.ballCount = 3;\n this.points = 0;\n this.ballSpeed = 2.2;\n this.newBallCountDownTime = 3000;\n\n this.gameObjectList.addAll(Utils.build16by8BrickArray(this.xBounds, this.yBounds, 2));\n\n this.phases = new boolean[]{false, false, false, false};\n this.gameActive = true;\n this.gameEnded = false;\n this.runTime = 0;\n }", "title": "" }, { "docid": "242fc8b56547c7d610a0ed47183a1754", "score": "0.6611744", "text": "private Game() {}", "title": "" }, { "docid": "5537b5505ce7036d2e394b0ae054f39e", "score": "0.6611449", "text": "@When(\"^I attempt to create the game$\")\n\tpublic void i_attempt_to_create_the_game() throws Throwable {\n\t\tspadeGame = spadeService.playGame(spadeGame);\n\t}", "title": "" }, { "docid": "c706e5b2a8a6ff7aa23dc76bfbd9552c", "score": "0.6604745", "text": "public Game() \n {\n parser = new Parser();\n player = new Player(\"Marco\", 50.3F);\n createRooms();\n inicio = System.currentTimeMillis();\n }", "title": "" }, { "docid": "59e5a1f6ccae6716ddfd08948badd63b", "score": "0.66042656", "text": "public void CreateGame(int numberofPlayer, String gameName, String name) throws IOException {\r\n\t\t\r\n\t\tboard = new Board();\r\n\t\tpeople.add(new HumanPlayer(name, Color.W));\r\n\t\tgames.put(gameName, numberofPlayer);\r\n\t\tout.write(\"Waiting...\");\r\n\t\tout.newLine();\r\n\t\tout.flush();\r\n\t}", "title": "" }, { "docid": "b7fcafefcd610834fc6f85fbc10debe0", "score": "0.6600406", "text": "Game createGame_helper(Lobby lobby) {\n Game newGame = new Game();\n\n List<User> userList = new ArrayList<>(lobby.getPlayerList());\n List<Bot> botList = new ArrayList<>(lobby.getBotList());\n List<String> clueList = new ArrayList<>();\n List<String> checkList = new ArrayList<>();\n List<Integer> voteList = new ArrayList<>();\n for (int a = 0; a < 5; a++) {\n voteList.add(0);\n }\n\n newGame.setBotList(botList);\n newGame.setPlayerList(userList);\n newGame.setToken(lobby.getLobbyToken());\n newGame.setCurrentRound(0);\n newGame.setVersion(1);\n newGame.setClueList(clueList);\n newGame.setVoteList(voteList);\n newGame.setCheckList(checkList);\n newGame.setGuessGiven(false);\n newGame.setGuesser(new Random().nextInt(userList.size()));\n newGame.setMysteryWords(WordFileHandler.getMysteryWords());\n\n return newGame;\n }", "title": "" }, { "docid": "4d120d2c79570f3a4804920c26040bd3", "score": "0.6598376", "text": "public void newgame() throws SlickException, FileNotFoundException {\n\t\tfor(i=0; i<10000; i++){\n\t\t\t\tBullet.bullets[i] = null;\n\t\t\t\tBullet.numBullets = 0;\n\t\t\t\tAlienBullet.AlienBullets[i] = null;\n\t\t\t\tAlienBullet.numAlienBullets = 0;\n\t\t\t\tAlien.aliens[i] = null;\n\t\t\t\tAlien.numAliens = 0;\n\t\t}\n\t\tint gunColor = 3000;\n\t\tint gunColor1 = 3000;\n\t\tcheckScore();\n\t\ttry{writeScore();} catch (Exception e){;}\n\t\treadScore();\n\t\tkills = 0;\n\t\tlevel = 1;\n\t\tgameOver = false;\n\t\tgameStart = false;\n\t\ttime = 0;\n\t\tmultiplier = 1;\n\t\ttsp=0;\n\t\ttsc=0;\n\t\ttsf=0;\n\t\ttss=0;\n\t\tscore=0;\n\t\tflashDelay = 0;\n\t\tflash = false;\n\t\tp1lives = 25;\n\t\tp2lives = 25;\n\t\tabstime=0;\n\t\tdamage1 = false;\n\t\tdamage2 = false;\n\t\tdamage1inc = 0;\n\t\tdamage2inc = 0;\n\t\tgameOver=false;\n\t\tgameStart = false;\n\t}", "title": "" }, { "docid": "155d38d3d7fa0760f7652a4c5ed3afc0", "score": "0.65948683", "text": "@POST\n @Produces(MediaType.APPLICATION_JSON)\n public GameDto createGame() throws BattletronException {\n Game game = gameService.createGame();\n GameDto gameDto = new GameDto(game);\n LOG.debug(\"Response: \" + gameDto);\n return gameDto;\n }", "title": "" }, { "docid": "427095997dea71054326f424f4daece2", "score": "0.6588976", "text": "public void createNewGameBoard(){//start createNewGameBoard method\n\t\tmovesRemaining = MAX_MOVES;\n\t\tsuper.createNewGameBoard();\n\t}", "title": "" }, { "docid": "b25853ff1590019439f8adfbc0f5d0fa", "score": "0.65839416", "text": "public void newGame(Game game , ChessboardMode gameMode) { \n this.resetFlags();\n this.gameMode = gameMode;\n this.game = game;\n this.game.setGameTextListener(gameTextListener);\n game.currPos().whiteMove = true;\n updateGUI();\n setPlayerNames(game);\n updateGameMode();\n }", "title": "" }, { "docid": "e1177b304cd620df6386844bbcd4c42d", "score": "0.65379864", "text": "@Override\n public void create() {\n am = Assets.load();\n batch = new SpriteBatch();\n\n // Setup the screen dispatcher to switch between screens\n // TODO: Create custom ScreenDispatcher for CardGame\n screenDispatcher = new ScreenDispatcherWarmup();\n\n // Create the screens\n Screen splashScreen = new SplashScreen(batch, screenDispatcher);\n Screen gameScreen = new GameScreen(batch, screenDispatcher, this, db, resolver);\n\n // Add the screens to the dispatcher\n\n screenDispatcher.addScreen(splashScreen);\n screenDispatcher.addScreen(gameScreen);\n\n /*\n screenDispatcher = new ScreenDispatcherWarmup();\n // loading screen to make sure assets are loaded\n Screen splashScreen = new SplashScreenWarmup(batch, screenDispatcher);\n Screen schoolScreen = new SchoolGameScreen(this, batch, screenDispatcher);\n Screen gameoverScreen = new GameOverScreen(this, batch, screenDispatcher);\n screenDispatcher.AddScreen(splashScreen);\n // Old GameScreen\n // screenDispatcher.AddScreen(gameScreen);\n screenDispatcher.AddScreen(schoolScreen);\n screenDispatcher.AddScreen(gameoverScreen);\n setScreen(splashScreen);\n */\n }", "title": "" }, { "docid": "5639a9901cd6e5b668165a255cadcce8", "score": "0.6523273", "text": "public void StartNewGame(String nameX, String nameY){\n playerX = new Player (nameX);\n playerY = new Player (nameY);\n board = new Board(playerX, playerY);\n\n }", "title": "" }, { "docid": "693f791795d0fff56d35d0107859ba41", "score": "0.65231323", "text": "public static ChutesAndLaddersGame createStartGame() {\n\t\treturn ChutesAndLaddersGame.makeStartGame(2, playerList);\n }", "title": "" }, { "docid": "e79f26de62ff5eb278c20cebfa700471", "score": "0.6519107", "text": "private void handleNewGameAction(ActionEvent actionEvent) {\n gameDialog.showDialog().ifPresent(options -> options.createStatus(random, events)\n .map(status1 -> status1.setAutoLock(autolock))\n .ifPresent(status1 -> {\n this.layoutRequired = true;\n if (simulator.isActive()) {\n simulator.stop().doOnSuccess(seed -> simulator.start(status1))\n .subscribe();\n } else {\n simulator.start(status1);\n }\n setPause(false);\n pauseMenu.setEnabled(true);\n pauseButton.setEnabled(true);\n dumpMenu.setEnabled(true);\n }));\n }", "title": "" }, { "docid": "634053d0c10da6962dcf605e04cea68f", "score": "0.6505433", "text": "Pawn createPawn();", "title": "" } ]
d54880d6f24c5782f7d8aa3c491415cb
When the app module version was created. .google.protobuf.Timestamp created_at = 8;
[ { "docid": "0f36a06fb2c9b52c450f5f59e13b5ed5", "score": "0.0", "text": "public Builder setCreatedAt(com.google.protobuf.Timestamp value) {\n if (createdAtBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n createdAt_ = value;\n onChanged();\n } else {\n createdAtBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" } ]
[ { "docid": "56825ad4f8c26a1e218e1e1db5dc205a", "score": "0.6911865", "text": "com.google.protobuf.Timestamp getCreated();", "title": "" }, { "docid": "88d1775d9fa1221a64ce2a7f3bb2a8f5", "score": "0.67791456", "text": "com.google.protobuf.Timestamp getCreatedAt();", "title": "" }, { "docid": "f48821b750aed3f320ca7b1cda0436bc", "score": "0.67473775", "text": "com.google.protobuf.Timestamp getLastFactoryBoot();", "title": "" }, { "docid": "9cb18794f98e7eadd08603bdd45a1820", "score": "0.6706246", "text": "com.google.protobuf.Timestamp getLastBoot();", "title": "" }, { "docid": "999d9ade899435d7552af67541f8ead7", "score": "0.65678227", "text": "com.google.protobuf.Timestamp getLastUpdated();", "title": "" }, { "docid": "999d9ade899435d7552af67541f8ead7", "score": "0.65678227", "text": "com.google.protobuf.Timestamp getLastUpdated();", "title": "" }, { "docid": "999d9ade899435d7552af67541f8ead7", "score": "0.65678227", "text": "com.google.protobuf.Timestamp getLastUpdated();", "title": "" }, { "docid": "f87acdf1782b680fbbb6722e5b8d72c6", "score": "0.6517859", "text": "com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder();", "title": "" }, { "docid": "013ec4102dc97288404706b5538a6b01", "score": "0.6410142", "text": "long getCreateTs();", "title": "" }, { "docid": "4ba22e7680a9326b500292bd4da92970", "score": "0.6397507", "text": "com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();", "title": "" }, { "docid": "1494373ccbec40cd004d9ce9d342090e", "score": "0.6393356", "text": "private String getVersion() {\r\n\t\tCalendar c = Calendar.getInstance();\r\n\t\treturn DateUtils.getDateWithFormat(\"yyyyMMddhhmmss\", c.getTime());\r\n\t}", "title": "" }, { "docid": "49ed1a0290e77668502ecf19b8205cc8", "score": "0.6372665", "text": "@java.lang.Override\n public com.google.protobuf.Timestamp getCreatedAt() {\n return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n }", "title": "" }, { "docid": "101d66643f22c0c1f84a86bc45ce7d5b", "score": "0.6362148", "text": "public com.google.protobuf.Timestamp getCreated() {\n if (createdBuilder_ == null) {\n return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;\n } else {\n return createdBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "ce1627f5766c336f16fa7b0aa8f88e0e", "score": "0.6352013", "text": "public Date getAppTimestamp(AppContext anAppContext) { return appTimestamp; }", "title": "" }, { "docid": "213b5d723c2ebce92a8e2709cf1bdf93", "score": "0.630996", "text": "com.google.protobuf.Timestamp getCreateTime();", "title": "" }, { "docid": "213b5d723c2ebce92a8e2709cf1bdf93", "score": "0.630996", "text": "com.google.protobuf.Timestamp getCreateTime();", "title": "" }, { "docid": "213b5d723c2ebce92a8e2709cf1bdf93", "score": "0.630996", "text": "com.google.protobuf.Timestamp getCreateTime();", "title": "" }, { "docid": "213b5d723c2ebce92a8e2709cf1bdf93", "score": "0.630996", "text": "com.google.protobuf.Timestamp getCreateTime();", "title": "" }, { "docid": "213b5d723c2ebce92a8e2709cf1bdf93", "score": "0.630996", "text": "com.google.protobuf.Timestamp getCreateTime();", "title": "" }, { "docid": "dfdd3db7830dedb0774ec7e46bae3fe1", "score": "0.62843186", "text": "public Timestamp getBuildTime()\n {\n return ourBuildTime;\n }", "title": "" }, { "docid": "dbfa0011854a9e5810d8e250f5428995", "score": "0.62776154", "text": "@java.lang.Override\n public java.lang.String getCreationTimestamp() {\n java.lang.Object ref = creationTimestamp_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n creationTimestamp_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "0295a5737d831c2ed8bf6a88edf0885b", "score": "0.6263166", "text": "@java.lang.Override\n public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {\n return getCreatedAt();\n }", "title": "" }, { "docid": "1db367bfad68dad0f5031ff86e512058", "score": "0.6261738", "text": "private String getAppBuildDate() {\n\t\t\tDate buildDate = new Date(BuildConfig.BUILD_TIME);\n\t\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(DATETIME_PATTERN);\n\t\t\treturn dateFormat.format(buildDate);\n\t\t}", "title": "" }, { "docid": "8db5eda986dfe9f8fce879d4da07d669", "score": "0.62581706", "text": "public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {\n return getCreatedAt();\n }", "title": "" }, { "docid": "57f0ec553e4f5aa3d0f931ea481206d8", "score": "0.62430716", "text": "public com.google.protobuf.Timestamp getCreated() {\n return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_;\n }", "title": "" }, { "docid": "0e0e9f07d33b638c4c06ecbf97a90309", "score": "0.62417334", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getCreationTimestampBytes() {\n java.lang.Object ref = creationTimestamp_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n creationTimestamp_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "0c4b955bfa8956e9e50575937730994a", "score": "0.6236084", "text": "@java.lang.Override\n public com.google.protobuf.TimestampOrBuilder getTimeCreatedOrBuilder() {\n return getTimeCreated();\n }", "title": "" }, { "docid": "859bc06e1dd2d0bd0f41e77a70f6f411", "score": "0.6226733", "text": "public java.lang.String getCreationTimestamp() {\n java.lang.Object ref = creationTimestamp_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n creationTimestamp_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0a656a6ab59e40d1731e985ab4bc1898", "score": "0.62208456", "text": "@java.lang.Override\n public com.google.protobuf.Timestamp getCreatedAt() {\n return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n }", "title": "" }, { "docid": "bbf4cd0fc724b65bf7f8c9195055d20a", "score": "0.61809313", "text": "public com.google.protobuf.Timestamp getCreatedAt() {\n return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n }", "title": "" }, { "docid": "8cccce62f343bd843fa447de805763c8", "score": "0.61784405", "text": "com.google.protobuf.TimestampOrBuilder getLastFactoryBootOrBuilder();", "title": "" }, { "docid": "4ad36ac07549cf70d93f42ab97effc06", "score": "0.616517", "text": "public com.google.protobuf.ByteString getCreationTimestampBytes() {\n java.lang.Object ref = creationTimestamp_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n creationTimestamp_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "6cc4b27ab4d261beb498fef3c062965f", "score": "0.61537707", "text": "public long getCreationTimestamp() {\n return creationTimestamp_;\n }", "title": "" }, { "docid": "b33baff695199833f4892146e5e3d5bb", "score": "0.6151077", "text": "@java.lang.Override\n public com.google.protobuf.Timestamp getTimeCreated() {\n return timeCreated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timeCreated_;\n }", "title": "" }, { "docid": "a2e58f76388b6021d0acbb36446cb6d7", "score": "0.61474276", "text": "public com.google.protobuf.Timestamp getCreatedAt() {\n if (createdAtBuilder_ == null) {\n return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n } else {\n return createdAtBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "b117f51fae5728974f799eefb6c3b1c2", "score": "0.6141926", "text": "public com.google.protobuf.Timestamp getCreatedAt() {\n if (createdAtBuilder_ == null) {\n return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n } else {\n return createdAtBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "b117f51fae5728974f799eefb6c3b1c2", "score": "0.6141926", "text": "public com.google.protobuf.Timestamp getCreatedAt() {\n if (createdAtBuilder_ == null) {\n return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n } else {\n return createdAtBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "d7745e4cf191e0159ee684f9dbc28d84", "score": "0.61275154", "text": "com.google.protobuf.Timestamp getFactoryAfter();", "title": "" }, { "docid": "537fa60ff89ca61839985ebce29a53ab", "score": "0.61242855", "text": "com.google.protobuf.Timestamp getTimestamp();", "title": "" }, { "docid": "8fc5bdb1b635e931ef00a96f81ca5830", "score": "0.61196804", "text": "com.google.protobuf.TimestampOrBuilder getLastBootOrBuilder();", "title": "" }, { "docid": "591b6078078c87f2caa21133be02f79f", "score": "0.6115187", "text": "@java.lang.Override\n public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {\n return getCreatedAt();\n }", "title": "" }, { "docid": "092aac635ca879e5734075ac95346996", "score": "0.6110802", "text": "long creationTime();", "title": "" }, { "docid": "e8547346d92a452ad04ac6b53a8e1058", "score": "0.6110553", "text": "@DISPID(19) //= 0x13. The runtime will prefer the VTID if present\n @VTID(30)\n java.util.Date creationDate();", "title": "" }, { "docid": "adfe8ea37eca9dd48e600c5255bae1c2", "score": "0.60790217", "text": "public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {\n return getCreated();\n }", "title": "" }, { "docid": "09243c16738057986d769259f66bde02", "score": "0.6032857", "text": "public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() {\n if (createdBuilder_ != null) {\n return createdBuilder_.getMessageOrBuilder();\n } else {\n return created_ == null ?\n com.google.protobuf.Timestamp.getDefaultInstance() : created_;\n }\n }", "title": "" }, { "docid": "1db12684d177cae43d2fd771788b7ff3", "score": "0.6029183", "text": "public long getCreationTimestamp() {\n return creationTimestamp_;\n }", "title": "" }, { "docid": "3b4d082daf773235172a347d03ee48fc", "score": "0.6018489", "text": "com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();", "title": "" }, { "docid": "3b4d082daf773235172a347d03ee48fc", "score": "0.6018489", "text": "com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();", "title": "" }, { "docid": "3b4d082daf773235172a347d03ee48fc", "score": "0.6018489", "text": "com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();", "title": "" }, { "docid": "3b4d082daf773235172a347d03ee48fc", "score": "0.6018489", "text": "com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();", "title": "" }, { "docid": "3b4d082daf773235172a347d03ee48fc", "score": "0.6017792", "text": "com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();", "title": "" }, { "docid": "89df1eb505d3ea96ad44d96a6d125d63", "score": "0.6005533", "text": "com.google.protobuf.Timestamp getLastSeen();", "title": "" }, { "docid": "61475697cb172a62f97567259f20f2fe", "score": "0.5996962", "text": "long getSystemBootTimestamp();", "title": "" }, { "docid": "c643629df0a20681ecccdbd2a7b69d80", "score": "0.5996418", "text": "public int getTimeCreated() {\n return timeCreated_;\n }", "title": "" }, { "docid": "33d4000f24349ec4c53c3ad1e22c6d40", "score": "0.59939873", "text": "@DISPID(18)\r\n\t// = 0x12. The runtime will prefer the VTID if present\r\n\t@VTID(31)\r\n\tjava.util.Date creationDateTime();", "title": "" }, { "docid": "17155e4b78e69a24297f271aaf6b14a1", "score": "0.5985523", "text": "public com.google.protobuf.Timestamp getCreateTime() {\n return instance.getCreateTime();\n }", "title": "" }, { "docid": "83ca8209a3b69cbe323fa88125b24db8", "score": "0.5979748", "text": "@java.lang.Override\n public com.google.protobuf.Timestamp getCreateTime() {\n return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;\n }", "title": "" }, { "docid": "28e46508b2816945cb4ac6d2f9a58787", "score": "0.5965792", "text": "public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {\n if (createdAtBuilder_ != null) {\n return createdAtBuilder_.getMessageOrBuilder();\n } else {\n return createdAt_ == null ?\n com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n }\n }", "title": "" }, { "docid": "acbe148779faa9048f38748b9b1c203e", "score": "0.59524536", "text": "public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {\n if (createdAtBuilder_ != null) {\n return createdAtBuilder_.getMessageOrBuilder();\n } else {\n return createdAt_ == null ?\n com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n }\n }", "title": "" }, { "docid": "acbe148779faa9048f38748b9b1c203e", "score": "0.59524536", "text": "public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {\n if (createdAtBuilder_ != null) {\n return createdAtBuilder_.getMessageOrBuilder();\n } else {\n return createdAt_ == null ?\n com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;\n }\n }", "title": "" }, { "docid": "553cc296e2ebb2c23d7bd9989b25d430", "score": "0.5951864", "text": "@java.lang.Override\n public com.google.protobuf.Timestamp getModifiedAt() {\n return modifiedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifiedAt_;\n }", "title": "" }, { "docid": "7e763954c034999b55ad5468ce0c4069", "score": "0.59490603", "text": "com.google.protobuf.TimestampOrBuilder getFactoryAfterOrBuilder();", "title": "" }, { "docid": "32e848c288e4b78db0c1358af05e3b1c", "score": "0.59474546", "text": "@java.lang.Override\n public int getTimeCreated() {\n return timeCreated_;\n }", "title": "" }, { "docid": "ae0a3a3fdbf7182768f6964aa52ec093", "score": "0.59425795", "text": "@java.lang.Override\n public int getTimeCreated() {\n return timeCreated_;\n }", "title": "" }, { "docid": "06ad0bcc7f1787a0306d68af469fa99d", "score": "0.5908395", "text": "public Timestamp getCreate_timestamp() {\n\t\treturn create_timestamp;\n\t}", "title": "" }, { "docid": "8b5ccc915ae574108725f4c5f2c738f3", "score": "0.59001684", "text": "private static String getTimestamp() {\n return String.format(\"[%1$tD %1$tT]\", new Date());\n }", "title": "" }, { "docid": "c7a63b42df713770499532ecb6e9caf7", "score": "0.5896354", "text": "public Timestamp getCreate_timestamp() {\n return create_timestamp;\n }", "title": "" }, { "docid": "375fa6ee9fc20bd2d92e8ee343e768d2", "score": "0.58884174", "text": "com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder();", "title": "" }, { "docid": "375fa6ee9fc20bd2d92e8ee343e768d2", "score": "0.58884174", "text": "com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder();", "title": "" }, { "docid": "375fa6ee9fc20bd2d92e8ee343e768d2", "score": "0.58884174", "text": "com.google.protobuf.TimestampOrBuilder getLastUpdatedOrBuilder();", "title": "" }, { "docid": "8885d194a70d1dc31e43f4fa741270ea", "score": "0.58875734", "text": "@ApiModelProperty(value = \"The date this object was created.\")\n\n\n public String getCreatedOn() {\n return createdOn;\n }", "title": "" }, { "docid": "bc9ee2a638f76a95e64839e12b1f9704", "score": "0.5884259", "text": "public static long getTimestamp() {\n return System.currentTimeMillis();\n }", "title": "" }, { "docid": "ff03e41c5f375983a6165356934ad873", "score": "0.5875888", "text": "public Date getCreateTimestamp() {\n return createTimestamp;\n }", "title": "" }, { "docid": "ff03e41c5f375983a6165356934ad873", "score": "0.5875888", "text": "public Date getCreateTimestamp() {\n return createTimestamp;\n }", "title": "" }, { "docid": "ceeb25bcaa2aa42ea8cbe7af30ead398", "score": "0.5874741", "text": "public Instant getCreatedInstant();", "title": "" }, { "docid": "72f74cc5258c2697667e368edf028d1e", "score": "0.5859674", "text": "public String getCreated();", "title": "" }, { "docid": "e5f3af9f4055d2ad3bfbdca9007b153f", "score": "0.5843963", "text": "public int getTimeCreated() {\n return timeCreated_;\n }", "title": "" }, { "docid": "478023ee480b4c0be7600090f04c9f59", "score": "0.5841389", "text": "private long generateOauthTimestamp() {\n return (System.currentTimeMillis() / 1000);\n }", "title": "" }, { "docid": "b6454c9914aa908acfeb8c08609a4277", "score": "0.5836015", "text": "public Timestamp getCreatedDatetime() {\r\n/* 91 */ return this.createdDatetime;\r\n/* */ }", "title": "" }, { "docid": "342ee7b4b617417bedc8383644279812", "score": "0.58319837", "text": "public Instant getCreationTime() {\n return creation;\n }", "title": "" }, { "docid": "259aa393785274cb8f74c25d1eb5c037", "score": "0.5824892", "text": "public LocalDateTime getCreationTimestamp() {\n return (LocalDateTime) get(14);\n }", "title": "" }, { "docid": "4b80016d35c512d99565f8eb50afb94e", "score": "0.58235663", "text": "@Override\r\n\tpublic Timestamp getVersion() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "245f9968b664a00533b9453866ff898e", "score": "0.5781619", "text": "@ZAttr(id=790)\n public Date getCreateTimestamp() {\n return getGeneralizedTimeAttr(Provisioning.A_zimbraCreateTimestamp, null);\n }", "title": "" }, { "docid": "1b9ada6e94584106887aa54ceb68bd9b", "score": "0.57730377", "text": "private String newTimestamp() {\n\t\treturn new SimpleDateFormat(\"yyyyMMddHHmmssSSS\").format(new Date());\r\n\t\t// 20170716122554797\r\n\t}", "title": "" }, { "docid": "f89233a09e08d2e336d224470d351383", "score": "0.5770808", "text": "public long getCreateTs() {\n return createTs_;\n }", "title": "" }, { "docid": "2f5219e49c2236f3be9027ab86312bbd", "score": "0.5769525", "text": "OffsetDateTime creationTime();", "title": "" }, { "docid": "5e2dc6943bea85084cdb85eef859f6aa", "score": "0.576921", "text": "int getClientTimestamp();", "title": "" }, { "docid": "5e2dc6943bea85084cdb85eef859f6aa", "score": "0.576921", "text": "int getClientTimestamp();", "title": "" }, { "docid": "5e2dc6943bea85084cdb85eef859f6aa", "score": "0.576921", "text": "int getClientTimestamp();", "title": "" }, { "docid": "5e2dc6943bea85084cdb85eef859f6aa", "score": "0.576921", "text": "int getClientTimestamp();", "title": "" }, { "docid": "372f34cd5794ac423d62c9cd5695d285", "score": "0.5763103", "text": "public com.google.protobuf.Timestamp getCreateTime() {\n return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;\n }", "title": "" }, { "docid": "51b475582682ab7b8ee377de0212fa95", "score": "0.5750764", "text": "com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder();", "title": "" }, { "docid": "3c4b6fec4cfebdc55fc4eaafbc5af486", "score": "0.5746236", "text": "int getTimeCreated();", "title": "" }, { "docid": "3c4b6fec4cfebdc55fc4eaafbc5af486", "score": "0.5746236", "text": "int getTimeCreated();", "title": "" }, { "docid": "62806da3ee7a3435d86ed1bdb75f0ed8", "score": "0.5742881", "text": "@ApiModelProperty(value = \"The date this object's DataType was last updated. \")\n\n\n public String getUpdatedOn() {\n return updatedOn;\n }", "title": "" }, { "docid": "912b08b51a0041a8e16ffcfdead59214", "score": "0.5739882", "text": "com.google.protobuf.Timestamp getUpdated();", "title": "" }, { "docid": "1bba6d56ecaa600b7c9a07ad385e3645", "score": "0.5734597", "text": "public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {\n return getCreateTime();\n }", "title": "" }, { "docid": "7c52b2203d4a9328f1702f202a018bb5", "score": "0.5733232", "text": "public static Object $$$FldINAUFPSupplyCreatedTimestamp(mContext m$) {\n return (403);\n }", "title": "" }, { "docid": "98310688b0bcae12dc99d2318dbbca6f", "score": "0.57330686", "text": "@Override\r\n public String getVersion() {\r\n return \"Feb2015\";\r\n }", "title": "" }, { "docid": "9992761c5eff359d6c9691d2d7afc514", "score": "0.5732187", "text": "public int getTimestamp() {\n return timestamp;\n }", "title": "" }, { "docid": "13d067e30e8c67ea7320470cb21fe780", "score": "0.57298636", "text": "public LocalDateTime getGmtCreate() {\n return gmtCreate;\n }", "title": "" } ]
23aff7df0fbc3a386664871dc147aa43
Start a new UNION clause
[ { "docid": "33273622ef7d6f9e36e2fa4ea0ac78e7", "score": "0.7792717", "text": "public void beginUnionClauses();", "title": "" } ]
[ { "docid": "13ff2b2232cdc2a33a936067897c1bf7", "score": "0.7684898", "text": "public void addUnionClause();", "title": "" }, { "docid": "c5547e25906498c085be45e853703f3a", "score": "0.6527977", "text": "public void endUnionClauses();", "title": "" }, { "docid": "48c1b829977594b2c50cf5cbcaf04d04", "score": "0.62660426", "text": "public final AstPrinter.union_clause_return union_clause() throws RecognitionException {\n AstPrinter.union_clause_return retval = new AstPrinter.union_clause_return();\n retval.start = input.LT(1);\n\n\n CommonTree root_0 = null;\n\n CommonTree _first_0 = null;\n CommonTree _last = null;\n\n CommonTree UNION274=null;\n CommonTree ONSCHEMA275=null;\n AstPrinter.rel_list_return rel_list276 =null;\n\n\n CommonTree UNION274_tree=null;\n CommonTree ONSCHEMA275_tree=null;\n\n try {\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:395:5: ( ^( UNION ( ONSCHEMA )? rel_list ) )\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:395:7: ^( UNION ( ONSCHEMA )? rel_list )\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n {\n CommonTree _save_last_1 = _last;\n CommonTree _first_1 = null;\n CommonTree root_1 = (CommonTree)adaptor.nil();\n _last = (CommonTree)input.LT(1);\n UNION274=(CommonTree)match(input,UNION,FOLLOW_UNION_in_union_clause2871); if (state.failed) return retval;\n if ( state.backtracking==0 ) {\n UNION274_tree = (CommonTree)adaptor.dupNode(UNION274);\n\n\n root_1 = (CommonTree)adaptor.becomeRoot(UNION274_tree, root_1);\n }\n\n\n if ( state.backtracking==0 ) { sb.append((UNION274!=null?UNION274.getText():null)).append(\" \"); }\n\n match(input, Token.DOWN, null); if (state.failed) return retval;\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:395:56: ( ONSCHEMA )?\n int alt83=2;\n int LA83_0 = input.LA(1);\n\n if ( (LA83_0==ONSCHEMA) ) {\n alt83=1;\n }\n switch (alt83) {\n case 1 :\n // /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig-0.10.0-lucene/src//org/apache/pig/parser/AstPrinter.g:395:57: ONSCHEMA\n {\n _last = (CommonTree)input.LT(1);\n ONSCHEMA275=(CommonTree)match(input,ONSCHEMA,FOLLOW_ONSCHEMA_in_union_clause2876); if (state.failed) return retval;\n if ( state.backtracking==0 ) {\n ONSCHEMA275_tree = (CommonTree)adaptor.dupNode(ONSCHEMA275);\n\n\n adaptor.addChild(root_1, ONSCHEMA275_tree);\n }\n\n\n if ( state.backtracking==0 ) { sb.append((ONSCHEMA275!=null?ONSCHEMA275.getText():null)).append(\" \"); }\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n\n }\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_rel_list_in_union_clause2883);\n rel_list276=rel_list();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_1, rel_list276.getTree());\n\n\n match(input, Token.UP, null); if (state.failed) return retval;\n adaptor.addChild(root_0, root_1);\n _last = _save_last_1;\n }\n\n\n if ( state.backtracking==0 ) {\n }\n }\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\n }\n\n }\n\n catch(RecognitionException re) {\n throw re;\n }\n\n finally {\n \t// do for sure before leaving\n }\n return retval;\n }", "title": "" }, { "docid": "e4b33063f1d5b8e66f5be86eeb3267f2", "score": "0.6209681", "text": "public void union(int p, int q);", "title": "" }, { "docid": "065bbdcbde98fb91da2f2760ac086ca3", "score": "0.6006664", "text": "private MappingOperator translateUnionQuery(CommonTree unionAST) throws TranslationException {\n\t\t//TODO check whether I need to check andOrs\n\t\t//TODO sort out resultType\n\t\tlogger.debug(\"in translateUnionQuery\");\n\t\tCommonTree q1 = (CommonTree) unionAST.getChild(0);\n\t\tCommonTree q2 = (CommonTree) unionAST.getChild(1);\n\t\tlogger.debug(\"q1: \" + q1.toStringTree());\n\t\tlogger.debug(\"q2: \" + q2.toStringTree());\n\t\tlogger.debug(\"two sub-queries, initialise translator with subqueries and translate each subquery separately\");\n\t\t//TODO check that subqueries are union compatible\n\n\t\tString u1Var = \"union1.\" + subQueryPrefix;\n\t\tGlobalQueryTranslatorService translator1 = new GlobalQueryTranslatorServiceImpl(u1Var);\n\t\t//need to add these because autowire doesn't work for self-invocation, not particularly nice, try to find a better way - TODO\n\t\ttranslator1.setSchemaRepository(this.schemaRepository);\n\t\ttranslator1.setSuperAbstractRepository(this.superAbstractRepository);\n\t\ttranslator1.setSuperLexicalRepository(this.superLexicalRepository);\n\t\ttranslator1.setSchemaNames(this.schemaNames);\n\n\t\tMappingOperator union1 = translator1.translateQuery(q1);\n\n\t\tString u2Var = \"union2.\" + subQueryPrefix;\n\t\tGlobalQueryTranslatorService translator2 = new GlobalQueryTranslatorServiceImpl(u2Var);\n\t\t//need to add these because autowire doesn't work for self-invocation, not particularly nice, try to find a better way - TODO\n\t\ttranslator2.setSchemaRepository(this.schemaRepository);\n\t\ttranslator2.setSuperAbstractRepository(this.superAbstractRepository);\n\t\ttranslator2.setSuperLexicalRepository(this.superLexicalRepository);\n\t\ttranslator2.setSchemaNames(this.schemaNames);\n\t\tMappingOperator union2 = translator2.translateQuery(q2);\n\n\t\tlogger.debug(\"after translation; union1: \" + union1);\n\t\tlogger.debug(\"after translation; union2: \" + union2);\n\n\t\tunionQuery = true;\n\t\tString unionType = unionAST.getText();\n\t\tlogger.debug(\"unionType: \" + unionType);\n\t\tif (unionType.equals(\"UNION\"))\n\t\t\tsetOperationType = SetOperationType.UNION;\n\t\telse if (unionType.equals(\"UNION ALL\"))\n\t\t\tsetOperationType = SetOperationType.UNION_ALL;\n\t\telse if (unionType.equals(\"EXCEPT\"))\n\t\t\tsetOperationType = SetOperationType.EXCEPT;\n\t\telse if (unionType.equals(\"EXCEPT_ALL\"))\n\t\t\tsetOperationType = SetOperationType.EXCEPT_ALL;\n\t\telse if (unionType.equals(\"INTERSECT\"))\n\t\t\tsetOperationType = SetOperationType.INTERSECT;\n\t\telse if (unionType.equals(\"INTERSECT ALL\"))\n\t\t\tsetOperationType = SetOperationType.INTERSECT_ALL;\n\n\t\tSetOperator setOperator = new SetOperator();\n\t\tsetOperator.setLhsInput(union1);\n\t\tsetOperator.setRhsInput(union2);\n\t\tif (union1.getDataSource() != null && union2.getDataSource() != null && union1.getDataSource().equals(union2.getDataSource()))\n\t\t\tsetOperator.setDataSource(union1.getDataSource());\n\t\tsetOperator.setSetOpType(setOperationType);\n\t\tResultType union1ResultType = union1.getResultType();\n\t\tResultType union2ResultType = union2.getResultType();\n\t\tif (!union1ResultType.isSetOpCompatible(union2ResultType))\n\t\t\tlogger.error(\"ResultType not unioncompatible\"); //TODO proper error handling, work on less strict version\n\t\t//TODO check that they're union-compatible\n\t\tsetOperator.setResultType(union1.getResultType());\n\t\tlogger.debug(\"created SetOp: \" + setOperator);\n\n\t\tMap<String, SuperLexical> varNameSuperLexicalsMap = new LinkedHashMap<String, SuperLexical>();\n\t\tStringBuilder reconcilingExpressionBuilder = new StringBuilder();\n\t\tResultType resultType = new ResultType();\n\n\t\tReduceOperator reduce = new ReduceOperator();\n\t\treduce.setInput(setOperator);\n\t\treduce.setDataSource(setOperator.getDataSource());\n\n\t\tResultType resultTypeOfSetOperator = setOperator.getResultType();\n\t\tMap<String, ResultField> resultFields = resultTypeOfSetOperator.getResultFields();\n\t\tSet<String> resultFieldNames = resultFields.keySet();\n\t\tint j = 0;\n\t\t//for (ResultField field : resultFields) {\n\t\tfor (String resultFieldName : resultFieldNames) {\n\t\t\tif (j > 0)\n\t\t\t\treconcilingExpressionBuilder.append(\", \");\n\t\t\t//reconcilingExpressionBuilder.append(field.getFieldName());\n\t\t\treconcilingExpressionBuilder.append(resultFieldName);\n\t\t\t//ResultField resultField = new ResultField(field.getFieldName(), field.getFieldType());\n\t\t\tResultField resultField = new ResultField(resultFieldName, resultFields.get(resultFieldName).getFieldType());\n\t\t\t//resultField.setCanonicalModelConstruct(field.getCanonicalModelConstruct());\n\t\t\tresultField.setCanonicalModelConstruct(resultFields.get(resultFieldName).getCanonicalModelConstruct());\n\t\t\t//resultType.getResultFields().add(resultField);\n\t\t\tresultType.addResultField(resultFieldName, resultField);\n\t\t\t//resultField.setResultType(resultType);\n\n\t\t\tCanonicalModelConstruct cmc = resultField.getCanonicalModelConstruct();\n\t\t\tSuperLexical sl = null;\n\t\t\tif (cmc instanceof SuperLexical)\n\t\t\t\tsl = (SuperLexical) cmc;\n\n\t\t\tvarNameSuperLexicalsMap.put(resultField.getFieldName(), sl);\n\t\t\tj++;\n\t\t}\n\n\t\treduce.setReconcilingExpression(reconcilingExpressionBuilder.toString());\n\t\treduce.setSuperLexicals(varNameSuperLexicalsMap);\n\t\treduce.setResultType(resultType);\n\t\tlogger.debug(\"set resultType or reduceOperator, resultType: \" + resultType);\n\t\tlogger.debug(\"reduceOperator: \" + reduce);\n\t\treturn reduce;\n\n\t\t/*\n\t\tlogger.debug(\"add superAbstractReferences from the two union queries\");\n\t\tif (saMappingOperatorsMap == null) {\n\t\t\tsaMappingOperatorsMap = translator1.getSaMappingOperatorsMap();\n\t\t\tsuperAbstractReferences.putAll(translator2.getSuperAbstractReferences());\n\t\t\tlogger.debug(\"superAbstractReferences: \" + superAbstractReferences);\n\t\t}\n\t\t*/\n\n\t\t/*\n\t\t * Set the result tuple. The union operator produces columns named\n\t\t * as unionType.field1, unionType.field2 etc..\n\t\t */\n\t\t//Iterator<QueryElement> it = translator1.getResultTuple().iterator();\n\t\t//resultTuple = new ArrayList<QueryElement>();\n\t\t//if (translator1.getResultTuple().size() != translator2.getResultTuple().size()) {\n\t\t/*\n\t\t * This error should have been caught by the type checker if\n\t\t * it exists, but this extra check is provided just in case!\n\t\t */\n\t\t//throw new TranslationException(\"Query contains an error - all union\" + \" operations must act upon arguments that have the same number \" + \" of fields \");\n\t\t//}\n\t\t//int count = 1;\n\t\t//for (int i = 0; i < translator1.getResultTuple().size(); i++) {\n\t\t//QueryElement e1 = translator1.getResultTuple().get(i);\n\t\t//QueryElement e2 = translator2.getResultTuple().get(i);\n\t\t/* \n\t\t * type consistency between the two unioned tuple types\n\t\t * should have already been checked by the type checker\n\t\t */\n\t\t//Class[] type = e1.getJavaType(); //TODO this may not work\n\t\t//List<DataType> dataTypes1 = e1.getDataTypes();\n\t\t//List<DataType> dataTypes2 = e2.getDataTypes();\n\n\t\t//TODO do typeCheck/union compatibility check here --- proper error handling !!!!\n\n\t\t//logger.debug(\"dataTypes1: \" + dataTypes1.toString());\n\t\t//logger.debug(\"dataTypes2: \" + dataTypes2.toString());\n\t\t//resultTuple.add(new Variable(subQueryPrefix + unionType + \".field\" + (count++), dataTypes1));\n\t\t//}\n\n\t\t/*\n\t\t * The UNION may optionally contain an ORDER_BY, which consists\n\t\t * of columns identified by an integer (1 is the first column).\n\t\t * The resultTuple list is used to translate each integer column\n\t\t * into an Element object from the resultTuple \n\t\t */\n\t\t//this shouldn't happen here, as different grammar is used, that doesn't allow order_by in sub-queries\n\t\t/*\n\t\tCommonTree orderByNode = \n\t\t TypeCheckerUtil.getNextASTNodeInQuery(q2,IntegerLiteralAST.class);\n\t\twhile (orderByNode != null) {\n\t\t try {\n\t\t int column = Integer.parseInt(orderByNode.getText()) - 1;\n\t\t // order by list is only created if there are order by\n\t\t // attribs.\n\t\t if ( orderByList == null ) {\n\t\t orderByList = new ArrayList();\n\t\t }\n\t\t if ( orderByNode.getFirstChild() != null ) {\n\t\t \tString direction = orderByNode.getFirstChild().getText(); \n\t\t orderByList.add(new OrderByItem((QueryElement)resultTuple.get(column),direction));\n\t\t } else {\n\t\t \torderByList.add(new OrderByItem((QueryElement)resultTuple.get(column)));\n\t\t }\n\t\t orderByNode = \n\t\t TypeCheckerUtil.getNextASTNodeInQuery(\n\t\t orderByNode,IntegerLiteralAST.class);\n\t\t } catch ( Exception e ) {\n\t\t \tthrow new TranslationException(\"Unable to process ORDER BY\" +\n\t\t \" columns specified for UNION query. Internal \" +\n\t\t \"translator error: \" + e.toString());\n\t\t }\n\t\t}\n\t\t*/\n\t}", "title": "" }, { "docid": "d3ba999064a81ba769fb0e8f82f26c02", "score": "0.5986804", "text": "public void union(T p, T q);", "title": "" }, { "docid": "5300da6f5b81c83e470550b1794a1a47", "score": "0.59352595", "text": "@Override\n public void visitUnion(Predicate first, Predicate second) {\n stream.print(\"(union \");\n first.walk(visitor);\n stream.print(\" \");\n second.walk(visitor);\n stream.print(\")\");\n }", "title": "" }, { "docid": "db9705b0dbb2172ceaf7401d6fb99d3c", "score": "0.58281624", "text": "@Override\n public ResultSet UNION() throws ClassNotFoundException, SQLException {\n Connection con;\n //creates the resulset object to be returned. \n ResultSet rs = null;\n try {\n con = this.getConnection();\n //String query = \"SELECT * FROM Stations LEFT JOIN Tracks ON Stations.Station_ID=Tracks.Station_start_ID UNION SELECT * FROM Stations RIGHT JOIN Tracks ON Stations.Station_ID=Tracks.Station_start_ID\";\n String query = \"SELECT * FROM Train_schedules LEFT JOIN Track_destination ON Train_schedules.Track_ID=Track_destination.Track_ID UNION SELECT * FROM Train_schedules RIGHT JOIN Track_destination ON Track_destination.Track_ID=Train_schedules.Track_ID;\";\n\n//Creates a statement\n Statement st = con.createStatement();\n rs = st.executeQuery(query);\n } //catches\n catch (ClassNotFoundException ex) {\n Logger.getLogger(Track_destination.class.getName()).log(Level.SEVERE, null, ex);\n } catch (SQLException ex) {\n Logger.getLogger(Track_destination.class.getName()).log(Level.SEVERE, null, ex);\n }\n //System.out.println(\"Size\"+rs.getf);\n return rs;\n }", "title": "" }, { "docid": "0a45b81b2029301b5942675f8ba19fd9", "score": "0.5763631", "text": "@Override\r\n protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r\n throw new UnsupportedOperationException(\"InlineQuery must not need UNION method: \" + baseQueryAsSuper + \" : \" + unionQueryAsSuper);\r\n }", "title": "" }, { "docid": "44eeecf952730b751e4b4acd93962777", "score": "0.5738408", "text": "public void union(int x, int y);", "title": "" }, { "docid": "45b997084ee1c9928f404a822c62b7f7", "score": "0.5718636", "text": "public UnionFindQuickUnions() {\n \n }", "title": "" }, { "docid": "75dc0aa648b65798f06af78f1c892c9c", "score": "0.57052773", "text": "@Override\r\n protected void reflectRelationOnUnionQuery(\r\n final ConditionQuery baseQueryAsSuper,\r\n final ConditionQuery unionQueryAsSuper) {\r\n }", "title": "" }, { "docid": "44d35c58b2b7b577dc4893a66ca07994", "score": "0.5574337", "text": "private boolean _union( T2 that ) {\n assert !unified() && !that.unified(); // Cannot union twice\n // Worklist: put updates on the worklist for revisiting\n merge_deps(that); // Merge update lists, for future unions\n // Kill extra information, to prevent accidentally using it\n _args = new NonBlockingHashMap<>() {{put(\">>\", that);}};\n _flow = _eflow = null;\n _fidxs= null;\n _aliases=null;\n _open = false;\n _deps = null;\n _err = null;\n assert unified();\n return true;\n }", "title": "" }, { "docid": "ddf1f5f6c60ea8b955f6c7418a0f22a3", "score": "0.54288316", "text": "private void checkunion(int r, int c, int q) {\n if (isOpen(r, c)) {\n int p = siteindx(r, c);\n if (uf.find(p) != uf.find(q)) {\n uf.union(p, q);\n }\n\n }\n }", "title": "" }, { "docid": "6948cba6398c7a34678f941ea9ceb3d9", "score": "0.53485334", "text": "abstract HMType union(HMType t, Worklist work);", "title": "" }, { "docid": "368d751bf2072c3c1352daa3a041f334", "score": "0.53095067", "text": "public void testUnion() throws Exception {\n \t\tprogram = \"p(?X) :- r(?X).\" + \"p(?X) :- s(?X).\" + \"p(?X) :- t(?X).\"\n \t\t\t\t+ \"?- p(?X).\";\n \t\tparser.parse(program);\n \t\trules = createRules();\n \n \t\tcompile();\n \t}", "title": "" }, { "docid": "bb3ed0f8ded0ead970b7547b5f928598", "score": "0.5288766", "text": "protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\n TweetCQ baseQuery = (TweetCQ)baseQueryAsSuper;\n TweetCQ unionQuery = (TweetCQ)unionQueryAsSuper;\n if (baseQuery.hasConditionQueryMember()) {\n unionQuery.queryMember().reflectRelationOnUnionQuery(baseQuery.queryMember(), unionQuery.queryMember());\n }\n }", "title": "" }, { "docid": "72e25db516471d9fcc884be1508a5b27", "score": "0.5269889", "text": "@Test\n public void testUnionSqlParse() throws Exception {\n EnvironmentSettings settings = EnvironmentSettings\n .newInstance()\n .inStreamingMode()\n .build();\n StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();\n env.setParallelism(1);\n env.enableCheckpointing(10000);\n StreamTableEnvironment tableEnv = StreamTableEnvironment.create(env, settings);\n Node inputNode1 = buildMySQLExtractNode(\"1\");\n Node inputNode2 = buildMySQLExtractNode(\"2\");\n Node inputNode3 = buildMySQLExtractNode(\"3\");\n Node transformNode = buildTransformNode();\n Node outputNode = buildHbaseNode();\n StreamInfo streamInfo = new StreamInfo(\"1\",\n Arrays.asList(inputNode1, inputNode2, inputNode3, transformNode, outputNode),\n Arrays.asList(\n buildUnionNodeRelation(Arrays.asList(inputNode1, inputNode2, inputNode3),\n Collections.singletonList(transformNode)),\n buildNodeRelation(Collections.singletonList(transformNode),\n Collections.singletonList(outputNode))));\n GroupInfo groupInfo = new GroupInfo(\"1\", Collections.singletonList(streamInfo));\n FlinkSqlParser parser = FlinkSqlParser.getInstance(tableEnv, groupInfo);\n ParseResult result = parser.parse();\n Assert.assertTrue(result.tryExecute());\n }", "title": "" }, { "docid": "205ec1c42d88f5c92a9a0d647a9be119", "score": "0.5253512", "text": "public void reflectRelationOnUnionQuery(ConditionQuery bqs, ConditionQuery uqs) {\n }", "title": "" }, { "docid": "9678ee3075cd86ee5eccd09e9ed7f37c", "score": "0.5237239", "text": "public void reflectRelationOnUnionQuery(ConditionQuery bqs, ConditionQuery uqs) {\r\n }", "title": "" }, { "docid": "11b3547e48d3d105738c3d2682b2efb9", "score": "0.5196045", "text": "@Test\n public void testUnionSqlParseWithoutTransform() throws Exception {\n EnvironmentSettings settings = EnvironmentSettings\n .newInstance()\n .inStreamingMode()\n .build();\n StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();\n env.setParallelism(1);\n env.enableCheckpointing(10000);\n StreamTableEnvironment tableEnv = StreamTableEnvironment.create(env, settings);\n Node inputNode1 = buildMySQLExtractNode(\"1\");\n Node inputNode2 = buildMySQLExtractNode(\"2\");\n Node inputNode3 = buildMySQLExtractNode(\"3\");\n Node outputNode = buildHbaseNode2();\n StreamInfo streamInfo = new StreamInfo(\"1\",\n Arrays.asList(inputNode1, inputNode2, inputNode3, outputNode),\n Collections.singletonList(\n buildUnionNodeRelation(Arrays.asList(inputNode1, inputNode2, inputNode3),\n Collections.singletonList(outputNode))));\n GroupInfo groupInfo = new GroupInfo(\"1\", Collections.singletonList(streamInfo));\n FlinkSqlParser parser = FlinkSqlParser.getInstance(tableEnv, groupInfo);\n ParseResult result = parser.parse();\n Assert.assertTrue(result.tryExecute());\n }", "title": "" }, { "docid": "9c4f96c59b45872cf131bf299a254ed6", "score": "0.5160343", "text": "protected void reflectRelationOnUnionQuery(ConditionQuery baseQueryAsSuper, ConditionQuery unionQueryAsSuper) {\r\n StudentCQ baseQuery = (StudentCQ)baseQueryAsSuper;\r\n StudentCQ unionQuery = (StudentCQ)unionQueryAsSuper;\r\n if (baseQuery.hasConditionQueryLogin()) {\r\n unionQuery.queryLogin().reflectRelationOnUnionQuery(baseQuery.queryLogin(), unionQuery.queryLogin());\r\n }\r\n }", "title": "" }, { "docid": "b78e99206e2a49fc0ef867edca3315cb", "score": "0.5156076", "text": "public void testUnion() throws Exception { \n//TODO: Test goes here... \n}", "title": "" }, { "docid": "3ca3c1fa896b3f62d3c2a019bca2d106", "score": "0.5115748", "text": "private void tryUnion(int rowA, int colA, int rowB, int colB) {\n if (0 < rowB && rowB <= n && 0 < colB && colB <= n\n && isOpen(rowB, colB)) {\n backwashQU.union(indexOf(rowA, colA), indexOf(rowB, colB));\n normalQU.union(indexOf(rowA, colA), indexOf(rowB, colB));\n }\n }", "title": "" }, { "docid": "0bca9ac188727463428dc0b2a4d77d8d", "score": "0.50881904", "text": "private UnionMergeRule() {\n super(\n operand(\n LogicalUnion.class,\n operand(RelNode.class, any()),\n operand(RelNode.class, any())));\n }", "title": "" }, { "docid": "df3b09ae548c4298684b228a80c819fb", "score": "0.507652", "text": "public boolean supportsUnion() throws SQLException {\n return true;\n }", "title": "" }, { "docid": "232dadb278cd88de8601f61ccc12bbc9", "score": "0.5076253", "text": "public void add(CUnion... union) throws CDuplicateException;", "title": "" }, { "docid": "9b0fe9e998f540e0c460cade5e8be7d6", "score": "0.50248736", "text": "@Test\n public void testEmptyInUnion() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"c, \");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Union(new ListName(\"c\"), new Empty());\n assertEquals(parseExpression, genExpression);\n }", "title": "" }, { "docid": "8a9962cc57e1809c1dd0b5d65e1fc667", "score": "0.49651465", "text": "public void onMatch(RelOptRuleCall call) {\n LogicalUnion topUnion = call.rel(0);\n LogicalUnion bottomUnion;\n\n // We want to combine the Union that's in the second input first.\n // Hence, that's why the rule pattern matches on generic RelNodes\n // rather than explicit UnionRels. By doing so, and firing this rule\n // in a bottom-up order, it allows us to only specify a single\n // pattern for this rule.\n if (call.rel(2) instanceof LogicalUnion) {\n bottomUnion = call.rel(2);\n } else if (call.rel(1) instanceof LogicalUnion) {\n bottomUnion = call.rel(1);\n } else {\n return;\n }\n\n // If distincts haven't been removed yet, defer invoking this rule\n if (!topUnion.all || !bottomUnion.all) {\n return;\n }\n\n // Combine the inputs from the bottom union with the other inputs from\n // the top union\n List<RelNode> unionInputs = new ArrayList<RelNode>();\n if (call.rel(2) instanceof LogicalUnion) {\n assert topUnion.getInputs().size() == 2;\n unionInputs.add(topUnion.getInput(0));\n unionInputs.addAll(bottomUnion.getInputs());\n } else {\n unionInputs.addAll(bottomUnion.getInputs());\n unionInputs.addAll(Util.skip(topUnion.getInputs()));\n }\n assert unionInputs.size()\n == bottomUnion.getInputs().size()\n + topUnion.getInputs().size()\n - 1;\n LogicalUnion newUnion =\n new LogicalUnion(\n topUnion.getCluster(),\n unionInputs,\n true);\n\n call.transformTo(newUnion);\n }", "title": "" }, { "docid": "3e6f74e397457148402fbaa4c99f2d97", "score": "0.49549043", "text": "private void unionBelow(int p) {\n if (p < n * (n - 1)) {\n if (isOpen(p + n)) {\n uf.union(p, p + n);\n ufBackwash.union(p, p + n);\n }\n } else\n uf.union(p, n * n + 1);\n }", "title": "" }, { "docid": "4d8d9a40a568ed41e042a859843b1585", "score": "0.49521247", "text": "private void setup1()\n { unionFinder = new UnionFinder<String>(); }", "title": "" }, { "docid": "38f538d86ddfe4d87ba2bcb67afb66e5", "score": "0.4942434", "text": "public void accept(Union exp)\n \t{\n \t\texp.lhs.visit(this);\n \t\temit(\" | \");\n \t\texp.rhs.visit(this);\n \t}", "title": "" }, { "docid": "0218f605408c1dd357cb80dfd44c79af", "score": "0.49152303", "text": "protected VoltTable unionTables(List<VoltTable> operands) {\n VoltTable result = null;\n VoltTable vt = operands.get(0);\n if (vt != null) {\n VoltTable.ColumnInfo[] columns = new VoltTable.ColumnInfo[vt\n .getColumnCount()];\n for (int ii = 0; ii < vt.getColumnCount(); ii++) {\n columns[ii] = new VoltTable.ColumnInfo(vt.getColumnName(ii),\n vt.getColumnType(ii));\n }\n result = new VoltTable(columns);\n for (Object table : operands) {\n vt = (VoltTable) (table);\n while (vt.advanceRow()) {\n result.add(vt);\n }\n }\n }\n return result;\n }", "title": "" }, { "docid": "b17a16db6a389ba5de31707bf07071cc", "score": "0.49093077", "text": "public boolean supportsUnionAll() throws SQLException {\n return true;\n }", "title": "" }, { "docid": "134ef8155b5b96f135c4cdecb8aa6e31", "score": "0.48967305", "text": "private void unionAbove(int p) {\n if (p >= n) {\n if (isOpen(p - n)) {\n uf.union(p, p - n);\n ufBackwash.union(p, p - n);\n }\n } else {\n uf.union(p, n * n);\n ufBackwash.union(p, n * n);\n }\n }", "title": "" }, { "docid": "0b469d6ef89b42967e1d134653c53db2", "score": "0.4891435", "text": "@Test\n\tpublic void Uniontest() {\n\t\tassertTrue(\"Test inutil\", true);\n\t}", "title": "" }, { "docid": "b9d7d6469b9df7a82d21cc520433d2e9", "score": "0.4890967", "text": "@Test\n public void testUnionWIthUnion() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"milk@juice,jane@bird,milk@juice\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Union(new Union(new Recipient(\"milk@juice\"), new Recipient(\"jane@bird\")),\n new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression); \n }", "title": "" }, { "docid": "878494cb92f63d2747ad6da0dcf99d8c", "score": "0.4879021", "text": "private void unionLeft(int p) {\n if (p % n != 0) {\n if (isOpen(p - 1)) {\n uf.union(p, p - 1);\n ufBackwash.union(p, p - 1);\n }\n }\n }", "title": "" }, { "docid": "6d31de032d8dc39316cf4ff92678a90a", "score": "0.48721048", "text": "@Override\n public void union(ISet set) {\n }", "title": "" }, { "docid": "c63f1f7c58580760620e17daa6045981", "score": "0.48690465", "text": "boolean union(T2 that, Worklist work) {\n assert !unified() && !that.unified(); // Cannot union twice\n if( this==that ) return false;\n if( work==null ) return true; // Report progress without changing\n\n // Merge all the hard bits\n unify_base(that);\n if( _fidxs !=null ) that._fidxs = that._fidxs==null ? _fidxs : that._fidxs.meet(_fidxs);\n if( _aliases!=null ) {\n if( that._aliases==null ) { that._aliases = _aliases; that._open = _open; }\n else { that._aliases = that._aliases.meet(_aliases); that._open &= _open; }\n }\n if( _args!=null ) {\n if( that._args==null ) { that._args = _args; _args=null; }\n else that._args.putAll(_args);\n }\n if( _err!=null && that._err==null ) that._err = _err;\n else if( _err!=null && !_err.equals(that._err) )\n throw unimpl(); // TODO: Combine single errors\n\n // Work all the deps\n that.add_deps_work(work);\n this.add_deps_work(work); // Any progress, revisit deps\n // Hard union this into that, no more testing.\n return _union(that);\n }", "title": "" }, { "docid": "e3b3aefce38773847de650e3c0246aa1", "score": "0.48688602", "text": "private void union(int x,int y)\n\t{\n\t\tunionTable.put(y, x);\n\t}", "title": "" }, { "docid": "a00e1a21b8e66c9adc111d62c64f635e", "score": "0.48649737", "text": "@Override\r\n\tpublic void visit(OWLObjectUnionOf ce) {\r\n\t\tfinal Set<OWLClassExpression> operands = ce.getOperands();\r\n\r\n\t\tint i = 0;\r\n\t\tfor (OWLClassExpression operand : operands) {\r\n\t\t\tLiteral[] head = new Literal[1];\r\n\t\t\thead[0] = new Literal(manager.getPredicate(ce), X);\r\n\t\t\tLiteral[] body = new Literal[1];\r\n\r\n\t\t\tbody[0] = new Literal(manager.getPredicate(operand), X);\r\n\r\n\t\t\tfinal Clause clause = new Clause(head, body);\r\n\t\t\tclauses.add(clause);\r\n\t\t\tlogger.debug(\"{}\\n\\t->\\n{}\", ce, clause);\r\n\t\t\ti++;\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "831292c991e6290e138cd074d726344b", "score": "0.4861521", "text": "private static NamespaceConstraint union(final NamespaceConstraint one, final NamespaceConstraint two) \n throws WildcardUnionException\n {\n PreCondition.assertArgumentNotNull(one, \"one\");\n PreCondition.assertArgumentNotNull(two, \"two\");\n\n if (equals(one, two))\n {\n return one;\n }\n else\n {\n switch (one.m_mode)\n {\n case Any:\n {\n return Any();\n }\n case Exclude:\n {\n switch (two.m_mode)\n {\n case Any:\n {\n return Any();\n }\n case Exclude:\n {\n return NotAbsent();\n }\n case Include:\n {\n return unionIncludeAndExclude(two, one);\n }\n default:\n {\n throw new AssertionError(one.m_mode);\n }\n }\n }\n case Include:\n {\n switch (two.m_mode)\n {\n case Any:\n {\n return Any();\n }\n case Exclude:\n {\n return unionIncludeAndExclude(one, two);\n }\n case Include:\n {\n return new NamespaceConstraint(Mode.Include, union(one.m_namespaces, two.m_namespaces));\n }\n default:\n {\n throw new AssertionError(two.m_mode);\n }\n }\n }\n default:\n {\n throw new AssertionError(one.m_mode);\n }\n }\n }\n }", "title": "" }, { "docid": "19dfaa2be9232602888be46ba82c008a", "score": "0.48539355", "text": "@Override\n\tpublic void union(int p, int q) {\n\t\tvalidate(p);\n\t\tvalidate(q);\n\t\tint pRoot = findRoot(p);\n\t\tint qRoot = findRoot(q);\n\t\tif(pRoot == qRoot) return;\n\t\tif(sz[pRoot] < sz[qRoot]) {\n\t\t\tid[pRoot] = qRoot;\n\t\t\tsz[qRoot] += sz[pRoot];\n\t\t}else {\n\t\t\tid[qRoot] = pRoot;\n\t\t\tsz[pRoot] += sz[qRoot];\n\t\t}\n\t\tcount--;\n\t\t\t\n\t}", "title": "" }, { "docid": "4842ab3065bdd167018b5ac55662237b", "score": "0.4841788", "text": "private void unionRight(int p) {\n if ((p + 1) % n != 0) {\n if (isOpen(p + 1)) {\n uf.union(p, p + 1);\n ufBackwash.union(p, p + 1);\n }\n }\n }", "title": "" }, { "docid": "f840540d16ca951cd917c70b47a2967b", "score": "0.48336232", "text": "void union(Posn p1, Posn p2) {\n reps.put(this.find(p1), this.find(p2));\n }", "title": "" }, { "docid": "f101c1e1f7863a47f8aa6ffec4a72840", "score": "0.4824307", "text": "@Override public void exitUnion(DBMSGrammarParser.UnionContext ctx) {\n List<ParseTree> children = ctx.children;\r\n // instantiate parse tree values\r\n ParseTree relationTree = null;\r\n ParseTree conditionTree = null;\t\r\n\r\n // iterate through children\r\n int counter = 0;\r\n for (ParseTree child : children) {\r\n //System.out.println(\"Child[\" + counter + \"]: \" + child.getText() + \"\\n\");\r\n \r\n // skip child nodes with no children (e.g., CAPITALIZE, WHERE)\r\n if (child.getChildCount() == 0) { continue; }\r\n\r\n // get relation name's parse tree\r\n if (counter == 0) { relationTree = child; }\r\n\r\n // get condition's parse tree\r\n else if (counter == 1) { conditionTree = child; }\r\n\r\n ++counter;\r\n }\r\n \r\n String lString;\r\n String rString;\r\n \r\n // check left operand\r\n if(isInView(children.get(0).getText()) == 1) { \r\n lString = children.get(0).getText();\r\n } else {\r\n lString = engine.queue.relations.get(engine.queue.relations.size()-1).name;\r\n engine.view.addRelation(engine.queue.getRelation(lString));\r\n engine.queue.delRelation(lString);\r\n }\r\n \r\n // check right operand\r\n if(isInView(children.get(2).getText()) == 1) { \r\n rString = children.get(2).getText();\r\n } else {\r\n rString = engine.queue.relations.get(engine.queue.relations.size()-1).name;\r\n engine.view.addRelation(engine.queue.getRelation(rString));\r\n engine.queue.delRelation(rString);\r\n }\r\n \r\n try {\r\n engine.unionQuery(lString, rString);\r\n } catch (Exception e) {\r\n System.out.println(\"Error in Query...\\n\");\r\n return;\r\n }\r\n if(canConvertInt(lString) == 1) { engine.view.delRelation(lString); }\r\n if(canConvertInt(rString) == 1) { engine.view.delRelation(rString); }\r\n }", "title": "" }, { "docid": "ce5cf0b16e3ca5c88ff463218c72adf0", "score": "0.48117495", "text": "FiniteBag<L> union(FiniteBag<L> u);", "title": "" }, { "docid": "5d0425d9377757afaa3fdab6b4c8a0e2", "score": "0.48090738", "text": "@Test\n public void testPriorityDiffOverUnion() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"c, a!b\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Union(new ListName(\"c\"), new Difference(\n new ListName(\"a\"), new ListName(\"b\"))); \n assertEquals(parseExpression, genExpression); \n }", "title": "" }, { "docid": "4e8b002a35db297fcbed8e6561b0f910", "score": "0.4793809", "text": "private void unionOnNonConnectedComps(int p, int q){\n if(!uf.connected(p, q))\n uf.union(p, q);\n if(!uf2.connected(p, q))\n uf2.union(p, q);\n }", "title": "" }, { "docid": "c9e0a0d6aa1c32007bb1efe869f2c4d5", "score": "0.4766491", "text": "public static <E> Iterator<E> union(Iterator<E> a, Iterator<E> b) {\n List<Iterator<E> > iters = new ArrayList<Iterator<E> >();\n iters.add(a);\n iters.add(b);\n return union(iters);\n }", "title": "" }, { "docid": "688abce130ab9fd1e59ec8a9b6ea81b9", "score": "0.4750871", "text": "MySet<T> union(MySet<T> mySet) throws MySetException;", "title": "" }, { "docid": "78ebfcb8dff11da10a86859397746608", "score": "0.4714766", "text": "@Test\n public void testUnionWithParallel() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"(jam@apple|big@small),milk@juice\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Union(new Parallel(new Recipient(\"jam@apple\"), new Recipient(\"big@small\")),\n new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression);\n }", "title": "" }, { "docid": "cf2431d383734116321364fc546b333f", "score": "0.47127983", "text": "public void union(int p, int q)\r\n\t{\r\n\t\tint i = root(p);\r\n\t\tint j = root(q);\r\n\t\tid[i] = j;\r\n\t}", "title": "" }, { "docid": "ab4c32f2319a42effd0c3787ec7b0018", "score": "0.4711774", "text": "public void union(int p, int q)\n\t{\n\t\tint i = root(p);\n\t\tint j = root(q);\n\t\tid[i]= j;\n\t}", "title": "" }, { "docid": "dbaba76e8544b3085d9e873551c59bb6", "score": "0.4697417", "text": "@Test\n public void testUnionBasic() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"bob@home,milk@juice\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Union(new Recipient(\"bob@home\"), new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression);\n final ListExpression parseExpression2 = ListExpression.parse(\" bob@home , milk@juice \");\n assertConsistent(parseExpression2);\n assertEquals(parseExpression2, genExpression);\n }", "title": "" }, { "docid": "b83f154ed729efc9a8605d8a4a70f3b8", "score": "0.4689135", "text": "@Test\n public void testUnionWithSequence() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"(jam@apple;big@small),milk@juice\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Union(new Sequence(new Recipient(\"jam@apple\"), new Recipient(\"big@small\")),\n new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression);\n }", "title": "" }, { "docid": "ef21fa7bf97ff17dc12a441694a5bbde", "score": "0.4678149", "text": "public void union(int p, int q) {\n\t\tint i = root(p);\n\t\tint j = root(q);\n\t\tid[i] = j;\n\t}", "title": "" }, { "docid": "54eab94d0f21a82e46bb6d89fcbc0da2", "score": "0.4668867", "text": "public void union(int a, int b) {\n //if both are roots and size of a is less than size of b\n if (this.tree[a] > 0) {\n this.union(this.find(a), b);\n } else if (this.tree[b] > 0) {\n this.union(a, this.find(b));\n } else if (this.tree[a] < 0 && this.tree[b] < 0 \n && this.tree[b] < this.tree[a]) {\n this.union(b, a);\n } else {\n //size of a is greater than size of b\n this.tree[a] = this.tree[a] + this.tree[b]; //increase size of a\n this.tree[b] = a; //make root of b equal a\n this.numSubsets--;\n }\n \n this.find(b);\n \n\n }", "title": "" }, { "docid": "d706772fbe03be747c3765d4df3a60a3", "score": "0.46572793", "text": "void union(int p,int q) {\n\tint pid = id[p];\n\tint qid = id[q];\n\tfor(int i = 0;i < size; i++) {\n\t if(pid == id[i]) {\n\t\tid[i] = qid;\n\t }\n\t}\n\t//\tid[p] = id[q];\n\tfor(int i : id) {\n\t System.out.print(i+\" \");\n\t}\n\tSystem.out.println();\n }", "title": "" }, { "docid": "21224e77100c3dbb183450b80a68fdd4", "score": "0.4651588", "text": "@Test\n\tpublic void testSummarizeDUnion() {\n\t\tString src =\n\t\t\t\"BEGIN;\\n\" +\n\t\t \"VAR a PRIVATE INIT(relation {\\n\" +\n\t\t \" tuple {x relation{tuple{x 1, y 1.2}}, z \\\"falsefalse\\\"},\\n\" +\n\t\t \" tuple {x relation{tuple{x 1, y 1.2}}, z \\\"falsefalse\\\"},\\n\" +\n\t\t \" tuple {x relation{tuple{x 3, y 1.3}}, z \\\"truefalse\\\"},\\n\" +\n\t\t \" tuple {x relation{tuple{x 2, y 1.4}}, z \\\"truefalse\\\"},\\n\" +\n\t\t \" tuple {x relation{tuple{x 1, y 1.5}}, z \\\"truetrue\\\"},\\n\" +\n\t\t \" tuple {x relation{tuple{x 3, y 1.1}}, z \\\"truetrue\\\"}\\n\" +\n\t\t \"}) KEY {ALL BUT};\\n\" +\n\t\t\t\"END;\\n\" +\n\t\t\t\"SUMMARIZE a BY {z} : {unionOfx := D_UNION(x)}\";\n\t\tString result = \"RELATION {z CHARACTER, unionOfx RELATION {x INTEGER, y RATIONAL}} {\" +\n\t\t\t\"\\n\\tTUPLE {z \\\"falsefalse\\\", unionOfx RELATION {x INTEGER, y RATIONAL} {\" +\n\t\t\t\"\\n\\tTUPLE {x 1, y 1.2}\" +\n\t\t\t\"\\n}},\" +\n\t\t\t\"\\n\\tTUPLE {z \\\"truefalse\\\", unionOfx RELATION {x INTEGER, y RATIONAL} {\" +\n\t\t\t\"\\n\\tTUPLE {x 3, y 1.3},\" +\n\t\t\t\"\\n\\tTUPLE {x 2, y 1.4}\" +\n\t\t\t\"\\n}},\" +\n\t\t\t\"\\n\\tTUPLE {z \\\"truetrue\\\", unionOfx RELATION {x INTEGER, y RATIONAL} {\" +\n\t\t\t\"\\n\\tTUPLE {x 1, y 1.5},\" +\n\t\t\t\"\\n\\tTUPLE {x 3, y 1.1}\" +\n\t\t\t\"\\n}}\" +\n\t\t\t\"\\n}\";\n\t\ttestEquals(result, src);\t\t\n\t}", "title": "" }, { "docid": "308775ef53e373720b2b10f6405f57aa", "score": "0.46472207", "text": "public abstract void handleUnion(String cppUnionTypeName, XSSimpleTypeDefinition simpleType);", "title": "" }, { "docid": "0307bdd9906ee4a3b0dbcef119740c4c", "score": "0.4640137", "text": "public static void setUnion(boolean union) {\r\n\t\tsetBoolean(\"union\", union);\r\n\t}", "title": "" }, { "docid": "c1b083e23bae56f58ed452d61e1c5680", "score": "0.46352482", "text": "private void renderWhere( StringBuilder sb, PrefixLogger pl, String union, int depth ) {\n\t\tboolean isComplex = followers.size() > 0;\n\t\tfor (int i = 0; i < depth; i += 1) sb.append( \" \" );\n\t\tsb.append( union );\n\t\tif (isComplex) sb.append( \"{\" );\n\t\tsb.append( \"{ \" ).append( triple.asSparqlTriple(pl) ).append( \" . } \" );\n\t\tif (isComplex) {\n\t\t\tint index = 0;\n\t\t\tsb.append( \" OPTIONAL {\\n\" );\n\t\t\tfor (ChainTree cc: followers) {\n\t\t\t\tcc.renderWhere( sb, pl, (index ++ == 0 ? \"\" : \"UNION \"), depth + 1 );\n\t\t\t}\n\t\t\tfor (int i = 0; i < depth; i += 1) sb.append( \" \" );\n\t\t\tsb.append( \"}\" );\n\t\t}\n\t\tif (isComplex) sb.append( \"}\" );\n\t\tsb.append( \"\\n\" );\n\t}", "title": "" }, { "docid": "5b49a2e8706fbc12bbc4eab44d9a246f", "score": "0.46339798", "text": "public void union(int p, int q) {\n int i = root(p);\n int j = root(q);\n if (sz[i] < sz[j]) { id[i] = j; sz[j] += sz[i]; }\n else { id[j] = i; sz[i] += sz[j]; }\n }", "title": "" }, { "docid": "0e772fb19411d759aa8804f407f267b4", "score": "0.46175808", "text": "public void union(int p, int q)\n {\n int i = root(p);\n int j = root(q);\n id[i] = j;\n }", "title": "" }, { "docid": "fc8b84462f3e6d7398b41b56433a7ca6", "score": "0.46174473", "text": "public void union(MySet set2) {\n\t\tif (!this==set2) {\n\t\t\tIterator<SubSet> it = this.iterator();\n\t\t\tIterator<SubSet> it2 = set2.iterator();\n\n\t\t\twhile (!it2.isOnFlag()) {\n\t\t\t\tSubSet cur = it.getValue();\n\t\t\t\tSubSet cur2 = it2.getValue();\n\n\t\t\t\tswitch (MySet.compare(cur.rank, cur2.rank)) {\n\t\t\t\t\tcase INF:\n\t\t\t\t\t\tit.goForward();\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase SUP:\n\t\t\t\t\t\tit.addLeft(cur2.clone());\n\t\t\t\t\t\tit.goForward();\n\t\t\t\t\t\tit2.goForward();\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcur.set.union(cur2.set);\n\t\t\t\t\t\tit.goForward();\n\t\t\t\t\t\tit2.goForward();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t}", "title": "" }, { "docid": "feb5882bcef5f1d9992061f605f37a8f", "score": "0.4607517", "text": "public void union(int p,int q){\n \t \n \t if(root(p)==root(q)) return;\n \t if(sz[p]<sz[q]){\n \t\t int a = root(p);\n \t\t id[a] = root(q);\n \t\t \n \t }else{\n \t\tint a = root(q);\n \t\t id[a] = root(p);\n \t }\n \t connectedNode++;\n }", "title": "" }, { "docid": "5b440ee245c71cd23a1ebaaad33f4639", "score": "0.45953813", "text": "void unionGroup(ActionEvent evt) {\r\n\t\tint[] rows = _table.getSelectedRows();\r\n\t\tExecutor.execute(new UnionGroupCommand(getSession(), rows), this);\r\n\t}", "title": "" }, { "docid": "e40d70ad687900942f1647bed28fb906", "score": "0.45901704", "text": "public QueryRootQuery entryUnion(String key, EntryUnionQueryDefinition queryDef) {\n startField(\"entry_union\");\n\n _queryBuilder.append(\"(key:\");\n AbstractQuery.appendQuotedString(_queryBuilder, key.toString());\n\n _queryBuilder.append(')');\n\n _queryBuilder.append('{');\n queryDef.define(new EntryUnionQuery(_queryBuilder));\n _queryBuilder.append('}');\n\n return this;\n }", "title": "" }, { "docid": "c5e8ec6ac81b520c487e0fdf8495ddc3", "score": "0.45797738", "text": "@Test\n public void testUnionWithDefinition() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"(apple = big@small),milk@juice\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Union(new Definition(new ListName(\"apple\"), new Recipient(\"big@small\")),\n new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression);\n }", "title": "" }, { "docid": "590781875014039b6b8c0782a93f30e8", "score": "0.4545169", "text": "void union(int a, int b) {\n if (a > b) {\n int temp = a;\n a = b;\n b = temp;\n }\n // nyt a <= b\n vanhempi[a] = b;\n koko[b] = koko[b] + koko[a];\n }", "title": "" }, { "docid": "fb2b36e52fa77b64cb97312def7c7554", "score": "0.45422366", "text": "private void buildSelectClauseForInsert(StringBuilder query) {\n List<FieldSchema> cols;\n if (CompactionType.REBALANCE.equals(compactionType) ||\n CompactionType.MAJOR.equals(compactionType) && (!insertOnly || sourcePartition != null) ||\n CompactionType.MINOR.equals(compactionType) && insertOnly) {\n if (sourceTab == null) {\n return; // avoid NPEs, don't throw an exception but skip this part of the query\n }\n cols = sourceTab.getSd().getCols();\n } else {\n cols = null;\n }\n switch (compactionType) {\n case REBALANCE: {\n query.append(\"0, t2.writeId, t2.rowId DIV CEIL(numRows / \")\n .append(numberOfBuckets)\n .append(\"), t2.rowId, t2.writeId, t2.data from (select \")\n .append(\"count(ROW__ID.writeId) over() as numRows, \");\n if (StringUtils.isNotBlank(orderByClause)) {\n // in case of reordering the data the writeids cannot be kept.\n query.append(\"MAX(ROW__ID.writeId) over() as writeId, row_number() OVER (\")\n .append(orderByClause);\n } else {\n query.append(\"ROW__ID.writeId as writeId, row_number() OVER (order by ROW__ID.writeId ASC, ROW__ID.bucketId ASC, ROW__ID.rowId ASC\");\n }\n query.append(\") - 1 AS rowId, NAMED_STRUCT(\");\n for (int i = 0; i < cols.size(); ++i) {\n query.append(i == 0 ? \"'\" : \", '\").append(cols.get(i).getName()).append(\"', `\")\n .append(cols.get(i).getName()).append(\"`\");\n }\n query.append(\") as data\");\n break;\n }\n case MAJOR: {\n if (insertOnly) {\n if (sourcePartition != null) { //mmmajor and partitioned\n appendColumns(query, cols, false);\n } else { // mmmajor and unpartitioned\n query.append(\"*\");\n }\n } else {\n query.append(\n \"validate_acid_sort_order(ROW__ID.writeId, ROW__ID.bucketId, ROW__ID.rowId), \"\n + \"ROW__ID.writeId, ROW__ID.bucketId, ROW__ID.rowId, ROW__ID.writeId, \"\n + \"NAMED_STRUCT(\");\n appendColumns(query, cols, true);\n query.append(\") \");\n }\n break;\n }\n case MINOR: {\n if (insertOnly) {\n appendColumns(query, cols, false);\n } else {\n query.append(\n \"`operation`, `originalTransaction`, `bucket`, `rowId`, `currentTransaction`, `row`\");\n }\n break;\n }\n }\n }", "title": "" }, { "docid": "92aa9b598bad16444a2e8200efb043f2", "score": "0.45369494", "text": "public int parseGrammarWithOr(String input, int start, boolean canAdd) {\n\t\twhile(true) {\n\t\t\tMetaNode temp = new MetaNode(this);\n\t\t\tErrorHandler.register(\"Expected group or identifier while parsing or_list at char \" + start);\n\t\t\tstart = temp.parseGrammarItems(input, start, true);\n\t\t\tif(start < 0) {\n\t\t\t\tErrorHandler.commit(false);\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tErrorHandler.cancel();\n\t\t\tstart = Helper.parseWhiteSpaceAndComments(input, start);\n\t\t\tint next = Helper.parseConstant(input, start, \"|\");\n\t\t\tif(next < 0) {\n\t\t\t\tif(children.size() == 1) {\n\t\t\t\t\tchildren.get(0).copyInto(this);\n\t\t\t\t} else {\n\t\t\t\t\tthis.value = \"|\";\n\t\t\t\t}\n\t\t\t\tparent.addChild(this, canAdd);\n\t\t\t\treturn start;\n\t\t\t} else {\n\t\t\t\tstart = Helper.parseWhiteSpaceAndComments(input, next);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e68152c80df1bf1a71a9e7c7e8c10433", "score": "0.45355666", "text": "public static Statistician union(Statistician s1, Statistician s2)\r\n {\r\n // The student's code will replace this return statement:\r\n return null;\r\n }", "title": "" }, { "docid": "50f48fd7d966cc7ef9e0ff4ef9e66f7a", "score": "0.45138454", "text": "@Override\r\n\tpublic Pattern execute(Pattern f) {\r\n\r\n\t\tPattern p1 = d1.execute(f);\r\n\t\tPattern p2 = d2.execute(f);\r\n\t\t\r\n\t\treturn p1.reunion(p2);\r\n\t}", "title": "" }, { "docid": "b4e1ae1fc239dafa65675959a77a6ade", "score": "0.4509781", "text": "static TupleList union(TupleList list1, TupleList list2) {\n TupleList l;\n l = new TupleList(list1.size());\n \n l.addAll(list1);\n if(list1 != list2) l.addAll(list2);\n \n return l;\n }", "title": "" }, { "docid": "b2cae2680baa2dcc3bf82b68eb6a8956", "score": "0.4507668", "text": "@Test\n public void testUnionWithIntersection() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"milk@juice*jane@bird,milk@juice\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Union(new Intersection(new Recipient(\"milk@juice\"), new Recipient(\"jane@bird\")),\n new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression);\n }", "title": "" }, { "docid": "746fd04f515d66a0241d695eb5b3b0f8", "score": "0.4504175", "text": "public Bag union(Bag u) {\n // Union U with the unioned left & right with a copy this object; \n // then add the root\n return u.union(this.left.union(this.right)).add(this.root);\n }", "title": "" }, { "docid": "a30cfb36b75f5e97f0aa2a02d06b0451", "score": "0.44937262", "text": "void union(Multiset<E> other);", "title": "" }, { "docid": "d01fce315fde82dfe074233966619222", "score": "0.44883955", "text": "private boolean containsUnionNode(PlanNode node) {\n if (node instanceof UnionNode) {\n return true;\n }\n\n for (PlanNode child : node.getChildren()) {\n if (child instanceof ExchangeNode) {\n // Ignore other fragment's node\n continue;\n } else if (child instanceof UnionNode) {\n return true;\n } else {\n return containsUnionNode(child);\n }\n }\n return false;\n }", "title": "" }, { "docid": "7fa5a0c7c433312456ad8073b949ea75", "score": "0.44441405", "text": "public int union(int a, int b) {\n Node repA = nodes[find(a)];\n Node repB = nodes[find(b)];\n\n repB.parent = repA;\n return repA.id;\n }", "title": "" }, { "docid": "6d5a257929559c18d17eddd5c71be3b9", "score": "0.44424167", "text": "private Feature union(PlugInContext context, TaskMonitor monitor, FeatureCollection fc) {\r\n Collection points = new ArrayList();\r\n Collection lineStrings = new ArrayList();\r\n Collection polygons = new ArrayList();\r\n Collection geoms = new ArrayList();\r\n for (Iterator it = fc.iterator() ; it.hasNext() ; ) {\r\n Feature f = (Feature) it.next();\r\n Geometry g = f.getGeometry();\r\n if (!g.isValid()) {\r\n context.getWorkbenchFrame().warnUser(\r\n I18N.get(\"ui.plugin.analysis.UnionByAttributePlugIn.invalid-geometry-excluded\"));\r\n context.getOutputFrame().addText(\r\n I18N.getMessage(\"ui.plugin.analysis.UnionByAttributePlugIn.exclusion\", new Object[]{f.getID()}));\r\n continue;\r\n }\r\n else if (g.isEmpty()) continue;\r\n else if (g instanceof Point) points.add(g);\r\n else if (g instanceof LineString) lineStrings.add(g);\r\n else if (g instanceof Polygon) polygons.add(g);\r\n else if (g instanceof GeometryCollection) {\r\n Geometry gc = (GeometryCollection)g;\r\n for (int j = 0 ; j < gc.getNumGeometries() ; j++) {\r\n Geometry gp = gc.getGeometryN(j);\r\n if (gp instanceof Point) points.add(gp);\r\n else if (gp instanceof LineString) lineStrings.add(gp);\r\n else if (gp instanceof Polygon) polygons.add(gp);\r\n else;\r\n }\r\n }\r\n }\r\n Geometry gp;\r\n if (points.size()>0 && null != (gp = UnaryUnionOp.union(points))) {\r\n geoms.add(gp);\r\n }\r\n else if (lineStrings.size()>0) {\r\n gp = UnaryUnionOp.union(lineStrings);\r\n if (gp != null && merge_linestrings) {\r\n LineMerger merger = new LineMerger();\r\n merger.add(gp);\r\n geoms.addAll(merger.getMergedLineStrings());\r\n }\r\n else if (gp != null) geoms.add(gp);\r\n }\r\n if (polygons.size()>0 && null != (gp = UnaryUnionOp.union(polygons))) {\r\n geoms.add(gp);\r\n }\r\n \r\n FeatureSchema schema = fc.getFeatureSchema();\r\n Feature feature = new BasicFeature(schema);\r\n if (geoms.size()==0) {\r\n feature.setGeometry(factory.createGeometryCollection(new Geometry[]{}));\r\n }\r\n else {\r\n feature.setGeometry(UnaryUnionOp.union(geoms));\r\n }\r\n if (aggregate_unused_fields) {\r\n feature = aggregateValues(context, fc, feature);\r\n }\r\n return feature;\r\n }", "title": "" }, { "docid": "55c29bf66d25b5c14551a62972072b2f", "score": "0.44404545", "text": "public void union(int p, int q) {\n int pid = ids[p];\n int qid = ids[q];\n for (int i = 0; i < ids.length; i++) {\n if (ids[i] == pid)\n ids[i] = qid;\n }\n }", "title": "" }, { "docid": "410a075a3c5dd5045a36dbc2e743fb7a", "score": "0.4430146", "text": "public void union(int p, int q)\n\t{\n\t\tint pId = id[p];\n\t\tint qId = id[q];\n\t\t\n\t\tfor (int i = 0; i < id.length; i++)\n\t\t\tif (id[i] == pId)\n\t\t\t\tid[i] = qId;\n\t}", "title": "" }, { "docid": "3fd5c3465b01aa6f973f96bda3e543f4", "score": "0.4419004", "text": "@Override\n public void reflectRelationOnUnionQuery(final ConditionQuery bqs,\n final ConditionQuery uqs) {\n final WebConfigToRoleTypeMappingCQ bq = (WebConfigToRoleTypeMappingCQ) bqs;\n final WebConfigToRoleTypeMappingCQ uq = (WebConfigToRoleTypeMappingCQ) uqs;\n if (bq.hasConditionQueryRoleType()) {\n uq.queryRoleType().reflectRelationOnUnionQuery(bq.queryRoleType(),\n uq.queryRoleType());\n }\n if (bq.hasConditionQueryWebCrawlingConfig()) {\n uq.queryWebCrawlingConfig().reflectRelationOnUnionQuery(\n bq.queryWebCrawlingConfig(), uq.queryWebCrawlingConfig());\n }\n }", "title": "" }, { "docid": "94b6a575425d85bdc0a3df27c4cc49f9", "score": "0.44187316", "text": "public static Type union(final Type type1, final Type type2) {\n if(type1 == null || type2 == null) {\n return null;\n }\n if(isAssignableTo(type1, type2)) {\n return type1;\n }\n if(isAssignableTo(type2, type1)) {\n return type2;\n }\n if(void.class.equals(type1) || void.class.equals(type2)) {\n return null;\n }\n if(isClass(type1)) {\n if(isClass(type2)) {\n return null;\n }\n return ExtendedWildcard.union(type1, type2);\n }\n return ExtendedWildcard.union(type2, type1);\n }", "title": "" }, { "docid": "386dd19ae3640b9c2be15d6b0018e505", "score": "0.44173688", "text": "java.lang.String getUnionid();", "title": "" }, { "docid": "386dd19ae3640b9c2be15d6b0018e505", "score": "0.44173688", "text": "java.lang.String getUnionid();", "title": "" }, { "docid": "c886d4237f6c93c00a057d2ec888c8fc", "score": "0.44128323", "text": "@Override\n public Set union(Object theSet)\n {\n arraySet newSet = new arraySet();\n arraySet secondSet = (arraySet) theSet;\n //Go through each element of this and copy into the new set.\n //The add method makes sure there aren't any duplicates.\n for(int i = 0; i < this.size(); i++)\n {\n newSet.add(this.theSet[i]);\n }\n //Go through each element of theSet and copy into the new set.\n //The add method makes sure there aren't any duplicates.\n for(int i = 0; i < secondSet.size(); i++)\n {\n newSet.add(secondSet.theSet[i]);\n }\n return newSet;\n }", "title": "" }, { "docid": "521a0c59e4cd67056bb2c8a6409e6e08", "score": "0.44101986", "text": "SelectFromClause createSelectFromClause();", "title": "" }, { "docid": "dbb02897144d448e8c5d7b05556a0507", "score": "0.440382", "text": "@RuntimeInterop\n public static <T> Set<T> union(Imyhat type, Set<T> left, Set<T> right) {\n Set<T> result = type.newSet();\n result.addAll(left);\n result.addAll(right);\n return result;\n }", "title": "" }, { "docid": "812b2fda9b101cab1218484f9f41abeb", "score": "0.44017315", "text": "@Test\n public void testUnionWithParenthesis() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"(milk@juice,jane@bird),milk@juice\");\n final ListExpression parseExpression2 = ListExpression.parse(\"milk@juice,(jane@bird,milk@juice)\");\n assertConsistent(parseExpression);\n assertConsistent(parseExpression2);\n final ListExpression genExpression = new Union(new Union(new Recipient(\"milk@juice\"), new Recipient(\"jane@bird\")),\n new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression);\n assertNotEquals(parseExpression2, genExpression);\n }", "title": "" }, { "docid": "91ce0524217bf0c227ef6a2e2e453919", "score": "0.43990043", "text": "private void setup2()\n {\n String[] boxes = {\"a\", \"b\", \"c\", \"d\"};\n unionFinder = new UnionFinder<>(boxes);\n }", "title": "" }, { "docid": "3012cbe72a5e1680646e120a2c5ed2a0", "score": "0.4397424", "text": "UnionFind(int numberofVertices)\n\t{\n\t\tcount = numberofVertices;\n\t\tidentifierArray = new int[numberofVertices];\n\t\tfor (int i = 0; i < numberofVertices; i++)\n\t\t\tidentifierArray[i] = i;\n\t\t\n\t\tsize = new int[numberofVertices];\n\t\tfor (int i = 0; i < numberofVertices; i++) size[i] = 1;\n\t}", "title": "" }, { "docid": "c2e1e111323412d92e2d664144ba7847", "score": "0.4394878", "text": "@Test\n public void testParallelWIthUnion() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"milk@juice,jane@bird|milk@juice\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Parallel(new Union(new Recipient(\"milk@juice\"), new Recipient(\"jane@bird\")),\n new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression); \n }", "title": "" }, { "docid": "40b954354a9f2bfd0118f0282d0abcc5", "score": "0.43817976", "text": "Or() {\n super();\n }", "title": "" }, { "docid": "47cde45455f70f9b29e617d3edec3e17", "score": "0.43746394", "text": "public TestMultiUnion( String s ) {\r\n super( s );\r\n }", "title": "" }, { "docid": "706c895d4caf89408507d01199f50747", "score": "0.43673354", "text": "@Test\n public void testSequenceWIthUnion() throws ParallelDefinitionException {\n final ListExpression parseExpression = ListExpression.parse(\"milk@juice,jane@bird;milk@juice\");\n assertConsistent(parseExpression);\n final ListExpression genExpression = new Sequence(new Union(new Recipient(\"milk@juice\"), new Recipient(\"jane@bird\")),\n new Recipient(\"milk@juice\"));\n assertEquals(parseExpression, genExpression); \n }", "title": "" }, { "docid": "0f8b7173f1c1b5a07c6b1203d9498267", "score": "0.43569514", "text": "public void union(int s, int t) {\n\t\t//balanced union: smaller tree points to larger tree\n\t\tif (Math.abs(upTreeArray[s].parentCount) >= Math.abs(upTreeArray[t].parentCount)) {\n\t\t\t//s is the larger tree\n\t\t\tupTreeArray[s].parentCount += upTreeArray[t].parentCount;\n\t\t\t//set child's parent count to s's index, as ptr\n\t\t\tupTreeArray[t].parentCount = s;\n\t\t\t//no return, we've changed the parent ptrs in array\n\t\t} else {\n\t\t\t//t is larger tree\n\t\t\tupTreeArray[t].parentCount += upTreeArray[s].parentCount;\n\t\t\tupTreeArray[s].parentCount = t;\n\t\t}\n\t}", "title": "" } ]
e0cfafc60dcad38d14ba11a814d15793
$ANTLR end "rule__XSetLiteral__Group__1" $ANTLR start "rule__XSetLiteral__Group__1__Impl" InternalMyDsl.g:6976:1: rule__XSetLiteral__Group__1__Impl : ( '' ) ;
[ { "docid": "54e5014f734dd4e18bacc8bb3b58ad5d", "score": "0.7675554", "text": "public final void rule__XSetLiteral__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:6980:1: ( ( '#' ) )\n // InternalMyDsl.g:6981:1: ( '#' )\n {\n // InternalMyDsl.g:6981:1: ( '#' )\n // InternalMyDsl.g:6982:2: '#'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); \n }\n match(input,60,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); \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": "21e48deb5be170a0d891cdf65f11caa5", "score": "0.82763445", "text": "public final void rule__XSetLiteral__Group_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7133:1: ( rule__XSetLiteral__Group_3_1__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7134:2: rule__XSetLiteral__Group_3_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3_1__1__Impl_in_rule__XSetLiteral__Group_3_1__114687);\n rule__XSetLiteral__Group_3_1__1__Impl();\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": "ef260a565ec3ed43fdda60d2bdf91f05", "score": "0.822257", "text": "public final void rule__XSetLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6879:1: ( rule__XSetLiteral__Group__0__Impl rule__XSetLiteral__Group__1 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6880:2: rule__XSetLiteral__Group__0__Impl rule__XSetLiteral__Group__1\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__0__Impl_in_rule__XSetLiteral__Group__014188);\n rule__XSetLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group__1_in_rule__XSetLiteral__Group__014191);\n rule__XSetLiteral__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": "99721eba6cc284dfc097072851463103", "score": "0.8182607", "text": "public final void rule__XSetLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6910:1: ( rule__XSetLiteral__Group__1__Impl rule__XSetLiteral__Group__2 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6911:2: rule__XSetLiteral__Group__1__Impl rule__XSetLiteral__Group__2\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__1__Impl_in_rule__XSetLiteral__Group__114249);\n rule__XSetLiteral__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group__2_in_rule__XSetLiteral__Group__114252);\n rule__XSetLiteral__Group__2();\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": "ed5c90cd110f71f9571f0e15b8ce0431", "score": "0.81525546", "text": "public final void rule__XSetLiteral__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7001:1: ( rule__XSetLiteral__Group__4__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7002:2: rule__XSetLiteral__Group__4__Impl\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__4__Impl_in_rule__XSetLiteral__Group__414434);\n rule__XSetLiteral__Group__4__Impl();\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": "02b41b7957635ef94236d4e1aa8d5d54", "score": "0.8090035", "text": "public final void rule__XSetLiteral__Group_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7157:1: ( rule__XSetLiteral__Group_3_1__1__Impl )\n // InternalMyDsl.g:7158:2: rule__XSetLiteral__Group_3_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group_3_1__1__Impl();\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": "131b0c1b5141f68717c572de49508461", "score": "0.8062917", "text": "public final void rule__XSetLiteral__Group_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11509:1: ( rule__XSetLiteral__Group_3_1__1__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11510:2: rule__XSetLiteral__Group_3_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3_1__1__Impl_in_rule__XSetLiteral__Group_3_1__123586);\n rule__XSetLiteral__Group_3_1__1__Impl();\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": "c0e32ee2617a4594685e410fe14a6d6e", "score": "0.8057098", "text": "public final void rule__XSetLiteral__Group_3_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9726:1: ( rule__XSetLiteral__Group_3_1__1__Impl )\r\n // InternalModel.g:9727:2: rule__XSetLiteral__Group_3_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group_3_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ab075953e5baf9db3d59602dcb8fb7fa", "score": "0.80554473", "text": "public final void rule__XSetLiteral__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7070:1: ( rule__XSetLiteral__Group_3__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7071:2: rule__XSetLiteral__Group_3__1__Impl\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3__1__Impl_in_rule__XSetLiteral__Group_3__114563);\n rule__XSetLiteral__Group_3__1__Impl();\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": "3879212f24314a5781a84ba3a2afedc4", "score": "0.80402565", "text": "public final void rule__XSetLiteral__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6922:1: ( ( '#' ) )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6923:1: ( '#' )\n {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6923:1: ( '#' )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6924:1: '#'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); \n }\n match(input,53,FOLLOW_53_in_rule__XSetLiteral__Group__1__Impl14280); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); \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": "23617dac145a91252365f4c76ba0dacc", "score": "0.80309147", "text": "public final void rule__XSetLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:6941:1: ( rule__XSetLiteral__Group__0__Impl rule__XSetLiteral__Group__1 )\n // InternalMyDsl.g:6942:2: rule__XSetLiteral__Group__0__Impl rule__XSetLiteral__Group__1\n {\n pushFollow(FOLLOW_49);\n rule__XSetLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__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": "473846eef5d8d6f4a515f44af87a94ca", "score": "0.79694486", "text": "public final void rule__XSetLiteral__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7049:1: ( rule__XSetLiteral__Group__4__Impl )\n // InternalMyDsl.g:7050:2: rule__XSetLiteral__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group__4__Impl();\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": "d6c51542b23a1a59fe18ec02961a2daf", "score": "0.787517", "text": "public final void rule__XSetLiteral__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11446:1: ( rule__XSetLiteral__Group_3__1__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11447:2: rule__XSetLiteral__Group_3__1__Impl\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3__1__Impl_in_rule__XSetLiteral__Group_3__123462);\n rule__XSetLiteral__Group_3__1__Impl();\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": "77a66cb84a7969110d798acf6d5b3e95", "score": "0.7856405", "text": "public final void rule__XSetLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11255:1: ( rule__XSetLiteral__Group__0__Impl rule__XSetLiteral__Group__1 )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11256:2: rule__XSetLiteral__Group__0__Impl rule__XSetLiteral__Group__1\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__0__Impl_in_rule__XSetLiteral__Group__023087);\n rule__XSetLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group__1_in_rule__XSetLiteral__Group__023090);\n rule__XSetLiteral__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": "f8f81705d30b1ba7a84b22c89422a9b4", "score": "0.78346205", "text": "public final void rule__XSetLiteral__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7103:1: ( rule__XSetLiteral__Group_3__1__Impl )\n // InternalMyDsl.g:7104:2: rule__XSetLiteral__Group_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group_3__1__Impl();\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": "da765859ce66209906eb411d66515628", "score": "0.7831141", "text": "public final void rule__XSetLiteral__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11377:1: ( rule__XSetLiteral__Group__4__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11378:2: rule__XSetLiteral__Group__4__Impl\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__4__Impl_in_rule__XSetLiteral__Group__423333);\n rule__XSetLiteral__Group__4__Impl();\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": "f71b311bd08326404372ce2e8e9c1fad", "score": "0.7805382", "text": "public final void rule__XSetLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:6968:1: ( rule__XSetLiteral__Group__1__Impl rule__XSetLiteral__Group__2 )\n // InternalMyDsl.g:6969:2: rule__XSetLiteral__Group__1__Impl rule__XSetLiteral__Group__2\n {\n pushFollow(FOLLOW_50);\n rule__XSetLiteral__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group__2();\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": "2085ed02650541a62b8637dbc44f5ada", "score": "0.7801954", "text": "public final void rule__XSetLiteral__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9510:1: ( rule__XSetLiteral__Group__0__Impl rule__XSetLiteral__Group__1 )\r\n // InternalModel.g:9511:2: rule__XSetLiteral__Group__0__Impl rule__XSetLiteral__Group__1\r\n {\r\n pushFollow(FOLLOW_27);\r\n rule__XSetLiteral__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3388be127576666bd7f1512b7625bf73", "score": "0.77791375", "text": "public final void rule__XSetLiteral__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6891:1: ( ( () ) )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6892:1: ( () )\n {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6892:1: ( () )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6893:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0()); \n }\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6894:1: ()\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6896:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "62280662d308b24326975f53d1cc0b1c", "score": "0.77738976", "text": "public final void rule__XSetLiteral__Group_3_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7102:1: ( rule__XSetLiteral__Group_3_1__0__Impl rule__XSetLiteral__Group_3_1__1 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7103:2: rule__XSetLiteral__Group_3_1__0__Impl rule__XSetLiteral__Group_3_1__1\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3_1__0__Impl_in_rule__XSetLiteral__Group_3_1__014625);\n rule__XSetLiteral__Group_3_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3_1__1_in_rule__XSetLiteral__Group_3_1__014628);\n rule__XSetLiteral__Group_3_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": "aa8401cf8374cdba3327c08be8a09b8e", "score": "0.7754269", "text": "public final void rule__XSetLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11286:1: ( rule__XSetLiteral__Group__1__Impl rule__XSetLiteral__Group__2 )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11287:2: rule__XSetLiteral__Group__1__Impl rule__XSetLiteral__Group__2\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__1__Impl_in_rule__XSetLiteral__Group__123148);\n rule__XSetLiteral__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group__2_in_rule__XSetLiteral__Group__123151);\n rule__XSetLiteral__Group__2();\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": "78cdbb5eb4a3e43fa1975a55ff57da39", "score": "0.7741663", "text": "public final void rule__XSetLiteral__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9618:1: ( rule__XSetLiteral__Group__4__Impl )\r\n // InternalModel.g:9619:2: rule__XSetLiteral__Group__4__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group__4__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "10276cab2af91967fbd5c7c334dc8c72", "score": "0.7731122", "text": "public final void rule__XSetLiteral__Group_3__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9672:1: ( rule__XSetLiteral__Group_3__1__Impl )\r\n // InternalModel.g:9673:2: rule__XSetLiteral__Group_3__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group_3__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "68a0bc4f1e2c6c3847f3226cb0263421", "score": "0.77129936", "text": "public final void rule__XSetLiteral__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11298:1: ( ( '#' ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11299:1: ( '#' )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11299:1: ( '#' )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11300:1: '#'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); \n }\n match(input,69,FOLLOW_69_in_rule__XSetLiteral__Group__1__Impl23179); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); \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": "054bdf2c52ac715e628a61791b6bb7ff", "score": "0.7654722", "text": "public final void rule__XSetLiteral__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:6953:1: ( ( () ) )\n // InternalMyDsl.g:6954:1: ( () )\n {\n // InternalMyDsl.g:6954:1: ( () )\n // InternalMyDsl.g:6955:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0()); \n }\n // InternalMyDsl.g:6956:2: ()\n // InternalMyDsl.g:6956:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "24515970041b864e96eb094e23195458", "score": "0.76497734", "text": "public final void rule__XSetLiteral__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7081:1: ( ( ( rule__XSetLiteral__Group_3_1__0 )* ) )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7082:1: ( ( rule__XSetLiteral__Group_3_1__0 )* )\n {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7082:1: ( ( rule__XSetLiteral__Group_3_1__0 )* )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7083:1: ( rule__XSetLiteral__Group_3_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup_3_1()); \n }\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7084:1: ( rule__XSetLiteral__Group_3_1__0 )*\n loop56:\n do {\n int alt56=2;\n int LA56_0 = input.LA(1);\n\n if ( (LA56_0==51) ) {\n alt56=1;\n }\n\n\n switch (alt56) {\n \tcase 1 :\n \t // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7084:2: rule__XSetLiteral__Group_3_1__0\n \t {\n \t pushFollow(FOLLOW_rule__XSetLiteral__Group_3_1__0_in_rule__XSetLiteral__Group_3__1__Impl14590);\n \t rule__XSetLiteral__Group_3_1__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop56;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getGroup_3_1()); \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": "7651e976c553a556072c527adba45823", "score": "0.760122", "text": "public final void rule__XSetLiteral__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9537:1: ( rule__XSetLiteral__Group__1__Impl rule__XSetLiteral__Group__2 )\r\n // InternalModel.g:9538:2: rule__XSetLiteral__Group__1__Impl rule__XSetLiteral__Group__2\r\n {\r\n pushFollow(FOLLOW_9);\r\n rule__XSetLiteral__Group__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group__2();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "94a719ffc36d5dcc38a79bf8412822a0", "score": "0.7598217", "text": "public final void rule__XSetLiteral__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6941:1: ( rule__XSetLiteral__Group__2__Impl rule__XSetLiteral__Group__3 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6942:2: rule__XSetLiteral__Group__2__Impl rule__XSetLiteral__Group__3\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__2__Impl_in_rule__XSetLiteral__Group__214311);\n rule__XSetLiteral__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group__3_in_rule__XSetLiteral__Group__214314);\n rule__XSetLiteral__Group__3();\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": "8ca9a62cc453409fb6ce811401d37312", "score": "0.7597315", "text": "public final void rule__XSetLiteral__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7012:1: ( ( '}' ) )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7013:1: ( '}' )\n {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7013:1: ( '}' )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7014:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); \n }\n match(input,55,FOLLOW_55_in_rule__XSetLiteral__Group__4__Impl14462); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); \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": "dfd69b137e79c1d04b4418fe4f931c7e", "score": "0.7576756", "text": "public final void rule__XSetLiteral__Group_3_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7130:1: ( rule__XSetLiteral__Group_3_1__0__Impl rule__XSetLiteral__Group_3_1__1 )\n // InternalMyDsl.g:7131:2: rule__XSetLiteral__Group_3_1__0__Impl rule__XSetLiteral__Group_3_1__1\n {\n pushFollow(FOLLOW_48);\n rule__XSetLiteral__Group_3_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group_3_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": "3ec88a50c82347b21de960564f723a64", "score": "0.75558496", "text": "public final void rule__XStringLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:12125:1: ( rule__XStringLiteral__Group__1__Impl )\n // InternalMyDsl.g:12126:2: rule__XStringLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XStringLiteral__Group__1__Impl();\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": "a72ef197b672333f3e4cda1fb7984ef5", "score": "0.75526124", "text": "public final void ruleXSetLiteral() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:842:2: ( ( ( rule__XSetLiteral__Group__0 ) ) )\n // InternalMyDsl.g:843:2: ( ( rule__XSetLiteral__Group__0 ) )\n {\n // InternalMyDsl.g:843:2: ( ( rule__XSetLiteral__Group__0 ) )\n // InternalMyDsl.g:844:3: ( rule__XSetLiteral__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup()); \n }\n // InternalMyDsl.g:845:3: ( rule__XSetLiteral__Group__0 )\n // InternalMyDsl.g:845:4: rule__XSetLiteral__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().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": "a8c9dc5c73d2c36d95afb3394276337f", "score": "0.75348103", "text": "public final void rule__XStringLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12247:1: ( rule__XStringLiteral__Group__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12248:2: rule__XStringLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XStringLiteral__Group__1__Impl_in_rule__XStringLiteral__Group__124741);\n rule__XStringLiteral__Group__1__Impl();\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": "2294d9390f347aaa6474be385ee51a42", "score": "0.7528044", "text": "public final void rule__XSetLiteral__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9522:1: ( ( () ) )\r\n // InternalModel.g:9523:1: ( () )\r\n {\r\n // InternalModel.g:9523:1: ( () )\r\n // InternalModel.g:9524:2: ()\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0()); \r\n }\r\n // InternalModel.g:9525:2: ()\r\n // InternalModel.g:9525:3: \r\n {\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "5a543b12ba3deb0e80d1382f34e67f66", "score": "0.75082445", "text": "public final void rule__XSetLiteral__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6984:1: ( ( ( rule__XSetLiteral__Group_3__0 )? ) )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6985:1: ( ( rule__XSetLiteral__Group_3__0 )? )\n {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6985:1: ( ( rule__XSetLiteral__Group_3__0 )? )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6986:1: ( rule__XSetLiteral__Group_3__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup_3()); \n }\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6987:1: ( rule__XSetLiteral__Group_3__0 )?\n int alt55=2;\n int LA55_0 = input.LA(1);\n\n if ( ((LA55_0>=RULE_ID && LA55_0<=RULE_STRING)||LA55_0==25||(LA55_0>=33 && LA55_0<=34)||LA55_0==39||(LA55_0>=42 && LA55_0<=47)||(LA55_0>=53 && LA55_0<=54)||LA55_0==56||(LA55_0>=58 && LA55_0<=59)||LA55_0==61||(LA55_0>=65 && LA55_0<=73)||LA55_0==82) ) {\n alt55=1;\n }\n switch (alt55) {\n case 1 :\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6987:2: rule__XSetLiteral__Group_3__0\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3__0_in_rule__XSetLiteral__Group__3__Impl14403);\n rule__XSetLiteral__Group_3__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getGroup_3()); \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": "f52097a8fe661c7fc31acc8db2b10168", "score": "0.7507507", "text": "public final void ruleXSetLiteral() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:808:2: ( ( ( rule__XSetLiteral__Group__0 ) ) )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:809:1: ( ( rule__XSetLiteral__Group__0 ) )\n {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:809:1: ( ( rule__XSetLiteral__Group__0 ) )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:810:1: ( rule__XSetLiteral__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup()); \n }\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:811:1: ( rule__XSetLiteral__Group__0 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:811:2: rule__XSetLiteral__Group__0\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__0_in_ruleXSetLiteral1665);\n rule__XSetLiteral__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().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": "df4aacabc29e2c98bf07fcebd2a53b87", "score": "0.7507242", "text": "public final void rule__XSetLiteral__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7114:1: ( ( ( rule__XSetLiteral__Group_3_1__0 )* ) )\n // InternalMyDsl.g:7115:1: ( ( rule__XSetLiteral__Group_3_1__0 )* )\n {\n // InternalMyDsl.g:7115:1: ( ( rule__XSetLiteral__Group_3_1__0 )* )\n // InternalMyDsl.g:7116:2: ( rule__XSetLiteral__Group_3_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup_3_1()); \n }\n // InternalMyDsl.g:7117:2: ( rule__XSetLiteral__Group_3_1__0 )*\n loop62:\n do {\n int alt62=2;\n int LA62_0 = input.LA(1);\n\n if ( (LA62_0==58) ) {\n alt62=1;\n }\n\n\n switch (alt62) {\n \tcase 1 :\n \t // InternalMyDsl.g:7117:3: rule__XSetLiteral__Group_3_1__0\n \t {\n \t pushFollow(FOLLOW_45);\n \t rule__XSetLiteral__Group_3_1__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop62;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getGroup_3_1()); \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": "23fee105cca696ff524e8c1163961f98", "score": "0.74962294", "text": "public final void rule__XSetLiteral__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11267:1: ( ( () ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11268:1: ( () )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11268:1: ( () )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11269:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0()); \n }\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11270:1: ()\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11272:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e45d22b0bce3eff68765d5c7a7fa8212", "score": "0.74888283", "text": "public final void rule__XStringLiteral__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:14694:1: ( rule__XStringLiteral__Group__1__Impl )\r\n // InternalModel.g:14695:2: rule__XStringLiteral__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XStringLiteral__Group__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "73d5ff077074737620243092410fa527", "score": "0.74633765", "text": "public final void rule__XSetLiteral__Group_3__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7041:1: ( rule__XSetLiteral__Group_3__0__Impl rule__XSetLiteral__Group_3__1 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7042:2: rule__XSetLiteral__Group_3__0__Impl rule__XSetLiteral__Group_3__1\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3__0__Impl_in_rule__XSetLiteral__Group_3__014503);\n rule__XSetLiteral__Group_3__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3__1_in_rule__XSetLiteral__Group_3__014506);\n rule__XSetLiteral__Group_3__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": "06f3c5ae6a3ec8e26d3d09a3fe443db6", "score": "0.7447306", "text": "public final void rule__XSetLiteral__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7022:1: ( rule__XSetLiteral__Group__3__Impl rule__XSetLiteral__Group__4 )\n // InternalMyDsl.g:7023:2: rule__XSetLiteral__Group__3__Impl rule__XSetLiteral__Group__4\n {\n pushFollow(FOLLOW_51);\n rule__XSetLiteral__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group__4();\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": "813a3fd5cee928d1f02f55e891b62fe8", "score": "0.7426369", "text": "public final void rule__XSetLiteral__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6972:1: ( rule__XSetLiteral__Group__3__Impl rule__XSetLiteral__Group__4 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:6973:2: rule__XSetLiteral__Group__3__Impl rule__XSetLiteral__Group__4\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__3__Impl_in_rule__XSetLiteral__Group__314373);\n rule__XSetLiteral__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group__4_in_rule__XSetLiteral__Group__314376);\n rule__XSetLiteral__Group__4();\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": "54a91bcf856ad73a6a5c9343eac4c212", "score": "0.7415896", "text": "public final void rule__XSetLiteral__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9549:1: ( ( '#' ) )\r\n // InternalModel.g:9550:1: ( '#' )\r\n {\r\n // InternalModel.g:9550:1: ( '#' )\r\n // InternalModel.g:9551:2: '#'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); \r\n }\r\n match(input,79,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d3d9e3f17a80bee20f0047010045c386", "score": "0.7408217", "text": "public final void rule__XSetLiteral__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:6995:1: ( rule__XSetLiteral__Group__2__Impl rule__XSetLiteral__Group__3 )\n // InternalMyDsl.g:6996:2: rule__XSetLiteral__Group__2__Impl rule__XSetLiteral__Group__3\n {\n pushFollow(FOLLOW_51);\n rule__XSetLiteral__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group__3();\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": "c669d6f2ee2b3fa580c8143d98b662dc", "score": "0.74077064", "text": "public final void rule__XSetLiteral__Group_3_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9699:1: ( rule__XSetLiteral__Group_3_1__0__Impl rule__XSetLiteral__Group_3_1__1 )\r\n // InternalModel.g:9700:2: rule__XSetLiteral__Group_3_1__0__Impl rule__XSetLiteral__Group_3_1__1\r\n {\r\n pushFollow(FOLLOW_20);\r\n rule__XSetLiteral__Group_3_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group_3_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "54c8130a59f28820919cc3f33450275f", "score": "0.7395078", "text": "public final void rule__XStringLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11672:1: ( rule__XStringLiteral__Group__1__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11673:2: rule__XStringLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XStringLiteral__Group__1__Impl_in_rule__XStringLiteral__Group__123528);\n rule__XStringLiteral__Group__1__Impl();\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": "0f85264ba651a30441fb9dc8cbc4f300", "score": "0.7387036", "text": "public final void rule__XStringLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10888:1: ( rule__XStringLiteral__Group__1__Impl )\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10889:2: rule__XStringLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XStringLiteral__Group__1__Impl_in_rule__XStringLiteral__Group__121911);\n rule__XStringLiteral__Group__1__Impl();\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": "d042c178e3a8612e33cb65b2707a8e8b", "score": "0.73808473", "text": "public final void rule__XSetLiteral__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7034:1: ( ( ( rule__XSetLiteral__Group_3__0 )? ) )\n // InternalMyDsl.g:7035:1: ( ( rule__XSetLiteral__Group_3__0 )? )\n {\n // InternalMyDsl.g:7035:1: ( ( rule__XSetLiteral__Group_3__0 )? )\n // InternalMyDsl.g:7036:2: ( rule__XSetLiteral__Group_3__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup_3()); \n }\n // InternalMyDsl.g:7037:2: ( rule__XSetLiteral__Group_3__0 )?\n int alt61=2;\n int LA61_0 = input.LA(1);\n\n if ( ((LA61_0>=RULE_ID && LA61_0<=RULE_STRING)||LA61_0==27||(LA61_0>=34 && LA61_0<=35)||LA61_0==40||(LA61_0>=45 && LA61_0<=50)||(LA61_0>=60 && LA61_0<=61)||LA61_0==63||(LA61_0>=66 && LA61_0<=67)||LA61_0==69||(LA61_0>=73 && LA61_0<=81)||LA61_0==83||LA61_0==91) ) {\n alt61=1;\n }\n switch (alt61) {\n case 1 :\n // InternalMyDsl.g:7037:3: rule__XSetLiteral__Group_3__0\n {\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group_3__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getGroup_3()); \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": "31e7927d7ff739af9b0ded3055e8e507", "score": "0.734454", "text": "public final void rule__XSetLiteral__Group_3_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11478:1: ( rule__XSetLiteral__Group_3_1__0__Impl rule__XSetLiteral__Group_3_1__1 )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11479:2: rule__XSetLiteral__Group_3_1__0__Impl rule__XSetLiteral__Group_3_1__1\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3_1__0__Impl_in_rule__XSetLiteral__Group_3_1__023524);\n rule__XSetLiteral__Group_3_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3_1__1_in_rule__XSetLiteral__Group_3_1__023527);\n rule__XSetLiteral__Group_3_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": "1993f4084d3785aefac07df614638abb", "score": "0.73361117", "text": "public final void rule__XSetLiteral__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7060:1: ( ( '}' ) )\n // InternalMyDsl.g:7061:1: ( '}' )\n {\n // InternalMyDsl.g:7061:1: ( '}' )\n // InternalMyDsl.g:7062:2: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); \n }\n match(input,62,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); \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": "354cb732b420f8d81ee2d21860173204", "score": "0.73348916", "text": "public final void rule__XIntLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10825:1: ( rule__XIntLiteral__Group__1__Impl )\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10826:2: rule__XIntLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XIntLiteral__Group__1__Impl_in_rule__XIntLiteral__Group__121789);\n rule__XIntLiteral__Group__1__Impl();\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": "61258b72b7bf0a16414f399ddd0b0f38", "score": "0.73340374", "text": "public final void rule__XStringLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:17306:1: ( rule__XStringLiteral__Group__1__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:17307:2: rule__XStringLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XStringLiteral__Group__1__Impl_in_rule__XStringLiteral__Group__134981);\n rule__XStringLiteral__Group__1__Impl();\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": "8d0ee5de80c062ebe41dd5945bb90937", "score": "0.73190033", "text": "public final void rule__XSetLiteral__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11317:1: ( rule__XSetLiteral__Group__2__Impl rule__XSetLiteral__Group__3 )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11318:2: rule__XSetLiteral__Group__2__Impl rule__XSetLiteral__Group__3\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__2__Impl_in_rule__XSetLiteral__Group__223210);\n rule__XSetLiteral__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group__3_in_rule__XSetLiteral__Group__223213);\n rule__XSetLiteral__Group__3();\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": "23fe199b19f0fe32746db4f94226926f", "score": "0.7318861", "text": "public final void ruleXSetLiteral() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:1042:2: ( ( ( rule__XSetLiteral__Group__0 ) ) )\r\n // InternalModel.g:1043:2: ( ( rule__XSetLiteral__Group__0 ) )\r\n {\r\n // InternalModel.g:1043:2: ( ( rule__XSetLiteral__Group__0 ) )\r\n // InternalModel.g:1044:3: ( rule__XSetLiteral__Group__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXSetLiteralAccess().getGroup()); \r\n }\r\n // InternalModel.g:1045:3: ( rule__XSetLiteral__Group__0 )\r\n // InternalModel.g:1045:4: rule__XSetLiteral__Group__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXSetLiteralAccess().getGroup()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "407fd616fee91d30cc99723184dc9160", "score": "0.7315228", "text": "public final void rule__XSetLiteral__Group_3__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7076:1: ( rule__XSetLiteral__Group_3__0__Impl rule__XSetLiteral__Group_3__1 )\n // InternalMyDsl.g:7077:2: rule__XSetLiteral__Group_3__0__Impl rule__XSetLiteral__Group_3__1\n {\n pushFollow(FOLLOW_47);\n rule__XSetLiteral__Group_3__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XSetLiteral__Group_3__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": "ce86a5edc0a60a81dc5f726689053a54", "score": "0.72663647", "text": "public final void rule__XSetLiteral__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9564:1: ( rule__XSetLiteral__Group__2__Impl rule__XSetLiteral__Group__3 )\r\n // InternalModel.g:9565:2: rule__XSetLiteral__Group__2__Impl rule__XSetLiteral__Group__3\r\n {\r\n pushFollow(FOLLOW_63);\r\n rule__XSetLiteral__Group__2__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group__3();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d26d5bae5374b0fd095ea35463605f0c", "score": "0.72455955", "text": "public final void rule__XSetLiteral__Group__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9591:1: ( rule__XSetLiteral__Group__3__Impl rule__XSetLiteral__Group__4 )\r\n // InternalModel.g:9592:2: rule__XSetLiteral__Group__3__Impl rule__XSetLiteral__Group__4\r\n {\r\n pushFollow(FOLLOW_63);\r\n rule__XSetLiteral__Group__3__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group__4();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d410006dfb1551dde34d4fde10442e72", "score": "0.7240769", "text": "public final void rule__XSetLiteral__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11388:1: ( ( '}' ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11389:1: ( '}' )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11389:1: ( '}' )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11390:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); \n }\n match(input,54,FOLLOW_54_in_rule__XSetLiteral__Group__4__Impl23361); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); \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": "bf25f4eb92480ffee7de4383ca69a041", "score": "0.7222663", "text": "public final void ruleXSetLiteral() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:1508:2: ( ( ( rule__XSetLiteral__Group__0 ) ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:1509:1: ( ( rule__XSetLiteral__Group__0 ) )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:1509:1: ( ( rule__XSetLiteral__Group__0 ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:1510:1: ( rule__XSetLiteral__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup()); \n }\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:1511:1: ( rule__XSetLiteral__Group__0 )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:1511:2: rule__XSetLiteral__Group__0\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__0_in_ruleXSetLiteral3166);\n rule__XSetLiteral__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().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": "f4909c39026add6cf60c6c085e8f13e6", "score": "0.72183424", "text": "public final void rule__XSetLiteral__Group_3_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7114:1: ( ( ',' ) )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7115:1: ( ',' )\n {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7115:1: ( ',' )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7116:1: ','\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0()); \n }\n match(input,51,FOLLOW_51_in_rule__XSetLiteral__Group_3_1__0__Impl14656); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_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": "0f7a0901aa18c8263a78d278213af2c4", "score": "0.7210894", "text": "public final void rule__XSetLiteral__Group_3__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9645:1: ( rule__XSetLiteral__Group_3__0__Impl rule__XSetLiteral__Group_3__1 )\r\n // InternalModel.g:9646:2: rule__XSetLiteral__Group_3__0__Impl rule__XSetLiteral__Group_3__1\r\n {\r\n pushFollow(FOLLOW_17);\r\n rule__XSetLiteral__Group_3__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group_3__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "40ad384c9184b5a45861c9b805f01602", "score": "0.7196502", "text": "public final void rule__XSetLiteral__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11457:1: ( ( ( rule__XSetLiteral__Group_3_1__0 )* ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11458:1: ( ( rule__XSetLiteral__Group_3_1__0 )* )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11458:1: ( ( rule__XSetLiteral__Group_3_1__0 )* )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11459:1: ( rule__XSetLiteral__Group_3_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup_3_1()); \n }\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11460:1: ( rule__XSetLiteral__Group_3_1__0 )*\n loop89:\n do {\n int alt89=2;\n int LA89_0 = input.LA(1);\n\n if ( (LA89_0==62) ) {\n alt89=1;\n }\n\n\n switch (alt89) {\n \tcase 1 :\n \t // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11460:2: rule__XSetLiteral__Group_3_1__0\n \t {\n \t pushFollow(FOLLOW_rule__XSetLiteral__Group_3_1__0_in_rule__XSetLiteral__Group_3__1__Impl23489);\n \t rule__XSetLiteral__Group_3_1__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop89;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getGroup_3_1()); \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": "0bb48a78bb79b85bf7a9f811c67e4bbb", "score": "0.7185686", "text": "public final void rule__XSetLiteral__Group__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9603:1: ( ( ( rule__XSetLiteral__Group_3__0 )? ) )\r\n // InternalModel.g:9604:1: ( ( rule__XSetLiteral__Group_3__0 )? )\r\n {\r\n // InternalModel.g:9604:1: ( ( rule__XSetLiteral__Group_3__0 )? )\r\n // InternalModel.g:9605:2: ( rule__XSetLiteral__Group_3__0 )?\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXSetLiteralAccess().getGroup_3()); \r\n }\r\n // InternalModel.g:9606:2: ( rule__XSetLiteral__Group_3__0 )?\r\n int alt92=2;\r\n int LA92_0 = input.LA(1);\r\n\r\n if ( ((LA92_0>=RULE_ID && LA92_0<=RULE_STRING)||LA92_0==27||(LA92_0>=34 && LA92_0<=35)||LA92_0==40||(LA92_0>=45 && LA92_0<=50)||LA92_0==71||LA92_0==75||(LA92_0>=79 && LA92_0<=80)||LA92_0==84||LA92_0==86||(LA92_0>=90 && LA92_0<=98)||LA92_0==100||LA92_0==108) ) {\r\n alt92=1;\r\n }\r\n switch (alt92) {\r\n case 1 :\r\n // InternalModel.g:9606:3: rule__XSetLiteral__Group_3__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XSetLiteral__Group_3__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXSetLiteralAccess().getGroup_3()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "5e36c7cf1825c8582125ea68636d64a1", "score": "0.71837294", "text": "public final void rule__XSetLiteral__Group_3__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9683:1: ( ( ( rule__XSetLiteral__Group_3_1__0 )* ) )\r\n // InternalModel.g:9684:1: ( ( rule__XSetLiteral__Group_3_1__0 )* )\r\n {\r\n // InternalModel.g:9684:1: ( ( rule__XSetLiteral__Group_3_1__0 )* )\r\n // InternalModel.g:9685:2: ( rule__XSetLiteral__Group_3_1__0 )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXSetLiteralAccess().getGroup_3_1()); \r\n }\r\n // InternalModel.g:9686:2: ( rule__XSetLiteral__Group_3_1__0 )*\r\n loop93:\r\n do {\r\n int alt93=2;\r\n int LA93_0 = input.LA(1);\r\n\r\n if ( (LA93_0==74) ) {\r\n alt93=1;\r\n }\r\n\r\n\r\n switch (alt93) {\r\n \tcase 1 :\r\n \t // InternalModel.g:9686:3: rule__XSetLiteral__Group_3_1__0\r\n \t {\r\n \t pushFollow(FOLLOW_18);\r\n \t rule__XSetLiteral__Group_3_1__0();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return ;\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop93;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXSetLiteralAccess().getGroup_3_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "452c526a4a3ce5b37bc4a721606cc1b4", "score": "0.71681917", "text": "public final void rule__XTypeLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12279:1: ( rule__XTypeLiteral__Group__0__Impl rule__XTypeLiteral__Group__1 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12280:2: rule__XTypeLiteral__Group__0__Impl rule__XTypeLiteral__Group__1\n {\n pushFollow(FOLLOW_rule__XTypeLiteral__Group__0__Impl_in_rule__XTypeLiteral__Group__024802);\n rule__XTypeLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XTypeLiteral__Group__1_in_rule__XTypeLiteral__Group__024805);\n rule__XTypeLiteral__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": "9665ac6e97d7a356f2a1831816a02d20", "score": "0.7157079", "text": "public final void rule__XSetLiteral__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11360:1: ( ( ( rule__XSetLiteral__Group_3__0 )? ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11361:1: ( ( rule__XSetLiteral__Group_3__0 )? )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11361:1: ( ( rule__XSetLiteral__Group_3__0 )? )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11362:1: ( rule__XSetLiteral__Group_3__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getGroup_3()); \n }\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11363:1: ( rule__XSetLiteral__Group_3__0 )?\n int alt88=2;\n int LA88_0 = input.LA(1);\n\n if ( ((LA88_0>=RULE_ID && LA88_0<=RULE_STRING)||LA88_0==23||(LA88_0>=34 && LA88_0<=35)||LA88_0==40||(LA88_0>=45 && LA88_0<=50)||LA88_0==53||(LA88_0>=59 && LA88_0<=60)||(LA88_0>=69 && LA88_0<=70)||LA88_0==73||LA88_0==75||(LA88_0>=78 && LA88_0<=85)||LA88_0==87||LA88_0==96) ) {\n alt88=1;\n }\n switch (alt88) {\n case 1 :\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11363:2: rule__XSetLiteral__Group_3__0\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3__0_in_rule__XSetLiteral__Group__3__Impl23302);\n rule__XSetLiteral__Group_3__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getGroup_3()); \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": "7254b2ebf443bd48fc78a462dea7814d", "score": "0.7145833", "text": "public final void rule__XSetLiteral__Group__4__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9629:1: ( ( '}' ) )\r\n // InternalModel.g:9630:1: ( '}' )\r\n {\r\n // InternalModel.g:9630:1: ( '}' )\r\n // InternalModel.g:9631:2: '}'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); \r\n }\r\n match(input,72,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3f6609d4fa7a1bb7bff336e430670867", "score": "0.71163505", "text": "public final void rule__XListLiteral__Group_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7419:1: ( rule__XListLiteral__Group_3_1__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7420:2: rule__XListLiteral__Group_3_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XListLiteral__Group_3_1__1__Impl_in_rule__XListLiteral__Group_3_1__115247);\n rule__XListLiteral__Group_3_1__1__Impl();\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": "c0a290d28a4c5cd5380f07fec560be1d", "score": "0.7104582", "text": "public final void rule__XSetLiteral__Group_3__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11417:1: ( rule__XSetLiteral__Group_3__0__Impl rule__XSetLiteral__Group_3__1 )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11418:2: rule__XSetLiteral__Group_3__0__Impl rule__XSetLiteral__Group_3__1\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3__0__Impl_in_rule__XSetLiteral__Group_3__023402);\n rule__XSetLiteral__Group_3__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group_3__1_in_rule__XSetLiteral__Group_3__023405);\n rule__XSetLiteral__Group_3__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": "ec3d0eed3ac46ec0fbfbdd5fadac8617", "score": "0.71044093", "text": "public final void rule__XBooleanLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12056:1: ( rule__XBooleanLiteral__Group__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12057:2: rule__XBooleanLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XBooleanLiteral__Group__1__Impl_in_rule__XBooleanLiteral__Group__124373);\n rule__XBooleanLiteral__Group__1__Impl();\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": "1812bc2867a0db1d0c91000837d7267e", "score": "0.7074208", "text": "public final void rule__XNumberLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12184:1: ( rule__XNumberLiteral__Group__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12185:2: rule__XNumberLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XNumberLiteral__Group__1__Impl_in_rule__XNumberLiteral__Group__124619);\n rule__XNumberLiteral__Group__1__Impl();\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": "39136ee4cf3b27487ecab9e9b9c10111", "score": "0.7069694", "text": "public final void rule__XNullLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12119:1: ( rule__XNullLiteral__Group__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12120:2: rule__XNullLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XNullLiteral__Group__1__Impl_in_rule__XNullLiteral__Group__124495);\n rule__XNullLiteral__Group__1__Impl();\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": "3199744166addfa334f67db78fd1c6d0", "score": "0.70634335", "text": "public final void rule__XStringLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12216:1: ( rule__XStringLiteral__Group__0__Impl rule__XStringLiteral__Group__1 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12217:2: rule__XStringLiteral__Group__0__Impl rule__XStringLiteral__Group__1\n {\n pushFollow(FOLLOW_rule__XStringLiteral__Group__0__Impl_in_rule__XStringLiteral__Group__024680);\n rule__XStringLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XStringLiteral__Group__1_in_rule__XStringLiteral__Group__024683);\n rule__XStringLiteral__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": "428d65118e4144b4a16de0e548e6b6d0", "score": "0.7052009", "text": "public final void rule__XSetLiteral__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11348:1: ( rule__XSetLiteral__Group__3__Impl rule__XSetLiteral__Group__4 )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11349:2: rule__XSetLiteral__Group__3__Impl rule__XSetLiteral__Group__4\n {\n pushFollow(FOLLOW_rule__XSetLiteral__Group__3__Impl_in_rule__XSetLiteral__Group__323272);\n rule__XSetLiteral__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSetLiteral__Group__4_in_rule__XSetLiteral__Group__323275);\n rule__XSetLiteral__Group__4();\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": "60c7232b92e8b610affa8655a95ca2f9", "score": "0.70367587", "text": "public final void rule__XStringLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:12098:1: ( rule__XStringLiteral__Group__0__Impl rule__XStringLiteral__Group__1 )\n // InternalMyDsl.g:12099:2: rule__XStringLiteral__Group__0__Impl rule__XStringLiteral__Group__1\n {\n pushFollow(FOLLOW_80);\n rule__XStringLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XStringLiteral__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": "a8a02cc23fdc3bf157ff660fbc6833bd", "score": "0.702139", "text": "public final void rule__XSetLiteral__Group_3_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11490:1: ( ( ',' ) )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11491:1: ( ',' )\n {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11491:1: ( ',' )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11492:1: ','\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0()); \n }\n match(input,62,FOLLOW_62_in_rule__XSetLiteral__Group_3_1__0__Impl23555); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_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": "f1655a89d21d109f40c36c3219f48a38", "score": "0.6986313", "text": "public final void rule__XNumberLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11609:1: ( rule__XNumberLiteral__Group__1__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11610:2: rule__XNumberLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XNumberLiteral__Group__1__Impl_in_rule__XNumberLiteral__Group__123406);\n rule__XNumberLiteral__Group__1__Impl();\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": "af0c19a6352608ea3569bd51506298ba", "score": "0.69749224", "text": "public final void rule__BooleanLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:13008:1: ( rule__BooleanLiteral__Group__1__Impl )\n // ../org.eclipselabs.mscript.language.ui/src-gen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:13009:2: rule__BooleanLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__BooleanLiteral__Group__1__Impl_in_rule__BooleanLiteral__Group__126475);\n rule__BooleanLiteral__Group__1__Impl();\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": "f5d8f9f9ef663ef65c59f75a44f54ca0", "score": "0.69313705", "text": "public final void rule__XNumberLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:17243:1: ( rule__XNumberLiteral__Group__1__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:17244:2: rule__XNumberLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XNumberLiteral__Group__1__Impl_in_rule__XNumberLiteral__Group__134859);\n rule__XNumberLiteral__Group__1__Impl();\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": "06b7deffa4027b4e093a690e23748afc", "score": "0.69289213", "text": "public final void rule__XTypeLiteral__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11826:1: ( rule__XTypeLiteral__Group__4__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11827:2: rule__XTypeLiteral__Group__4__Impl\n {\n pushFollow(FOLLOW_rule__XTypeLiteral__Group__4__Impl_in_rule__XTypeLiteral__Group__423834);\n rule__XTypeLiteral__Group__4__Impl();\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": "62146011ac2075a4dae89b4ed2e7669f", "score": "0.6924431", "text": "public final void rule__XTypeLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11704:1: ( rule__XTypeLiteral__Group__0__Impl rule__XTypeLiteral__Group__1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11705:2: rule__XTypeLiteral__Group__0__Impl rule__XTypeLiteral__Group__1\n {\n pushFollow(FOLLOW_rule__XTypeLiteral__Group__0__Impl_in_rule__XTypeLiteral__Group__023589);\n rule__XTypeLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XTypeLiteral__Group__1_in_rule__XTypeLiteral__Group__023592);\n rule__XTypeLiteral__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": "6e471413a0e251ed25bd73b8e4500973", "score": "0.69240075", "text": "public final void rule__XTypeLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12310:1: ( rule__XTypeLiteral__Group__1__Impl rule__XTypeLiteral__Group__2 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:12311:2: rule__XTypeLiteral__Group__1__Impl rule__XTypeLiteral__Group__2\n {\n pushFollow(FOLLOW_rule__XTypeLiteral__Group__1__Impl_in_rule__XTypeLiteral__Group__124863);\n rule__XTypeLiteral__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XTypeLiteral__Group__2_in_rule__XTypeLiteral__Group__124866);\n rule__XTypeLiteral__Group__2();\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": "b30257e22bf9e787764087d7e7410c7d", "score": "0.6921546", "text": "public final void rule__XBooleanLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10697:1: ( rule__XBooleanLiteral__Group__1__Impl )\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10698:2: rule__XBooleanLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XBooleanLiteral__Group__1__Impl_in_rule__XBooleanLiteral__Group__121543);\n rule__XBooleanLiteral__Group__1__Impl();\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": "3c1e5d6bd583b1f7551365f39a602232", "score": "0.6920867", "text": "public final void rule__XListLiteral__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7356:1: ( rule__XListLiteral__Group_3__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7357:2: rule__XListLiteral__Group_3__1__Impl\n {\n pushFollow(FOLLOW_rule__XListLiteral__Group_3__1__Impl_in_rule__XListLiteral__Group_3__115123);\n rule__XListLiteral__Group_3__1__Impl();\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": "ec77422da85e5377f78650225757f003", "score": "0.6919437", "text": "public final void rule__XNumberLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:12071:1: ( rule__XNumberLiteral__Group__1__Impl )\n // InternalMyDsl.g:12072:2: rule__XNumberLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XNumberLiteral__Group__1__Impl();\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": "387dd9794a541f888f082d3b68ee31dd", "score": "0.690825", "text": "public final void rule__XListLiteral__Group_3_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:9969:1: ( rule__XListLiteral__Group_3_1__1__Impl )\r\n // InternalModel.g:9970:2: rule__XListLiteral__Group_3_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XListLiteral__Group_3_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "fc349c0ce7db4964611e31d72e235fef", "score": "0.6905993", "text": "public final void rule__XListLiteral__Group_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7400:1: ( rule__XListLiteral__Group_3_1__1__Impl )\n // InternalMyDsl.g:7401:2: rule__XListLiteral__Group_3_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XListLiteral__Group_3_1__1__Impl();\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": "31534159d779898fbab37c21fa4ff2d6", "score": "0.6896809", "text": "public final void rule__XRelationalExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4268:1: ( rule__XRelationalExpression__Group__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4269:2: rule__XRelationalExpression__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group__1__Impl_in_rule__XRelationalExpression__Group__19062);\n rule__XRelationalExpression__Group__1__Impl();\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": "36a45ee19ade340a2171e16bd9050d8a", "score": "0.68945014", "text": "public final void rule__XListLiteral__Group_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11795:1: ( rule__XListLiteral__Group_3_1__1__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:11796:2: rule__XListLiteral__Group_3_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XListLiteral__Group_3_1__1__Impl_in_rule__XListLiteral__Group_3_1__124146);\n rule__XListLiteral__Group_3_1__1__Impl();\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": "a070b51f0a782f6e0e07336b67d4cfe6", "score": "0.68941736", "text": "public final void rule__XTypeLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:12152:1: ( rule__XTypeLiteral__Group__0__Impl rule__XTypeLiteral__Group__1 )\n // InternalMyDsl.g:12153:2: rule__XTypeLiteral__Group__0__Impl rule__XTypeLiteral__Group__1\n {\n pushFollow(FOLLOW_81);\n rule__XTypeLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__XTypeLiteral__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": "24de9489bb86a823c92b616b669cbf05", "score": "0.6890251", "text": "public final void rule__XBooleanLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11481:1: ( rule__XBooleanLiteral__Group__1__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11482:2: rule__XBooleanLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XBooleanLiteral__Group__1__Impl_in_rule__XBooleanLiteral__Group__123160);\n rule__XBooleanLiteral__Group__1__Impl();\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": "71847074a977884413d5596656e7ec83", "score": "0.6880579", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4517:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4518:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0__0__Impl_in_rule__XRelationalExpression__Group_1_1_0__09549);\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\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": "e895b3a01d535baee152803a42687763", "score": "0.68788326", "text": "public final void rule__XStringLiteral__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:14667:1: ( rule__XStringLiteral__Group__0__Impl rule__XStringLiteral__Group__1 )\r\n // InternalModel.g:14668:2: rule__XStringLiteral__Group__0__Impl rule__XStringLiteral__Group__1\r\n {\r\n pushFollow(FOLLOW_93);\r\n rule__XStringLiteral__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XStringLiteral__Group__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "92b8f016ebfbf7c7b1e35567e63c067c", "score": "0.6873379", "text": "public final void rule__XNullLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11544:1: ( rule__XNullLiteral__Group__1__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11545:2: rule__XNullLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XNullLiteral__Group__1__Impl_in_rule__XNullLiteral__Group__123282);\n rule__XNullLiteral__Group__1__Impl();\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": "84746f98f0d05c78f2bba6c443263c7e", "score": "0.68640846", "text": "public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4329:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4330:2: rule__XRelationalExpression__Group_1_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0__1__Impl_in_rule__XRelationalExpression__Group_1_0__19184);\n rule__XRelationalExpression__Group_1_0__1__Impl();\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": "e0935c001f132a206d862028ce4b189b", "score": "0.6855729", "text": "public final void rule__XBooleanLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:11963:1: ( rule__XBooleanLiteral__Group__1__Impl )\n // InternalMyDsl.g:11964:2: rule__XBooleanLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XBooleanLiteral__Group__1__Impl();\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": "c45a4b56f3cf9d56e7de24a061b54eae", "score": "0.68542266", "text": "public final void rule__XBooleanLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:17115:1: ( rule__XBooleanLiteral__Group__1__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:17116:2: rule__XBooleanLiteral__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XBooleanLiteral__Group__1__Impl_in_rule__XBooleanLiteral__Group__134613);\n rule__XBooleanLiteral__Group__1__Impl();\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": "83776a59b47783d6a153a527e13defc1", "score": "0.68538857", "text": "public final void rule__XListLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7165:1: ( rule__XListLiteral__Group__0__Impl rule__XListLiteral__Group__1 )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:7166:2: rule__XListLiteral__Group__0__Impl rule__XListLiteral__Group__1\n {\n pushFollow(FOLLOW_rule__XListLiteral__Group__0__Impl_in_rule__XListLiteral__Group__014748);\n rule__XListLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XListLiteral__Group__1_in_rule__XListLiteral__Group__014751);\n rule__XListLiteral__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": "c2d471381f4ded005a644a516a34ba11", "score": "0.68523675", "text": "public final void rule__XIntLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10794:1: ( rule__XIntLiteral__Group__0__Impl rule__XIntLiteral__Group__1 )\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:10795:2: rule__XIntLiteral__Group__0__Impl rule__XIntLiteral__Group__1\n {\n pushFollow(FOLLOW_rule__XIntLiteral__Group__0__Impl_in_rule__XIntLiteral__Group__021728);\n rule__XIntLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIntLiteral__Group__1_in_rule__XIntLiteral__Group__021731);\n rule__XIntLiteral__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": "146aea6d22d51d1f45caaf3d4b1f8ea3", "score": "0.68490845", "text": "public final void rule__XStringLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11641:1: ( rule__XStringLiteral__Group__0__Impl rule__XStringLiteral__Group__1 )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:11642:2: rule__XStringLiteral__Group__0__Impl rule__XStringLiteral__Group__1\n {\n pushFollow(FOLLOW_rule__XStringLiteral__Group__0__Impl_in_rule__XStringLiteral__Group__023467);\n rule__XStringLiteral__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XStringLiteral__Group__1_in_rule__XStringLiteral__Group__023470);\n rule__XStringLiteral__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": "7b1f0a5879bf01c3be67bb85992b8989", "score": "0.6848072", "text": "public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4578:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4579:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_1_0_0__19669);\n rule__XRelationalExpression__Group_1_1_0_0__1__Impl();\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": "" } ]
5329a4c2825e69cda7fc432215aa1a11
Retorna uma lista com todos os Conteiners de um Navio.
[ { "docid": "42f09a07e957cebbf075c2d0b9785e82", "score": "0.77325964", "text": "public List<Conteiner> recuperarConteinersPorNavio(Navio navio);", "title": "" } ]
[ { "docid": "498f20b9850a6ee1ce54158696055f28", "score": "0.6631722", "text": "public List<Carrera> obtenCarreras() throws IOException;", "title": "" }, { "docid": "bb1d311cd2ccb5b22e2730caf4bdb5a4", "score": "0.6544381", "text": "public List<Cotizacion> listacotizacion() {\r\n List<Integer> idsUsados = cotizacionfacade.obtenerIdsCotizaciones();\r\n List<Cotizacion> cotizaciones = cotizacionfacade.findAll();\r\n List<Cotizacion> disponibles = new ArrayList<>();\r\n\r\n for (Cotizacion cotizacion : cotizaciones) {\r\n if (!idsUsados.contains(cotizacion.getIdcotizacion())) {\r\n disponibles.add(cotizacion);\r\n }\r\n }\r\n\r\n return disponibles;\r\n }", "title": "" }, { "docid": "a140296f5535b509fa7dac0d8f675bdb", "score": "0.64799255", "text": "public void listaContatos() {\n\t\tSystem.out.println(\"\\n\" + agenda.listaContatos());\n\t}", "title": "" }, { "docid": "a50b6a2082b006642160c113d7244a52", "score": "0.64691776", "text": "public List<Cobra> getCobras() {\n return cobras;\n }", "title": "" }, { "docid": "26ce33e6b0261ef99b143b8ae0defeb9", "score": "0.64332736", "text": "public List<Contato> listarContatos() {\n\t\ttry {\n\t\t\tif (contatoDAO.listar() != null) {\n\t\t\t\treturn contatoDAO.listar();\n\t\t\t} else {\n\t\t\t\treturn new ArrayList<Contato>();\n\t\t\t}\n\t\t} catch (HibernateException he) {\n\t\t\treturn new ArrayList<Contato>();\n\t\t}\n\t}", "title": "" }, { "docid": "766feb8152e8ac400ba660ec527b6c5b", "score": "0.6404015", "text": "public List<ConcesionariaDTO> getConcesionarias() {\n List<Concesionaria> concesionarias = concesionariaRepository.findAll();\n\n List<ConcesionariaDTO> dtoList = new ArrayList<>();\n\n for (Concesionaria concesionaria: concesionarias) {\n ConcesionariaDTO dto = new ConcesionariaDTO();\n dto.setNombre(concesionaria.getNombre());\n dto.setDireccion(concesionaria.getDireccion());\n dto.setTelefono(concesionaria.getTelefono());\n\n List<Marca> marcasDeLaConcesionaria = marcaRepository.findByConcesionariaID(concesionaria.getID());\n for (Marca marca: marcasDeLaConcesionaria) {\n dto.getMarcas().add(marca.getNombre());\n }\n\n dtoList.add(dto);\n }\n\n return dtoList;\n }", "title": "" }, { "docid": "dd943e7920700f35eb9ff4898b4ad6f0", "score": "0.63964796", "text": "public List<Conciliador> listaConciliador() {\n\t\treturn conciliadorBean.allConciliador();\t\t\n\t}", "title": "" }, { "docid": "5a09ea66591cc25e5014e33353746056", "score": "0.62917787", "text": "public List<Vehiculo> buscarTodosCerrados() {\n\t\treturn vehiculoDAO.pesajesCerrados(\"Activo\");\r\n\t}", "title": "" }, { "docid": "c0997f493d6f027bfbe4899561ab5bcd", "score": "0.6255538", "text": "private static void listaPorCor() {\n\t\t\n\t}", "title": "" }, { "docid": "51cf307f0f4429d1289a65d235da20e2", "score": "0.62552303", "text": "public ArrayList<Cargo> getCargos() {\r\n return cargos;\r\n }", "title": "" }, { "docid": "c2b9c950efe6ffd7084822dbb2f2720b", "score": "0.6252702", "text": "@Override\r\n\tpublic List<DiaTreino> getListaCorrente(Context contexto,DiaTreinoServico servico) {\r\n\t\tList<DiaTreino> saida = servico.getAllTela(contexto);\r\n\t\tfor (DiaTreino item : saida) {\r\n\t\t\titem.setContexto(getContext());\r\n\t\t}\r\n\t\treturn saida;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "d967c886caa68c113298a98ff020a571", "score": "0.6235741", "text": "public List<Condominio> listarCondominio() {\r\n\t\treturn cr.findAll();\r\n\t}", "title": "" }, { "docid": "2b27889aca989950561b6224bc32eb90", "score": "0.6229158", "text": "public List<Cliente> getList() {\n\t\tQuery q = \n\t\t\t\tem.createQuery(\"SELECT c \" +\n\t\t\t\t\t\t\"FROM Cliente c \" +\n\t\t\t\t\t\t\"LEFT JOIN FETCH c.municipio \" +\n\t\t\t\t\t\t\"LEFT JOIN FETCH c.provincia \" +\n\t\t\t\t\t\t\"ORDER BY c.nombre\");\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tList<Cliente> lista = q.getResultList();\n\t\treturn lista;\n\t}", "title": "" }, { "docid": "e78686143d301c89c1d7cb9215f1ccf8", "score": "0.6228012", "text": "public List getContablebienusoAll(long limit, long offset,\n\t\t\tBigDecimal idempresa) throws RemoteException;", "title": "" }, { "docid": "bd0532ccd0d1af382c661089d21bd136", "score": "0.622452", "text": "public void listar(){\n\t\tSystem.out.println(\"\\t\\n*******Datos del CLIENTE*******\");\n\t\tSystem.out.println(\"Numero de cliente: \" + numCliente);\n\t\tSystem.out.println(\"\\nNombre del cliente: \" + nombre);\n\t\t//Lista con los metodos propios\n\t\tSystem.out.println(\"\\nTelefonos: \");\n\t\ttels.listar();\n\t\tSystem.out.println(\"\\nDireccion: \");\n\t\tdir.listar();\n\t\tSystem.out.println(\"\\n*******Datos de la MASCOTA*******\");\n\t\tmasco.listarDatosMascota();\n\t\tSystem.out.println(\"\\n\");\n\n\t}", "title": "" }, { "docid": "9f8f468eeb2f0f1152b7ff49e9b5299c", "score": "0.62041867", "text": "public ArrayList<Contato> getContatos()\n {\n return contatos;\n }", "title": "" }, { "docid": "52d86ea08818e90278bf1f526014622e", "score": "0.61788666", "text": "public List<ConteoClient> getTopClientes(){\n return metodosCrudReservation.getTopClientes();\n }", "title": "" }, { "docid": "ad3d5843341fec77cb5b325064720071", "score": "0.6178481", "text": "public List getCcontablesAll(BigDecimal idEjercicio, long limit,\n\t\t\tlong offset, BigDecimal idempresa) throws RemoteException;", "title": "" }, { "docid": "eb074348e6e095bca46957b9c827203f", "score": "0.61683017", "text": "public Cone[] getList()\n {\n return coneObject;\n }", "title": "" }, { "docid": "8f59aad4cc29c6ffe29e1f0abda1a410", "score": "0.61359555", "text": "public List<Cliente> getPersonasCentral() {\n EntityManagerFactory emfa = null;\n emfa = Persistence.createEntityManagerFactory(\"ProyectoCuatroPU\", ConexionFacade.CONEXIONCLIENTES);\n //emfa = Persistence.createEntityManagerFactory(\"ProyectoCuatroPU\", ConexionFacade.PROPIEDADES);\n EntityManager ema = emfa.createEntityManager();\n Query quBuscar = ema.createQuery(\"SELECT p FROM Cliente p ORDER BY p.apellido\");\n ema.getEntityManagerFactory().getCache().evictAll();\n return quBuscar.getResultList();\n }", "title": "" }, { "docid": "04c89b8dddd2b6e7dfe16f1b7bd6080c", "score": "0.6124168", "text": "public List getContablecencostoAll(long limit, long offset,\n\t\t\tBigDecimal idempresa) throws RemoteException;", "title": "" }, { "docid": "384dfa8953638cdade35b5865dda6ad0", "score": "0.6108862", "text": "public List<Cuenta> obtenerListaCuenta();", "title": "" }, { "docid": "e50ba0adbe1ee9a5d54dd49f0d5c64b2", "score": "0.6099215", "text": "public List<Cliente> getPersonas() {\n EntityManagerFactory emfa = Persistence.createEntityManagerFactory(\"ProyectoCuatroPU\", ConexionFacade.PROPIEDADES);\n EntityManager ema = emfa.createEntityManager();\n Query quBuscar = ema.createQuery(\"SELECT p FROM Cliente p ORDER BY p.apellido\");\n ema.getEntityManagerFactory().getCache().evictAll();\n return quBuscar.getResultList();\n }", "title": "" }, { "docid": "6fe761acd9b5e64dcb6f7cbad8969f1e", "score": "0.60880804", "text": "public List getContableajusteAll(long limit, long offset,\n\t\t\tBigDecimal idempresa) throws RemoteException;", "title": "" }, { "docid": "5d7e6798711fe37b42a8f1ba5d98ab5c", "score": "0.60711515", "text": "public List<Contacto> getContactosInatec();", "title": "" }, { "docid": "efc30ceae37f3d6c40d7e88f9168e03e", "score": "0.60538", "text": "public abstract List<String> listarClientes();", "title": "" }, { "docid": "ebe9f64831a9bf21636ee6bd8abc80c0", "score": "0.60378313", "text": "@GET\r\n public ArrayList<ConcursoDetailDTO> getConcursos() {\r\n ArrayList<ConcursoDetailDTO> re = ListEntityToDetail(cl.findAll());\r\n return re;\r\n }", "title": "" }, { "docid": "9a015c29f1dc322d9ba6618b809fe570", "score": "0.6032635", "text": "@Override\n\tpublic void mostrarDados() {\n\t\tfor (int i=0; i<this.Contas.size(); i++){\n\t\t\tContaBancaria conta = Contas.get(i);\n\t\t\tif(conta instanceof ContaCorrente){\n\t\t\t\t((ContaCorrente) conta).mostrarDados();\n\t\t\t}\n\t\t\tif(conta instanceof ContaPoupanša){\n\t\t\t\t((ContaPoupanša) conta).mostrarDados();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "333928f406595d82e9e700d671023b36", "score": "0.60266286", "text": "public ArrayList<String> getContenidosActitudinales(){\n return contenidosEspecificos.getContenidosActitudinalesSeleccionados();\n }", "title": "" }, { "docid": "c22e87062418d6b4e448f2f4b21e9105", "score": "0.6026022", "text": "public List<CouncillorDTO> getCouncillors() {\n return new LinkedList<>(councillors);\n }", "title": "" }, { "docid": "120f293fd396509e30a3b487df0e9419", "score": "0.6025357", "text": "public ArrayList<String> nomesCadernos(Context ctx){\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tDAOCaderno dc = new DAOCaderno(ctx);\n\t\tlist = dc.consultarNomes();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "5e0d13432517341dea5d634415781c37", "score": "0.6002626", "text": "@Override\n\tpublic Iterable<IConta> getContasCliente() {\n\t\treturn contas;\n\t}", "title": "" }, { "docid": "91425d7000e3901be3d5b84f7f0e93cc", "score": "0.5989319", "text": "public List getContableAsientosAll(long limit, long offset,\n\t\t\tBigDecimal ejercicioactivo, BigDecimal idempresa)\n\t\t\tthrows RemoteException;", "title": "" }, { "docid": "764aad7995c95698f6dcab9e5ef03a7e", "score": "0.5987472", "text": "public ArrayList<Cone> getList()\r\n {\r\n return myCones;\r\n }", "title": "" }, { "docid": "3fe8e842fc298e223e126ffc436c54e3", "score": "0.5971857", "text": "public List<Conta> contasAbertas(int ano) {\n\t\tDao<Conta> dao = new Dao<Conta>();\n\n\t\tList<Conta> contas = dao.listaTodos();\n\t\tList<Conta> contasSemestre1 = null;\n\t\tList<Conta> contasSemestre2 = null;\n\n\t\tfor (Conta conta : contas) {\n\t\t\tif (conta.getDataAbertura().get(Calendar.YEAR) == ano) {\n\t\t\t\tif (conta.getDataAbertura().get(Calendar.MONTH) < Calendar.JUNE) {\n\t\t\t\t\tcontasSemestre1.add(conta);\n\t\t\t\t} else {\n\t\t\t\t\tcontasSemestre2.add(conta);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// List<Conta> contas = dao.contasPorAno(ano);\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f625fcaaa84ee6756c118da932e4aebb", "score": "0.59683925", "text": "public void cargarListaCarrera() {\r\n CarreraDAO carreraDAO = new CarreraDaoImp();\r\n this.setCarreras(carreraDAO.obtenerTodoCarreras());\r\n }", "title": "" }, { "docid": "b563126040d515c5503464afcd8c81a8", "score": "0.5968355", "text": "public List<Marca> recuperarMarcas() {\n\n return em.createQuery(\"select m from Marca m\", Marca.class).getResultList();\n }", "title": "" }, { "docid": "f22aaa4ccc7594115fad855afe074ab8", "score": "0.59664714", "text": "@Override\n\tpublic List<Cliente> obtenerTodosClientes() {\n\t\treturn listadoClientes;\n\t}", "title": "" }, { "docid": "f34681ea5b4b300044be71a152b3f10e", "score": "0.59645456", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic List<Cidade> buscartodos() {\n\t\tQuery consulta = em.createQuery(\"select c from Cidade C\"); // JPQL\n\t\treturn consulta.getResultList();\n\t}", "title": "" }, { "docid": "cbbf946c9d28c56f15bbf33ee65b00ad", "score": "0.59630686", "text": "private void listaContatosCliente() throws SQLException {\n BdGenero d = new BdGenero();\n generos = d.getLista(\"%\" + jTPesquisar.getText() + \"%\");\n\n // Após pesquisar os contatos, executa o método p/ exibir o resultado na tabela pesquisa\n mostraPesquisaGeneros(generos);\n generos.clear();\n }", "title": "" }, { "docid": "1fefc3737193913f8945721ab8f35989", "score": "0.5958472", "text": "List<Consortium> getRelatedConsortia();", "title": "" }, { "docid": "84059557832a5376ffe0da9cc74f0385", "score": "0.5958356", "text": "@Override\n\tpublic List<Viajero> listarViajeros(){\n\t\treturn this.listarViajeros();\n\t}", "title": "" }, { "docid": "e24eb559a293b6aa10d0113ad0e27abc", "score": "0.59547246", "text": "public List<Cliente> listarClientes(){\n \n List<Cliente> lista = clienteDao.findAllClientes();\n return lista;\n \n }", "title": "" }, { "docid": "76d517b68df30abf28364bc2fe3c40cb", "score": "0.5949102", "text": "public void obtenerCotizacionesRechazadas() {\n cotizacionesRechazadas = new LinkedList<>();\n for (Cotizacion c : cotizaciones) {\n if (c.getEstado().equals(\"Rechazado\")) {\n cotizacionesRechazadas.add(c);\n }\n }\n\n }", "title": "" }, { "docid": "64d8ba4d8f8110e6f6e6612ba3017f2b", "score": "0.5944051", "text": "@Override\n\tpublic List<Consumo> listar() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "850750f6ab8ac1eb4016b2a96fdb9484", "score": "0.5934878", "text": "@Override\n\tpublic List<ClientexVehiculo> listar() {\n\t\treturn cD.listar();\n\t}", "title": "" }, { "docid": "a0fa092898cf4aa05a12432fcac7d94c", "score": "0.5912873", "text": "public ArrayList<String> darContactos( )\n {\n return lista.darTodosLosContactos( );\n }", "title": "" }, { "docid": "9e5da6191ccfca4e4cfcae8f53ccb348", "score": "0.5910665", "text": "public Cliente[] listaClientes(){\n\t\treturn clientes;\n\t}", "title": "" }, { "docid": "0f16914104c384e4b76da3235ce2c7bb", "score": "0.5902421", "text": "public ArrayList<ObjetoAcertijo> getObjetosContenidos() {\r\n\t\treturn objetosContenidos;\r\n\t}", "title": "" }, { "docid": "1d6c7aacd1d34153345e2292d01fd6cf", "score": "0.5897524", "text": "public ArrayList<ArrayList<ArrayList<String>>> getCongresso() throws RemoteException;", "title": "" }, { "docid": "8bb5ecd69a41a32b2b45ab77a2789392", "score": "0.58965635", "text": "public List getContablerubieusoAll(long limit, long offset,\n\t\t\tBigDecimal idempresa) throws RemoteException;", "title": "" }, { "docid": "6143daa4f6d7bf2a6b6c43a9185230a2", "score": "0.5893624", "text": "public List<Persona> listaCliente() {\n return obj.listaCliente();\n }", "title": "" }, { "docid": "01a5bd0b509cb4e208012498f5f3ea0a", "score": "0.58926415", "text": "@Override\n public List<Cliente> darClientes()\n {\n return clientes;\n }", "title": "" }, { "docid": "d447f06aeb18e176734f86d32a4adc61", "score": "0.5891696", "text": "public String navigateCuentasContactosList() {\n if (this.getSelected() != null) {\n FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put(\"CuentasContactos_items\", this.getSelected().getCuentasContactosList());\n }\n return this.mobilePageController.getMobilePagesPrefix() + \"/cuentasContactos/index\";\n }", "title": "" }, { "docid": "63d695980a5d71f77cedfba56b4d4c4c", "score": "0.5877409", "text": "private void consultarClientes() {\n\n\t\tList<Cliente> listClientes = clienteRepository.findAll(); // me retorna una lista de tipoDestino\n\t\tfor (Cliente cliente : listClientes) {\n\t\t\tSystem.out.println(\"Cliente: \" + cliente.getNombre() + \" \" + cliente.getPrimerApellido());\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "bfad1118e86eaaef07baf745bc1ea551", "score": "0.58735573", "text": "public void obtenerCotizacionesSolicitadas() {\n cotizacionesSolicitadas = new LinkedList<>();\n for (Cotizacion c : cotizaciones) {\n if (c.getEstado().equals(\"Solicitado\")) {\n cotizacionesSolicitadas.add(c);\n }\n }\n\n }", "title": "" }, { "docid": "7443aa97c41156665fe84c99f7a6d161", "score": "0.58733654", "text": "public List listarCarrera() {\n List<mCarrera> datos = new ArrayList<>();\n String sql = \"select * from carrera\";\n try {\n con = conectar.getConexion();\n ps = con.prepareStatement(sql);\n rs = ps.executeQuery();\n while (rs.next()) {\n mCarrera c = new mCarrera();\n c.setCarreraCodigo(rs.getString(\"Codigo\"));\n c.setCarreraNombre(rs.getString(\"Nombre\"));\n c.setCarreraDescripcion(rs.getString(\"Descripcion\"));\n datos.add(c);\n }\n } catch (SQLException e) {\n System.err.println(e);\n } finally {\n try {\n con.close();\n } catch (SQLException e) {\n System.err.println(e);\n }\n }\n return datos;\n }", "title": "" }, { "docid": "3a244b9356b0ba575618e3fb3583c7f2", "score": "0.5870361", "text": "public List getCuentasTod(int idEjercicio, BigDecimal idempresa)\n\t\t\tthrows RemoteException;", "title": "" }, { "docid": "6ed0ce9d9ae01170fc2242ef0466ba58", "score": "0.58664715", "text": "public List<Carro> getCarros(){\n\t\tList<Carro> carros = db.getCarros();\n\t\treturn carros;\n\t}", "title": "" }, { "docid": "5f07a0d98226b81494385ddc84ba54c7", "score": "0.58531696", "text": "private ArrayList<directorios> directoriosHijos(){\r\n ArrayList<directorios> hijos=new ArrayList<>();\r\n for(directorios directorio : listaDirectorios){\r\n if(directorio.getDirectorioPadre()!=null){\r\n if(directorio.getDirectorioPadre().getNombre().trim().equals(directorioActual.getNombre().trim())){\r\n hijos.add(directorio);\r\n }\r\n }\r\n }\r\n return hijos;\r\n }", "title": "" }, { "docid": "79a3c4d39bdebe61e119ccfb908d4aa7", "score": "0.5843452", "text": "public List<Tecnico> listar();", "title": "" }, { "docid": "5a6061b6b10460de15e0ee313b538d95", "score": "0.5839256", "text": "public List<Cliente> ListadoClientes(){\n\t\t//declaramos una variable de tipo string.\n\t\t//recuperamos datos de la BD.\n\t\tString consulta=\"select c from Cliente c\";\n\t\t//aplicamos la interfaz query...\n\t\tQuery queryconsulta=manager.createQuery(consulta,Cliente.class);\n\t\t//almacenando los respectivos valores recuperados de la BD en una variable..\n\t\tList<Cliente> listado=queryconsulta.getResultList();\n\t\t//retornamos los valores\n\t\treturn listado;\n\t\t\n\t}", "title": "" }, { "docid": "ae8ca14909838fca40823126dbf3f429", "score": "0.5834957", "text": "public String listarClientes() {\n\t\treturn clientes.listarElementos();\n\t}", "title": "" }, { "docid": "3935ade734f12f41f36f2132295c77e8", "score": "0.58312094", "text": "@Override\r\n\tpublic List<Cliente> listar() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "bb60575921f5c041a96b44decbc7e0e5", "score": "0.58291185", "text": "@GET\n\tpublic List<Cliente> obtenerTodosClientes(){\n\t\treturn servicio.obtenerTodos();\n\t}", "title": "" }, { "docid": "a3dd9e604e13519f81f4151d47b33934", "score": "0.5814482", "text": "public void obtenerCotizacionesAprobadas() {\n cotizacionesAprobadas = new LinkedList<>();\n for (Cotizacion c : cotizaciones) {\n if (c.getEstado().equals(\"Aprobado\")) {\n cotizacionesAprobadas.add(c);\n }\n }\n\n }", "title": "" }, { "docid": "16bd6cbd1eaa7388a043c61777226715", "score": "0.58140486", "text": "List<TipoOficina> listarTipoOficinas () throws IsspolSearchException;", "title": "" }, { "docid": "578bc3223742d7abf0d5a93c5b3eb006", "score": "0.57883805", "text": "public List<Corso> getTuttiICorsi() {\r\n\r\n\t\tfinal String sql = \"SELECT * FROM corso\";\r\n\r\n\t\tList<Corso> corsi = new LinkedList<Corso>();\r\n\r\n\t\ttry {\r\n\t\t\tConnection conn = ConnectDB.getConnection();\r\n\t\t\tPreparedStatement st = conn.prepareStatement(sql);\r\n\r\n\t\t\tResultSet rs = st.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\t/*\r\n\t\t\t\tString codins = rs.getString(\"codins\");\r\n\t\t\t\tint numeroCrediti = rs.getInt(\"crediti\");\r\n\t\t\t\tString nome = rs.getString(\"nome\");\r\n\t\t\t\tint periodoDidattico = rs.getInt(\"pd\");\r\n\t\t\t\t */\r\n\t\t\t\t//System.out.println(codins + \" \" + numeroCrediti + \" \" + nome + \" \" + periodoDidattico);\r\n\t\t\t\tCorso risultato = new Corso (rs.getString(\"codins\"), rs.getInt(\"pd\"), rs.getInt(\"crediti\"), rs.getString(\"nome\"));\r\n\t\t\t\tcorsi.add(risultato);\r\n\t\t\t\t// Crea un nuovo JAVA Bean Corso\r\n\t\t\t\t// Aggiungi il nuovo oggetto Corso alla lista corsi\r\n\t\t\t}\r\n\r\n\t\t\tconn.close();\r\n\t\t\t\r\n\t\t\treturn corsi;\r\n\t\t\t\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// e.printStackTrace();\r\n\t\t\tthrow new RuntimeException(\"Errore Db\", e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2c0b1b1a6d2094eed7913ac9602cb6fe", "score": "0.57777464", "text": "public List<Linea> buscarTodas() {\n\t\treturn lista;\n\t}", "title": "" }, { "docid": "5d40157cbe417597f3197cd62565b3c4", "score": "0.57771033", "text": "public void obtenerCotizacionesCliente() {\n cotizacion = new Cotizacion();\n detcotizacionConsulta = new LinkedList<>();\n detcotizaciones = new LinkedList();\n contarCotizacion();\n resetearValores();\n cotizaciones = cotiser.obtenerCotizacionesCliente(cliente);\n obtenerCotizacionesAprobadas();\n obtenerCotizacionesSolicitadas();\n obtenerCotizacionesRechazadas();\n }", "title": "" }, { "docid": "d70bba3c14e2a804c337be39eecab13c", "score": "0.57666594", "text": "public String navigateCobroList() {\n if (this.getSelected() != null) {\n FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put(\"Cobro_items\", this.getSelected().getCobroList());\n }\n return \"/cobro/index\";\n }", "title": "" }, { "docid": "9a24be90c77a2b6539778c802e97ecf5", "score": "0.5759341", "text": "public void obtenerCotizaciones() {\n resetearValores();\n cotizacion = new Cotizacion();\n detcotizaciones = new LinkedList();\n cotizaciones = cotiser.obtenerCotizacionesEmpleado(empleado);\n obtenerCotizacionesSolicitadas();\n obtenerCotizacionesAprobadas();\n obtenerCotizacionesRechazadas();\n }", "title": "" }, { "docid": "fa22fb63c6cd0396dda50ea86aeee28a", "score": "0.5758585", "text": "@GET\n\tpublic List<BonificacionGanadaDTO> obtenerTodosBonificacionGanadas() {\n\t\treturn logica.obtenerTodos();\n\t}", "title": "" }, { "docid": "388a365709f5368a7ec195036cdd889c", "score": "0.5754984", "text": "private void opContactosListar() {\n titulo(\"Listado de contactos\");\n System.out.println(gestor.toString());\n }", "title": "" }, { "docid": "314c2edf79f84f87cb26bcb86391d695", "score": "0.5745879", "text": "private void CargarCarnes() {\n this.lstcarne = new ArrayList<>();\n\n //Creamos un nuevo departamento\n platosComida nuevoPlato = new platosComida();\n nuevoPlato.setNombre(\"Carne Asada\");\n nuevoPlato.setDescripcion(\"Esta es una descripcion del plato\");\n nuevoPlato.setImg(R.drawable.carnes1);\n this.lstcarne.add(nuevoPlato);\n\n nuevoPlato = new platosComida();\n nuevoPlato.setNombre(\"Carne a la parrilla\");\n nuevoPlato.setDescripcion(\"Esta incluye papas\");\n nuevoPlato.setImg(R.drawable.carnes2);\n this.lstcarne.add(nuevoPlato);\n\n nuevoPlato = new platosComida();\n nuevoPlato.setNombre(\"Carne frita\");\n nuevoPlato.setDescripcion(\"con verderas medias cocidas\");\n nuevoPlato.setImg(R.drawable.carnes3);\n this.lstcarne.add(nuevoPlato);\n }", "title": "" }, { "docid": "3d6cbccee6d88629038a48766aa43764", "score": "0.5742968", "text": "public Collection<String> getArtigosCitadores(String idArtigo){\r\n\t\treturn artCitacoes.getListaArtigosCitadores(idArtigo);\r\n\t}", "title": "" }, { "docid": "40ed239227edc6dafd97e8e584373124", "score": "0.57425874", "text": "Collection<String> getListaDominioTipo();", "title": "" }, { "docid": "56b576c1a073a5484fbd71c2858b1821", "score": "0.5737592", "text": "public void IniciaCuartos() {\n\t\tArrayList <Equipo> equiposCuartos = new ArrayList <Equipo>();\n\t\tfor (int i = 0; i < CANTZ; i ++) {\n\t\t\tequiposCuartos.add(zonas[i].getEquipo(0));\n\t\t\tequiposCuartos.add(zonas[i].getEquipo(1));\n\t\t}\n\t\tcuartosDeFinal = new BackCuartos(equiposCuartos, referis);\n\t}", "title": "" }, { "docid": "8e80151801ed7a8938f90b1a0b437b31", "score": "0.5724055", "text": "public static List<Chore> getAllChores() {\n \t\t// TODO Auto-generated method stub\n \t\treturn new ArrayList<Chore>();\n \t}", "title": "" }, { "docid": "646a7fd4838c2d1f19ed30a3220fe2dc", "score": "0.5717258", "text": "@Override\r\n\tpublic List<ClasificacionCompetencia> listar() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "d6e1691c398fa57e246d3b49548b3263", "score": "0.57101834", "text": "public String listarCaso(){\n\ttry{\t\n\t\tcaso = new Caso();\n\t\tcaso.setCliente(new Cliente());\n\t\tcaso.setStatusCaso(StatusCaso.CRIADO);\n\t\tcarregarListaTipoFaturamentoCaso();\n\t\t\n\t\tCalendar c = Calendar.getInstance();\n\t\tc.add(Calendar.MONTH,-3 ); //removento dois dias;\n\t\t\n\t\tdataInicioPesquisa = c.getTime();\n\t\tdataFimPesquisa = new Date();\n\t\t\n\t\tlistaCaso = casoService.pesquisarCaso(caso,dataInicioPesquisa, dataFimPesquisa);\n\t\t\n\t\t//temp TODO remover\n\t\tlistUsuarioTemp = usuarioService.pesquisarUsuario(null);\n\t\t\n\t} catch (Exception e) {\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, \"Erro ao carregar lista de casos.\", \"\"));\n\t\treturn \"/pages/inicial\";\n\t}\n\t\t\t\t\n\t\treturn \"/pages/caso/listar_caso\";\n\t}", "title": "" }, { "docid": "d0722519533bdbeeaf66cb49ec31ff4a", "score": "0.5701212", "text": "public ArrayList<Comentario> getComentarios() {\n\t\treturn comentarios;\n\t}", "title": "" }, { "docid": "0e6d788497593c24fb1ad91c3890ff71", "score": "0.57006097", "text": "@Override\n\tpublic List<Coctel> buscarPorNombre(String nombre) {\n\t\t\n\t\treturn repositorioCoctel.findByNombre(nombre);\n\t\t\n\t}", "title": "" }, { "docid": "18fdff04e3af61868f542598d6cef4ac", "score": "0.56964093", "text": "@Override\n\t\tpublic List<Curso> listarCurso() {\n\t\t\treturn (List<Curso>) entityManager.createQuery(\"select a from Curso a\", Curso.class).getResultList();\n\t\t}", "title": "" }, { "docid": "df9cefd030413a5d082bea623ebac51b", "score": "0.5696119", "text": "public List<String> cuis() {\n return cuis;\n }", "title": "" }, { "docid": "d801394fdcbc4f55af8fecd4ef8f6fb8", "score": "0.5692718", "text": "public List<Objeto> mostrarObjetos() throws ExceptionController {\n\t\tlog.info(\"Iniciando metodo mostrar objetos\");\n\t\tint cantDisponibles=0;//Contador de objetos disponibles\n\t\tList<Objeto> lista;//lista para los objetos de la bd\n\t\tList<Objeto> listaDisponibles = new ArrayList();//lista para los disponibles\n\t\ttry {\n\t\t\tlista= objetoDaoImp.getObjetos();//Se obtienen todos los objetos de la bd\n\t\t}catch(Exception e){\n\t\t\tthrow new ExceptionController(\"Error consultando objetos\", e);\n\t\t}\n\t\tfor (int i = 0; i<lista.size(); i++) {//Se recorre toda la lista de objetos\n\t\t\t//Se verifica la disonibilidad y si esta funcional\n\t\t\tif(lista.get(i).getDisponibilidad()==1 && lista.get(i).getReservado()==1 && lista.get(i).getEstado().equals(\"funcional\")) {\n\t\t\t\tlistaDisponibles.add(lista.get(i));//se agrega a la lista de disponibles\n\t\t\t\tlog.debug(lista.get(i).getNombre() + \" disponible\");\n\t\t\t\tcantDisponibles++;//se aumenta el contador\n\t\t\t}\n\t\t\telse {\n\t\t\t\tlog.debug(lista.get(i).getNombre() + \" no disponible\");\n\t\t\t}\n\t\t}\n\t\treturn listaDisponibles;\n\t}", "title": "" }, { "docid": "0980eeee19a3cbd52ef15dcff65c7af6", "score": "0.56914806", "text": "public List<Finca> listarFincas() {\n\t\t\tSQLiteDatabase db = dbHelper.getReadableDatabase();\n\t\t\tList<Finca> lista_contactos = new ArrayList<Finca>();\n\t\t\tString[] valores_recuperar = {\"_id\", \"codigo_finca\", \"nombre_finca\"};\n\t\t\tCursor c = db.query(dbHelper.SAT_terceros_fincas, valores_recuperar, \n\t\t\t\t\tnull, null, null, null, null, null);\n\t\t\tc.moveToFirst();\n\t\t\tdo {\n\t\t\t\tFinca finca = new Finca(c.getString(0), c.getString(1), c.getString(2), c.getString(3), c.getString(4), c.getString(5), c.getString(6), c.getString(7), c.getString(8), c.getString(9), c.getString(10));\n\n\t\t\t} while (c.moveToNext());\n\t\t\tdb.close();\n\t\t\tc.close();\n\t\t\treturn lista_contactos;\n\t\t}", "title": "" }, { "docid": "c18958aab8c806d215734d3e6eefa1f8", "score": "0.5690743", "text": "public List<Cuisine> getCuisines() {\n\t\tList<Cuisine> cuisine = new ArrayList<Cuisine>();\n\t\tcusinesRepository.findAll().forEach(cuisine :: add);\n\t\treturn cuisine;\n\t}", "title": "" }, { "docid": "51c66dc116db53eb13e572fec4e766f9", "score": "0.5685479", "text": "public List getAjusteOcu(String ocurrencia, BigDecimal idempresa)\n\t\t\tthrows RemoteException;", "title": "" }, { "docid": "a47b797ebe63afb49bd09257dcc84182", "score": "0.5684371", "text": "public Collection<ArtigoVeiculoComunicacao> getListaArtigos(){\r\n\t\treturn artVeiculoComunicacao.getListaArtigos();\r\n\t}", "title": "" }, { "docid": "ff3d6ec51fc1c1062b923809ede381c0", "score": "0.5669235", "text": "List<String> buscarNomeTodasRotas();", "title": "" }, { "docid": "2e83c3e0ed0ce6d357532d3193bb9b94", "score": "0.565878", "text": "public List getCentrosdecostoOcu(long limit, long offset,\n\t\t\tString ocurrencia, BigDecimal idempresa) throws RemoteException;", "title": "" }, { "docid": "5200be6ada93d6c684aaa651a4433002", "score": "0.56531256", "text": "public List<CandidatoEntity> getCandidatos() {\r\n LOGGER.log(Level.INFO, \"Inicia proceso de consultar todas los candidatos\");\r\n List<CandidatoEntity> candidatos = persistence.findAll();\r\n LOGGER.log(Level.INFO, \"Termina proceso de consultar todas los candidatos\");\r\n return candidatos;\r\n }", "title": "" }, { "docid": "73278de58a2fec9fccef1481e0a55bd2", "score": "0.56518006", "text": "public static List<Integer> contarGrupoConexo(Grafo g) {\n // vou utilizar uma lista para adicionar\n // o tamanho de cada componente conexo (tamanho == quantidade de NOS)\n List<Integer> list = new LinkedList<Integer>();\n // vou marcar todos os NOS como nao VISITADO\n for (int i = 0; i < g.no.length; i++) {\n g.visitado[i] = false;\n }\n // vou visitar todos os NOS\n for (int i = 0; i < g.adjacente.length; i++) {\n // todos nao so os NOS nao VISITADOS ainda\n if (!g.no[i].visitado) {\n // vou visitar recursivamente todos os possiveis VIZINHOS dos VIZINHOS\n int c = contarGrupoConexoAux(g, g.no[i]);\n // adiciono a quantidade de componentes para esse componente conexo\n list.add(c);\n }\n }\n return list;\n }", "title": "" }, { "docid": "2eb703ea7b755acc551d3c5e2a41874c", "score": "0.5651488", "text": "public void listraMisCursos() {\r\n User usuarioEnSesion = devolverUsuarioEnSesion();\r\n misCursos = userByCourseFacadeLocal.listarMisCursos(usuarioEnSesion);\r\n }", "title": "" }, { "docid": "3a4e05386fdae17791d3f09232a82e8e", "score": "0.56427395", "text": "public String navigateTraHojaRutaCabeceraList() {\n if (this.getSelected() != null) {\n FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put(\"TraHojaRutaCabecera_items\", this.getSelected().getTraHojaRutaCabeceraList());\n }\n return this.mobilePageController.getMobilePagesPrefix() + \"/traHojaRutaCabecera/index\";\n }", "title": "" }, { "docid": "f6fa75c2857d2042ad28189d27585d01", "score": "0.5642503", "text": "@Override\n\tpublic List<Coctel> buscarTodos() {\n\t\t \n\t\treturn repositorioCoctel.findAll();\n\t}", "title": "" }, { "docid": "14ab784a9a73ff662e0e0ef26340d04d", "score": "0.5641007", "text": "@Override\n\tpublic ArrayList<Cliente> listar() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "cff15e205a71014fefb1fdf6efb279a3", "score": "0.5617073", "text": "@Override\n\tpublic List<Ciudad> obtenerTodas() throws ExceptionAplication {\n\t\tSession session = null;\n\t\tList<Ciudad> ciudades = null;\n\t\ttry{\n\t\t\tsession = (Session) getSession();\n\t\t\tCriteria criteria = session.createCriteria(Ciudad.class);\n\t\t\t\n\t\t\tciudades = criteria.list();\n\t\t\t\n\t\t} catch(HibernateException e){\n\t\t\tthrow new ExceptionAplication(e);\n\t\t} finally{\n\t\t\tif (session != null){\n\t\t\t\tsession.close();\n\t\t\t}\n\t\t}\n\t\treturn ciudades;\n\t}", "title": "" }, { "docid": "197315e6f934578885d08d889d2e9023", "score": "0.5611448", "text": "public List<Norma> buscarAnos() {\n\tfinal Connection connection = Conexao.getConexao();\n\tfinal List<Norma> normas = new ArrayList<Norma>();\n\ttry {\n\t final String sql = \"select distinct norma.ano from norma, esfera_federal where norma.fk_id_esfera = esfera_federal.id_esfera\";\n\n\t final PreparedStatement preparedStatement = connection\n\t\t .prepareStatement(sql);\n\t final ResultSet resultSet = preparedStatement.executeQuery();\n\t while (resultSet.next()) {\n\t\tfinal Norma norma = new Norma();\n\t\tnorma.setAno(resultSet.getString(1));\n\t\tnormas.add(norma);\n\t }\n\t} catch (final SQLException exception) {\n\t System.out.println(\"Buscar Normas Federais: Erro => \"\n\t\t + exception.getMessage());\n\t} finally {\n\t try {\n\n\t\tconnection.close();\n\t\tConexao.fechaConexao();\n\t } catch (final SQLException e) {\n\t\tSystem.out\n\t\t\t.println(\"Buscar Normas Federais: Erro ao fechar conexão => \"\n\t\t\t\t+ e.getMessage());\n\t\te.printStackTrace();\n\t }\n\t}\n\n\treturn normas;\n }", "title": "" } ]
4b59abb51da196640e13847b5524b902
Returns an iterator over a set of elements of type T.
[ { "docid": "15cb8f80830d937bfee77b3b11343cb6", "score": "0.0", "text": "@Override\n\tpublic Iterator<String> iterator() {\n\t\treturn words.iterator();\n\t}", "title": "" } ]
[ { "docid": "033c94c196ccb1fa69b3eb020fd064a1", "score": "0.7212919", "text": "Iterator<T> iterator();", "title": "" }, { "docid": "330003a38f2b508aa07b4fa73d02917b", "score": "0.6773208", "text": "Iterator<E> iterator();", "title": "" }, { "docid": "330003a38f2b508aa07b4fa73d02917b", "score": "0.6773208", "text": "Iterator<E> iterator();", "title": "" }, { "docid": "330003a38f2b508aa07b4fa73d02917b", "score": "0.6773208", "text": "Iterator<E> iterator();", "title": "" }, { "docid": "330003a38f2b508aa07b4fa73d02917b", "score": "0.6773208", "text": "Iterator<E> iterator();", "title": "" }, { "docid": "330003a38f2b508aa07b4fa73d02917b", "score": "0.6773208", "text": "Iterator<E> iterator();", "title": "" }, { "docid": "f67580f7aec96397144416ce236a2727", "score": "0.67010015", "text": "public Iterator iterator() {\n\t\treturn getSet().iterator();\n\t}", "title": "" }, { "docid": "0c7fb6be23adb14e93313b2574974942", "score": "0.6576118", "text": "public abstract Iterator<T> iterator();", "title": "" }, { "docid": "b37741526a825031128aabc52c91e3ed", "score": "0.6566266", "text": "@Override\n\tpublic Iterator<T> iterator() {\n\t\treturn new ArraySetIterator();\n\t}", "title": "" }, { "docid": "4f7e010dc084c03e98fb57cd20d9d8b5", "score": "0.65262765", "text": "public Iterator iterator();", "title": "" }, { "docid": "9382abb50dd8b3ae27aeb5ebecc16274", "score": "0.65254563", "text": "public abstract GTUIterator<T> iterator();", "title": "" }, { "docid": "c770206d4f686f6d3a4a259807b1bc09", "score": "0.6506432", "text": "public Iterator getElementsIterator(Object collection);", "title": "" }, { "docid": "80df198e4e1e6a83bc207a2e7820f870", "score": "0.6463494", "text": "public Iterator<E> iterator();", "title": "" }, { "docid": "80df198e4e1e6a83bc207a2e7820f870", "score": "0.6463494", "text": "public Iterator<E> iterator();", "title": "" }, { "docid": "80df198e4e1e6a83bc207a2e7820f870", "score": "0.6463494", "text": "public Iterator<E> iterator();", "title": "" }, { "docid": "c2ca45ca8e5685916914bd558eef7d8d", "score": "0.642809", "text": "@Override\n\tpublic Iterator<Integer> iterator() {\n\t\treturn new IntegerTreeSetIterator();\n\t}", "title": "" }, { "docid": "ee95d9084c2f18243ce4ec99d8687526", "score": "0.6255129", "text": "Iterator<Integer> iterator();", "title": "" }, { "docid": "19b835fb4bc86e0e23879502c0dfbce0", "score": "0.6227218", "text": "public Iterator iterator() {\r\n\tif (this.tokens == null) {\r\n\t this.generateSet();\r\n\t}\r\n\treturn tokens.iterator();\r\n }", "title": "" }, { "docid": "f0a6b8cc97fd8969eef0b33248709593", "score": "0.6126955", "text": "public Iterator<E> getIterator();", "title": "" }, { "docid": "569a839a07d21ee8209d154009d00638", "score": "0.61204636", "text": "public static <T> Set<T> fromIterator(Iterator<T> iterator) {\n return CollectionUtil2.fromIterator(HashSet::new, iterator);\n }", "title": "" }, { "docid": "93af67e5c0090ac3e778aa6f5365e16c", "score": "0.60898536", "text": "static <T, F> Set<T> set(Iterable<F> is, Function<F, T> toT) {\r\n return set(map(is, toT));\r\n }", "title": "" }, { "docid": "4410ece05369f5697e51130207d7f261", "score": "0.60730195", "text": "public Iterator<E> iterator() {\r\n\t\treturn new SortedArraySetIterator(this);\r\n\t}", "title": "" }, { "docid": "97fb50fbbce0c8c912e8370510579449", "score": "0.60534656", "text": "public final Iterator<T> iterator() {\n return this.getElements().iterator();\n }", "title": "" }, { "docid": "d56a738ed2ea4681a21fca7a7f48114c", "score": "0.60475594", "text": "@Override\n public Iterator<Node> iterator() {\n return nodeSet().iterator();\n }", "title": "" }, { "docid": "543657eeeaeb43cecf1941647418335f", "score": "0.59834117", "text": "@Override\n Iterator<E> iterator();", "title": "" }, { "docid": "39466435fd47ab3afdd44e2239a906be", "score": "0.595524", "text": "public Iterator<T> iterator()\n\t{\n\t\treturn stream().iterator();\n\t}", "title": "" }, { "docid": "52f882c55d456a9f1b82ea280fda52bd", "score": "0.5906636", "text": "public static <T> Set<T> fromIterable(Iterable<T> iterable) {\n return fromIterator(iterable.iterator());\n }", "title": "" }, { "docid": "22b9f30334bee4794d7d9c3754f7594b", "score": "0.5902979", "text": "public abstract Iterable<Entry> entrySet();", "title": "" }, { "docid": "eff1524e19f936aa156217b37872a3b7", "score": "0.59028316", "text": "public Iterator getElementsIterator(Object collection) {\n \t\treturn Arrays.asList( (Object[]) collection ).iterator();\n \t}", "title": "" }, { "docid": "cd1ccc72fd1f31f583a064eeeca400cc", "score": "0.58931684", "text": "@Override\n public Iterator<Class<?>> iterator() {\n return this;\n }", "title": "" }, { "docid": "9d75d53765d03bd8e82eddfdb673078a", "score": "0.5888881", "text": "Iterator<Tuple> iterator();", "title": "" }, { "docid": "2d901636437856862a90afeb1101492a", "score": "0.5888701", "text": "public Iterator<T> iterator() {\r\n return collection.iterator();\r\n }", "title": "" }, { "docid": "470d3f052f677de1d0d7a5f387303c56", "score": "0.5883176", "text": "Iterator<String> iterator();", "title": "" }, { "docid": "470d3f052f677de1d0d7a5f387303c56", "score": "0.5883176", "text": "Iterator<String> iterator();", "title": "" }, { "docid": "d1600b87a4a099d96c2ce15f49dc190f", "score": "0.58701855", "text": "static <T> Set<T> set(Iterable<T> ts) {\r\n HashSet<T> result = new HashSet<>();\r\n ts.forEach(result::add);\r\n return result;\r\n }", "title": "" }, { "docid": "c9e41a4ad7fbc20117c7c867694ce58f", "score": "0.5857223", "text": "public Iterator<E> iterator(){\n\t\treturn new ElementIterator();\n\t}", "title": "" }, { "docid": "e6b82b7d28bcc2733c94a760941d03e1", "score": "0.5853534", "text": "@Override\n public TreeIterator<T> iterator();", "title": "" }, { "docid": "18fb83bfb6ff7990d42da293e98ac6c1", "score": "0.58463997", "text": "public Iterator iterator(){\n\t\treturn elementos.iterator();\n\t}", "title": "" }, { "docid": "c3a564e3798af78bacac811ae9b8e9cd", "score": "0.58375746", "text": "public IntSet getResult(T node);", "title": "" }, { "docid": "d33e427529570ad16cb2b4842d663fea", "score": "0.5744923", "text": "@Override\n\tpublic Iterator<E> iterator() {\n\t\treturn super.iterator();\n\t}", "title": "" }, { "docid": "b5ee3f91e7e93cdff5cad739b199561c", "score": "0.5741213", "text": "@SuppressWarnings(\"unchecked\")\n public Iterator<E> iterator()\n {\t\n\tif(datas == null) datas = getAll((E[]) new Comparable[size]);\n\t\n\t/*\n\t * inner iterator class\n\t */\n\tIterator<E> itr = new Iterator<E>()\n\t{\n\t int index = 0;\n\n\t @Override\n\t public boolean hasNext()\n\t {\n\t\treturn index != size;\n\t }\n\n\t @Override\n\t public E next()\n\t {\n\t\treturn datas[index++];\n\t }\n\t};\n\treturn itr;\n }", "title": "" }, { "docid": "5d8b5d4881ffbafc432cfb579b4ce61d", "score": "0.57385796", "text": "Iterator createIterator();", "title": "" }, { "docid": "61b73db6dd6c99c7e5812fbd24d76873", "score": "0.57041967", "text": "@Override\n\tpublic Iterator<E> iterator() {\n\t\treturn new ElementIterator();\n\t}", "title": "" }, { "docid": "4f2d6d6867791538403f4e116e3246fa", "score": "0.56885856", "text": "JMLIterator<E> iterator();", "title": "" }, { "docid": "85d496d47aca49a6938bfba3038c19b1", "score": "0.5684469", "text": "public interface IterableCollection<T> {\n\n boolean hasNext();\n T next();\n}", "title": "" }, { "docid": "d90185b01c45ac45ad43f6b3692fd5fb", "score": "0.56732434", "text": "protected Iterator getElementsIterator(Object collection) {\n \t\treturn ( (Collection) collection ).iterator();\n \t}", "title": "" }, { "docid": "2aea9bcf9ad77b334c10c4191ca40dfe", "score": "0.5652551", "text": "@DSModeled(DSC.SAFE)\n\tpublic Iterator<E> iterator() {\n Object obj = new Object();\n obj.addTaint(getTaint());\n return (Iterator<E>)obj;\n }", "title": "" }, { "docid": "4ce1c2537f96750fa85f71598e06dbc7", "score": "0.5636458", "text": "public abstract zzr<E> iterator();", "title": "" }, { "docid": "ee5bc78025fd8075ac1cb2199a837c2f", "score": "0.5626918", "text": "Iterator<Node<K, V>> iterator();", "title": "" }, { "docid": "c5f33e98cb1e82686debba4004177c95", "score": "0.56236786", "text": "public Iterator iterator() {\n return (super.iterator());\n }", "title": "" }, { "docid": "a93c88d0821099c67c39c23d6f56865d", "score": "0.5623047", "text": "@Override\r\n\tpublic Iterator<E> iterator() {\n\t\treturn this.iterator();\r\n\t}", "title": "" }, { "docid": "92ed80f0297ee2204820b2055c4e8b43", "score": "0.5588683", "text": "public interface Set<E> extends Iterable<E> {\n\n /** \n * Returns the number of elements in this set (its cardinality). If\n * this set contains more than <code>Integer.MAX_VALUE</code>\n * elements, returns <code>Integer.MAX_VALUE</code>.\n *\n * @return the number of elements in this set (its cardinality)\n */\n int size();\n\n /**\n * Returns true if this set contains no elements.\n *\n * @return true if this set contains no elements.\n */\n boolean isEmpty();\n\n /**\n * Returns an iterator over the elements in this set. The elements\n * are returned in no particular order.\n *\n * @return an iterator over the elements in this set\n */\n Iterator<E> iterator();\n\n /**\n * Returns true if this set contains the specified element. More\n * formally, returns true if and only if this set contains an\n * element <code>e</code> such that <code>(o==null ? e==null :\n * o.equals(e))</code>.\n *\n * @param o the element whose presence in this set is to be tested\n * @return true if this set contains the specified element\n */\n boolean contains(Object o);\n\n /**\n * Returns true if this set is a subset (or equal to) the given\n * set. More formally, returns true if and only if every member of\n * this set is also a member of <code>that</code>.\n *\n * @param that the set to check whether this is a subset of\n * @return true if every member of <code>this</code> set is also a\n * member of <code>that</code> \n */\n boolean isSubset(Set<E> that);\n\n /**\n * Returns true if this set is a superset (or equal to) the given\n * set. This is equivalent to <code>that.isSubset(this)</code>.\n *\n * @param that the set to check whether this is a superset of\n * @return true if every member of <code>that</code> is also a member of\n * <code>this</code> set\n */\n boolean isSuperset(Set<E> that);\n\n /**\n * Returns a new Set containing all of the elements of this set and\n * also the specified new element. If the specified element is\n * already in the set then returns the original Set.\n * \n * @param e the element to be added\n * @return a Set containing all of the elements of this set that\n * also contains <code>e</code>\n */\n Set<E> adjoin(E e);\n\n /**\n * Returns a new <code>Set</code> that is the union of <code>this\n * Set</code> and <code>that Set</code>. This is intended to be the\n * mathematical operation of union on sets.\n *\n * @param other the other <code>Set</code> to take the union with\n * @return a <code>Set</code> containing the union of the two\n * input <code>Set</code>s\n */\n Set<E> union(Set<E> other);\n\n /**\n * Returns a new <code>Set</code> that is the intersection of\n * <code>this Set</code> and <code>that Set</code>. This is\n * intended to be the mathematical operation of intersection on\n * sets.\n *\n * @param other the other <code>Set</code> to take the\n * intersection with \n * @return a <code>Set</code> containing the intersection of\n * the two input <code>Set</code>s\n */\n Set<E> intersect(Set<E> other);\n\n /**\n * Returns a new <code>Set</code> that is the difference of\n * <code>this Set</code> and <code>that Set</code>, i.e., <code>\n * this - that</code>. This is intended to be the mathematical\n * operation of difference on sets. Formally, the returned set\n * contains every element <code>e</code> of <code>this</code> that\n * is not an element of <code>that</code>.\n *\n * @param that the <code>Set</code> to subtract from this one\n * @return a <code>Set</code> containing the difference of\n * the two input <code>Set</code>s\n */\n Set<E> subtract(Set<E> other);\n\n /**\n * Returns a new <code>Set</code> that is the same as\n * <code>this</code> except that it does not contain the specified\n * element. If <code>this</code> does not contain the specified\n * element then the returned <code>Set</code> is the same as\n * <code>this</code>. \n *\n * @param e the element to be removed\n * @return a set similar to <code>this</code> but without\n * <code>e</code>\n */\n Set<E> remove(E e);\n\n /**\n * Compares the specified object with this set for equality. Returns\n * true if the specified object is also a set, the two sets have the\n * same size, and every member of the specified set is contained in\n * this set (or equivalently, every member of this set is contained\n * in the specified set).\n *\n * @param o object to be compared for equality with this set\n * @return true if the specified object is equal to this set\n * @see java.lang.Object#hashCode()\n */\n boolean equals(Object o);\n\n /**\n * Returns the hash code value for this set. The hash code of a set\n * is defined to be the sum of the hash codes of the elements in the\n * set, where the hash code of a null element is defined to be\n * zero. This ensures that <code>s1.equals(s2)</code> implies that\n * <code>s1.hashCode() == s2.hashCode()</code> for any two sets\n * <code>s1</code> and <code>s2</code>, as\n * required by the general contract of <code>Object.hashCode()</code>.\n *\n * @return the hash code value for this set\n * @see java.lang.Object#equals(Object)\n * @see equals(Object)\n * @see java.lang.Object#hashCode()\n */\n int hashCode();\n}", "title": "" }, { "docid": "8c034f513b66efac88d26d48fa73609a", "score": "0.55812293", "text": "public Iterator getSetSpecs() {\n\tif (setSpecs.size() > 0)\n\t return setSpecs.iterator();\n\telse\n\t return null;\n }", "title": "" }, { "docid": "e88a6c37c72f443175c83c5f5854e00c", "score": "0.55788326", "text": "@Override\n public Iterator<T> iterator() {\n return Iterators.singletonIterator(value);\n }", "title": "" }, { "docid": "092c2f9d79f9b579d040a4498a074e71", "score": "0.55737835", "text": "public Iterator elements() {\n \t\tint length = Array.getLength(array);\n \t\tjava.util.List list = new ArrayList(length);\n \t\tfor (int i=0; i<length; i++) {\n \t\t\tlist.add( Array.get(array, i) );\n \t\t}\n \t\treturn list.iterator();\n \t}", "title": "" }, { "docid": "3c333a13097b4867a652610008b06965", "score": "0.5563356", "text": "public Iterator<Object> iterator() {\n return Util.arrIterator(toArray());\n }", "title": "" }, { "docid": "884c0bb0f2fc42f85ceaf59ec34ded25", "score": "0.55398536", "text": "@Override\n\tpublic Iterator<Integer> iterator() {\n\t\treturn new BitSetIterator();\n\t}", "title": "" }, { "docid": "9c7466169f015aa02e6571405f3e7530", "score": "0.5534119", "text": "public Iterator<String> iteratorForFriend() {\n\treturn setOfFriend.iterator();\n }", "title": "" }, { "docid": "f154e5e2d90dba41c7af37b933cf4d73", "score": "0.55279064", "text": "public Iterator<T> iterator() {\n return iterator;\n }", "title": "" }, { "docid": "8d860bd04396d32bb9936c0175739231", "score": "0.552224", "text": "public void testIterator() {\n NavigableSet q = populatedSet(SIZE);\n Iterator it = q.iterator();\n int i;\n for (i = 0; it.hasNext(); i++)\n assertTrue(q.contains(it.next()));\n assertEquals(i, SIZE);\n assertIteratorExhausted(it);\n }", "title": "" }, { "docid": "de4a057e253a3b0b09809fac36b50f86", "score": "0.5519357", "text": "Iterator<Entity> getEntities();", "title": "" }, { "docid": "16e8b5e9fa5234282daa035a9988362f", "score": "0.55086446", "text": "public TSet() {\n this.elementsByType = new HashMap<>();\n this.elements = new HashSet<>();\n }", "title": "" }, { "docid": "5a5f46ba721295f5d47b3f84a3617aa8", "score": "0.5477881", "text": "@Override\n\tpublic Iterator<Entity> iterator() {\n\t\treturn entities.iterator();\t\t\n\t}", "title": "" }, { "docid": "042d718b108bc36395e72edb68bd7a29", "score": "0.54767245", "text": "public IntSet getNodeSet();", "title": "" }, { "docid": "f3e69c46485d7268fe3ddf7402f2009a", "score": "0.54764503", "text": "public abstract zzfs<E> iterator();", "title": "" }, { "docid": "4e62bb8bfadf4e9679daf5b15be51a47", "score": "0.54637676", "text": "public interface Set2DIterator {\n\n /** True iff THIS has another object id. */\n boolean hasNext ();\n\n /** The id of the next object in the iteration. Assumes hasNext (). */\n int next ();\n\n}", "title": "" }, { "docid": "c9a85a005685aa25c9c412e7f5bb4e43", "score": "0.54537475", "text": "@Override\n Iterator<Instant> iterator();", "title": "" }, { "docid": "225f680021909423cb4d68659dbfed46", "score": "0.5444524", "text": "public Iterator getValuesIterator() {\n return values.iterator();\n }", "title": "" }, { "docid": "2fb06c905746b5a18cda36ad64796bee", "score": "0.5431355", "text": "public UnmodifiableIterator<E> iterator() {\n return mo8403b().iterator();\n }", "title": "" }, { "docid": "0a237d6ac9c5266399e025f2e738fa3d", "score": "0.54273546", "text": "public Iterator<T> iterator() {\n return new RandomIterator();\n }", "title": "" }, { "docid": "2cd2c7f18ee31e530b61c03b063951dc", "score": "0.5426702", "text": "public Iterator<BooleanValue> iterator() {\n\t\treturn new Iterator<BooleanValue>() {\n\t\t\tfinal Iterator<IndexedEntry<BooleanValue>> iter = inputs.iterator();\n\n\t\t\tpublic boolean hasNext() {\n\t\t\t\treturn iter.hasNext();\n\t\t\t}\n\n\t\t\tpublic BooleanValue next() {\n\t\t\t\treturn iter.next().value();\n\t\t\t}\n\n\t\t\tpublic void remove() {\n\t\t\t\tthrow new UnsupportedOperationException();\n\t\t\t}\n\n\t\t};\n\t\t// return inputs.iterator();\n\t}", "title": "" }, { "docid": "6d1b7f6ac601a44be6c504ff933bf7e8", "score": "0.540273", "text": "Set<E> get(E value);", "title": "" }, { "docid": "758da8416466e129067a77473f1aa437", "score": "0.53882736", "text": "public Iterator iterator() {\r\n return a.iterator();\r\n }", "title": "" }, { "docid": "90f8514707df85b714da56136286bd7d", "score": "0.53853995", "text": "protected Iterator instantiateIterator()\n {\n return new EntrySetIterator();\n }", "title": "" }, { "docid": "743d3d8600d993e42b8583fae368694d", "score": "0.538039", "text": "Iterable<T> findAll();", "title": "" }, { "docid": "743d3d8600d993e42b8583fae368694d", "score": "0.538039", "text": "Iterable<T> findAll();", "title": "" }, { "docid": "a3c82619ad706e5a3544874d4abd280c", "score": "0.5376809", "text": "static Set<Node> toNodeSet(Iterator<Node> paramIterator) {\n/* 74 */ HashSet<Node> hashSet = new HashSet();\n/* 75 */ while (paramIterator.hasNext()) {\n/* 76 */ Node node = paramIterator.next();\n/* 77 */ hashSet.add(node);\n/* */ \n/* 79 */ if (node.getNodeType() == 1) {\n/* 80 */ NamedNodeMap namedNodeMap = node.getAttributes(); byte b; int i;\n/* 81 */ for (b = 0, i = namedNodeMap.getLength(); b < i; b++) {\n/* 82 */ hashSet.add(namedNodeMap.item(b));\n/* */ }\n/* */ } \n/* */ } \n/* 86 */ return hashSet;\n/* */ }", "title": "" }, { "docid": "0daa5574bb474d2af17d27025e3bcc60", "score": "0.5375094", "text": "public Iterator<E> iterator()\n {\n return new TreeIterator();\n }", "title": "" }, { "docid": "61d30d756eef162c4f54f94d989f78c9", "score": "0.53728104", "text": "public Iterator entries(CollectionPersister persister);", "title": "" }, { "docid": "820c3ef35db016a055b91384bce7be81", "score": "0.53725225", "text": "public Iterable<T> findAll();", "title": "" }, { "docid": "083320d808ef1616e49884672653504d", "score": "0.5369357", "text": "@Override\r\n\tpublic Iterator<Integer> iterator() {\n\t\treturn new MyCollectionIterator();\r\n\t}", "title": "" }, { "docid": "b8afe94c3a0daf4e028f64e817cc15a7", "score": "0.5368738", "text": "public Iterator iterator()\n {\n return new BagIterator(this);\n }", "title": "" }, { "docid": "5ad6dc856952c0f45c08ce33dee519f0", "score": "0.53660995", "text": "@NotNull\n public static <T> Iterable<T> asIterable(@Nullable final Iterator<T> it) {\n if (it == null) {\n return Collections.emptyList();\n }\n return () -> it;\n }", "title": "" }, { "docid": "117fac88929072ed9cf727c345b04740", "score": "0.5364879", "text": "public Iterator<Entry<K, V>> createEntrySetIterator() {\n if (size() == 0) {\n return EmptyOrderedIterator.emptyOrderedIterator();\n }\n return new EntrySetIterator(this);\n }", "title": "" }, { "docid": "9d92edaf34076071ab107e963179672b", "score": "0.5359954", "text": "public Iterator<Item> iterator() { return new Iter(); }", "title": "" }, { "docid": "050d006fae9e35745802a20db740a8d6", "score": "0.5356246", "text": "private static Iterator getAllElementsIterator(\n \t\t\tEventSource session,\n \t\t\tCollectionType collectionType,\n \t\t\tObject collection) {\n \t\treturn collectionType.getElementsIterator( collection, session );\n \t}", "title": "" }, { "docid": "b0f9db6d118e9d9d56db283be70da955", "score": "0.5348953", "text": "public final DTMIterator getContainedIter()\n {\n \treturn m_iter;\n }", "title": "" }, { "docid": "cb87cd2cdfde106a20ae9bf3025c715d", "score": "0.53386426", "text": "public IteratorIF<T> getIterator (int traversalType);", "title": "" }, { "docid": "abe7c704a33494793a1476ce073f645c", "score": "0.5337616", "text": "public Iterator<Item> iterator(){\n return getIterator(copy());\n }", "title": "" }, { "docid": "1b3272c093090dd73388ef531ef3a6b7", "score": "0.5336377", "text": "abstract public IntIterator values ();", "title": "" }, { "docid": "bdfb0d026a40e749dbc33ec9a534f754", "score": "0.5335689", "text": "public java.util.Iterator<AnyType> iterator( )\r\n {\r\n return new LinkedListIterator( );\r\n }", "title": "" }, { "docid": "dd635da024e1f8dc04b9eb88c373baec", "score": "0.53228915", "text": "ResourceIterator<DataBlock> iterator(RangeSet<Field> rangeSet) throws IOException;", "title": "" }, { "docid": "1039272fb5198596c215000a09a473e6", "score": "0.53216445", "text": "RowIterator iterator();", "title": "" }, { "docid": "bec207b73eb28b152384e1e9d26734dc", "score": "0.5318709", "text": "@Override\n\tpublic Iterator<ZeldaElement<T>> iterator() {\n\t\treturn new Iterator<ZeldaElement<T>>() {\n\t\t\tZeldaElement<T> next = headElement;\n\n\t\t\t@Override\n\t\t\tpublic boolean hasNext() {\n\t\t\t\treturn next != null;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic ZeldaElement<T> next() {\n\t\t\t\tZeldaElement<T> cur = next;\n\t\t\t\tnext = next.getNextElement();\n\t\t\t\treturn cur;\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "6df1f98c0c43fc28c44bb808c5004a48", "score": "0.5317467", "text": "public Iterator iterator() {\n return ((Iterator) fields.entrySet().iterator());\n }", "title": "" }, { "docid": "3d56ae9acbc017f5ff879b678eabe780", "score": "0.53100157", "text": "@Override\r\n\tpublic Iterator<T> iterator() {\r\n\t\treturn f_series.iterator();\r\n\t}", "title": "" }, { "docid": "8b8a2e815b710ca8922cd64fc3de2b1d", "score": "0.5302986", "text": "public Iterator<V> iterator() {\n List<V> vertexList = new List<V>();\n for(Vertex<V> fe: vertices)\n vertexList.add(fe.myVertex);\n return vertexList.iterator(); //the List class already has an iterator\n }", "title": "" }, { "docid": "430b9667e05c2b8efb3fd1797e8c4149", "score": "0.52894986", "text": "public Iterator<E> iterator() {\n return new ValueIterator();\n }", "title": "" }, { "docid": "5013e0ac732e5689d5618c175ef78bf3", "score": "0.5286042", "text": "public Iterator<E> iterator() {\n\t\treturn map.keySet().iterator();\n\t}", "title": "" }, { "docid": "5603e11d2c27b1d92d3abfcea68fc36c", "score": "0.528562", "text": "public NonIterableSet() {\n set = new HashSet<T>();\n }", "title": "" }, { "docid": "33f0cf685f8c5f2296451d139fc73c3e", "score": "0.5282406", "text": "public Iterator<T> iterator() {\r\n\t\tIterator<T> it = new BSTIterator<>();\r\n\t\treturn it;\r\n\t}", "title": "" } ]
814dddc5d704ac311bdb1645ea6c1227
$ANTLR end "rule__XAnnotationElementValue__Group_0_1_1__0__Impl" $ANTLR start "rule__XAnnotationElementValue__Group_0_1_1__1" InternalModel.g:5969:1: rule__XAnnotationElementValue__Group_0_1_1__1 : rule__XAnnotationElementValue__Group_0_1_1__1__Impl ;
[ { "docid": "74a91a6e8369d66a9450fc1e94f159ac", "score": "0.7941977", "text": "public final void rule__XAnnotationElementValue__Group_0_1_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5973:1: ( rule__XAnnotationElementValue__Group_0_1_1__1__Impl )\r\n // InternalModel.g:5974:2: rule__XAnnotationElementValue__Group_0_1_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_1_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" } ]
[ { "docid": "fc9c6e1301ca92b81f5f367fa985ff51", "score": "0.8088232", "text": "public final void rule__XAnnotationElementValue__Group_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5742:1: ( ( ( rule__XAnnotationElementValue__Group_0_1__0 )? ) )\r\n // InternalModel.g:5743:1: ( ( rule__XAnnotationElementValue__Group_0_1__0 )? )\r\n {\r\n // InternalModel.g:5743:1: ( ( rule__XAnnotationElementValue__Group_0_1__0 )? )\r\n // InternalModel.g:5744:2: ( rule__XAnnotationElementValue__Group_0_1__0 )?\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1()); \r\n }\r\n // InternalModel.g:5745:2: ( rule__XAnnotationElementValue__Group_0_1__0 )?\r\n int alt72=2;\r\n int LA72_0 = input.LA(1);\r\n\r\n if ( ((LA72_0>=RULE_ID && LA72_0<=RULE_STRING)||LA72_0==27||(LA72_0>=34 && LA72_0<=35)||LA72_0==40||(LA72_0>=45 && LA72_0<=50)||LA72_0==71||LA72_0==75||LA72_0==77||(LA72_0>=79 && LA72_0<=80)||LA72_0==84||LA72_0==86||(LA72_0>=90 && LA72_0<=98)||LA72_0==100||LA72_0==108) ) {\r\n alt72=1;\r\n }\r\n switch (alt72) {\r\n case 1 :\r\n // InternalModel.g:5745:3: rule__XAnnotationElementValue__Group_0_1__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_1__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "47d5eb2236ae27f6b0673b6e0e695c94", "score": "0.80364996", "text": "public final void rule__XAnnotationElementValue__Group_0_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5784:1: ( rule__XAnnotationElementValue__Group_0_0__0__Impl )\r\n // InternalModel.g:5785:2: rule__XAnnotationElementValue__Group_0_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "4862c14fbe31f4b5a2fb48b232cf5ea6", "score": "0.797572", "text": "public final void rule__XAnnotationElementValue__Group_0_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5930:1: ( ( ( rule__XAnnotationElementValue__Group_0_1_1__0 )* ) )\r\n // InternalModel.g:5931:1: ( ( rule__XAnnotationElementValue__Group_0_1_1__0 )* )\r\n {\r\n // InternalModel.g:5931:1: ( ( rule__XAnnotationElementValue__Group_0_1_1__0 )* )\r\n // InternalModel.g:5932:2: ( rule__XAnnotationElementValue__Group_0_1_1__0 )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1()); \r\n }\r\n // InternalModel.g:5933:2: ( rule__XAnnotationElementValue__Group_0_1_1__0 )*\r\n loop73:\r\n do {\r\n int alt73=2;\r\n int LA73_0 = input.LA(1);\r\n\r\n if ( (LA73_0==74) ) {\r\n alt73=1;\r\n }\r\n\r\n\r\n switch (alt73) {\r\n \tcase 1 :\r\n \t // InternalModel.g:5933:3: rule__XAnnotationElementValue__Group_0_1_1__0\r\n \t {\r\n \t pushFollow(FOLLOW_18);\r\n \t rule__XAnnotationElementValue__Group_0_1_1__0();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return ;\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop73;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b5a279edbc9184f6caafc49d6490b5c5", "score": "0.7950031", "text": "public final void rule__XAnnotationElementValue__Group_0_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5919:1: ( rule__XAnnotationElementValue__Group_0_1__1__Impl )\r\n // InternalModel.g:5920:2: rule__XAnnotationElementValue__Group_0_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "256cd97acd7e6ade7c7e2e465924ff09", "score": "0.78300524", "text": "public final void rule__XAnnotationElementValue__Group_0_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5795:1: ( ( ( rule__XAnnotationElementValue__Group_0_0_0__0 ) ) )\r\n // InternalModel.g:5796:1: ( ( rule__XAnnotationElementValue__Group_0_0_0__0 ) )\r\n {\r\n // InternalModel.g:5796:1: ( ( rule__XAnnotationElementValue__Group_0_0_0__0 ) )\r\n // InternalModel.g:5797:2: ( rule__XAnnotationElementValue__Group_0_0_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0()); \r\n }\r\n // InternalModel.g:5798:2: ( rule__XAnnotationElementValue__Group_0_0_0__0 )\r\n // InternalModel.g:5798:3: rule__XAnnotationElementValue__Group_0_0_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_0_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "153de686f7e133d7ab23ea79fa80d98a", "score": "0.78142387", "text": "public final void rule__XAnnotationElementValue__Group_0_0_0__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5865:1: ( rule__XAnnotationElementValue__Group_0_0_0__2__Impl )\r\n // InternalModel.g:5866:2: rule__XAnnotationElementValue__Group_0_0_0__2__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_0_0__2__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ec454a318ea393658794383d174de992", "score": "0.7784014", "text": "public final void rule__XAnnotationElementValue__Group_0_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5892:1: ( rule__XAnnotationElementValue__Group_0_1__0__Impl rule__XAnnotationElementValue__Group_0_1__1 )\r\n // InternalModel.g:5893:2: rule__XAnnotationElementValue__Group_0_1__0__Impl rule__XAnnotationElementValue__Group_0_1__1\r\n {\r\n pushFollow(FOLLOW_17);\r\n rule__XAnnotationElementValue__Group_0_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "693eab7b5d5d9ade7c9aa1a75ceb8191", "score": "0.77794105", "text": "public final void rule__XAnnotationElementValue__Group_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5715:1: ( ( ( rule__XAnnotationElementValue__Group_0_0__0 ) ) )\r\n // InternalModel.g:5716:1: ( ( rule__XAnnotationElementValue__Group_0_0__0 ) )\r\n {\r\n // InternalModel.g:5716:1: ( ( rule__XAnnotationElementValue__Group_0_0__0 ) )\r\n // InternalModel.g:5717:2: ( rule__XAnnotationElementValue__Group_0_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0()); \r\n }\r\n // InternalModel.g:5718:2: ( rule__XAnnotationElementValue__Group_0_0__0 )\r\n // InternalModel.g:5718:3: rule__XAnnotationElementValue__Group_0_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "89df7e0b3fe19a98be431c55ccc43fd0", "score": "0.77116716", "text": "public final void rule__XAnnotationElementValue__Group_0__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5757:1: ( rule__XAnnotationElementValue__Group_0__2__Impl )\r\n // InternalModel.g:5758:2: rule__XAnnotationElementValue__Group_0__2__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0__2__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "40d58a4c55d2e541fa322b4dee6af172", "score": "0.76948994", "text": "public final void rule__XAnnotationElementValue__Group_0_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5838:1: ( rule__XAnnotationElementValue__Group_0_0_0__1__Impl rule__XAnnotationElementValue__Group_0_0_0__2 )\r\n // InternalModel.g:5839:2: rule__XAnnotationElementValue__Group_0_0_0__1__Impl rule__XAnnotationElementValue__Group_0_0_0__2\r\n {\r\n pushFollow(FOLLOW_28);\r\n rule__XAnnotationElementValue__Group_0_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_0_0__2();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1f475db9381b9fe8a47809ae3724fd72", "score": "0.76818573", "text": "public final void rule__XAnnotationElementValue__Group_0_1_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5946:1: ( rule__XAnnotationElementValue__Group_0_1_1__0__Impl rule__XAnnotationElementValue__Group_0_1_1__1 )\r\n // InternalModel.g:5947:2: rule__XAnnotationElementValue__Group_0_1_1__0__Impl rule__XAnnotationElementValue__Group_0_1_1__1\r\n {\r\n pushFollow(FOLLOW_25);\r\n rule__XAnnotationElementValue__Group_0_1_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_1_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "c567e531ea256bcb8d69fa477081ef3f", "score": "0.7665853", "text": "public final void rule__XAnnotationElementValue__Group_0_0_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5811:1: ( rule__XAnnotationElementValue__Group_0_0_0__0__Impl rule__XAnnotationElementValue__Group_0_0_0__1 )\r\n // InternalModel.g:5812:2: rule__XAnnotationElementValue__Group_0_0_0__0__Impl rule__XAnnotationElementValue__Group_0_0_0__1\r\n {\r\n pushFollow(FOLLOW_27);\r\n rule__XAnnotationElementValue__Group_0_0_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0_0_0__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b0021e38bf9a2feca30ed3a1c5f09051", "score": "0.7659392", "text": "public final void rule__XAnnotationElementValue__Group_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5703:1: ( rule__XAnnotationElementValue__Group_0__0__Impl rule__XAnnotationElementValue__Group_0__1 )\r\n // InternalModel.g:5704:2: rule__XAnnotationElementValue__Group_0__0__Impl rule__XAnnotationElementValue__Group_0__1\r\n {\r\n pushFollow(FOLLOW_26);\r\n rule__XAnnotationElementValue__Group_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "15d8dd64b3144d42729bb9135ab50ba4", "score": "0.7589765", "text": "public final void rule__XAnnotationElementValue__Group_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5730:1: ( rule__XAnnotationElementValue__Group_0__1__Impl rule__XAnnotationElementValue__Group_0__2 )\r\n // InternalModel.g:5731:2: rule__XAnnotationElementValue__Group_0__1__Impl rule__XAnnotationElementValue__Group_0__2\r\n {\r\n pushFollow(FOLLOW_26);\r\n rule__XAnnotationElementValue__Group_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0__2();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "0b249983b37d516f3258fbd3e5340bd6", "score": "0.73503506", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5453:1: ( rule__XAnnotationElementValueOrCommaList__Group_0_1__1__Impl )\r\n // InternalModel.g:5454:2: rule__XAnnotationElementValueOrCommaList__Group_0_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "da3cd321f31fcd5f0960af3a837ec6e6", "score": "0.732429", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5507:1: ( rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1__Impl )\r\n // InternalModel.g:5508:2: rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "20ec203d7363192fef49057e374cea18", "score": "0.73095137", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5464:1: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0 )* ) )\r\n // InternalModel.g:5465:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0 )* )\r\n {\r\n // InternalModel.g:5465:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0 )* )\r\n // InternalModel.g:5466:2: ( rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0 )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1()); \r\n }\r\n // InternalModel.g:5467:2: ( rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0 )*\r\n loop69:\r\n do {\r\n int alt69=2;\r\n int LA69_0 = input.LA(1);\r\n\r\n if ( (LA69_0==74) ) {\r\n alt69=1;\r\n }\r\n\r\n\r\n switch (alt69) {\r\n \tcase 1 :\r\n \t // InternalModel.g:5467:3: rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0\r\n \t {\r\n \t pushFollow(FOLLOW_18);\r\n \t rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return ;\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop69;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "287d85ef6d7a85c04e9ed122231a0aaa", "score": "0.7272969", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5249:1: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_0_0__0 ) ) )\r\n // InternalModel.g:5250:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0_0__0 ) )\r\n {\r\n // InternalModel.g:5250:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0_0__0 ) )\r\n // InternalModel.g:5251:2: ( rule__XAnnotationElementValueOrCommaList__Group_0_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0()); \r\n }\r\n // InternalModel.g:5252:2: ( rule__XAnnotationElementValueOrCommaList__Group_0_0__0 )\r\n // InternalModel.g:5252:3: rule__XAnnotationElementValueOrCommaList__Group_0_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d4d642274627e22bc0853aea039747f7", "score": "0.726805", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5329:1: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0 ) ) )\r\n // InternalModel.g:5330:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0 ) )\r\n {\r\n // InternalModel.g:5330:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0 ) )\r\n // InternalModel.g:5331:2: ( rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0()); \r\n }\r\n // InternalModel.g:5332:2: ( rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0 )\r\n // InternalModel.g:5332:3: rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "c9bd9cb003a86cf8c0522da1113aa67f", "score": "0.7260756", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5318:1: ( rule__XAnnotationElementValueOrCommaList__Group_0_0__0__Impl )\r\n // InternalModel.g:5319:2: rule__XAnnotationElementValueOrCommaList__Group_0_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "0134fe164731a8d85487ef5851e31126", "score": "0.72216105", "text": "public final void rule__XAnnotationElementValuePair__Group_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5210:1: ( rule__XAnnotationElementValuePair__Group_0_0__1__Impl )\r\n // InternalModel.g:5211:2: rule__XAnnotationElementValuePair__Group_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValuePair__Group_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "56eade7c39b2b701d0adf9c8cd8261e5", "score": "0.7218792", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5276:1: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_0_1__0 )? ) )\r\n // InternalModel.g:5277:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0_1__0 )? )\r\n {\r\n // InternalModel.g:5277:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_0_1__0 )? )\r\n // InternalModel.g:5278:2: ( rule__XAnnotationElementValueOrCommaList__Group_0_1__0 )?\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1()); \r\n }\r\n // InternalModel.g:5279:2: ( rule__XAnnotationElementValueOrCommaList__Group_0_1__0 )?\r\n int alt68=2;\r\n int LA68_0 = input.LA(1);\r\n\r\n if ( ((LA68_0>=RULE_ID && LA68_0<=RULE_STRING)||LA68_0==27||(LA68_0>=34 && LA68_0<=35)||LA68_0==40||(LA68_0>=45 && LA68_0<=50)||LA68_0==71||LA68_0==75||LA68_0==77||(LA68_0>=79 && LA68_0<=80)||LA68_0==84||LA68_0==86||(LA68_0>=90 && LA68_0<=98)||LA68_0==100||LA68_0==108) ) {\r\n alt68=1;\r\n }\r\n switch (alt68) {\r\n case 1 :\r\n // InternalModel.g:5279:3: rule__XAnnotationElementValueOrCommaList__Group_0_1__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_1__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "26645738ae85ff2f7eead8254298c69a", "score": "0.718743", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5676:1: ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1__Impl )\r\n // InternalModel.g:5677:2: rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "0922c8cdb9d3d4c2531715599d7d2437", "score": "0.7179888", "text": "public final void rule__XAnnotationElementValuePair__Group_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5156:1: ( rule__XAnnotationElementValuePair__Group_0__0__Impl )\r\n // InternalModel.g:5157:2: rule__XAnnotationElementValuePair__Group_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValuePair__Group_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8d6d85fdfb4bfae95dec7e2d3a24f7cb", "score": "0.7150989", "text": "public final void rule__XAnnotation__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:4805:1: ( rule__XAnnotation__Group__0__Impl rule__XAnnotation__Group__1 )\r\n // InternalModel.g:4806:2: rule__XAnnotation__Group__0__Impl rule__XAnnotation__Group__1\r\n {\r\n pushFollow(FOLLOW_23);\r\n rule__XAnnotation__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotation__Group__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "0add72be3da653f9d1583a858b83ca7d", "score": "0.7136839", "text": "public final void rule__XAnnotation__Group_3_1_0_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5075:1: ( rule__XAnnotation__Group_3_1_0_1__1__Impl )\r\n // InternalModel.g:5076:2: rule__XAnnotation__Group_3_1_0_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotation__Group_3_1_0_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "21f7b37e8c588da7699d61edd0a88ba7", "score": "0.71367496", "text": "public final void rule__XAnnotation__Group_3_1_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5021:1: ( rule__XAnnotation__Group_3_1_0__1__Impl )\r\n // InternalModel.g:5022:2: rule__XAnnotation__Group_3_1_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotation__Group_3_1_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "a86009b76992891823cb91dfcd5937e2", "score": "0.711838", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5237:1: ( rule__XAnnotationElementValueOrCommaList__Group_0__0__Impl rule__XAnnotationElementValueOrCommaList__Group_0__1 )\r\n // InternalModel.g:5238:2: rule__XAnnotationElementValueOrCommaList__Group_0__0__Impl rule__XAnnotationElementValueOrCommaList__Group_0__1\r\n {\r\n pushFollow(FOLLOW_26);\r\n rule__XAnnotationElementValueOrCommaList__Group_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "f2203075943cfa0f33e6809a954a3955", "score": "0.71102023", "text": "public final void rule__Annotation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4403:1: ( rule__Annotation__Group__0__Impl rule__Annotation__Group__1 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4404:2: rule__Annotation__Group__0__Impl rule__Annotation__Group__1\n {\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group__0__Impl_in_rule__Annotation__Group__09229);\n rule__Annotation__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group__1_in_rule__Annotation__Group__09232);\n rule__Annotation__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": "6a93a4fbe1a8561ccc1ec03966312659", "score": "0.7105672", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_1_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5615:1: ( rule__XAnnotationElementValueOrCommaList__Group_1_1__1__Impl )\r\n // InternalModel.g:5616:2: rule__XAnnotationElementValueOrCommaList__Group_1_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_1_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "9d3257ed1ff6aeb9207469f2b148a616", "score": "0.7104409", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5399:1: ( rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2__Impl )\r\n // InternalModel.g:5400:2: rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "86c2f75b8d4e13359a38dde43cc5cf76", "score": "0.71042466", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5372:1: ( rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1__Impl rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2 )\r\n // InternalModel.g:5373:2: rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1__Impl rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2\r\n {\r\n pushFollow(FOLLOW_28);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_0_0__2();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "e20f8e9a4670fcb9fb5135cade04d2bc", "score": "0.70910573", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5291:1: ( rule__XAnnotationElementValueOrCommaList__Group_0__2__Impl )\r\n // InternalModel.g:5292:2: rule__XAnnotationElementValueOrCommaList__Group_0__2__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0__2__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "509b4123bf613fb74af8848331425cb6", "score": "0.7076268", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5345:1: ( rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0__Impl rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1 )\r\n // InternalModel.g:5346:2: rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0__Impl rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1\r\n {\r\n pushFollow(FOLLOW_27);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_0_0__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "0200701009b17c3411975ce85ad72d1f", "score": "0.70754296", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5572:1: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1__0 )? ) )\r\n // InternalModel.g:5573:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1__0 )? )\r\n {\r\n // InternalModel.g:5573:1: ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1__0 )? )\r\n // InternalModel.g:5574:2: ( rule__XAnnotationElementValueOrCommaList__Group_1_1__0 )?\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1()); \r\n }\r\n // InternalModel.g:5575:2: ( rule__XAnnotationElementValueOrCommaList__Group_1_1__0 )?\r\n int alt70=2;\r\n int LA70_0 = input.LA(1);\r\n\r\n if ( (LA70_0==74) ) {\r\n alt70=1;\r\n }\r\n switch (alt70) {\r\n case 1 :\r\n // InternalModel.g:5575:3: rule__XAnnotationElementValueOrCommaList__Group_1_1__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_1_1__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "a7b8aec182807f9070fb6d820996f926", "score": "0.70406336", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5480:1: ( rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1 )\r\n // InternalModel.g:5481:2: rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1\r\n {\r\n pushFollow(FOLLOW_25);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_1_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8cfa52db38590c23b46129110dcabdb7", "score": "0.70345384", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5426:1: ( rule__XAnnotationElementValueOrCommaList__Group_0_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_0_1__1 )\r\n // InternalModel.g:5427:2: rule__XAnnotationElementValueOrCommaList__Group_0_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_0_1__1\r\n {\r\n pushFollow(FOLLOW_17);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "827e3d80fa3106251883000784471ec4", "score": "0.701892", "text": "public final void rule__XAnnotationElementValuePair__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5129:1: ( rule__XAnnotationElementValuePair__Group__1__Impl )\r\n // InternalModel.g:5130:2: rule__XAnnotationElementValuePair__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValuePair__Group__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "4d52c60ee4812715f5ae2498a9c39063", "score": "0.7004932", "text": "public final void rule__XAnnotation__Group_3_1_0_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5048:1: ( rule__XAnnotation__Group_3_1_0_1__0__Impl rule__XAnnotation__Group_3_1_0_1__1 )\r\n // InternalModel.g:5049:2: rule__XAnnotation__Group_3_1_0_1__0__Impl rule__XAnnotation__Group_3_1_0_1__1\r\n {\r\n pushFollow(FOLLOW_8);\r\n rule__XAnnotation__Group_3_1_0_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotation__Group_3_1_0_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "98b85b6782c833ec62619e0cc7b9c1a4", "score": "0.70046735", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5561:1: ( rule__XAnnotationElementValueOrCommaList__Group_1__1__Impl )\r\n // InternalModel.g:5562:2: rule__XAnnotationElementValueOrCommaList__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "27aa23f6c4bce2cbe2bfb6ceacbf20a2", "score": "0.70030403", "text": "public final void rule__XAnnotation__Group_3_1_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5032:1: ( ( ( rule__XAnnotation__Group_3_1_0_1__0 )* ) )\r\n // InternalModel.g:5033:1: ( ( rule__XAnnotation__Group_3_1_0_1__0 )* )\r\n {\r\n // InternalModel.g:5033:1: ( ( rule__XAnnotation__Group_3_1_0_1__0 )* )\r\n // InternalModel.g:5034:2: ( rule__XAnnotation__Group_3_1_0_1__0 )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1()); \r\n }\r\n // InternalModel.g:5035:2: ( rule__XAnnotation__Group_3_1_0_1__0 )*\r\n loop67:\r\n do {\r\n int alt67=2;\r\n int LA67_0 = input.LA(1);\r\n\r\n if ( (LA67_0==74) ) {\r\n alt67=1;\r\n }\r\n\r\n\r\n switch (alt67) {\r\n \tcase 1 :\r\n \t // InternalModel.g:5035:3: rule__XAnnotation__Group_3_1_0_1__0\r\n \t {\r\n \t pushFollow(FOLLOW_18);\r\n \t rule__XAnnotation__Group_3_1_0_1__0();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return ;\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop67;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d8221b5bd3638e007e640eaf2f43def7", "score": "0.699199", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5264:1: ( rule__XAnnotationElementValueOrCommaList__Group_0__1__Impl rule__XAnnotationElementValueOrCommaList__Group_0__2 )\r\n // InternalModel.g:5265:2: rule__XAnnotationElementValueOrCommaList__Group_0__1__Impl rule__XAnnotationElementValueOrCommaList__Group_0__2\r\n {\r\n pushFollow(FOLLOW_26);\r\n rule__XAnnotationElementValueOrCommaList__Group_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0__2();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b16cc5f3a1321b886679ded876b77273", "score": "0.6990319", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_1_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5626:1: ( ( ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 ) ) ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )* ) ) )\r\n // InternalModel.g:5627:1: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 ) ) ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )* ) )\r\n {\r\n // InternalModel.g:5627:1: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 ) ) ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )* ) )\r\n // InternalModel.g:5628:2: ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 ) ) ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )* )\r\n {\r\n // InternalModel.g:5628:2: ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 ) )\r\n // InternalModel.g:5629:3: ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1()); \r\n }\r\n // InternalModel.g:5630:3: ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )\r\n // InternalModel.g:5630:4: rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0\r\n {\r\n pushFollow(FOLLOW_18);\r\n rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1()); \r\n }\r\n\r\n }\r\n\r\n // InternalModel.g:5633:2: ( ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )* )\r\n // InternalModel.g:5634:3: ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1()); \r\n }\r\n // InternalModel.g:5635:3: ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0 )*\r\n loop71:\r\n do {\r\n int alt71=2;\r\n int LA71_0 = input.LA(1);\r\n\r\n if ( (LA71_0==74) ) {\r\n alt71=1;\r\n }\r\n\r\n\r\n switch (alt71) {\r\n \tcase 1 :\r\n \t // InternalModel.g:5635:4: rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0\r\n \t {\r\n \t pushFollow(FOLLOW_18);\r\n \t rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return ;\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop71;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "4b4bebbc759e493a02b515dee38b8180", "score": "0.6955682", "text": "public final void rule__XAnnotationElementValue__Group_0_0_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5850:1: ( ( '#' ) )\r\n // InternalModel.g:5851:1: ( '#' )\r\n {\r\n // InternalModel.g:5851:1: ( '#' )\r\n // InternalModel.g:5852:2: '#'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); \r\n }\r\n match(input,79,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ccc49e89c197b09946b1b87bf89d5393", "score": "0.6953394", "text": "public final void rule__Annotation__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5771:1: ( rule__Annotation__Group__0__Impl rule__Annotation__Group__1 )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5772:2: rule__Annotation__Group__0__Impl rule__Annotation__Group__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group__0__Impl_in_rule__Annotation__Group__011890);\r\n rule__Annotation__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group__1_in_rule__Annotation__Group__011893);\r\n rule__Annotation__Group__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "bf4039628b8402c6812fb5615c588f10", "score": "0.6940044", "text": "public final void rule__XAnnotationElementValuePair__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5114:1: ( ( ( rule__XAnnotationElementValuePair__Group_0__0 ) ) )\r\n // InternalModel.g:5115:1: ( ( rule__XAnnotationElementValuePair__Group_0__0 ) )\r\n {\r\n // InternalModel.g:5115:1: ( ( rule__XAnnotationElementValuePair__Group_0__0 ) )\r\n // InternalModel.g:5116:2: ( rule__XAnnotationElementValuePair__Group_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0()); \r\n }\r\n // InternalModel.g:5117:2: ( rule__XAnnotationElementValuePair__Group_0__0 )\r\n // InternalModel.g:5117:3: rule__XAnnotationElementValuePair__Group_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValuePair__Group_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8d1fa06bbd9224b530cc4a103e90af2b", "score": "0.69382167", "text": "public final void rule__XAnnotationElementValuePair__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5102:1: ( rule__XAnnotationElementValuePair__Group__0__Impl rule__XAnnotationElementValuePair__Group__1 )\r\n // InternalModel.g:5103:2: rule__XAnnotationElementValuePair__Group__0__Impl rule__XAnnotationElementValuePair__Group__1\r\n {\r\n pushFollow(FOLLOW_25);\r\n rule__XAnnotationElementValuePair__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValuePair__Group__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d208e15f180c77c87266949cd12e525f", "score": "0.691327", "text": "public final void rule__XAnnotation__Group_3_1_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:4994:1: ( rule__XAnnotation__Group_3_1_0__0__Impl rule__XAnnotation__Group_3_1_0__1 )\r\n // InternalModel.g:4995:2: rule__XAnnotation__Group_3_1_0__0__Impl rule__XAnnotation__Group_3_1_0__1\r\n {\r\n pushFollow(FOLLOW_17);\r\n rule__XAnnotation__Group_3_1_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotation__Group_3_1_0__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8e6ffc8d009ee20a02b557492f8eb2d6", "score": "0.69067323", "text": "public final void rule__AnnotationParam__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4687:1: ( rule__AnnotationParam__Group__0__Impl rule__AnnotationParam__Group__1 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4688:2: rule__AnnotationParam__Group__0__Impl rule__AnnotationParam__Group__1\n {\n pushFollow(FollowSets000.FOLLOW_rule__AnnotationParam__Group__0__Impl_in_rule__AnnotationParam__Group__09788);\n rule__AnnotationParam__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FollowSets000.FOLLOW_rule__AnnotationParam__Group__1_in_rule__AnnotationParam__Group__09791);\n rule__AnnotationParam__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": "20ed64ca4688b3abe051e2737a2a70ac", "score": "0.6878177", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5649:1: ( rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1 )\r\n // InternalModel.g:5650:2: rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1\r\n {\r\n pushFollow(FOLLOW_25);\r\n rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_1_1_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "994d9395b7bf6bf7699d5780f60877c5", "score": "0.6871875", "text": "public final void rule__XAnnotationElementValuePair__Group_0_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5183:1: ( rule__XAnnotationElementValuePair__Group_0_0__0__Impl rule__XAnnotationElementValuePair__Group_0_0__1 )\r\n // InternalModel.g:5184:2: rule__XAnnotationElementValuePair__Group_0_0__0__Impl rule__XAnnotationElementValuePair__Group_0_0__1\r\n {\r\n pushFollow(FOLLOW_19);\r\n rule__XAnnotationElementValuePair__Group_0_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValuePair__Group_0_0__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ba9d1521049c76c82716524837c3f6d6", "score": "0.68498194", "text": "public final void rule__XAnnotationElementValuePair__Group_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5167:1: ( ( ( rule__XAnnotationElementValuePair__Group_0_0__0 ) ) )\r\n // InternalModel.g:5168:1: ( ( rule__XAnnotationElementValuePair__Group_0_0__0 ) )\r\n {\r\n // InternalModel.g:5168:1: ( ( rule__XAnnotationElementValuePair__Group_0_0__0 ) )\r\n // InternalModel.g:5169:2: ( rule__XAnnotationElementValuePair__Group_0_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0()); \r\n }\r\n // InternalModel.g:5170:2: ( rule__XAnnotationElementValuePair__Group_0_0__0 )\r\n // InternalModel.g:5170:3: rule__XAnnotationElementValuePair__Group_0_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValuePair__Group_0_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "2bfce80aeea93eafc3fda83f354b176a", "score": "0.6833832", "text": "public final void rule__Annotation__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4415:1: ( ( '@' ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4416:1: ( '@' )\n {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4416:1: ( '@' )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4417:1: '@'\n {\n before(grammarAccess.getAnnotationAccess().getCommercialAtKeyword_0()); \n match(input,30,FollowSets000.FOLLOW_30_in_rule__Annotation__Group__0__Impl9260); \n after(grammarAccess.getAnnotationAccess().getCommercialAtKeyword_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": "fb469530d4df9963f13e5dd7dee6dbad", "score": "0.67702365", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5534:1: ( rule__XAnnotationElementValueOrCommaList__Group_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_1__1 )\r\n // InternalModel.g:5535:2: rule__XAnnotationElementValueOrCommaList__Group_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_1__1\r\n {\r\n pushFollow(FOLLOW_17);\r\n rule__XAnnotationElementValueOrCommaList__Group_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "340762b44d316cea2598db439bd923b7", "score": "0.6765764", "text": "public final void rule__XAnnotationElementValueOrCommaList__Group_1_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5588:1: ( rule__XAnnotationElementValueOrCommaList__Group_1_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_1_1__1 )\r\n // InternalModel.g:5589:2: rule__XAnnotationElementValueOrCommaList__Group_1_1__0__Impl rule__XAnnotationElementValueOrCommaList__Group_1_1__1\r\n {\r\n pushFollow(FOLLOW_17);\r\n rule__XAnnotationElementValueOrCommaList__Group_1_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_1_1__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1c03ec8e72875e47d0b1def448ce7fe5", "score": "0.6750472", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4361:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4362:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0__0__Impl_in_rule__XRelationalExpression__Group_1_0_0__09245);\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\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": "3d37c16d6446c5c7e468fb545c85d4af", "score": "0.6718905", "text": "public final void rule__Annotation__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4474:1: ( ( ( rule__Annotation__Group_2__0 )? ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4475:1: ( ( rule__Annotation__Group_2__0 )? )\n {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4475:1: ( ( rule__Annotation__Group_2__0 )? )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4476:1: ( rule__Annotation__Group_2__0 )?\n {\n before(grammarAccess.getAnnotationAccess().getGroup_2()); \n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4477:1: ( rule__Annotation__Group_2__0 )?\n int alt45=2;\n int LA45_0 = input.LA(1);\n\n if ( (LA45_0==15) ) {\n alt45=1;\n }\n switch (alt45) {\n case 1 :\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4477:2: rule__Annotation__Group_2__0\n {\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group_2__0_in_rule__Annotation__Group__2__Impl9378);\n rule__Annotation__Group_2__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getAnnotationAccess().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": "" }, { "docid": "71847074a977884413d5596656e7ec83", "score": "0.6713234", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4517:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4518:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0__0__Impl_in_rule__XRelationalExpression__Group_1_1_0__09549);\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\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": "f032898cb5b59e69e1ca070a5183e225", "score": "0.66823435", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:4327:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:4328:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0__0__Impl_in_rule__XRelationalExpression__Group_1_0_0__09090);\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\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": "719447eb8bd2a45efe8c45bf2110d26b", "score": "0.6681841", "text": "public final void rule__AnnotationParam__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4716:1: ( rule__AnnotationParam__Group__1__Impl )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4717:2: rule__AnnotationParam__Group__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_rule__AnnotationParam__Group__1__Impl_in_rule__AnnotationParam__Group__19848);\n rule__AnnotationParam__Group__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": "d2e9bd0e339841a344ed0d8d6152ae68", "score": "0.6674875", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:4565:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:4566:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0__0__Impl_in_rule__XRelationalExpression__Group_1_0_0__09492);\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\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": "feba74696f5d860f9f692fd740a5eb5e", "score": "0.6653944", "text": "public final void rule__XAssignment__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:3501:1: ( rule__XAssignment__Group_1_1_0__0__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:3502:2: rule__XAssignment__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1_0__0__Impl_in_rule__XAssignment__Group_1_1_0__07553);\n rule__XAssignment__Group_1_1_0__0__Impl();\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": "c50de6db32624ff84b4bcbb3349ccdfb", "score": "0.6653419", "text": "public final void rule__ArrayAnnotationValue__Group_2__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6337:1: ( rule__ArrayAnnotationValue__Group_2__1__Impl )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6338:2: rule__ArrayAnnotationValue__Group_2__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__ArrayAnnotationValue__Group_2__1__Impl_in_rule__ArrayAnnotationValue__Group_2__113006);\r\n rule__ArrayAnnotationValue__Group_2__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "cebff751c80e5f2434335307b9c642fb", "score": "0.66488796", "text": "public final void synpred7_InternalModel_fragment() throws RecognitionException { \r\n // InternalModel.g:2412:2: ( ( ( rule__XAnnotationElementValue__Group_0__0 ) ) )\r\n // InternalModel.g:2412:2: ( ( rule__XAnnotationElementValue__Group_0__0 ) )\r\n {\r\n // InternalModel.g:2412:2: ( ( rule__XAnnotationElementValue__Group_0__0 ) )\r\n // InternalModel.g:2413:3: ( rule__XAnnotationElementValue__Group_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueAccess().getGroup_0()); \r\n }\r\n // InternalModel.g:2414:3: ( rule__XAnnotationElementValue__Group_0__0 )\r\n // InternalModel.g:2414:4: rule__XAnnotationElementValue__Group_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValue__Group_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n }", "title": "" }, { "docid": "fb098da0cd522b48fb2afc1496b499a3", "score": "0.6631606", "text": "public final void ruleXAnnotation() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:242:2: ( ( ( rule__XAnnotation__Group__0 ) ) )\r\n // InternalModel.g:243:2: ( ( rule__XAnnotation__Group__0 ) )\r\n {\r\n // InternalModel.g:243:2: ( ( rule__XAnnotation__Group__0 ) )\r\n // InternalModel.g:244:3: ( rule__XAnnotation__Group__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationAccess().getGroup()); \r\n }\r\n // InternalModel.g:245:3: ( rule__XAnnotation__Group__0 )\r\n // InternalModel.g:245:4: rule__XAnnotation__Group__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotation__Group__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationAccess().getGroup()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "505426264d3af638e09fc203dcc4b91b", "score": "0.6627123", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:7134:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\r\n // InternalModel.g:7135:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "49fdbab064340f9dad4bc13124f7090f", "score": "0.6626298", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4422:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4423:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_0_0_0__19365);\n rule__XRelationalExpression__Group_1_0_0_0__1__Impl();\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": "60bcd8773136baedd19aef09c0b3a19c", "score": "0.6624103", "text": "public final void rule__Annotation__Group_2__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5865:1: ( rule__Annotation__Group_2__0__Impl rule__Annotation__Group_2__1 )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5866:2: rule__Annotation__Group_2__0__Impl rule__Annotation__Group_2__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group_2__0__Impl_in_rule__Annotation__Group_2__012076);\r\n rule__Annotation__Group_2__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group_2__1_in_rule__Annotation__Group_2__012079);\r\n rule__Annotation__Group_2__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "5be5734fd04d8b20348f03e7e987cbc0", "score": "0.66219014", "text": "public final void rule__XAnnotationElementValue__Group_0_1_1__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:5958:1: ( ( ',' ) )\r\n // InternalModel.g:5959:1: ( ',' )\r\n {\r\n // InternalModel.g:5959:1: ( ',' )\r\n // InternalModel.g:5960:2: ','\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); \r\n }\r\n match(input,74,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "bd5e730b77ba1621c09d53cd203c0cce", "score": "0.660857", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:7269:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\r\n // InternalModel.g:7270:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "9417c4007644c90d69ee39b179e6155d", "score": "0.6602951", "text": "public final void rule__Namespace__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalClazzDsl.g:185:1: ( rule__Namespace__Group__0__Impl rule__Namespace__Group__1 )\n // InternalClazzDsl.g:186:2: rule__Namespace__Group__0__Impl rule__Namespace__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__Namespace__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Namespace__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": "fabbd857a86caa4e124d648f2108225f", "score": "0.6602277", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:7188:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\r\n // InternalModel.g:7189:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_0_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "752eef2bec11f6b45e782fab229473c4", "score": "0.66008896", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:4483:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:4484:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0__0__Impl_in_rule__XRelationalExpression__Group_1_1_0__09394);\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\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": "32cfe84ec2b58f8c9c4e11b48d852fb2", "score": "0.65988696", "text": "public final void rule__AnnotationValuePair__Group_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6145:1: ( rule__AnnotationValuePair__Group_0__1__Impl )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6146:2: rule__AnnotationValuePair__Group_0__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__AnnotationValuePair__Group_0__1__Impl_in_rule__AnnotationValuePair__Group_0__112631);\r\n rule__AnnotationValuePair__Group_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "32e6ade5b41a8c0bcbfb15910cf0befa", "score": "0.65961665", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:4721:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:4722:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0__0__Impl_in_rule__XRelationalExpression__Group_1_1_0__09796);\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\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": "34f354cd006aa1add84a81195a6e4aef", "score": "0.6586305", "text": "public final void rule__Annotation__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5831:1: ( rule__Annotation__Group__2__Impl )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5832:2: rule__Annotation__Group__2__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group__2__Impl_in_rule__Annotation__Group__212012);\r\n rule__Annotation__Group__2__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ffb5bfe1c763724504e95bc853e89d26", "score": "0.657604", "text": "public final void rule__ArrayAnnotationValue__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6179:1: ( rule__ArrayAnnotationValue__Group__0__Impl rule__ArrayAnnotationValue__Group__1 )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6180:2: rule__ArrayAnnotationValue__Group__0__Impl rule__ArrayAnnotationValue__Group__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__ArrayAnnotationValue__Group__0__Impl_in_rule__ArrayAnnotationValue__Group__012694);\r\n rule__ArrayAnnotationValue__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__ArrayAnnotationValue__Group__1_in_rule__ArrayAnnotationValue__Group__012697);\r\n rule__ArrayAnnotationValue__Group__1();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "31dbccbdb2eddbea827f69a9c4a2ce2d", "score": "0.6571311", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:8899:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:8900:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0__0__Impl_in_rule__XRelationalExpression__Group_1_0_0__018456);\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\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": "a00084c169cf616385bfaad8fbd45035", "score": "0.65666384", "text": "public final void rule__ObjectValueAnnotationParam__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4748:1: ( rule__ObjectValueAnnotationParam__Group__0__Impl rule__ObjectValueAnnotationParam__Group__1 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4749:2: rule__ObjectValueAnnotationParam__Group__0__Impl rule__ObjectValueAnnotationParam__Group__1\n {\n pushFollow(FollowSets000.FOLLOW_rule__ObjectValueAnnotationParam__Group__0__Impl_in_rule__ObjectValueAnnotationParam__Group__09909);\n rule__ObjectValueAnnotationParam__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FollowSets000.FOLLOW_rule__ObjectValueAnnotationParam__Group__1_in_rule__ObjectValueAnnotationParam__Group__09912);\n rule__ObjectValueAnnotationParam__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": "44c61b8bb220859ab3cfdf998c318f82", "score": "0.6566015", "text": "public final void rule__AttributeValue__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:7926:1: ( rule__AttributeValue__Group__0__Impl rule__AttributeValue__Group__1 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:7927:2: rule__AttributeValue__Group__0__Impl rule__AttributeValue__Group__1\n {\n pushFollow(FollowSets000.FOLLOW_rule__AttributeValue__Group__0__Impl_in_rule__AttributeValue__Group__016135);\n rule__AttributeValue__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FollowSets000.FOLLOW_rule__AttributeValue__Group__1_in_rule__AttributeValue__Group__016138);\n rule__AttributeValue__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": "5910d772f34326a3784684719b5e9a8b", "score": "0.655511", "text": "public final void rule__Annotation__Group_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4497:1: ( rule__Annotation__Group_2__0__Impl rule__Annotation__Group_2__1 )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4498:2: rule__Annotation__Group_2__0__Impl rule__Annotation__Group_2__1\n {\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group_2__0__Impl_in_rule__Annotation__Group_2__09415);\n rule__Annotation__Group_2__0__Impl();\n\n state._fsp--;\n\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group_2__1_in_rule__Annotation__Group_2__09418);\n rule__Annotation__Group_2__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": "7fbd4c3440df9d94126b6ae408b1d084", "score": "0.6552668", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:4626:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:4627:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_0_0_0__19612);\n rule__XRelationalExpression__Group_1_0_0_0__1__Impl();\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": "c43650e362ae99e3274d7a58c708fee4", "score": "0.6549084", "text": "public final void rule__ObjectValueAnnotationParam__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4873:1: ( rule__ObjectValueAnnotationParam__Group_2__1__Impl )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4874:2: rule__ObjectValueAnnotationParam__Group_2__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_rule__ObjectValueAnnotationParam__Group_2__1__Impl_in_rule__ObjectValueAnnotationParam__Group_2__110157);\n rule__ObjectValueAnnotationParam__Group_2__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": "b5d8800cf957b612883a1abd3c68e15f", "score": "0.6537417", "text": "public final void rule__XAnnotation__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:4817:1: ( ( () ) )\r\n // InternalModel.g:4818:1: ( () )\r\n {\r\n // InternalModel.g:4818:1: ( () )\r\n // InternalModel.g:4819:2: ()\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationAccess().getXAnnotationAction_0()); \r\n }\r\n // InternalModel.g:4820:2: ()\r\n // InternalModel.g:4820:3: \r\n {\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationAccess().getXAnnotationAction_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "887f31e162e7c7f263fada74a1b6b2bc", "score": "0.65351367", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:4388:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:4389:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_0_0_0__19210);\n rule__XRelationalExpression__Group_1_0_0_0__1__Impl();\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": "1ed8a57cb99c0ccaf592cae4a2e606a5", "score": "0.65283066", "text": "public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:7323:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\r\n // InternalModel.g:7324:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_1_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "6eee17d4ebfe4c388bf829b72defc63c", "score": "0.6521605", "text": "public final void rule__XAssignment__Group_1_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:3562:1: ( rule__XAssignment__Group_1_1_0_0__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:3563:2: rule__XAssignment__Group_1_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1_0_0__1__Impl_in_rule__XAssignment__Group_1_1_0_0__17673);\n rule__XAssignment__Group_1_1_0_0__1__Impl();\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": "c7e49c91a094e482772c80f8d626bb85", "score": "0.65198314", "text": "public final void rule__Annotation__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5783:1: ( ( '@' ) )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5784:1: ( '@' )\r\n {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5784:1: ( '@' )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:5785:1: '@'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getAnnotationAccess().getCommercialAtKeyword_0()); \r\n }\r\n match(input,68,FollowSets000.FOLLOW_68_in_rule__Annotation__Group__0__Impl11921); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getAnnotationAccess().getCommercialAtKeyword_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8146f5953a9d9b371856d919a1cabb7f", "score": "0.6518773", "text": "public final void rule__XExpression__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:6271:1: ( rule__XExpression__Group_1__0__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:6272:2: rule__XExpression__Group_1__0__Impl\n {\n pushFollow(FOLLOW_rule__XExpression__Group_1__0__Impl_in_rule__XExpression__Group_1__013297);\n rule__XExpression__Group_1__0__Impl();\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": "abd73a016073bc8fa6650007e613a052", "score": "0.65169996", "text": "public final void rule__XAssignment__Group_1_1_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:6227:1: ( ( ( rule__XAssignment__Group_1_1_0_0__0 ) ) )\r\n // InternalModel.g:6228:1: ( ( rule__XAssignment__Group_1_1_0_0__0 ) )\r\n {\r\n // InternalModel.g:6228:1: ( ( rule__XAssignment__Group_1_1_0_0__0 ) )\r\n // InternalModel.g:6229:2: ( rule__XAssignment__Group_1_1_0_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0()); \r\n }\r\n // InternalModel.g:6230:2: ( rule__XAssignment__Group_1_1_0_0__0 )\r\n // InternalModel.g:6230:3: rule__XAssignment__Group_1_1_0_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__Group_1_1_0_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "84fe909c22aab4f1cecb3ad8ff7af5ac", "score": "0.6514896", "text": "public final void rule__TestModel__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2754:1: ( ( ( rule__TestModel__Group_0__0 )? ) )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2755:1: ( ( rule__TestModel__Group_0__0 )? )\n {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2755:1: ( ( rule__TestModel__Group_0__0 )? )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2756:1: ( rule__TestModel__Group_0__0 )?\n {\n before(grammarAccess.getTestModelAccess().getGroup_0()); \n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2757:1: ( rule__TestModel__Group_0__0 )?\n int alt26=2;\n int LA26_0 = input.LA(1);\n\n if ( (LA26_0==22) ) {\n alt26=1;\n }\n switch (alt26) {\n case 1 :\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:2757:2: rule__TestModel__Group_0__0\n {\n pushFollow(FollowSets000.FOLLOW_rule__TestModel__Group_0__0_in_rule__TestModel__Group__0__Impl5963);\n rule__TestModel__Group_0__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getTestModelAccess().getGroup_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": "455bdda749375386d66fe7e3ad42fa7d", "score": "0.65120864", "text": "public final void rule__XAssignment__Group_1_1_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalModel.g:6216:1: ( rule__XAssignment__Group_1_1_0__0__Impl )\r\n // InternalModel.g:6217:2: rule__XAssignment__Group_1_1_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__Group_1_1_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "7b1f0a5879bf01c3be67bb85992b8989", "score": "0.65082073", "text": "public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4578:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // ../org.xtext.scripting.ui/src-gen/org/xtext/scripting/ui/contentassist/antlr/internal/InternalScripting.g:4579:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_1_0_0__19669);\n rule__XRelationalExpression__Group_1_1_0_0__1__Impl();\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": "bd09fa2db9e3d7c75d3a91b44bc12bd9", "score": "0.650672", "text": "public final void rule__Annotation__Group_2_2__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6023:1: ( rule__Annotation__Group_2_2__1__Impl )\r\n // ../org.ow2.mindEd.idt.editor.textual.ui/src-gen/org/ow2/mindEd/idt/editor/textual/ui/contentassist/antlr/internal/InternalFractalIdt.g:6024:2: rule__Annotation__Group_2_2__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group_2_2__1__Impl_in_rule__Annotation__Group_2_2__112388);\r\n rule__Annotation__Group_2_2__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "7cde229ecf06d381a981ab125d9a4378", "score": "0.65053743", "text": "public final void synpred6_InternalModel_fragment() throws RecognitionException { \r\n // InternalModel.g:2391:2: ( ( ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) ) )\r\n // InternalModel.g:2391:2: ( ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) )\r\n {\r\n // InternalModel.g:2391:2: ( ( rule__XAnnotationElementValueOrCommaList__Group_0__0 ) )\r\n // InternalModel.g:2392:3: ( rule__XAnnotationElementValueOrCommaList__Group_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0()); \r\n }\r\n // InternalModel.g:2393:3: ( rule__XAnnotationElementValueOrCommaList__Group_0__0 )\r\n // InternalModel.g:2393:4: rule__XAnnotationElementValueOrCommaList__Group_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAnnotationElementValueOrCommaList__Group_0__0();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n }", "title": "" }, { "docid": "0872777cfd795e373aaf66f4cf6b15a1", "score": "0.6501539", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:9055:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // ../de.gammarcraft.aqua.ui/src-gen/de/gammarcraft/aqua/ui/contentassist/antlr/internal/InternalAqua.g:9056:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0__0__Impl_in_rule__XRelationalExpression__Group_1_1_0__018760);\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\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": "27c1e2523e082fffa6366fcf08454e64", "score": "0.6497764", "text": "public final void rule__Annotation__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4463:1: ( rule__Annotation__Group__2__Impl )\n // ../metabest.test.fragments.editor.ui/src-gen/metabest/test/fragments/ui/contentassist/antlr/internal/InternalMBF.g:4464:2: rule__Annotation__Group__2__Impl\n {\n pushFollow(FollowSets000.FOLLOW_rule__Annotation__Group__2__Impl_in_rule__Annotation__Group__29351);\n rule__Annotation__Group__2__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": "7fa57c2c015f522d086f2d650f176006", "score": "0.6494016", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:4565:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\n // InternalMyDsl.g:4566:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\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": "9aaf2eeeddfe8251b284fc666e8847d8", "score": "0.6490881", "text": "public final void rule__XAssignment__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3467:1: ( rule__XAssignment__Group_1_1_0__0__Impl )\n // ../org.xtext.tortoiseshell.ui/src-gen/org/xtext/tortoiseshell/ui/contentassist/antlr/internal/InternalTortoiseShell.g:3468:2: rule__XAssignment__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1_0__0__Impl_in_rule__XAssignment__Group_1_1_0__07398);\n rule__XAssignment__Group_1_1_0__0__Impl();\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": "b72861bd79ab6bd9b2a34d62fa4f15e0", "score": "0.6488396", "text": "public final void rule__XAssignment__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:3705:1: ( rule__XAssignment__Group_1_1_0__0__Impl )\n // ../org.yakindu.sct.generator.genmodel.ui/src-gen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:3706:2: rule__XAssignment__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1_0__0__Impl_in_rule__XAssignment__Group_1_1_0__07800);\n rule__XAssignment__Group_1_1_0__0__Impl();\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": "" } ]
2e58198ee78ae494095fe8c88853575b
Add radio button to given region.
[ { "docid": "4b8fd4538befd7bc17dc9bbed66f1f43", "score": "0.51978636", "text": "protected Button addOption(Composite radioSet,\n String optionText,\n boolean isSelected,\n boolean isEnabled,\n SelectionListener optionListener)\n {\n Button option = new Button(radioSet, SWT.RADIO);\n\n option.setSelection(isSelected);\n option.setEnabled(isEnabled);\n\n option.setText(optionText);\n option.addSelectionListener(optionListener);\n\n return option;\n }", "title": "" } ]
[ { "docid": "6e3a1a17ecd1333ffd85f30d30dd322e", "score": "0.6464981", "text": "public JRadioButton addJRadioButton(JRadioButton btnRadio,String nome,int codX, int codY, int lar, int alt){\n btnRadio = new JRadioButton(nome); \n btnRadio.setBounds(codX, codY, lar, alt);\n this.btnG.add(btnRadio);\n btnRadio.setVisible(true);\n this.container.add(btnRadio);\n return btnRadio; \n }", "title": "" }, { "docid": "fbd0eade9c511b2757412705e76bdc12", "score": "0.63952434", "text": "private void addRadioGroup() {\n buttonGroup1.add(rbCelcius);\n buttonGroup1.add(rbKelvin);\n buttonGroup1.add(rbFahrenheit);\n buttonGroup1.add(rbReamur);\n }", "title": "" }, { "docid": "49867599d7f3e04c9b9cbe62a5bf4ddd", "score": "0.6294602", "text": "private void addRadioButtons(JPanel panel) {\n\n ButtonGroup buttonGroup = new ButtonGroup( );\n JRadioButton TriangleButton = new JRadioButton(\"Triangle\");\n JRadioButton RectangleButton = new JRadioButton(\"Rectangle\");\n JRadioButton QuadButton = new JRadioButton(\"Quad\");\n JRadioButton PolygonButton = new JRadioButton(\"Polygon\");\n\n buttonGroup.add(TriangleButton);\n buttonGroup.add(RectangleButton);\n buttonGroup.add(QuadButton);\n buttonGroup.add(PolygonButton);\n\n handleRadioButtons(panel, TriangleButton, RectangleButton, QuadButton, PolygonButton);\n }", "title": "" }, { "docid": "464f6089532e4c29e2764eb1e62b9445", "score": "0.6248089", "text": "public void addEventToRadioButton() {\n\t\tmBtnRadioButton.addMouseListener(new CriticsOverlayRadioButtonMouseAdapter(this));\n\t}", "title": "" }, { "docid": "59a37a18b0f2237c48be030edc978598", "score": "0.62390536", "text": "private void addRadioButton(String buttonText, ButtonGroup buttonGroup, JPanel buttonPanel, boolean selected) {\r\n\t\tJRadioButton radioButton = new JRadioButton(buttonText, selected);\r\n\t\tradioButton.setBackground(Color.WHITE);\r\n\t\t\r\n\t\tradioButton.setActionCommand(buttonText);\r\n\t\t\r\n\t\tbuttonGroup.add(radioButton);\r\n\t\tbuttonPanel.add(radioButton);\r\n\t}", "title": "" }, { "docid": "6ece797334840fcc778482ad3adadb5c", "score": "0.5827009", "text": "private void addRadioFunctionality(){\n pubRadButton.setOnClickListener(new View.OnClickListener(){\n @Override\n public void onClick(View v) {\n if(privRadButton.isChecked()){\n privRadButton.setChecked(false);\n }\n pubRadButton.setChecked(true);\n }\n });\n privRadButton.setOnClickListener(new View.OnClickListener(){\n @Override\n public void onClick(View v) {\n if(pubRadButton.isChecked()){\n pubRadButton.setChecked(false);\n }\n privRadButton.setChecked(true);\n }\n });\n }", "title": "" }, { "docid": "eb790413a517d3b6f85af92b5c08c8c6", "score": "0.57671356", "text": "private void groupButton( ) {\r\n\r\n radioBG = new ButtonGroup( );\r\n\r\n radioBG.add(rdbtnAidan);\r\n radioBG.add(rdbtnEasy);\r\n radioBG.add(rdbtnMedium);\r\n radioBG.add(rdbtnHard);\r\n }", "title": "" }, { "docid": "5a02f14dfd97e9e4ad49e5a3248c525a", "score": "0.5765049", "text": "public RadioButton() {\n\t\tthis.data.widgetType=\"RadioButton\";\n\t}", "title": "" }, { "docid": "d273bfc225ff9d3f7cb23b363f261ad5", "score": "0.56064844", "text": "private void addRadioButtonToPane(GridPane grid) {\n\t\t\n\t\t// ToggleGroup for function selection\n\t\tfinal ToggleGroup groupTicket = new ToggleGroup();\n\t\t// ToggleGroup for payment selection\n\t\tfinal ToggleGroup groupPayment = new ToggleGroup();\n\n\t\trbInternet.setUserData(\"rbInternet\");\n\t\trbInternet.setToggleGroup(groupTicket);\n\t\t\t\t\n\t\trbPurchase.setUserData(\"rbPurchase\");\n\t\trbPurchase.setToggleGroup(groupTicket);\n\n\t\tgrid.add(rbInternet, 0, 0);\n\t\tgrid.add(rbPurchase, 1, 0);\n\t\t\n\t\t// Function selection\n\t\tgroupTicket.selectedToggleProperty().addListener(new ChangeListener<Toggle>() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void changed(ObservableValue<? extends Toggle> observable, Toggle oldValue, Toggle newValue) {\n\t\t\t\tif (groupTicket.getSelectedToggle() != null) {\n\t\t\t\t\tObject userData = groupTicket.getSelectedToggle().getUserData();\n\t\t\t\t\tif (userData != null) {\t\t\t\t\t\t\n\t\t\t\t\t\tif (\"rbInternet\".equals(userData)) {\n\t\t\t\t\t\t\ttrainticketAutomata.chooseFunction(Function.INTERNET_TICKET);\n\t\t\t\t\t\t\tisInternetTicket = true;\n\t\t\t\t\t\t\tsetInternetDisabled = false;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tlogger.info(\"INTERNET_TICKET\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (\"rbPurchase\".equals(userData)) {\n\t\t\t\t\t\t\ttrainticketAutomata.chooseFunction(Function.PURCHASE_TICKET);\n\t\t\t\t\t\t\tisInternetTicket = false;\n\t\t\t\t\t\t\tsetInternetDisabled = false;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tlogger.info(\"PURCHASE_TICKET\");\n\t\t\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\t\trefresh();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\n\t\t});\t\t\n\t\t\n\t\t\n\t\trbCash.setUserData(\"rbCash\");\n\t\trbCash.setToggleGroup(groupPayment);\n\t\trbCash.setDisable(true);\n\t\t\n\t\trbCreditCard.setUserData(\"rbCreditcard\");\n\t\trbCreditCard.setToggleGroup(groupPayment);\n\t\trbCreditCard.setDisable(true);\n\t\t\n\t\tgrid.add(rbCash, 0, 5);\n\t\tgrid.add(rbCreditCard, 1, 5);\n\t\t\n\t\t// Payment selection\n\t\tgroupPayment.selectedToggleProperty().addListener(new ChangeListener<Toggle>() {\n\n\t\t\t@Override\n\t\t\tpublic void changed(ObservableValue<? extends Toggle> observable, Toggle oldValue, Toggle newValue) {\n\t\t\t\tif (groupPayment.getSelectedToggle() != null) {\n\t\t\t\t\tObject userData = groupPayment.getSelectedToggle().getUserData();\n\t\t\t\t\tif (userData != null) {\t\t\t\t\t\t\n\t\t\t\t\t\tif (\"rbCash\".equals(userData)) {\n\t\t\t\t\t\t\ttrainticketAutomata.paymentType(PaymentType.CASH);\n\t\t\t\t\t\t\tisCashPayment = true;\n\t\t\t\t\t\t\tsetPaymentDisabled = false;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tlogger.info(\"CASH\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (\"rbCreditcard\".equals(userData)) {\n\t\t\t\t\t\t\ttrainticketAutomata.paymentType(PaymentType.CREDITCARD);\n\t\t\t\t\t\t\tisCashPayment = false;\n\t\t\t\t\t\t\tsetPaymentDisabled = false;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tlogger.info(\"CREDITCARD\");\n\t\t\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\t\trefresh();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t});\t\t\n\t}", "title": "" }, { "docid": "27134ce5732a07744ee2f05ca8144d33", "score": "0.55639255", "text": "protected Composite addRadioSet()\n {\n Composite radioSet = new Composite(dialog, SWT.NONE);\n\n radioSet.setLayout(new FillLayout());\n\n GridData radioSetLayout = new GridData();\n\n radioSetLayout.horizontalSpan = 2;\n\n radioSet.setLayoutData(radioSetLayout);\n\n return radioSet;\n }", "title": "" }, { "docid": "d9778e225b66bc147f3fab21f4509540", "score": "0.5548642", "text": "private void groupButton( ) {\n ButtonGroup bg1 = new ButtonGroup( );\n bg1.add(jRadioButtonMale);\n bg1.add(jRadioButtonFemale);\n }", "title": "" }, { "docid": "62476f60c1c4d78473b801b6bd6260d1", "score": "0.54785144", "text": "private void handleRadioButtons(JPanel panel, JRadioButton T, JRadioButton R, JRadioButton Q, JRadioButton P){\n\n T.addActionListener( new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n drawTriangle = true;\n drawQuad = false;\n drawRectangle = false;\n drawPolygon = false;\n }\n });\n\n R.addActionListener( new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n drawRectangle = true;\n drawTriangle = false;\n drawQuad = false;\n drawPolygon = false;\n }\n });\n\n Q.addActionListener( new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n drawQuad = true;\n drawTriangle = false;\n drawRectangle = false;\n drawPolygon = false;\n }\n });\n\n P.addActionListener( new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n drawPolygon = true;\n drawTriangle = false;\n drawRectangle = false;\n drawQuad = false;\n }\n });\n\n panel.add(T);\n panel.add(R);\n panel.add(Q);\n panel.add(P);\n }", "title": "" }, { "docid": "46cd8429dadb3ef2ec636d4497715f11", "score": "0.54399306", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tif (buttonGroup.getSelection().getActionCommand() == \"fichier 1\") {\r\n\t\t\t\t\trdbtnNewRadioButton.setBackground(new Color(0xD2B48C));\r\n\t\t\t\t\trdbtnNewRadioButton_1.setBackground(new Color(0xF5DEB3));\r\n\t\t\t\t\trdbtnNewRadioButton_2.setBackground(new Color(0xF5DEB3));\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "7dfe8da10e8adea6e43bc3a25ec7bae1", "score": "0.54338765", "text": "@Override\n public void draw(DrawContext drawContext) {\n PdfFormField.createRadioButton(drawContext.getDocument(), getOccupiedAreaBBox(), radioGroup, value);\n }", "title": "" }, { "docid": "f437d2e759b5e1ac352d6365bf2daa75", "score": "0.54236823", "text": "private void setupRadioButtons() {\n\n group = new ToggleGroup();\n\n singleFile.setToggleGroup(group);\n singleFile.setSelected(true);\n directory.setToggleGroup(group);\n\n }", "title": "" }, { "docid": "e46ee498dab10d8127e39c36559f72c7", "score": "0.54170215", "text": "protected void addRadioChoice(String id, int index)\r\n\t{\r\n\t\t choices.add(createRadioChoice(id, index));\r\n\t}", "title": "" }, { "docid": "b00028dfda14715d1709d36d1ff57554", "score": "0.5406887", "text": "private void addRegion() {\n String name = JOptionPane.showInputDialog(\"Enter the Region Name\");\n if (name == null || name.equals(\"\")) {\n return;\n }\n superregion.addRegion(new Region(name, superregion.getName()));\n refreshList();\n }", "title": "" }, { "docid": "ca581c949b0f5c57e912e504a551fd34", "score": "0.5354497", "text": "private WebMarkupContainer createRadioChoice(String id, int index) \r\n\t{\r\n\t\tWebMarkupContainer container = new WebMarkupContainer(id);\t \r\n\t container.add(new RadioChoicePanel(\"content\", index));\r\n\t \r\n\t return container;\r\n\t}", "title": "" }, { "docid": "55caa79c60163a6df34bbc5fb84b0e41", "score": "0.5319832", "text": "public void addNewRegionLinkClick() {\n\t\tthis.regionHyperLink.click(); \n\t}", "title": "" }, { "docid": "d4eea92153b39661c6d1a4a70ac1ae4e", "score": "0.5239298", "text": "private RadioButtonGroup<Integer> createRadioButtonGroup(String label){\n\t\tRadioButtonGroup<Integer> someRadioButtonGroup = \n\t\t\t\t\t\t\t\tnew RadioButtonGroup<Integer>();\n\t\tmoodButtonGroups.add(someRadioButtonGroup);\n\t\tsomeRadioButtonGroup.setLabel(label);\n\t\tsomeRadioButtonGroup.setItems(0,1,2,3,4);\n\t\treturn someRadioButtonGroup;\n\t}", "title": "" }, { "docid": "e67775050a136d8002ff23995a338817", "score": "0.5201544", "text": "public void onRadioButtonClicked(View view) {\n // Is the button now checked?\n boolean checked = ((RadioButton) view).isChecked();\n submitButton.setVisibility(View.VISIBLE);\n // cancelButton.setVisibility(View.VISIBLE);\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.radio_bus_route:\n if (checked)\n neighborhoodFragment.getView().setVisibility(View.INVISIBLE);\n busRouteFragment.getView().setVisibility(View.VISIBLE);\n type = \"route\";\n break;\n case R.id.radio_neighborhood:\n if (checked)\n busRouteFragment.getView().setVisibility(View.INVISIBLE);\n neighborhoodFragment.getView().setVisibility(View.VISIBLE);\n type = \"neighborhood\";\n break;\n }\n }", "title": "" }, { "docid": "50005ef748652c1443e908d2a58ced00", "score": "0.51388615", "text": "void registerForRadioStateChanged(Handler h, int what, Object obj);", "title": "" }, { "docid": "dc9019c7de043dee360fc261ab0b29b5", "score": "0.5097612", "text": "public static void RadioButtonCircleActionPerformed(java.awt.event.ActionEvent evt){\n if(buttonGroupFigure.getSelection() == line.getModel()){\n selectedFigure = 1;\n }else if(buttonGroupFigure.getSelection() == circle.getModel()){\n selectedFigure = 2;\n }else if(buttonGroupFigure.getSelection() == rectangle.getModel()){\n selectedFigure = 3;\n }\n }", "title": "" }, { "docid": "1f605465566976b2d00291f6f99d183e", "score": "0.5081434", "text": "private void setupItems() {\n final RadioButton circleButton = new RadioButton(\"Circle\");\n final RadioButton ovalButton = new RadioButton(\"Oval\");\n final RadioButton rectangleButton = new RadioButton(\"Rectangle\");\n final RadioButton squareButton = new RadioButton(\"Square\");\n final RadioButton polygonButton = new RadioButton(\"Polygon\");\n final RadioButton selectButton = new RadioButton(\"Select\");\n\n circleButton.setToggleGroup(group);\n ovalButton.setToggleGroup(group);\n rectangleButton.setToggleGroup(group);\n squareButton.setToggleGroup(group);\n selectButton.setToggleGroup(group);\n polygonButton.setToggleGroup(group);\n\n circleButton.setUserData(Tool.CIRCLE);\n ovalButton.setUserData(Tool.OVAL);\n rectangleButton.setUserData(Tool.RECTANGLE);\n squareButton.setUserData(Tool.SQUARE);\n selectButton.setUserData(Tool.SELECT);\n polygonButton.setUserData(Tool.POLYGON);\n\n // default selection\n selectedTool = Tool.CIRCLE;\n circleButton.setSelected(true);\n canvas.setEventHandler(createEventHandler());\n\n Region spacer = new Region();\n HBox.setHgrow(spacer, Priority.ALWAYS);\n spacer.setMinWidth(Region.USE_PREF_SIZE);\n getItems().addAll(circleButton, ovalButton, rectangleButton,\n squareButton, polygonButton, spacer, selectButton, colorPicker);\n }", "title": "" }, { "docid": "c81d294471d7b8e5d30bb93eb26e138c", "score": "0.5074459", "text": "public void toggleRadioButton()\n {\n this.radioButton.toggle();\n }", "title": "" }, { "docid": "19b297fff24295f5b2d2414ebc9c6422", "score": "0.5004653", "text": "protected void addRadioChoices(Integer numberOfRatingSteps)\r\n\t{\r\n\t\tfor (int index = 0; index < numberOfRatingSteps; index++) \r\n\t\t{\r\n\t\t\t String id = Integer.toString(index);\r\n\t\t\t addRadioChoice(id, index);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f28248971fa044a086b4e4b8c8b208c8", "score": "0.4995829", "text": "private void setupRadioButtons(final int position, Frame frame) {\r\n\r\n switch (position) {\r\n\r\n case ImageProcessParam.BG_SUBTRACT_ADAPTIVE: {\r\n RadioGroup modeGroup = parentActivity.findViewById(R.id.radioGroupAdaptive);\r\n modeGroup.setOnCheckedChangeListener((unused, checkedId) -> {\r\n switch (checkedId) {\r\n case R.id.adaptiveMean:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_ADAPTIVE_MEAN);\r\n break;\r\n case R.id.adaptiveGaussian:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_ADAPTIVE_GAUSSIAN);\r\n break;\r\n default:\r\n break;\r\n }\r\n });\r\n } break;\r\n\r\n case ImageProcessParam.BG_SUBTRACT_BINARY: {\r\n RadioGroup modeGroup = parentActivity.findViewById(R.id.radioGroupBinary);\r\n modeGroup.setOnCheckedChangeListener((unused, checkedId) -> {\r\n switch (checkedId) {\r\n case R.id.threshBinary:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_BINARY_ONLY);\r\n break;\r\n case R.id.threshBinaryInv:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_BINARY_INV);\r\n break;\r\n case R.id.threshTruncate:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_BINARY_TRUNCATE);\r\n break;\r\n case R.id.threshToZero:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_BINARY_SET2ZERO);\r\n break;\r\n case R.id.threshToZeroInv:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_BINARY_SET2ZERO_INV);\r\n break;\r\n default:\r\n break;\r\n }\r\n });\r\n } break;\r\n\r\n case ImageProcessParam.BG_SUBTRACT_DIFF: {\r\n RadioGroup modeGroup = parentActivity.findViewById(R.id.radioGroupSubtraction);\r\n TableRow row1 = parentActivity.findViewById(R.id.row1);\r\n TableRow row2 = parentActivity.findViewById(R.id.row2);\r\n TableRow row3 = parentActivity.findViewById(R.id.row3);\r\n TableRow row4 = parentActivity.findViewById(R.id.row4);\r\n TableRow row5 = parentActivity.findViewById(R.id.row5);\r\n TableRow row6 = parentActivity.findViewById(R.id.row6);\r\n TableRow row7 = parentActivity.findViewById(R.id.row7);\r\n TableRow row8 = parentActivity.findViewById(R.id.row8);\r\n TableRow row9 = parentActivity.findViewById(R.id.row9);\r\n TableRow row10 = parentActivity.findViewById(R.id.row10);\r\n TableRow row11 = parentActivity.findViewById(R.id.row11);\r\n TableRow row12 = parentActivity.findViewById(R.id.row12);\r\n\r\n modeGroup.setOnCheckedChangeListener((unused, checkedId) -> {\r\n switch (checkedId) {\r\n case R.id.absFirst:\r\n case R.id.absSeq:\r\n row1.setVisibility(View.GONE);\r\n row2.setVisibility(View.GONE);\r\n row3.setVisibility(View.GONE);\r\n row4.setVisibility(View.GONE);\r\n row5.setVisibility(View.GONE);\r\n row6.setVisibility(View.GONE);\r\n row7.setVisibility(View.GONE);\r\n row8.setVisibility(View.GONE);\r\n row9.setVisibility(View.VISIBLE);\r\n row10.setVisibility(View.VISIBLE);\r\n row11.setVisibility(View.GONE);\r\n\r\n frame.setCaptured1stFrame(false);\r\n\r\n if (checkedId == R.id.absFirst) {\r\n frame.firstGray = null;\r\n row12.setVisibility(View.VISIBLE);\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_DIFF_ABS_1ST);\r\n boolean timerStatus = ((MirrorApp) parentActivity\r\n .getApplication()).getTimerStatus();\r\n\r\n if (timerStatus == false) {\r\n FrameCaptureTimer.start(parentActivity, frame);\r\n ((MirrorApp) parentActivity.getApplication()).setTimerStatus(true);\r\n }\r\n } else {\r\n frame.previousGray = null;\r\n row12.setVisibility(View.GONE);\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_DIFF_ABS_SEQ);\r\n }\r\n break;\r\n\r\n case R.id.mog2:\r\n row1.setVisibility(View.VISIBLE);\r\n row2.setVisibility(View.VISIBLE);\r\n row3.setVisibility(View.VISIBLE);\r\n row4.setVisibility(View.VISIBLE);\r\n row5.setVisibility(View.VISIBLE);\r\n row6.setVisibility(View.VISIBLE);\r\n row7.setVisibility(View.VISIBLE);\r\n row8.setVisibility(View.VISIBLE);\r\n row9.setVisibility(View.VISIBLE);\r\n row10.setVisibility(View.VISIBLE);\r\n row11.setVisibility(View.VISIBLE);\r\n row12.setVisibility(View.GONE);\r\n\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_DIFF_MOG2);\r\n frame.backgroundBufferMOG2 = Video.createBackgroundSubtractorMOG2();\r\n break;\r\n\r\n case R.id.knn:\r\n row1.setVisibility(View.GONE);\r\n row2.setVisibility(View.GONE);\r\n row3.setVisibility(View.VISIBLE);\r\n row4.setVisibility(View.VISIBLE);\r\n row5.setVisibility(View.GONE);\r\n row6.setVisibility(View.GONE);\r\n row7.setVisibility(View.GONE);\r\n row8.setVisibility(View.GONE);\r\n row9.setVisibility(View.VISIBLE);\r\n row10.setVisibility(View.VISIBLE);\r\n row11.setVisibility(View.VISIBLE);\r\n row12.setVisibility(View.GONE);\r\n\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_DIFF_KNN);\r\n frame.backgroundBufferKNN = Video.createBackgroundSubtractorKNN();\r\n break;\r\n\r\n default:\r\n break;\r\n }\r\n });\r\n } break;\r\n\r\n case ImageProcessParam.BG_SUBTRACT_CANNY: {\r\n RadioGroup modeGroup = parentActivity.findViewById(R.id.radioGroupCanny);\r\n modeGroup.setOnCheckedChangeListener((unused, checkedId) -> {\r\n switch (checkedId) {\r\n case R.id.cannyContours:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_CANNY_CONT);\r\n break;\r\n case R.id.cannyBinary:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_CANNY_BIN);\r\n break;\r\n case R.id.cannyBinaryInv:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_CANNY_BIN_INV);\r\n break;\r\n case R.id.cannyAdaptive:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_CANNY_ADAPTIVE);\r\n break;\r\n case R.id.cannyAdaptiveInv:\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_CANNY_ADAPTIVE_INV);\r\n break;\r\n default:\r\n break;\r\n }\r\n });\r\n } break;\r\n\r\n case ImageProcessParam.BG_SUBTRACT_HSV: {\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_HSV);\r\n } break;\r\n\r\n case ImageProcessParam.BG_SUBTRACT_OTSU: {\r\n frame.setProcMethod(ImageProcessParam.BG_SUBTRACT_OTSU);\r\n } break;\r\n\r\n default:\r\n break;\r\n }\r\n }", "title": "" }, { "docid": "0fc1e710c9bc9ec47cf1a696dfc1db83", "score": "0.49927163", "text": "@Override\n public IRenderer getNextRenderer() {\n return new AddRadioButtonRenderer((Cell) modelElement, radioGroup, value);\n }", "title": "" }, { "docid": "48ad82634769f6dfd94e5e30e12955f9", "score": "0.4952018", "text": "private JRadioButtonMenuItem addLookAndFeelButton(String name, final int lookAndFeelIndex) {\n\t\tJRadioButtonMenuItem laf = new JRadioButtonMenuItem(name);\n\t\tlaf.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent event) {\n\t\t\t\tLookAndFeel.set(lookAndFeelIndex);\n\t\t\t}\n\t\t});\n\t\tlookAndFeelButtonGroup.add(laf);\n\t\tmenuLookAndFeel.add(laf);\n\t\treturn laf;\n\t}", "title": "" }, { "docid": "2b12403d537c4b31e10f96ba35af0de1", "score": "0.49509212", "text": "private void initializeRadioButtons(){\r\n\t//Solid Door RadioButton.\r\n\tsDO_RadioButton = (RadioButton)findViewById(R.id.solidDoorRadioButton);\r\n\tsDO_RadioButton.setOnClickListener(new OnClickListener(){\r\n\t\t@Override\r\n\t\tpublic void onClick(View v) {\r\n\t\t\tradioButtonPressed = 1;\r\n\t\t\t//I work now!!!\r\n\t\t}\r\n\t});\r\n\t//Glass Door RadioButton.\r\n\tgDO_RadioButton = (RadioButton)findViewById(R.id.glassDoorRadioButton);\r\n\tgDO_RadioButton.setOnClickListener(new OnClickListener(){\r\n\t\t@Override\r\n\t\tpublic void onClick(View v) {\r\n\t\t\tradioButtonPressed = 2;\r\n\t\t\t//I work now!!!\r\n\t\t}\r\n\t});\r\n}", "title": "" }, { "docid": "a4151fb9dabe63ae92f2396d0b577de0", "score": "0.4946349", "text": "public void onRadioButtonClicked(View view) {\n checked = ((RadioButton) view).isChecked();\n String str =\"\";\n // Check which radio button was clicked\n\n switch(view.getId()) {\n case R.id.taxi_1:\n if (checked)\n taxi = 1;\n break;\n case R.id.taxi_2:\n if (checked)\n taxi = 2;\n break;\n }\n\n }", "title": "" }, { "docid": "4372164efaad80990b7953f5b8ea9301", "score": "0.49398696", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.radio_operation_add:\n if (checked)\n mRadioButtonOperation = \"+\";\n break;\n case R.id.radio_operation_substract:\n if (checked)\n mRadioButtonOperation = \"-\";\n break;\n case R.id.radio_operation_multiply:\n if (checked)\n mRadioButtonOperation = \"*\";\n break;\n case R.id.radio_operation_divide:\n if (checked)\n mRadioButtonOperation = \"/\";\n break;\n }\n }", "title": "" }, { "docid": "e58e8990689af9db340fa40bf3a12b97", "score": "0.49007878", "text": "private static void addSelectionButtons() {\n for (int i = 0; i < groups.length; i++) {\n ButtonGroup bg = new ButtonGroup();\n JPanel panel = new JPanel();\n\n String title = groupNames[i]; // appropriate border and title\n TitledBorder border = new TitledBorder(title);\n panel.setBorder(border);\n\n for (String buttonName : groups[i]) {\n if (!title.equals(\"Toppings\")) {\n JRadioButton button = new JRadioButton(buttonName);\n bg.add(button); // in a ButtonGroup, only one button can be selected. JRadioButton groups only require one\n toggleButtons.add(button); // add it to the ArrayList so it can be looped through to be checked if it's selected later\n panel.add(button);\n } else {\n JCheckBox button = new JCheckBox(buttonName);\n toggleButtons.add(button);\n panel.add(button);\n }\n }\n\n frame.add(panel);\n }\n }", "title": "" }, { "docid": "cda9e13dacce22bfce892f95a6c08448", "score": "0.48964038", "text": "public FieldOrRadioEditor(AttributeEditor field, Object[] values) {\n super();\n buttons = new ButtonGroup();\n currentlySelected = 0;\n setAttributeEditor(field);\n controls = new Vector();\n controlSymbols = new Vector();\n\n GridBagLayout gridbag = new GridBagLayout();\n GridBagConstraints c = new GridBagConstraints();\n setLayout(gridbag); \n c.gridwidth = GridBagConstraints.REMAINDER;\n c.fill=GridBagConstraints.BOTH;\n c.weightx=1.0;\n c.weighty=1.0;\n gridbag.setConstraints((Component)field, c);\n add((Component)field);\n JRadioButton b = new JRadioButton(AbstractAttributeEditor.localize(\"select-text\"));\n b.addActionListener(this);\n c.fill=GridBagConstraints.HORIZONTAL;\n c.gridwidth = 1;\n c.gridy = 1;\n c.gridx = GridBagConstraints.RELATIVE;\n c.weighty=0.0;\n gridbag.setConstraints(b, c);\n add(b);\n buttons.add(b);\n controls.addElement(b);\n controlSymbols.addElement(\"select-text\");\n \n for (int i = 0; i < values.length; i++){\n b = new JRadioButton(values[i].toString().toLowerCase());\n controls.addElement(b);\n controlSymbols.addElement(values[i]); \n b.addActionListener(this); \n gridbag.setConstraints(b, c);\n add(b);\n buttons.add(b);\n }\n \n setBorder(BorderFactory.createCompoundBorder(\n BorderFactory.createLineBorder(SystemColor.windowBorder),\n BorderFactory.createEmptyBorder(2,2,2,2)));\n\n \n }", "title": "" }, { "docid": "792452ec4e9ca2b0169f9383e1d33e22", "score": "0.48907837", "text": "private JPanel radios()\n {\n if(this.radios==null)\n {\n this.radios = new JPanel();\n this.radios.setLayout(new GridLayout(4,1));\n this.radios.setBounds(30,300,100,100);\n this.radios.add(jrbRed );\n this.radios.add(jrbGray);\n this.radios.add(jrbBlue);\n this.radios.add(jrbWhite);\n ButtonGroup group = new ButtonGroup();\n group.add(jrbRed);\n group.add(jrbGray);\n group.add(jrbBlue);\n group.add(jrbWhite);\n }\n this.radios.setCursor(new Cursor(Cursor.HAND_CURSOR));\n jrbRed.setBackground(Color.darkGray);\n jrbRed.setForeground(Color.WHITE);\n jrbGray.setBackground(Color.darkGray);\n jrbGray.setForeground(Color.WHITE);\n jrbBlue.setBackground(Color.darkGray);\n jrbBlue.setForeground(Color.WHITE);\n jrbWhite.setBackground(Color.darkGray);\n jrbWhite.setForeground(Color.WHITE);\n //Shortcut keys for the radio buttons\n jrbRed.setMnemonic('R');\n jrbGray.setMnemonic('G');\n jrbBlue.setMnemonic('B');\n jrbWhite.setMnemonic('W');\n //register listeners for checkButtons\n jrbRed.addActionListener(new ActionListener()\n {\n @Override\n public void actionPerformed(ActionEvent e)\n {\n messagebox.setBackground(Color.red);\n messagebox.setFont(font1);\n }\n });\n jrbGray.addActionListener(new ActionListener()\n {\n @Override\n public void actionPerformed(ActionEvent e)\n {\n messagebox.setBackground(Color.DARK_GRAY);\n messagebox.setFont(font1);\n messagebox.setForeground(Color.WHITE);\n }\n });\n jrbBlue.addActionListener(new ActionListener()\n {\n @Override\n public void actionPerformed(ActionEvent e)\n {\n messagebox.setBackground(Color.BLUE);\n messagebox.setFont(font1);\n messagebox.setForeground(Color.WHITE);\n \n }\n });\n jrbWhite.addActionListener(new ActionListener()\n {\n @Override\n public void actionPerformed(ActionEvent e)\n {\n messagebox.setBackground(Color.WHITE);\n messagebox.setFont(font1);\n messagebox.setForeground(Color.BLUE);\n }\n });\n return this.radios;\n }", "title": "" }, { "docid": "0eea41f69239d9a1234929c2086781c0", "score": "0.48890686", "text": "public Register_Form() {\n initComponents();\n this.setLocationRelativeTo(null);\n Border label_border = BorderFactory.createMatteBorder(1, 1, 1, 1, Color.black);\n jLabel_close.setBorder(label_border);\n jLabel_minimize.setBorder(label_border);\n \n //create a button group for the radiobutton\n ButtonGroup bg = new ButtonGroup();\n bg.add(jRadioButton1);\n bg.add(jRadioButton2);\n \n jLabel12.setVisible(false);\n jLabel13.setVisible(false);\n jLabel14.setVisible(false);\n jLabel15.setVisible(false);\n }", "title": "" }, { "docid": "b32fe3478f3119501383c5ce34037ea1", "score": "0.48796335", "text": "public void onRadioButtonClicked(View view) {\n \t\tboolean checked = ((RadioButton) view).isChecked();\n \n \t\t// Check which radio button was clicked\n \t\tswitch (view.getId()) {\n \t\tcase R.id.radio_atom:\n \t\t\tif (checked) setAtom();\n \t\t\tbreak;\n \t\tcase R.id.radio_rss:\n \t\t\tif (checked) setRSS();\n \t\t\tbreak;\n \t\t}\n \t}", "title": "" }, { "docid": "6b1573b641dc7f6432016da0d6e6a9da", "score": "0.48653084", "text": "public JRadioButton getQuad1RB() {\r\n\t\tif (quad1RB == null) {\r\n\t\t\tquad1RB = new JRadioButton();\r\n\t\t\tquad1RB.setBounds(new Rectangle(15, 40, 21, 21));\r\n\t\t\tif (this.selectedQuadConf == 0) {\r\n\t\t\t\tquad1RB.setSelected(true);\r\n\t\t\t}\r\n\t\t\tfinal QuadrantsGUI256 thisGui = this;\r\n\t\t\tquad1RB.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tpage.quadrantConfigurations.get(selectedQuadConf).refreshQuads();\r\n\t\t\t\t\tpage.monome.clearMonome();\r\n\t\t\t\t\tthisGui.selectedQuadConf = 0;\r\n\t\t\t\t}\r\n\t\t\t});\t\t\t\r\n\t\t}\r\n\t\treturn quad1RB;\r\n\t}", "title": "" }, { "docid": "c73a80c22947f308e1e461cd9ef91b0d", "score": "0.4863031", "text": "private boolean radioNomeActionPerformed(boolean b) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "a76842360de8861860baa1b587da1026", "score": "0.48597142", "text": "private void createSearchByButtonGroup() {\n emailRadioButton = new JRadioButton(\"email\", true);\n emailRadioButton.setOpaque(false);\n emailRadioButton.setActionCommand(\"email\");\n nameRadioButton = new JRadioButton(\"name\");\n nameRadioButton.setOpaque(false);\n nameRadioButton.setActionCommand(\"fullname\");\n usernameRadioButton = new JRadioButton(\"username\");\n usernameRadioButton.setOpaque(false);\n usernameRadioButton.setActionCommand(\"login\");\n searchByGroup = new ButtonGroup();\n searchByGroup.add(emailRadioButton);\n searchByGroup.add(nameRadioButton);\n searchByGroup.add(usernameRadioButton);\n }", "title": "" }, { "docid": "148c1b84147908394d5e93bdfedf83fe", "score": "0.4859597", "text": "public void makeAngleButtonsWithIcon(ImageIcon icon) {\n\n zeroButton = new JRadioButton(\"0\", icon);\n setButtonFeatures(zeroButton, \"0\");\n\n fortyFiveButton = new JRadioButton(\"45\", icon);\n setButtonFeatures(fortyFiveButton, \"45\");\n\n ninetyButton = new JRadioButton(\"90\", icon);\n setButtonFeatures(ninetyButton, \"90\");\n\n hundredThirtyFiveButton = new JRadioButton(\"135\", icon);\n setButtonFeatures(hundredThirtyFiveButton, \"135\");\n\n hundredEightyButton = new JRadioButton(\"180\", icon);\n setButtonFeatures(hundredEightyButton, \"180\");\n }", "title": "" }, { "docid": "00e2151ee11eb81bf413e7d164f89f26", "score": "0.48563188", "text": "private void createInterfaceFORMAT() {\n\t\tinterfaceFormat = cp5.addRadioButton(\"FORMAT\")\n\t\t\t\t.setPosition(352,myOrigine)\n\t\t\t\t.setSize(15,15)\n\t\t\t\t.setNoneSelectedAllowed(false)\n\t\t\t\t.setItemsPerRow(1)\n\t\t\t\t.setSpacingRow(17)\n\t\t\t\t.addItem(\"A4\", 1)\n\t\t\t\t.addItem(\"Letter\", 2)\n\t\t\t\t.activate(0)\n\t\t\t\t;\n\t\tinterfaceFormat.hideLabels();\n\t}", "title": "" }, { "docid": "12602ab3bafa81de90dd2ff334ae50a9", "score": "0.48535508", "text": "public JRadioButton getQuad4RB() {\r\n\t\tif (quad4RB == null) {\r\n\t\t\tquad4RB = new JRadioButton();\r\n\t\t\tquad4RB.setBounds(new Rectangle(255, 40, 21, 21));\r\n\t\t\tif (this.selectedQuadConf == 3) {\r\n\t\t\t\tquad4RB.setSelected(true);\r\n\t\t\t}\r\n\t\t\tfinal QuadrantsGUI256 thisGui = this;\r\n\t\t\tquad4RB.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tpage.quadrantConfigurations.get(selectedQuadConf).refreshQuads();\r\n\t\t\t\t\tpage.monome.clearMonome();\r\n\t\t\t\t\tthisGui.selectedQuadConf = 3;\r\n\t\t\t\t}\r\n\t\t\t});\t\t\t\r\n\t\t}\r\n\t\treturn quad4RB;\r\n\t}", "title": "" }, { "docid": "f05f5ce3303d4124dca96c26b056dbc3", "score": "0.48442602", "text": "public void onRadioButtonClicked(View view) {\n // Is the button now checked?\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch (view.getId()) {\n case R.id.radioButton:\n if (checked)\n idioma = \"1\";\n break;\n case R.id.radioButton2:\n if (checked)\n idioma = \"2\";\n break;\n\n }\n /**\n * Se obtiene el idioma seleccionado\n */\n if (idioma.equals(\"1\")) {\n qbAdminIdioma.getData(idioma);\n } else if (idioma.equals(\"2\")) {\n qbAdminIdioma.getData(idioma);\n }\n }", "title": "" }, { "docid": "675f765b5102a1f5f1c1766ebe133ab7", "score": "0.48363343", "text": "public void onRadioButtonClicked(View view){\n //Is the button now checked?\n boolean checked = ((RadioButton) view).isChecked();\n\n //Check which radio button was clicked\n switch(view.getId()){\n\n //If the user wants to be X just clear the board and wair for their move\n case R.id.radio_X:\n if(checked)\n mark = \"X\"; aiMark = \"O\"; clear();\n break;\n\n //If the user wants to be O just clear the board and get the AI's opening move\n case R.id.radio_O:\n if(checked)\n mark = \"O\"; aiMark = \"X\"; clear(); getAIMove(board);\n break;\n }\n }", "title": "" }, { "docid": "2362f2acce317a611647182ffcdc0ec8", "score": "0.48359305", "text": "public radio() {\n initComponents();\n }", "title": "" }, { "docid": "aa55c9c9e88c3e39bff867bdf5ba035c", "score": "0.48232102", "text": "protected void drawRadioGroup ( int totalGroup, int totalRadioButton, float Y, String text[] ) {\n\t\tradioGroups = new WOZRadioGroup( text, totalGroup, totalRadioButton, Y, this.getWidth() );\n\t}", "title": "" }, { "docid": "25b4a6d8ef44ac386f5b36723cd201f9", "score": "0.4794911", "text": "private ActionListener radioClick() {\n\t\treturn new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent h) {\n\t\t\t\tString command = h.getActionCommand();\n\t\t\t\tif (command.equals(\"out\")){\n\t\t\t\t\tgoButton.setText(\"Check Out\");\n\t\t\t\t\ttag = 0;\n\t\t\t\t} else if (command.equals(\"back\")){\n\t\t\t\t\tgoButton.setText(\"Return\");\n\t\t\t\t\ttag = 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "541ae8174ed157bbf026a81f5948b8d9", "score": "0.47935104", "text": "@FXML\r\n\tpublic void onSaveClick(ActionEvent event) {\r\n\t\tif (AnswersGroup.getSelectedToggle() != null) {\r\n\t\t\tExamQuestion selectedRow = tvQuestions.getSelectionModel().getSelectedItem();\r\n\t\t\tint selectedQuestion = tvQuestions.getSelectionModel().getSelectedIndex();\r\n\t\t\tanswersArr[selectedQuestion] = (String) selectedRadio.toString();\r\n\t\t\tint selectedRowIndex = tvQuestions.getSelectionModel().getSelectedIndex();\r\n\t\t\ttvQuestions.getSelectionModel().select(selectedRowIndex + 1);\r\n\t\t\tselectedRow.setVisibleImage();\r\n\t\t\tselectedRow = tvQuestions.getSelectionModel().getSelectedItem();\r\n\t\t\tradio1.setText(selectedRow.getAnswer1());\r\n\t\t\tradio2.setText(selectedRow.getAnswer2());\r\n\t\t\tradio3.setText(selectedRow.getAnswer3());\r\n\t\t\tradio4.setText(selectedRow.getAnswer4());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4f9420901149b78851072c29027518f3", "score": "0.4781459", "text": "public RadioButtonGroup(String label) {\n this();\n setLabel(label);\n }", "title": "" }, { "docid": "8d0d18729e98d8358a5524a188d1135c", "score": "0.4779833", "text": "public JSmartRadioButton()\n {\n }", "title": "" }, { "docid": "b9ab81a830cd277861c8acaa45da924a", "score": "0.4775968", "text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 716, 300);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\t\t\n\t\trdbtnEncendido = new JRadioButton(\"Apagado\");\n\t\trdbtnEncendido.addActionListener(new Listener());\n\t\trdbtnEncendido.setBounds(6, 7, 90, 23);\n\t\tframe.getContentPane().add(rdbtnEncendido);\n\t\t\n\t\t\n\t\trdbtnAmfm = new JRadioButton(\"AM\");\n\t\trdbtnAmfm.setBounds(6, 33, 109, 23);\n\t\tframe.getContentPane().add(rdbtnAmfm);\n\t\trdbtnAmfm.addActionListener(new Listener());\n\t\t\n\t\t\n\t\tbtnNewButton = new JButton(\"<-\");\n\t\tbtnNewButton.addActionListener(new Listener());\n\t\tbtnNewButton.setBounds(42, 85, 45, 33);\n\t\tframe.getContentPane().add(btnNewButton);\n\t\t\n\t\tbtnNewButton_1 = new JButton(\"->\");\n\t\tbtnNewButton_1.addActionListener(new Listener());\n\t\tbtnNewButton_1.setBounds(97, 85, 45, 33);\n\t\tframe.getContentPane().add(btnNewButton_1);\n\t\t\n\t\ttextField = new JTextField();\n\t\ttextField.setFont(new Font(\"Tahoma\", Font.PLAIN, 80));\n\t\ttextField.setHorizontalAlignment(SwingConstants.CENTER);\n\t\ttextField.setEditable(false);\n\t\ttextField.setForeground(Color.BLUE);\n\t\ttextField.setBounds(289, 56, 309, 86);\n\t\tframe.getContentPane().add(textField);\n\t\ttextField.setColumns(10);\n\t\t\n\t\tbutton_1 = new JButton(\"1\");\n\t\tbutton_1.addActionListener(new Listener());\n\t\tbutton_1.setBounds(10, 205, 52, 33);\n\t\tframe.getContentPane().add(button_1);\n\t\t\n\t\trdbtnGuardar = new JRadioButton(\"Guardar\");\n\t\trdbtnGuardar.addActionListener(new Listener());\n\t\trdbtnGuardar.setBounds(6, 147, 109, 23);\n\t\tframe.getContentPane().add(rdbtnGuardar);\n\t\t\n\t\tbutton_2 = new JButton(\"2\");\n\t\tbutton_2.addActionListener(new Listener());\n\t\tbutton_2.setBounds(63, 205, 52, 33);\n\t\tframe.getContentPane().add(button_2);\n\t\t\n\t\tbutton_3 = new JButton(\"3\");\n\t\tbutton_3.addActionListener(new Listener());\n\t\tbutton_3.setBounds(124, 205, 52, 33);\n\t\tframe.getContentPane().add(button_3);\n\t\t\n\t\tbutton_4 = new JButton(\"4\");\n\t\tbutton_4.addActionListener(new Listener());\n\t\tbutton_4.setBounds(178, 205, 52, 33);\n\t\tframe.getContentPane().add(button_4);\n\t\t\n\t\tbutton_5 = new JButton(\"5\");\n\t\tbutton_5.addActionListener(new Listener());\n\t\tbutton_5.setBounds(240, 205, 52, 33);\n\t\tframe.getContentPane().add(button_5);\n\t\t\n\t\tbutton_6 = new JButton(\"6\");\n\t\tbutton_6.addActionListener(new Listener());\n\t\tbutton_6.setBounds(295, 205, 52, 33);\n\t\tframe.getContentPane().add(button_6);\n\t\t\n\t\tbutton_7 = new JButton(\"7\");\n\t\tbutton_7.addActionListener(new Listener());\n\t\tbutton_7.setBounds(354, 205, 52, 33);\n\t\tframe.getContentPane().add(button_7);\n\t\t\n\t\tbutton_8 = new JButton(\"8\");\n\t\tbutton_8.addActionListener(new Listener());\n\t\tbutton_8.setBounds(410, 205, 52, 33);\n\t\tframe.getContentPane().add(button_8);\n\t\t\n\t\tbutton_9 = new JButton(\"9\");\n\t\tbutton_9.addActionListener(new Listener());\n\t\tbutton_9.setBounds(472, 205, 52, 33);\n\t\tframe.getContentPane().add(button_9);\n\t\t\n\t\tbutton_10 = new JButton(\"10\");\n\t\tbutton_10.addActionListener(new Listener());\n\t\tbutton_10.setBounds(525, 205, 52, 33);\n\t\tframe.getContentPane().add(button_10);\n\t\t\n\t\tbutton_11 = new JButton(\"11\");\n\t\tbutton_11.addActionListener(new Listener());\n\t\tbutton_11.setBounds(586, 205, 52, 33);\n\t\tframe.getContentPane().add(button_11);\n\t\t\n\t\tbutton_12 = new JButton(\"12\");\n\t\tbutton_12.addActionListener(new Listener());\n\t\tbutton_12.setBounds(639, 205, 52, 33);\n\t\tframe.getContentPane().add(button_12);\n\t\t\n\t\tlblTune = new JLabel(\"TUNE:\");\n\t\tlblTune.setFont(new Font(\"Tahoma\", Font.PLAIN, 35));\n\t\tlblTune.setBounds(178, 56, 101, 86);\n\t\tframe.getContentPane().add(lblTune);\n\t}", "title": "" }, { "docid": "38e9e3fdc71740ee5c778cd4f442234b", "score": "0.4774115", "text": "public UserRegister() {\n initComponents();\n Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();\n this.setLocation(dim.width / 2 - this.getSize().width / 2, dim.height / 2 - this.getSize().height / 2);\n\n// ADD THE RADIO BUTTON TO A GROUP SO IT WILL ONLY ALLOW ONE BUTTON TO BE CLICKED\n ButtonGroup group = new ButtonGroup();\n group.add(customerRadioBtn);\n group.add(pharmacistRadioBtn);\n\n }", "title": "" }, { "docid": "2a1dd1da69865efa67dfffb8e3eee6c7", "score": "0.47736275", "text": "@Override\n public void onClick(View v) {\n int selectedId = radioGroup.getCheckedRadioButtonId();\n\n // find the radiobutton by returned id\n radioButton = (RadioButton) findViewById(selectedId);\n Log.e(\"asd\", \"here i am done\");\n Toast.makeText(SignUpActivity.this,\n radioButton.getText(), Toast.LENGTH_SHORT).show();\n\n addNewUser(radioButton.getText().toString());\n\n Intent intent = new Intent(SignUpActivity.this, MapsActivity.class);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "a205cd78ce9113c11f8365bde195d0df", "score": "0.4773172", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.button_radio1:\n if (checked) {\n radio2.setChecked(false);\n layout1.setBackgroundResource(R.drawable.checkout_bg_blue);\n layout2.setBackgroundResource(R.drawable.checkout_bg_white);\n break;\n }\n case R.id.button_radio2:\n if (checked){\n radio1.setChecked(false);\n layout1.setBackgroundResource(R.drawable.checkout_bg_white);\n layout2.setBackgroundResource(R.drawable.checkout_bg_blue);\n break;\n }\n }\n }", "title": "" }, { "docid": "2a73e1bd5dc0a8efb239a7be9d2edca4", "score": "0.47711536", "text": "@Override\r\n\tpublic MarkupContainer add(Component... childs)\r\n\t{\r\n\t\treturn getRadioGroup().add(childs);\r\n\t}", "title": "" }, { "docid": "08c4dde167c6b39206d074981290160c", "score": "0.47710222", "text": "public JRadioButton getQuad2RB() {\r\n\t\tif (quad2RB == null) {\r\n\t\t\tquad2RB = new JRadioButton();\r\n\t\t\tquad2RB.setBounds(new Rectangle(95, 40, 21, 21));\r\n\t\t\tif (this.selectedQuadConf == 1) {\r\n\t\t\t\tquad2RB.setSelected(true);\r\n\t\t\t}\r\n\t\t\tfinal QuadrantsGUI256 thisGui = this;\r\n\t\t\tquad2RB.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tpage.quadrantConfigurations.get(selectedQuadConf).refreshQuads();\r\n\t\t\t\t\tpage.monome.clearMonome();\r\n\t\t\t\t\tthisGui.selectedQuadConf = 1;\r\n\t\t\t\t}\r\n\t\t\t});\t\t\t\r\n\t\t}\r\n\t\treturn quad2RB;\r\n\t}", "title": "" }, { "docid": "5fe40644cc2caea7948ed5aeb0488a05", "score": "0.47667006", "text": "public void onRadioButtonClicked(View view) {\n\n // Check which radio button was clicked\n switch (view.getId()) {\n case R.id.colorWhiteRadioButton:\n // set event color\n event.setColor(android.R.color.white);\n break;\n case R.id.colorRedRadioButton:\n event.setColor(android.R.color.holo_red_light);\n break;\n case R.id.colorGreenRadioButton:\n event.setColor(android.R.color.holo_green_light);\n break;\n case R.id.colorBlueRadioButton:\n event.setColor(android.R.color.holo_blue_light);\n break;\n case R.id.colorGrayRadioButton:\n event.setColor(android.R.color.darker_gray);\n break;\n }\n }", "title": "" }, { "docid": "0c6d9775a069ef851b7c9820825be049", "score": "0.4766229", "text": "private void addButtonGroups() {\n \n group1.add(jRadioButton1);\n group1.add(jRadioButton2);\n group1.add(jRadioButton3);\n group1.add(jRadioButton4);\n \n group2.add(jRadioButton13);\n group2.add(jRadioButton14);\n group2.add(jRadioButton15);\n group2.add(jRadioButton16);\n \n group3.add(jRadioButton5);\n group3.add(jRadioButton6);\n group3.add(jRadioButton7);\n group3.add(jRadioButton8);\n \n group4.add(jRadioButton9);\n group4.add(jRadioButton10);\n group4.add(jRadioButton11);\n group4.add(jRadioButton12);\n \n group5.add(jRadioButton17);\n group5.add(jRadioButton18);\n group5.add(jRadioButton19);\n group5.add(jRadioButton20);\n \n group6.add(jRadioButton21);\n group6.add(jRadioButton22);\n group6.add(jRadioButton23);\n group6.add(jRadioButton24);\n \n group7.add(jRadioButton25);\n group7.add(jRadioButton26);\n group7.add(jRadioButton27);\n group7.add(jRadioButton28);\n \n group8.add(jRadioButton29);\n group8.add(jRadioButton30);\n group8.add(jRadioButton31);\n group8.add(jRadioButton32);\n \n }", "title": "" }, { "docid": "7343ca2d156e204aa9e8b8c663b79bd7", "score": "0.47631907", "text": "public CRadioButtonSelectionControl()\n {\n super(new FlowLayout());\n init(new String[]{\"selection 1\", \"selection 2\"} , BoxLayout.X_AXIS);\n }", "title": "" }, { "docid": "f6ebb1c176b7daf4e2eb539e8dde4bd2", "score": "0.47595304", "text": "public JRadioButton getQuad3RB() {\r\n\t\tif (quad3RB == null) {\r\n\t\t\tquad3RB = new JRadioButton();\r\n\t\t\tquad3RB.setBounds(new Rectangle(175, 40, 21, 21));\r\n\t\t\tif (this.selectedQuadConf == 2) {\r\n\t\t\t\tquad3RB.setSelected(true);\r\n\t\t\t}\r\n\t\t\tfinal QuadrantsGUI256 thisGui = this;\r\n\t\t\tquad3RB.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tpage.quadrantConfigurations.get(selectedQuadConf).refreshQuads();\r\n\t\t\t\t\tpage.monome.clearMonome();\r\n\t\t\t\t\tthisGui.selectedQuadConf = 2;\r\n\t\t\t\t}\r\n\t\t\t});\t\t\t\r\n\t\t}\r\n\t\treturn quad3RB;\r\n\t}", "title": "" }, { "docid": "9b0a83898042010021a7bbbe04dcee01", "score": "0.47494045", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.radio_pirates:\n if (checked)\n break;\n case R.id.radio_ninjas:\n if (checked)\n break;\n }\n }", "title": "" }, { "docid": "294561018ec0a363475f1c0cc0026835", "score": "0.47492546", "text": "public static void radio(WebElement we)\n\t{\n\t\twe.click();\n\t}", "title": "" }, { "docid": "666144b040b8162921463141b03496d6", "score": "0.47462884", "text": "@Test\n\tpublic void deveInteragirComRadioButton(){\n\t\tdsl.clicarRadio(\"elementosForm:sexo:0\");\n\t\t// Validando se o elemento foi clicado corretamente:\t\t\n Assert.assertTrue(dsl.isRadioMarcado(\"elementosForm:sexo:0\"));\n }", "title": "" }, { "docid": "c7b9fd28efb64c213d66a53eb1f07ced", "score": "0.4745249", "text": "private void roadRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {\n this.finalButton.setEnabled(true);\n this.resetButton.setEnabled(true);\n this.doneButton.setEnabled(false);\n }", "title": "" }, { "docid": "a94c5fb4b2d6e3a290fad3313ef484df", "score": "0.4744125", "text": "public void addQuestionButtons() // adds options for quiz (i.e: 'A', 'B', 'C')\n {\n optionA = new MainMenuButton(\"A\", 190, 49, 23);\n optionA.setLayoutX(200);\n optionA.setLayoutY(600);\n layout.getChildren().add(optionA);\n\n optionB = new MainMenuButton(\"B\", 190, 49, 23);\n optionB.setLayoutX(400);\n optionB.setLayoutY(600);\n layout.getChildren().add(optionB);\n\n optionC = new MainMenuButton(\"C\", 190, 49, 23);\n optionC.setLayoutX(600);\n optionC.setLayoutY(600);\n layout.getChildren().add(optionC);\n\n }", "title": "" }, { "docid": "12aab65f2208434f106923f42803e964", "score": "0.47427833", "text": "public void setRadios(Radios radios) {\n this.radios = radios;\n }", "title": "" }, { "docid": "5b482cdd8c92b4ee4e81f529ad61c200", "score": "0.47411364", "text": "@Then(\"^I select radio button having (.+) \\\"(.*?)\\\"$\")\n\tpublic void select_radio_button(String type, String accessName) throws Exception {\n\t}", "title": "" }, { "docid": "7a3c4bb4fecefa2cfcc83fac2e51d185", "score": "0.4739082", "text": "public RadioButtonFrame() {\n initComponents();\n }", "title": "" }, { "docid": "9e16b7e2932eb3f17f2c6728dfe8c8dd", "score": "0.4737784", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.AP_radioB_PrestamoPedido:\n if (checked)\n Toast.makeText(this,\"Prestamo PEDIDO\", Toast.LENGTH_SHORT).show();\n break;\n case R.id.AP_radioB_PrestamoDado:\n if (checked)\n Toast.makeText(this,\"Prestamo DADO\", Toast.LENGTH_SHORT).show();\n break;\n }\n }", "title": "" }, { "docid": "029060af231cc93f1d4142e9c7681e82", "score": "0.47336173", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n if (checked) {\n filter.put(Integer.toString(view.getId()), true);\n } else {\n filter.put(Integer.toString(view.getId()), false);\n }\n }", "title": "" }, { "docid": "59f5030ccfa2e8bc43885af5da6eb1bb", "score": "0.4729894", "text": "void set() {\n\t\tradioButton[3].setSelected(true);\n\t\tif (current == 0) {\n\t\t\tlabel.setText(\"Que1: JAVA est un langage?\");\n\t\t\tradioButton[0].setText(\"Compilé\");\n\t\t\tradioButton[1].setText(\"Interprété\");\n\t\t\tradioButton[2].setText(\"Compilé et interpreté\");\n\t\t\t\n\t\t}\n\t\tif (current == 1) {\n\t\t\tlabel.setText(\"Que2: Toutes les classes héritent de la classe?\");\n\t\t\tradioButton[0].setText(\"Main\");\n\t\t\tradioButton[1].setText(\"Object\");\n\t\t\tradioButton[2].setText(\"AWT\");\n\t\t\t\n\t\t}\n\t\tif (current == 2) {\n\t\t\tlabel.setText(\"Que3: Par convention une classe\");\n\t\t\tradioButton[0].setText(\"est en minuscule\");\n\t\t\tradioButton[1].setText(\"commence par une majuscule\");\n\t\t\tradioButton[2].setText(\"est en majuscules\");\n\t\t\n\t\t}\n\t\tif (current == 3) {\n\t\t\tlabel.setText(\"Que4: Est-ce que on peut avoir plusieurs constructeurs pour la même classe?\");\n\t\t\tradioButton[0].setText(\"oui\");\n\t\t\tradioButton[1].setText(\"non\");\n\t\t\tradioButton[2].setText(\"Je sais pas\");\n\t\t\t\n\t\t}\n\t\tif (current == 4) {\n\t\t\tlabel.setText(\"Que5: Dans la ligne \\\"public class A implements B, B est :?\");\n\t\t\tradioButton[0].setText(\" Interfacce \");\n\t\t\tradioButton[1].setText(\"Classe parent\");\n\t\t\tradioButton[2].setText(\"Package\");\n\t\t\t\n\t\t}\n\t\tif (current == 5) {\n\t\t\tlabel.setText(\"<html> Que6: Après la compilation, un programme écrit en JAVA, il se transforme en programme en bytecode Quelle est l’extension du programme en bytecode ?</html>\");\n\t\t\tradioButton[0].setText(\"aucun des choix\");\n\t\t\tradioButton[1].setText(\"JAVA\");\n\t\t\tradioButton[2].setText(\"Class\");\n\t\t\t\n\t\t}\n\t\tif (current == 6) {\n\t\t\tlabel.setText(\"<html> Que7: Class Test{Public Test () {public Test (int i) {This();System.out.println(”Nous sommes en ”+i+ ” !”);};}qu’affichera l’instruction suivante?Test t1=new Test (2018);?</html>\");\n\t\t\tradioButton[0].setText(\"aucun des choix\");\n\t\t\tradioButton[1].setText(\"Bonjour Nous sommes en 2018 !\");\n\t\t\tradioButton[2].setText(\"Nous sommes en 2018 !\");\n\t\t\n\t\t}\n\t\tif (current == 7) {\n\t\t\tlabel.setText(\"<html>Que8: Voici un constructeur de la classe Employee, y-at'il un problème ?Public void Employe(String n){\\r\\n\"\n\t\t\t\t\t+ \"Nom=n;}?</html>\");\n\t\t\tradioButton[0].setText(\"vrai\");\n\t\t\tradioButton[1].setText(\"faux\");\n\t\t\tradioButton[2].setText(\"je ne sais pas\");\n\t\t\n\t\t}\n\t\tif (current == 8) {\n\t\t\tlabel.setText(\"<html> Que9: Pour spécifier que la variable ne pourra plus être modifiée et doit être initialisée dès sa déclaration,on la déclare comme une constante avec le mot réservé</html>\");\n\t\t\tradioButton[0].setText(\"aucun des choix\");\n\t\t\tradioButton[1].setText(\"final\");\n\t\t\tradioButton[2].setText(\"const\");\n\t\t\n\t\t}\n\t\tif (current == 9) {\n\t\t\tlabel.setText(\"<html>Que10: Dans une classe, on accède à ses variables grâce au mot clé?</html>\");\n\t\t\tradioButton[0].setText(\"aucun des choix\");\n\t\t\tradioButton[1].setText(\"This\");\n\t\t\tradioButton[2].setText(\"Super\");\n\t\t\n\t\t}\n\t\tif (current == 10) {\n\t\t\tlabel.setText(\"<html>Que6: calculerSalaire(int)\\r\\n\"\n\t\t\t\t\t+ \"calculerSalaire(int, double)\\r\\n\"\n\t\t\t\t\t+ \"La méthode calculerSalaire est :</html>\");\n\t\t\tradioButton[0].setText(\"aucun des choix\");\n\t\t\tradioButton[1].setText(\"surchargée\");\n\t\t\tradioButton[2].setText(\"redéfinie\");\n\t\t\t\n\t\t}\n\t\tif (current == 11) {\n\t\t\tlabel.setText(\"<html>Que11: Une classe qui contient au moins une méthode abstraite doit être déclarée abstraite Test t1=new Test (2018);?</html>\");\n\t\t\tradioButton[0].setText(\"Vrai\");\n\t\t\tradioButton[1].setText(\"Faux\");\n\t\t\tradioButton[2].setText(\"je ne sais pas\");\n\t\t\n\t\t}\n\t\tif (current == 12) {\n\t\t\tlabel.setText(\"<html>Que12: Est-ce qu’une classe peut implémenter plusieurs interfaces ?</html>\");\n\t\t\tradioButton[0].setText(\"vrai\");\n\t\t\tradioButton[1].setText(\"faux\");\n\t\t\tradioButton[2].setText(\"je ne sais pas\");\n\t\t\n\t\t}\n\t\tif (current == 13) {\n\t\t\tlabel.setText(\"<html>Que13: La déclaration d'une méthode suivante :public void traitement() throws IOException précise que la méthode propage une exception contrôlée</html>\");\n\t\t\tradioButton[0].setText(\"Vrai\");\n\t\t\tradioButton[1].setText(\"faux\");\n\t\t\tradioButton[2].setText(\"je ne sais pas\");\n\t\t\n\t\t}\n\t\tif (current == 14) {\n\t\t\tlabel.setText(\"<html>Que14: class Test{\\r\\n\"\n\t\t\t\t\t+ \"public static void main (String[] args) {\\r\\n\"\n\t\t\t\t\t+ \"try {\\r\\n\"\n\t\t\t\t\t+ \"int a =10;\\r\\n\"\n\t\t\t\t\t+ \"System.out.println (\\\"a = \\\" + a );\\r\\n\"\n\t\t\t\t\t+ \"int b = 0 / a;\\r\\n\"\n\t\t\t\t\t+ \"System.out.println (\\\"b = \\\" + b);\\r\\n\"\n\t\t\t\t\t+ \"}\\r\\n\"\n\t\t\t\t\t+ \"catch(ArithmeticException e)\\r\\n\"\n\t\t\t\t\t+ \"{System.out.println (\\\"diviser par 0!\\\"); }\\r\\n\"\n\t\t\t\t\t+ \"finally\\r\\n\"\n\t\t\t\t\t+ \"{System.out.println (\\\"je suis à l’intérieur de\\r\\n\"\n\t\t\t\t\t+ \"finally\\\");}}}</html>\");\n\t\t\tradioButton[0].setText(\"aucun des choix\");\n\t\t\tradioButton[1].setText(\"<html>a=10,b=0 Je suis à l’intérieur de finally</html>\");\n\t\t\tradioButton[2].setText(\"<html>a=10,b=0 diviser par 0! je suis à l’intérieur de finally</html>\");\n\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "a9409e2362dd08f5d2cebc379b5b3901", "score": "0.47152", "text": "private RadioButton addKeyRadioButton(final Grid grid,\n final int row, final int col,\n final String pos) {\n final RadioButton rb = new RadioButton(\"keypos\");\n rb.addClickHandler(new ClickHandler() {\n public void onClick(final ClickEvent event) {\n keypos = pos;\n }\n });\n rb.addClickHandler(refreshgraph);\n grid.setWidget(row, col, rb);\n keypos_map.put(pos, rb);\n return rb;\n }", "title": "" }, { "docid": "afcfab806fa5922aaeaedac4c1bb9dc8", "score": "0.47026244", "text": "public void onRadioButtonClicked(View view) {\n // Is the button now checked?\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.radio_light:\n if (checked) {\n /* Toast.makeText(this, \"RED\",\n Toast.LENGTH_LONG).show();*/\n\n CoordinatorLayout layout = (CoordinatorLayout) findViewById(R.id.main);\n layout.setBackgroundResource(R.drawable.white);\n break;\n }\n case R.id.radio_dark:\n if (checked){\n /* Toast.makeText(this, \"RED\",\n Toast.LENGTH_LONG).show();*/\n\n CoordinatorLayout layout = (CoordinatorLayout) findViewById(R.id.main);\n layout.setBackgroundResource(R.drawable.black);\n break;\n }\n }\n }", "title": "" }, { "docid": "7a365c87471acfb0583e3fcbde382b55", "score": "0.470172", "text": "private void initialize() {\n\n\t\tframe = new JFrame();\n\t\tframe.getContentPane().setBackground(Color.WHITE);\n\t\t//\t\tDimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n\t\t//frame.setBounds(0, 0, screenSize.width, screenSize.height);\n\t\tframe.setBounds(0, 0, 1060, 550);\n\t\tframe.setLocationRelativeTo(null);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\n\n\t\tint cpt = 0;\n\n\t\tboolean aboveBorder = false;\n\n\n\t\tButtonGroup group = new ButtonGroup();\n\n\n\t\t// INITIALISATION DE LA BOUCLE DES TERRAINS (TROUVER MOYEN AUTOMATISATION\n\t\t// CHERCHER TOUS LES TYPES DIFFERENTS DE TERRAINS SANS LEUR VARIATIONS\n\n\t\tList<Terrain> terrains= Context.getInstance().getDaoT().findAll();\n\n\t\t//POSITION INITIAL DU 1ER TERRAIN AFFICHE\n\t\tint xRadioButton = 75 ;\n\t\tint yRadioButton = 55;\n\n\t\tfor(Terrain t : terrains) \n\t\t{\n\n\n\t\t\t//CREATION BOUTON RADIO POUR LE TERRAIN\n\t\t\tJRadioButton rdbtnNewRadioButton = new JRadioButton(t.getLabel());\t\t\n\t\t\trdbtnNewRadioButton.addItemListener(new ItemListener() { \n\t\t\t\tpublic void itemStateChanged(ItemEvent e) { \n\t\t\t\t\tString check = e.getStateChange()==1?\"checked\":\"unchecked\"; \n\n\t\t\t\t\tif (check.equals(\"checked\") ) {\n\t\t\t\t\t\tContext.getInstance().setTerrainSelected(t);\n\t\t\t\t\t\tSystem.out.println(Context.getInstance().getTerrainSelected());\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\t}); \n\n\t\t\trdbtnNewRadioButton.setBackground(new Color(255, 255, 255));\n\t\t\trdbtnNewRadioButton.setFont(new Font(\"Segoe UI\", Font.PLAIN, 14));\n\t\t\trdbtnNewRadioButton.setBounds(xRadioButton, yRadioButton, 97, 23);\n\t\t\tframe.getContentPane().add(rdbtnNewRadioButton);\n\n\t\t\t//MISE DANS LE GROUPE BOUTON RADIO POUR N'AVOIR QU'UN SEUL BOUTON ACTIF A LA FOIS\n\t\t\tgroup.add(rdbtnNewRadioButton);\n\n\n\n\t\t\t//MISE EN PLACE DE L'AFFICHAGE DU PROCHAIN TERRAIN\n\t\t\txRadioButton-=10;\n\t\t\tyRadioButton+=30;\n\n\t\t\t//MISE EN PLACE DE L'ICON DE TERRAIN\n\t\t\tJLabel lblNewLabel = new JLabel(\"New label\");\n\t\t\tlblNewLabel.setIcon(new ImageIcon(NouvelleConfig.class.getResource(t.getLien())));\n\n\t\t\tlblNewLabel.setBounds(xRadioButton, yRadioButton, 118, 115);\n\t\t\tframe.getContentPane().add(lblNewLabel);\n\t\t\tlblNewLabel.addMouseListener(new MouseListener() {\n\n\t\t\t\t//ACTION AU SEIN DE L'IMAGE DE TERRAIN\n\t\t\t\t//PERMET DE DEFINIR SI NOS CONTRAINTES SONT FALSE\n\t\t\t\t@Override\n\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\tChoixContraintes.main(null);\n\t\t\t\t\tframe.dispose();\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void mouseReleased(MouseEvent e) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void mouseEntered(MouseEvent e) {\n\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void mouseExited(MouseEvent e) {\n\n\n\t\t\t\t}\n\n\n\t\t\t});\n\n\t\t\t// INCREMENTATION POUR LA MISE EN PLACE DU PROCHAIN TERRAIN\n\t\t\txRadioButton+=210;\n\t\t\tyRadioButton = 55;\n\n\t\t\t//MISE A LA LIGNE SI ON ARRIVE AU BORD DU TERRAIN\n\t\t\tif ( xRadioButton + 100 > frame.getWidth() ) {\n\t\t\t\tcpt++;\n\t\t\t\txRadioButton=75;\n\t\t\t\tyRadioButton+=200*cpt;\n\t\t\t\taboveBorder = true;\n\t\t\t}else if (aboveBorder == true && xRadioButton < frame.getWidth() ) {\n\t\t\t\tyRadioButton+=200*cpt;\n\t\t\t}\n\n\n\t\t}\n\n\n\t\t//BOUTON DE RETOUR EN ARRIERE\n\t\tJButton btnBack = new JButton(\"Back\");\n\t\tbtnBack.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tUserlogsucces.main(new String[]{});\n\t\t\t\tframe.dispose();\n\t\t\t} \n\t\t});\n\t\tbtnBack.setBounds(frame.getWidth() - 150 , frame.getHeight() - 100 , 89, 23);\n\t\tframe.getContentPane().add(btnBack);\n\n\t\t\n\n\t\t//FOND D ECRAN DE LA FRAME\n\t\tJLabel lblNewLabel_1 = new JLabel(\"New label\");\n\t\tlblNewLabel_1.setIcon(new ImageIcon(NouvelleConfig.class.getResource(\"/Images/BGterrain.jpg\")));\n\t\tlblNewLabel_1.setHorizontalAlignment(SwingConstants.LEFT);\n\t\tlblNewLabel_1.setBounds(0, 0, 1044, 511);\n\t\tframe.getContentPane().add(lblNewLabel_1);\n\n\n\t}", "title": "" }, { "docid": "1f588d147aca167f02668a9ec13b6cd5", "score": "0.46940064", "text": "WithResourceGroup withRegion(String location);", "title": "" }, { "docid": "1f588d147aca167f02668a9ec13b6cd5", "score": "0.46940064", "text": "WithResourceGroup withRegion(String location);", "title": "" }, { "docid": "1f588d147aca167f02668a9ec13b6cd5", "score": "0.46940064", "text": "WithResourceGroup withRegion(String location);", "title": "" }, { "docid": "f45adcbb3542f5189f1bd7aca3503249", "score": "0.46873164", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.radio_masculino:\n if (checked)\n tpSexo = \"M\";\n break;\n case R.id.radio_feminino:\n if (checked)\n tpSexo = \"F\";\n break;\n }\n }", "title": "" }, { "docid": "e4510cb3d409e1d36473ff56a3349892", "score": "0.4686222", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n switch (view.getId()) {\n case R.id.textRadioButton:\n if (checked) {\n passwordField.setInputType(passTextType);\n chipGroup.setVisibility(View.VISIBLE);\n }\n break;\n\n case R.id.pinRadioButton:\n if (checked) {\n passwordField.setText(\"\");\n passwordField.setInputType(passPinType);\n chipGroup.setVisibility(View.GONE);\n }\n break;\n }\n }", "title": "" }, { "docid": "7333a3d9e671759802e559a7c26a0741", "score": "0.46849433", "text": "private JRadioButton getCardRadRadioButton() {\n \t\tif (cardRadRadioButton == null) {\n \t\t\tcardRadRadioButton = new JRadioButton();\n /// Angles Radians\n \t\t\tcardRadRadioButton.setText(I18n.text(\"Rads\"));\n \t\t\tcardRadRadioButton.setEnabled(false);\n \t\t\tcardRadRadioButton.addItemListener(new java.awt.event.ItemListener() {\n \t\t\t\tpublic void itemStateChanged(java.awt.event.ItemEvent e) {\n \t\t\t\t\tif (e.getStateChange() == ItemEvent.SELECTED) {\n \t\t\t\t\t\tcardDegRadioButton.setSelected(false);\n \t\t\t\t\t\tCardLayout cl = (CardLayout)(getCardsPanel().getLayout());\n \t\t \t\t cl.show(getCardsPanel(), \"rads\");\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t});\n \t\t}\n \t\treturn cardRadRadioButton;\n \t}", "title": "" }, { "docid": "555f0e62d6e4a7d5db0251d0551b3ba7", "score": "0.46801624", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n buttonGroup1 = new javax.swing.ButtonGroup();\n jButton1 = new javax.swing.JButton();\n jButDibujar = new javax.swing.JButton();\n jButMover = new javax.swing.JButton();\n jPanel1 = new javax.swing.JPanel();\n jRBFrame = new javax.swing.JRadioButton();\n JRBPanel = new javax.swing.JRadioButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setUndecorated(true);\n setPreferredSize(new java.awt.Dimension(1080, 720));\n setResizable(false);\n\n jButton1.setText(\"Salir\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButDibujar.setText(\"Dibujar\");\n jButDibujar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButDibujarActionPerformed(evt);\n }\n });\n\n jButMover.setText(\"Mover\");\n jButMover.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButMoverActionPerformed(evt);\n }\n });\n\n jPanel1.setBackground(new java.awt.Color(102, 255, 102));\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 .addGap(0, 0, Short.MAX_VALUE)\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 240, Short.MAX_VALUE)\n );\n\n buttonGroup1.add(jRBFrame);\n jRBFrame.setText(\"Frame\");\n\n buttonGroup1.add(JRBPanel);\n JRBPanel.setText(\"Panel\");\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(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addComponent(jButDibujar, javax.swing.GroupLayout.PREFERRED_SIZE, 116, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButMover, javax.swing.GroupLayout.PREFERRED_SIZE, 116, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 116, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jRBFrame, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(JRBPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 398, Short.MAX_VALUE))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButDibujar)\n .addComponent(jButMover)\n .addComponent(jButton1)\n .addComponent(jRBFrame)\n .addComponent(JRBPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 257, Short.MAX_VALUE)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n\n pack();\n }", "title": "" }, { "docid": "8412029386bd5345aeb73ea9c950c2be", "score": "0.4669464", "text": "private void createSetDefaultsButton() {\n Button reset_defaults_button = getView().findViewById(R.id.button_reset_to_defaults);\n reset_defaults_button.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n\n ((RadioButton) getView().findViewById(R.id.radiobutton_default_pattern)).setChecked(true);\n ((RadioButton) ((RadioGroup) getView().findViewById(R.id.radiogroup_sensitivity)).getChildAt(1)).setChecked(true);\n\n\n }\n });\n }", "title": "" }, { "docid": "596624ee501f864897903707bd893eed", "score": "0.46612594", "text": "public void onRdoClicked(View view) { //routine for radio buttons\n q1A = view.getId();\n calcBtnAnswer(q1A);\n updateProgress(questionNumber); // should hard-coded param questionNumber because of BUG in updateProgress\n }", "title": "" }, { "docid": "e072e869140576596223b7bd15bf6aea", "score": "0.46587613", "text": "WithResourceGroup withRegion(Region location);", "title": "" }, { "docid": "e072e869140576596223b7bd15bf6aea", "score": "0.46587613", "text": "WithResourceGroup withRegion(Region location);", "title": "" }, { "docid": "e072e869140576596223b7bd15bf6aea", "score": "0.46587613", "text": "WithResourceGroup withRegion(Region location);", "title": "" }, { "docid": "d301392faeb9c3456dd0b55bae5dfc52", "score": "0.46452102", "text": "public void createButtons() {\n stageInterface.addTriButton(new TriButton(stageInterface,0,0,false,StageInterface.OPTIONSSTAGE, ButtonEnum.Tri.OPTIONSNEXTSTAGE),triButtonArray,this);\n stageInterface.getTriButton(triButtonArray,ButtonEnum.Tri.OPTIONSNEXTSTAGE).setText(\"Match\\nMaking\");\n //stageInterface.getTriButton(triButtonArray,ButtonEnum.Tri.OPTIONSNEXTSTAGE).setTridentToTextSize();\n }", "title": "" }, { "docid": "f7e4da2bd2369b2825b290b15c3d599a", "score": "0.4639459", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.r1:\n if (checked) {\n spin.setVisibility(View.GONE);\n No3 = \"1\";\n c4 = false;\n }\n break;\n case R.id.r2:\n if (checked) {\n spin.setVisibility(View.GONE);\n No3 = \"2\";\n c4 = false;\n }\n break;\n case R.id.r3:\n if (checked) {\n spin.setVisibility(View.GONE);\n No3 = \"3\";\n c4 = false;\n }\n break;\n case R.id.r4:\n if (checked) {\n spin.setVisibility(View.VISIBLE);\n c4 = true;\n }\n }\n }", "title": "" }, { "docid": "d3da2358860f50ce1e2dc697ffa73446", "score": "0.46375468", "text": "private void createNew()\n {\n phaseNumber++;\n Spinner a = new Spinner(getApplicationContext());\n Spinner b = new Spinner(getApplicationContext());\n Spinner c = new Spinner(getApplicationContext());\n Spinner d = new Spinner(getApplicationContext());\n Spinner e = new Spinner(getApplicationContext());\n Spinner f = new Spinner(getApplicationContext());\n setUpSpinners(a,b,c,d,e,f);\n a.setBackgroundColor(getResources().getColor(android.R.color.white));\n b.setBackgroundColor(getResources().getColor(android.R.color.white));\n c.setBackgroundColor(getResources().getColor(android.R.color.white));\n d.setBackgroundColor(getResources().getColor(android.R.color.white));\n e.setBackgroundColor(getResources().getColor(android.R.color.white));\n f.setBackgroundColor(getResources().getColor(android.R.color.white));\n\n\n EditText g = new EditText(getApplicationContext());\n g.setInputType(EditorInfo.TYPE_CLASS_NUMBER);\n g.setBackgroundColor(getResources().getColor(android.R.color.white));\n\n RadioGroup h = new RadioGroup(getApplicationContext());\n RadioButton i = new RadioButton(getApplicationContext());\n i.setText(\"less than\");\n i.setTextSize(TypedValue.COMPLEX_UNIT_SP, 8);\n i.setTextColor(getResources().getColor(android.R.color.white));\n RadioButton j = new RadioButton(getApplicationContext());\n j.setText(\"less or equal\");\n j.setTextSize(TypedValue.COMPLEX_UNIT_SP, 8);\n j.setTextColor(getResources().getColor(android.R.color.white));\n RadioButton k = new RadioButton(getApplicationContext());\n k.setText(\"equal\");\n k.setTextSize(TypedValue.COMPLEX_UNIT_SP, 8);\n k.setTextColor(getResources().getColor(android.R.color.white));\n RadioButton l = new RadioButton(getApplicationContext());\n l.setText(\"greater or equal\");\n l.setTextSize(TypedValue.COMPLEX_UNIT_SP, 8);\n l.setTextColor(getResources().getColor(android.R.color.white));\n RadioButton m = new RadioButton(getApplicationContext());\n m.setText(\"greater\");\n m.setTextSize(TypedValue.COMPLEX_UNIT_SP, 8);\n m.setTextColor(getResources().getColor(android.R.color.white));\n RadioButton n = new RadioButton(getApplicationContext());\n n.setText(\"Not equal\");\n n.setTextSize(TypedValue.COMPLEX_UNIT_SP, 8);\n n.setTextColor(getResources().getColor(android.R.color.white));\n h.addView(i,0);\n h.addView(j,1);\n h.addView(k,2);\n h.addView(l,3);\n h.addView(m,4);\n h.addView(n,5);\n h.setOrientation(RadioGroup.HORIZONTAL);\n h.check(k.getId());\n\n TextView one = new TextView(getApplicationContext());\n one.setText(\"Phase \" + phaseNumber);\n one.setTextColor(getResources().getColor(android.R.color.white));\n\n TextView two = new TextView(getApplicationContext());\n two.setText(\"If the top card of\");\n two.setTextColor(getResources().getColor(android.R.color.white));\n\n TextView three = new TextView(getApplicationContext());\n three.setText(\"is\");\n three.setTextColor(getResources().getColor(android.R.color.white));\n\n TextView four = new TextView(getApplicationContext());\n four.setText(\"the top card of\");\n four.setTextColor(getResources().getColor(android.R.color.white));\n\n TextView five = new TextView(getApplicationContext());\n five.setText(\"then move a card from\");\n five.setTextColor(getResources().getColor(android.R.color.white));\n\n TextView six = new TextView(getApplicationContext());\n six.setText(\"to\");\n six.setTextColor(getResources().getColor(android.R.color.white));\n\n TextView seven = new TextView(getApplicationContext());\n seven.setText(\"chosen by\");\n seven.setTextColor(getResources().getColor(android.R.color.white));\n\n TextView eight = new TextView(getApplicationContext());\n eight.setText(\"give points\");\n eight.setTextColor(getResources().getColor(android.R.color.white));\n\n TextView nine = new TextView(getApplicationContext());\n nine.setText(\"to\");\n nine.setTextColor(getResources().getColor(android.R.color.white));\n\n LinearLayout phaseView = findViewById(R.id.phaseView);\n Integer index = phaseView.indexOfChild(addNew);\n\n phaseView.addView(one,index);\n phaseView.addView(two,index + 1);\n phaseView.addView(a,index+2);\n phaseView.addView(three, index + 3);\n phaseView.addView(h,index + 4);\n phaseView.addView(four, index + 5);\n phaseView.addView(b,index + 6);\n phaseView.addView(five,index +7);\n phaseView.addView(c,index + 8);\n phaseView.addView(six,index + 9);\n phaseView.addView(d,index + 10);\n phaseView.addView(seven, index + 11);\n phaseView.addView(e,index + 12);\n phaseView.addView(eight, index + 13);\n phaseView.addView(g,index + 14);\n phaseView.addView(nine, index + 15);\n phaseView.addView(f,index + 16);\n\n\n\n pointArray.add(g);\n compares.add(h);\n }", "title": "" }, { "docid": "b2ace06e9e3508d3f108c0db67067f2c", "score": "0.4633377", "text": "interface RadioStateCallback{\n void onRadioStateChanged(int slotId);\n }", "title": "" }, { "docid": "7ab05dc107d970b371138f842699fcad", "score": "0.46333376", "text": "public T caseRadioButton(RadioButton object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "c825316f0cd4b9327a83273061e314e9", "score": "0.4630457", "text": "public void addGroupCodeRatesScheduleButton() \n\t{\n\t\t//To check the status of \"Continued_Execution\" parameter, if it is set to NO it will skip this method, if not it will resume the execution \n\t\tif(oParameters.GetParameters(\"Continued_Execution\").equalsIgnoreCase(\"No\"))\n\t\t{\t\t\t\n\t\t\t//Adding step result to report\n\t\t\toReport.AddStepResult(\"Skipped Method :\", \"Skipped Method : \" + Thread.currentThread().getStackTrace()[1].getMethodName().toUpperCase(), \"INFO\");\n\t\t\treturn ;\n\t\t}\n\t\t\n\t\tfixed_wait_time(3);\n\t\tclick_button(\"Add Group Code Rates Schedule\", addGroupCodeRatesScheduleButton);\n\t\twaitFor(addGroupCodeRatesScheduleWindowTitle, \"Add Group Code Rates Schedule Button\");\n\n\t\tif(IsElementDisplayed(\"Add Group Code Rates Schedule Window\", addGroupCodeRatesScheduleWindowTitle))\n\t\t\toReport.AddStepResult(\"Schedule Window\", \"Add Group Code Rates Schedule Window Displayed\", \"PASS\");\n\t\telse\n\t\t\toReport.AddStepResult(\"Schedule Window \",\"Clicked on Add Group Code Rates but Add Group Code window not displayed\", \"FAIL\");\n\t}", "title": "" }, { "docid": "0a89d5787ffb3231e6380767507ce34d", "score": "0.46286592", "text": "public void onRadioButtonQuestion3Clicked(View view) {\n // Is the button now checked?\n boolean checked = ((RadioButton) view).isChecked();\n RadioGroup radioGroupQuestion3 = findViewById(R.id.radioquestion3);\n\n // Check which radio button was clicked\n switch (view.getId()) {\n case R.id.question3_optionA_radio_button:\n if (checked) {\n quizScore = quizScore + 1;\n radioGroupQuestion3.getChildAt(0).setEnabled(false);\n }\n break;\n case R.id.question3_optionB_radio_button:\n if (checked) {\n radioGroupQuestion3.getChildAt(0).setEnabled(false);\n }\n break;\n case R.id.question3_optionC_radio_button:\n if (checked) {\n radioGroupQuestion3.getChildAt(0).setEnabled(false);\n }\n break;\n case R.id.question3_optionD_radio_button:\n if (checked) {\n radioGroupQuestion3.getChildAt(0).setEnabled(false);\n }\n break;\n\n }\n\n }", "title": "" }, { "docid": "2eb0df52a1e6d4ac4777905fcf98f7d1", "score": "0.4627462", "text": "public void testAdd() {\n MockContext.initContext();\n \n RadioGroup group = new RadioGroup(\"group\");\n Radio r1 = new Radio(\"val1\");\n Radio r2 = new Radio(\"val2\");\n group.add(r1);\n group.add(r2);\n \n assertSame(group, r1.getParent());\n assertSame(group, r2.getParent());\n \n assertTrue(group.getRadioList().contains(r1));\n assertTrue(group.getRadioList().contains(r2));\n }", "title": "" }, { "docid": "3487c0c1b268b6518f91653eca1b752e", "score": "0.46265608", "text": "private void initiateAddButton() {\n buttonsAddImportHBox = new HBox(330);\n buttonsAddImportHBox.setPadding(new Insets(20));\n Button newQuestion = new Button(\"➕ Question\");\n newQuestion.setOnAction(actionEvent -> {\n MainPane.getMainPane().getTabs().add(CreateQuestionChoicesTab.getCreateQuestionChoicesTab());\n tableViewListQuestions.getSelectionModel().clearSelection();\n });\n newQuestion.setMinWidth(200);\n newQuestion.setFont(Font.font(\"Times New Roman\", FontWeight.NORMAL, 16));\n Button importQuestion = new Button(\"▲ Import Question\");\n importQuestion.setOnAction(actionEvent -> {\n MainPane.getMainPane().getTabs().add(CreateQuestionBankTab.getCreateQuestionBankTab());\n });\n importQuestion.setMinWidth(200);\n importQuestion.setFont(Font.font(\"Times New Roman\", FontWeight.NORMAL, 16));\n buttonsAddImportHBox.getChildren().addAll(newQuestion, importQuestion);\n }", "title": "" }, { "docid": "e76e994f5c9df299fd11d8c359bd31e2", "score": "0.4625498", "text": "protected void addResumeButton() {\n \taddButton(RESUME_BUTTON);\n }", "title": "" }, { "docid": "d5c77ee53a906e3b5fca3b0944c6b57c", "score": "0.46215868", "text": "public void setROIs() {\n \tthis.regions = new Vector<Shape>();\n \tShape circle = new Ellipse2D.Float(200.0f, 70.0f, 50.0f, 20.0f);\n Shape square = new Rectangle2D.Double(100,200,30, 30);\n\t\tint[] x;\n\t\tint[] y;\n\t\tx = new int[]{3,48,92,49,2};\n\t\ty = new int[]{32,31,143,169,110}; \n Shape poly = new Polygon(x,y,x.length);\n\t\tregions.add(circle);\n regions.add(square);\n regions.add(poly);\n }", "title": "" }, { "docid": "6fba9297068ef2dfd5e680ba5c78ea50", "score": "0.46212757", "text": "public void onRadioButtonClicked(View view) {\n boolean checked = ((RadioButton) view).isChecked();\n\n // Check which radio button was clicked\n switch(view.getId()) {\n case R.id.radioSuma:\n if (checked)\n operac = 1;\n break;\n case R.id.radioResta:\n if (checked)\n operac = 2;\n break;\n case R.id.radioMult:\n if (checked)\n operac = 3;\n break;\n case R.id.radioDiv:\n if (checked)\n operac = 4;\n break;\n }\n }", "title": "" }, { "docid": "0dc5b65aa89a145f18d720f811e24b78", "score": "0.4617825", "text": "@Override\n\tpublic void createControl(final Composite parent) {\n\t\t// inherit default container and name specification widgets\n\t\tsuper.createControl(parent);\n//\t\tfinal Composite composite = (Composite) this.getControl();\n//\t\tfinal Button[] radios = new Button[2];\n//\t\tfinal String[] fileTypes = new String[] { \".st\", \".sth\" };\n//\n//\t\tfinal SelectionListener RadioListener = new SelectionAdapter() {\n//\t\t\t@Override\n//\t\t\tpublic void widgetSelected(SelectionEvent e) {\n//\t\t\t\tfor (int i = 0; i < radios.length; i++) {\n//\t\t\t\t\tif (radios[i].getSelection()) {\n//\t\t\t\t\t\tSNLFilePage.this.suffix = fileTypes[i];\n//\t\t\t\t\t\tfor (int j = 0; j < i; j++) {\n//\t\t\t\t\t\t\tradios[j].setSelection(false);\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\tfor (int j = i + 1; j < radios.length; j++) {\n//\t\t\t\t\t\t\tradios[j].setSelection(false);\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\n\t\t// sample section generation group\n//\t\tnew Label(composite, SWT.NONE).setText(\"\");\n//\t\tfinal Group group = new Group(composite, SWT.NONE);\n//\t\tgroup.setLayout(new GridLayout());\n//\t\tgroup.setText(\"Choose the desired type:\");\n//\t\tgroup.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL\n//\t\t\t\t| GridData.HORIZONTAL_ALIGN_FILL));\n//\n//\t\tradios[0] = new Button(group, SWT.RADIO);\n//\t\tradios[0].setSelection(true);\n//\t\tradios[0].setText(\"Source file (*.st)\");\n//\t\tradios[0].pack();\n//\n//\t\tradios[1] = new Button(group, SWT.RADIO);\n//\t\tradios[1].setText(\"Header file (*.sth)\");\n//\t\tradios[1].pack();\n//\n//\t\tfor (final Button element : radios) {\n//\t\t\telement.pack();\n//\t\t\telement.addSelectionListener(RadioListener);\n//\t\t}\n\t\tthis.setPageComplete(this.validatePage());\n\t}", "title": "" } ]
f63131973edf36e809b56bf98b73fa30
repeated .transport.SessionSubscriptionInfoProto sessions = 1;
[ { "docid": "e3d29488e8164c590b8215eeeba97524", "score": "0.56932354", "text": "public Builder addAllSessions(\n java.lang.Iterable<? extends org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto> values) {\n if (sessionsBuilder_ == null) {\n ensureSessionsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, sessions_);\n onChanged();\n } else {\n sessionsBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" } ]
[ { "docid": "163e3b180499a3ee093c24b5de7f7e74", "score": "0.73865277", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto getSessions(int index);", "title": "" }, { "docid": "cf4c7991da2782bb8d11940472f4b4cc", "score": "0.7269851", "text": "java.util.List<? extends org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProtoOrBuilder> \n getSessionsOrBuilderList();", "title": "" }, { "docid": "33026376f08f85a772f3037c3a2d33a1", "score": "0.7040596", "text": "java.util.List<org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto> \n getSessionsList();", "title": "" }, { "docid": "fca35fc17a9eaf458f11663910747384", "score": "0.7011564", "text": "public java.util.List<? extends org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProtoOrBuilder> \n getSessionsOrBuilderList() {\n return sessions_;\n }", "title": "" }, { "docid": "7ce4883f4c067864666522778d4905b2", "score": "0.7011429", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProtoOrBuilder getSessionInfoOrBuilder();", "title": "" }, { "docid": "7ce4883f4c067864666522778d4905b2", "score": "0.7011429", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProtoOrBuilder getSessionInfoOrBuilder();", "title": "" }, { "docid": "dd06a02c894bffe8573ad8c6c818ddea", "score": "0.69559395", "text": "private SessionSubscriptionInfoProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "f5553b2d5210a68450336d5ef943d765", "score": "0.6871649", "text": "public java.util.List<org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto> getSessionsList() {\n return sessions_;\n }", "title": "" }, { "docid": "8ee22da854502f71dfb2369f8e92dc5e", "score": "0.68634945", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProtoOrBuilder getSessionsOrBuilder(\n int index) {\n return sessions_.get(index);\n }", "title": "" }, { "docid": "827e519a3e211c25edc7f07c8b88632f", "score": "0.6822538", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProtoOrBuilder getSessionsOrBuilder(\n int index);", "title": "" }, { "docid": "81cd3124c5b488d6496db32ed8d428ab", "score": "0.68175423", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProtoOrBuilder getSessionsOrBuilder(\n int index) {\n if (sessionsBuilder_ == null) {\n return sessions_.get(index); } else {\n return sessionsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "eca458e5407d164dc3f9546e66e88d2f", "score": "0.67975", "text": "public java.util.List<? extends org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProtoOrBuilder> \n getSessionsOrBuilderList() {\n if (sessionsBuilder_ != null) {\n return sessionsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(sessions_);\n }\n }", "title": "" }, { "docid": "2f2d33803c078e9d4f4a9b540537fc09", "score": "0.67900234", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto getSessions(int index) {\n return sessions_.get(index);\n }", "title": "" }, { "docid": "21a03a2624850919de7db97b0e41db6d", "score": "0.6782851", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto getSessions(int index) {\n if (sessionsBuilder_ == null) {\n return sessions_.get(index);\n } else {\n return sessionsBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "e50c9b5523a2c6bf501730e0382c5c0c", "score": "0.67381173", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto getSessionInfo();", "title": "" }, { "docid": "e50c9b5523a2c6bf501730e0382c5c0c", "score": "0.67381173", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto getSessionInfo();", "title": "" }, { "docid": "d100a409b3e9d39ea9e655ba41de5f9a", "score": "0.6587283", "text": "public java.util.List<org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto> getSessionsList() {\n if (sessionsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(sessions_);\n } else {\n return sessionsBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "ece4bed4a80f10e6c873b61ef4a4bb07", "score": "0.64550257", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto.Builder addSessionsBuilder() {\n return getSessionsFieldBuilder().addBuilder(\n org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto.getDefaultInstance());\n }", "title": "" }, { "docid": "e07eed22c86627fbb5e8401dce8b8630", "score": "0.62220895", "text": "private SessionInfoProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "ede2fd9939862c4bdb148e30b03d3579", "score": "0.6177447", "text": "public Builder addSessions(org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto value) {\n if (sessionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSessionsIsMutable();\n sessions_.add(value);\n onChanged();\n } else {\n sessionsBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "883db4e038eaf68a9f38e84f392be099", "score": "0.6058099", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionEventMsgOrBuilder getSessionEventOrBuilder();", "title": "" }, { "docid": "e4a1232523488eb22828ac55ebe7d697", "score": "0.6031994", "text": "public Builder setSessions(\n int index, org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto value) {\n if (sessionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSessionsIsMutable();\n sessions_.set(index, value);\n onChanged();\n } else {\n sessionsBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "b70953cddf45c85cf6ad10b666f43ce2", "score": "0.6009981", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProtoOrBuilder getSessionInfoOrBuilder() {\n return getSessionInfo();\n }", "title": "" }, { "docid": "b70953cddf45c85cf6ad10b666f43ce2", "score": "0.6009981", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProtoOrBuilder getSessionInfoOrBuilder() {\n return getSessionInfo();\n }", "title": "" }, { "docid": "db604ce80958c957c520f29cc2b78164", "score": "0.5996603", "text": "org.thingsboard.server.gen.transport.TransportProtos.SubscriptionInfoProtoOrBuilder getSubscriptionInfoOrBuilder();", "title": "" }, { "docid": "db604ce80958c957c520f29cc2b78164", "score": "0.5996603", "text": "org.thingsboard.server.gen.transport.TransportProtos.SubscriptionInfoProtoOrBuilder getSubscriptionInfoOrBuilder();", "title": "" }, { "docid": "cf07fb74acc01ab0828ef11216e68eef", "score": "0.5968819", "text": "io.grpc.xds.shaded.envoy.api.v2.auth.TlsSessionTicketKeysOrBuilder getSessionTicketKeysOrBuilder();", "title": "" }, { "docid": "b0011440bd5e038297f1912743095b42", "score": "0.5856787", "text": "public java.util.List<org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto.Builder> \n getSessionsBuilderList() {\n return getSessionsFieldBuilder().getBuilderList();\n }", "title": "" }, { "docid": "1ca14b5eec5b0465e3a022437471ac41", "score": "0.58542126", "text": "org.thingsboard.server.gen.transport.TransportProtos.SubscriptionInfoProto getSubscriptionInfo();", "title": "" }, { "docid": "1ca14b5eec5b0465e3a022437471ac41", "score": "0.58542126", "text": "org.thingsboard.server.gen.transport.TransportProtos.SubscriptionInfoProto getSubscriptionInfo();", "title": "" }, { "docid": "096363b8ba131f34e515a99a80f9fb7e", "score": "0.58130807", "text": "public Builder addSessions(\n int index, org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto value) {\n if (sessionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSessionsIsMutable();\n sessions_.add(index, value);\n onChanged();\n } else {\n sessionsBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "a44424930a004b5264d921abbdc77822", "score": "0.5740272", "text": "public interface ZenlyProto$TrackingContextSubscribeStreamRequestOrBuilder extends MessageLiteOrBuilder {\n C7962b getGroup();\n\n C7964c getMode();\n\n int getModeValue();\n\n String getSelected();\n\n ByteString getSelectedBytes();\n\n C7272d0 getViewport();\n\n boolean hasGroup();\n\n boolean hasViewport();\n}", "title": "" }, { "docid": "5db2cfb5d02f152bdb9ba42622dae0c7", "score": "0.572376", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto.Builder addSessionsBuilder(\n int index) {\n return getSessionsFieldBuilder().addBuilder(\n index, org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto.getDefaultInstance());\n }", "title": "" }, { "docid": "04a6a1cff9948703d9ff447c53567236", "score": "0.57122636", "text": "@JsonSerialize(using = SessionSerializer.class)\npublic interface Session {\n PacketFlow getInbound();\n\n PacketFlow getOutbound();\n}", "title": "" }, { "docid": "2f6a11d45d4a90b803794d3ed7e95a6b", "score": "0.5677375", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionSubscriptionInfoProto.Builder getSessionsBuilder(\n int index) {\n return getSessionsFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "a5bd41bd7094c00c8799bde91cbc310b", "score": "0.5641256", "text": "public Map<Token, StreamItem> getClientSessionStreams()\n {\n return _clientSessionStreams;\n }", "title": "" }, { "docid": "436071d2a9538f87383e22bc030f100e", "score": "0.5638167", "text": "@Override\n public void onSessionsUpdate(List<Session> sessions) {\n }", "title": "" }, { "docid": "05489d57e9771ba55bb8d3306b282033", "score": "0.56121755", "text": "io.grpc.xds.shaded.envoy.api.v2.auth.TlsSessionTicketKeys getSessionTicketKeys();", "title": "" }, { "docid": "820d34f1b3397c11ef7930564d4269d3", "score": "0.55762523", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionEventMsg getSessionEvent();", "title": "" }, { "docid": "7a5b01a607477e69e12546db9815d629", "score": "0.5573627", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionType getSessionType();", "title": "" }, { "docid": "e3d52335e115309ee2f7a20593d9ad6b", "score": "0.55636907", "text": "void onProtocolSessionStarted(SessionType sessionType, byte sessionID, byte version, String correlationID, int hashID, boolean isEncrypted);", "title": "" }, { "docid": "278248fdfbb5b7fa40c7b1487a325c00", "score": "0.5539273", "text": "public int getSessions() {\n return sessions;\n }", "title": "" }, { "docid": "15dc3bfae5e9c578f0367e8f5b39737e", "score": "0.55276537", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionCloseNotificationProtoOrBuilder getSessionCloseNotificationOrBuilder();", "title": "" }, { "docid": "83f5dc662366e5c3851ac6167644900e", "score": "0.5518402", "text": "private SessionType(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "aaf326a0684968fc4d8a408c65f06d10", "score": "0.54961014", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto getSessionInfo() {\n return sessionInfo_ == null ? org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto.getDefaultInstance() : sessionInfo_;\n }", "title": "" }, { "docid": "aaf326a0684968fc4d8a408c65f06d10", "score": "0.54961014", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto getSessionInfo() {\n return sessionInfo_ == null ? org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto.getDefaultInstance() : sessionInfo_;\n }", "title": "" }, { "docid": "879534b6ca3d49623c56732c46356eaf", "score": "0.5486798", "text": "public SessionListen() {\r\n this.sessionCount = 0;\r\n }", "title": "" }, { "docid": "b2e1f6ba91a06c73682b18b164374531", "score": "0.5449738", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProtoOrBuilder getSessionInfoOrBuilder() {\n if (sessionInfoBuilder_ != null) {\n return sessionInfoBuilder_.getMessageOrBuilder();\n } else {\n return sessionInfo_ == null ?\n org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto.getDefaultInstance() : sessionInfo_;\n }\n }", "title": "" }, { "docid": "b2e1f6ba91a06c73682b18b164374531", "score": "0.5449738", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProtoOrBuilder getSessionInfoOrBuilder() {\n if (sessionInfoBuilder_ != null) {\n return sessionInfoBuilder_.getMessageOrBuilder();\n } else {\n return sessionInfo_ == null ?\n org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto.getDefaultInstance() : sessionInfo_;\n }\n }", "title": "" }, { "docid": "ea1c4928ac3aafbb70d82ba5840ee2ca", "score": "0.5427962", "text": "com.godaddy.asherah.grpc.AppEncryptionProtos.GetSessionOrBuilder getGetSessionOrBuilder();", "title": "" }, { "docid": "2ecd24318f8c0a28c38f49c4c9c939a4", "score": "0.5423168", "text": "public SmqttSessionRecord() {\n super(SmqttSession.SMQTT_SESSION);\n }", "title": "" }, { "docid": "a510a454ee21c6b88276e2c1137de5cb", "score": "0.5418207", "text": "private SessionResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "1caf9afdf9b400c302859f8bc8f65995", "score": "0.54123586", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto getSessionInfo() {\n if (sessionInfoBuilder_ == null) {\n return sessionInfo_ == null ? org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto.getDefaultInstance() : sessionInfo_;\n } else {\n return sessionInfoBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1caf9afdf9b400c302859f8bc8f65995", "score": "0.54123586", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto getSessionInfo() {\n if (sessionInfoBuilder_ == null) {\n return sessionInfo_ == null ? org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto.getDefaultInstance() : sessionInfo_;\n } else {\n return sessionInfoBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "3b2965a383478948326b5ab6f1d558f9", "score": "0.539678", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SubscriptionInfoProtoOrBuilder getSubscriptionInfoOrBuilder() {\n return getSubscriptionInfo();\n }", "title": "" }, { "docid": "3b2965a383478948326b5ab6f1d558f9", "score": "0.539678", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SubscriptionInfoProtoOrBuilder getSubscriptionInfoOrBuilder() {\n return getSubscriptionInfo();\n }", "title": "" }, { "docid": "5af8b7e8e116052059d6da8a98fdf300", "score": "0.53879076", "text": "public interface SessionProxyFactory\n{\n SessionProxy make(\n int sessionBufferSize,\n GatewayPublication gatewayPublication,\n SessionIdStrategy sessionIdStrategy,\n SessionCustomisationStrategy customisationStrategy,\n EpochNanoClock clock,\n long connectionId,\n int libraryId,\n ErrorHandler errorHandler,\n EpochFractionFormat epochFractionPrecision);\n}", "title": "" }, { "docid": "038ea55b8dfda8de371a364807b721df", "score": "0.5382592", "text": "public static synchronized int SessionCount() { return mapSessionPlayer.size();}", "title": "" }, { "docid": "66317fda38b023f251f48ce54e670cf6", "score": "0.5340371", "text": "@Override\n public void initSession(Node node, int protocol) {\n sessionID ++;\n EDSimulator.add(0, new OnlineSessionFollowerActiveThreadMessage(sessionID), node, protocol);\n }", "title": "" }, { "docid": "4f1eef8afecbfa2b94cc6fc7a29bc62c", "score": "0.53383476", "text": "public Builder setSessionInfo(org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto value) {\n if (sessionInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n sessionInfo_ = value;\n onChanged();\n } else {\n sessionInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "4f1eef8afecbfa2b94cc6fc7a29bc62c", "score": "0.53383476", "text": "public Builder setSessionInfo(org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto value) {\n if (sessionInfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n sessionInfo_ = value;\n onChanged();\n } else {\n sessionInfoBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "3456cd016e68801c247be17c394c8c7d", "score": "0.5330439", "text": "public OauthSessionsRecord() {\n super(OauthSessions.OAUTH_SESSIONS);\n }", "title": "" }, { "docid": "0011a6293d4df7d568a3740a509298ce", "score": "0.53242165", "text": "@Test\n\tvoid onNewSessionMulti() {\n\t\tString sessionId = UUID.randomUUID().toString();\n\t\tthis.resolver.setSessionId(this.request, this.response, sessionId);\n\t\tthis.resolver.setSessionId(this.request, this.response, sessionId);\n\t\tassertThat(this.response.getHeaders(HEADER_X_AUTH_TOKEN).size()).isEqualTo(1);\n\t\tassertThat(this.response.getHeaders(HEADER_X_AUTH_TOKEN)).containsOnly(sessionId);\n\t}", "title": "" }, { "docid": "5612aa7787b49a1ed6370eb94ea9c18a", "score": "0.528365", "text": "Collection<HttpSession> getAllSessions();", "title": "" }, { "docid": "832360eaeb8d37cc096aea3eff814492", "score": "0.5276922", "text": "int countMessageBySessionId(ImMessageSessionParam param);", "title": "" }, { "docid": "65830c07a4078a245ac9c8c52e5d1af5", "score": "0.5269233", "text": "long getLocalSessionCount();", "title": "" }, { "docid": "b8dedb49d2fc2fac728f7fe653aa229b", "score": "0.5265781", "text": "public interface SessionManager {\n\n public class ParticipantId {\n\n }\n\n public void setSession(ServerAccountData profile);\n\n public String getSessionId();\n\n public String getTransientSessionId();\n\n\n /**\n * Remove the session. Session Cookie should be\n * delete here.\n */\n public void removeSession();\n\n boolean isSession();\n\n public String getWaveDomain();\n\n String getUserId();\n}", "title": "" }, { "docid": "d61cb0cb8fd981d5f466527ac5b8be98", "score": "0.52654254", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionEvent getEvent();", "title": "" }, { "docid": "3517bfcdff2caf362a4cd856ecd208c7", "score": "0.52628386", "text": "int getClientSession();", "title": "" }, { "docid": "c0e0798968d7772c03c6dbe32acc1ac1", "score": "0.5255589", "text": "private SubscriptionInfoProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "675a3fe8a58bf5bf0891dcba9c9a0877", "score": "0.5253376", "text": "private SessionEventMsg(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "81c6ec3f57ee77610b5a6add0de29f31", "score": "0.52403957", "text": "com.google.protobuf.ByteString\n getSubscriptionBytes();", "title": "" }, { "docid": "07f42c96b4aaec71075416a467a7e20e", "score": "0.52276725", "text": "private Session(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "495c041f3d410b109b16ece64b7adfd4", "score": "0.52076304", "text": "org.thingsboard.server.gen.transport.TransportProtos.SessionCloseNotificationProto getSessionCloseNotification();", "title": "" }, { "docid": "39869dc8bf747c1350d2d842bd3b705b", "score": "0.5199259", "text": "@java.lang.Override\n public boolean hasNewSession() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "title": "" }, { "docid": "616493a0b033b6418df770d5049bf829", "score": "0.5179486", "text": "public SessionIds() {\n }", "title": "" }, { "docid": "1cc50e28df874bde174dc1c318683a96", "score": "0.51708627", "text": "public interface ISessionToken {\n\n String PARTITION_KEY_RANGE_SESSION_SEPARATOR = \":\";\n\n /**\n * Returns true if this instance of session token is valid with respect to <code>other</code> session token.\n * This is used to decide if the client can accept server's response (based on comparison between client's\n * and server's session token)\n *\n * @param other Session token to validate\n * @return true if this instance of session token is valid with respect to <code>other</code> session token;\n * false otherwise\n */\n boolean isValid(ISessionToken other) throws DocumentClientException;\n\n /**\n * Returns a new instance of session token obtained by merging this session token with\n * the given session token <code>other</code>.\n *\n * Merge is commutative operation, so a.Merge(b).Equals(b.Merge(a))\n *\n * @param other Other session token to merge\n * @return Instance of merged session token\n */\n ISessionToken merge(ISessionToken other) throws DocumentClientException;\n\n long getLSN();\n\n String convertToString();\n}", "title": "" }, { "docid": "3e37f0f51b4ae0ac3cae4cdce508b4c9", "score": "0.5158424", "text": "@JsonGetter(\"sessions\")\r\n public List<String> getSessions() {\r\n return sessions;\r\n }", "title": "" }, { "docid": "f011e75f8bbd985c7a704a7151ae2d0e", "score": "0.5157035", "text": "public Map<String, String> buildSessionApi() throws ScribException\n\t{\n\t\tthis.job.verbosePrintln(\"\\n[param-core] Running \" + CBEndpointApiGenerator3.class + \" for \" + this.proto + \"@\" + this.self);\n\n\t\tMap<String, String> res = new HashMap<>();\n\t\tres.putAll(new SessionApiGenerator(this.job, this.proto).generateApi());\n\t\tres.putAll(buildEndpointClass());\n\t\treturn res;\n\t}", "title": "" }, { "docid": "d79dbd7b1452620397a2598fed875cb8", "score": "0.5149858", "text": "public static synchronized Set<Session> getSessions(){ return mapSessionPlayer.keySet();}", "title": "" }, { "docid": "045ff78868df6289a5c0aa4001de594d", "score": "0.5144071", "text": "void onProtocolSessionEnded(SessionType sessionType, byte sessionID, String correlationID /*, String info, Exception ex*/);", "title": "" }, { "docid": "640043bb2b047502a21291be21b475a8", "score": "0.5137697", "text": "com.godaddy.asherah.grpc.AppEncryptionProtos.GetSession getGetSession();", "title": "" }, { "docid": "14b247661535f9f1fdb79440f328f72a", "score": "0.5132132", "text": "@Override\n public long getSessionLength() {\n return sessionLength;\n }", "title": "" }, { "docid": "94fdcd75a49714a1fffe352b999542f6", "score": "0.5120551", "text": "public int getNumSessions() {\n\t\treturn sessionNum;\n\t}", "title": "" }, { "docid": "3acda62a6a45ea2dff0b6e6114658bf4", "score": "0.51201254", "text": "private DeviceSessionsCacheEntry(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "c7f67884cf7acccbb285d16d5c726006", "score": "0.5118312", "text": "@Override\n\tpublic void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) {\n\t}", "title": "" }, { "docid": "04e67d99f0f3c7f625485db62f6ceb48", "score": "0.51151043", "text": "private CMsgSteamDatagramGameserverSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "abdb7934f249d185fd1de3bffdd26627", "score": "0.51022506", "text": "@java.lang.Override\n public boolean hasClientSession() {\n return ((bitField0_ & 0x00000001) != 0);\n }", "title": "" }, { "docid": "3b79d18d26671588b7331fe94ac992c9", "score": "0.5102137", "text": "public Builder mergeSessionInfo(org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto value) {\n if (sessionInfoBuilder_ == null) {\n if (sessionInfo_ != null) {\n sessionInfo_ =\n org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto.newBuilder(sessionInfo_).mergeFrom(value).buildPartial();\n } else {\n sessionInfo_ = value;\n }\n onChanged();\n } else {\n sessionInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "3b79d18d26671588b7331fe94ac992c9", "score": "0.5102137", "text": "public Builder mergeSessionInfo(org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto value) {\n if (sessionInfoBuilder_ == null) {\n if (sessionInfo_ != null) {\n sessionInfo_ =\n org.thingsboard.server.gen.transport.TransportProtos.SessionInfoProto.newBuilder(sessionInfo_).mergeFrom(value).buildPartial();\n } else {\n sessionInfo_ = value;\n }\n onChanged();\n } else {\n sessionInfoBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "bb6cdc40421a56e2f6e7b8884d8b3457", "score": "0.50988543", "text": "WebSocketSessionStatistics getWebSocketSessionStatistics() {\n\t\treturn server.getWebSocketSessionStatistics();\n\t}", "title": "" }, { "docid": "30acf72f01ca5c66e6d5f03feaf46d39", "score": "0.50986224", "text": "@JsonSetter(\"sessions\")\r\n public void setSessions(List<String> sessions) {\r\n this.sessions = sessions;\r\n }", "title": "" }, { "docid": "4373112d1c5043fd5933d57ecb78ddb4", "score": "0.5097573", "text": "@java.lang.Override\n public boolean hasNewSession() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "title": "" }, { "docid": "0f1ce2fc2922cac84168138c77a8e327", "score": "0.5096978", "text": "private SessionRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "2a6b0dc8b11e4a7adf9b419fb6edadc5", "score": "0.50728416", "text": "public org.thingsboard.server.gen.transport.TransportProtos.SessionEventMsgOrBuilder getSessionEventOrBuilder() {\n return getSessionEvent();\n }", "title": "" }, { "docid": "c455a7ae9cd447e2c83605ff19f8c6e6", "score": "0.506392", "text": "ImmutableMap<ConnectPoint, SubscriberAndDeviceInformation> getProgSubs();", "title": "" }, { "docid": "98abcc3587a127a92495ee6a98ed8879", "score": "0.5061612", "text": "public int getSessionsCount() {\n return sessions_.size();\n }", "title": "" }, { "docid": "0260d37dfb0715695a0be0dd2be5c3b5", "score": "0.50558823", "text": "public void collectSessionEvents() {}", "title": "" }, { "docid": "9987c12f68001218a66c1d6d12bbfff0", "score": "0.5043347", "text": "com.google.protobuf.ByteString\n getSessionIdBytes();", "title": "" }, { "docid": "9987c12f68001218a66c1d6d12bbfff0", "score": "0.5043347", "text": "com.google.protobuf.ByteString\n getSessionIdBytes();", "title": "" } ]
00759e5fa5ab3cec21eb7e1a4948b0e3
Removes the element at the top of this stack. Returns the element removed, or null if there was no such element.
[ { "docid": "81e3a158dc85dddc42572f078d0deec1", "score": "0.66661876", "text": "public E pop()\n {\n return stack.removeFront();\n }", "title": "" } ]
[ { "docid": "5fa37c19f80c7ffb65116592a61ac8ba", "score": "0.75996", "text": "public T pop() {\n if (this.size() == 0) {\n return null;\n }\n T result = this.stack.remove(this.size() - 1);\n return result;\n }", "title": "" }, { "docid": "92043193099c111c5b9feabf23bb2550", "score": "0.7495828", "text": "public T popElement() {\n\t\tNodo<T> aux = head;\n\t\tT topElement = null;\n\t\t\n\t\tif(aux != null) {\n\t\t\ttopElement = aux.getDato();\n\t\t\taux = aux.getNext();\n\t\t\t\n\t\t\treturn topElement;\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a2c2ba488a45e73ffe16ca18718928d5", "score": "0.7434636", "text": "public E pop()\n {\n if (isEmpty()) return null;\n E temp = items[top];\n items[top] = null;\n top--;\n return temp;\n }", "title": "" }, { "docid": "23df6bbb64391e8fabd0e7b6a3904831", "score": "0.74072474", "text": "public T pop() {\n if (top_of_stack == 0) {\n System.out.println(\"Nothing to remove. Stack is empty\");\n return null;\n }\n System.out.println(\"Removed: \" + stack[--top_of_stack]);\n return stack[top_of_stack];\n }", "title": "" }, { "docid": "58c0f7f94aafae48f95d442d722c9dbb", "score": "0.7345575", "text": "public T peek()\r\n\t{\r\n\t\tT removed = null;\t\t\r\n\t\tif (topOfStack != null)\r\n\t\t{\r\n\t\t\tremoved = topOfStack.getValue();\r\n\t\t}\r\n\t\treturn removed;\t\t\r\n\t}", "title": "" }, { "docid": "64ab6e13ffc74b0b5329b23c5ceba2d1", "score": "0.7330735", "text": "public T pop() {\n return top > -1 ? stackArray[top--] : null;\n }", "title": "" }, { "docid": "52eef7d3f0a16c8fb7bdb04bcc8ead5c", "score": "0.729577", "text": "public typeA pop() {\n\t\tif (!stackOne.isEmpty()) {\n\t\t\treturn stackOne.remove(stackOne.size()-1);\n\t\t}\n\t\telse {\n\t\t\treturn null;\t\n\t\t}\n\t}", "title": "" }, { "docid": "1344d66d08b63440e13f4d93d006f0a9", "score": "0.7234054", "text": "public Object pop() {\n\t\t\n\t\t//Check if the stack is empty before trying to remove anything, if it is throw an exception\n\t\tif(isEmpty()) {\n\t\t\tthrow new EmptyStackException();\n\t\t}\n\t\t\n\t\t//If stack is not empty, then decrement top and remove the object, then return the object\n\t\ttop -= 1;\n\t\tObject obj = stack[top];\n\t\tstack[top] = null;\n\t\treturn obj;\n\t\t\n\t}", "title": "" }, { "docid": "f623af4982cae083da8e7ec8330e8462", "score": "0.7168188", "text": "public T pop() {\n \n if( empty() ) {\n throw new EmptyStackException( \"Can not delete an element from an empty stack.\" );\n } else {\n T retVal = s[top - 1];\n s[top - 1] = null;\n top--;\n return retVal;\n }\n }", "title": "" }, { "docid": "ea8354edbb16411465ddf6a1fc9afcb9", "score": "0.7156661", "text": "public Object pop() {\n\t\tif (!isEmpty()) {\n\t\t\treturn collection.remove(collection.size() -1);\n\t\t} else {\n\t\t\tSystem.out.println(\"stack is empty\");\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "a003fc07f2467b3dd8bb5d1ce23ce885", "score": "0.7142574", "text": "public Object pop()\r\n\t{\r\n\t\t//Returns and removes object from top of stack.\r\n\t\tif(top != null) \r\n\t\t{\r\n\t\t\tNode n = top;\r\n\t\t\ttop = top.getNext();\r\n\t\t\treturn n.getItem();\r\n\t\t}\r\n\t\t//Returns null if stack empty.\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "16754dc5794fb70d84a9ed2603e5535f", "score": "0.7130086", "text": "public E removeFirst() {\n if(isEmpty()) {\n return ((E)null);\n } else {\n E item = front.next.item;\n front.next.next.prev = front;\n front.next = front.next.next; \n currentSize--;\n return item;\n }\n }", "title": "" }, { "docid": "5bac639f595c5e4cf9a9704555a815dc", "score": "0.71290284", "text": "public Object remove() {\n assert size > 0;\n\n Object result = peek();\n elements[getIndex(head + size - 1)] = null;\n size--;\n return result;\n }", "title": "" }, { "docid": "ce444c4e2a5dba4a613bfd9669d38ad3", "score": "0.71242666", "text": "public T pop() \r\n\t{\r\n\t\tT removed = null;\t\r\n\t\t// if the stack is not empty\r\n\t\tif (topOfStack != null)\r\n\t\t{\r\n\t\t\tremoved = topOfStack.getValue();\r\n\t\t\t\r\n\t\t\ttopOfStack = topOfStack.getNext(); // move the top of stack towards the bottom\r\n\t\t\tsize--; //\r\n\t\t\t\r\n\t\t\t// if there is still items left in the stack\r\n\t\t\tif (topOfStack != null) \r\n\t\t\t\ttopOfStack.setPrev(null);\r\n\t\t}\r\n\t\treturn removed;\r\n\t}", "title": "" }, { "docid": "b344b3c94fe06b8329a1ca34fade7049", "score": "0.71075016", "text": "public T pop() throws IllegalArgumentException {\n\t\tif (isEmpty()) {\n\t\t\tthrow new IllegalArgumentException(\"Accessing non existent item.\");\n\t\t}\n\t\t// Remove the top item in the SinglyLinkedStack and decrease the number of items\n\t\t// in the LinkedListStack by one.\n\t\tT topElement = top.data;\n\t\ttop = top.next;\n\t\tnumItems--;\n\t\n\t\t// Return the removed item.\n\t\treturn topElement;\n\t}", "title": "" }, { "docid": "a61ec1c9617f699cf6b46919b16e02cb", "score": "0.7092103", "text": "public E pop(){\n\t\tif(stack.isEmpty()){\n\t\t\treturn null;\n\t\t}\n\t E value = stack.peek();\n\t\tif(value == minStack.peek()){\n\t\t\tminStack.pop();\n\t\t}\n\t\treturn stack.pop();\n\t}", "title": "" }, { "docid": "47093249dd735174b434db2ffa84d6df", "score": "0.7089994", "text": "public E pop() {\r\n if(this.topOfStack == -1){\r\n return null;\r\n }\r\n this.topOfStack--;\r\n return this.stack[this.topOfStack + 1];\r\n }", "title": "" }, { "docid": "b3312de93fa0ace60132413623aac4bc", "score": "0.70582074", "text": "public Object pop(){\n\t\tObject item = peek();\n\t\ttop--;\n\t\treturn item;\n\t}", "title": "" }, { "docid": "c13217d1fc20cd567a62bba5f7bcdfa1", "score": "0.70409834", "text": "public T remove() {\n\n if (this.isEmpty()) {\n throw new EmptyStackException();\n }\n\n return this.contents.pop();\n }", "title": "" }, { "docid": "de6300eea6765ee6a2426ac82250c0d9", "score": "0.70326966", "text": "public Item removeFirst() {\n checkNotEmpty();\n final Item item = top.getItem();\n top = top.linkForward;\n if (top != null) {\n top.linkBackward = null;\n } else {\n last = null;\n }\n size--;\n return item;\n }", "title": "" }, { "docid": "4d2eba7c143bfde255020e0db836e930", "score": "0.70266086", "text": "public E pop() {\n\t\tif(elements.isEmpty()) { // if stack is empty\n\t\t\tthrow new NoSuchElementException(\"Stack is empty, cannot pop\");\n\t\t}\n\t\t\n\t\t// remove and return top element of Stack\n\t\treturn elements.remove(elements.size() - 1);\n\t}", "title": "" }, { "docid": "8947e7a477b064792ac8ca7cb9a1cf42", "score": "0.7024799", "text": "public T pop()\n {\n if (this.isEmpty())\n return null;\n Node<T> temp;\n temp = top;\n if (top !=null)\n {\n top=top.next;\n temp.next = null;\n }\n size--;\n return temp.data;\n }", "title": "" }, { "docid": "292cf8ef52c979ca4ceaf8495fed568a", "score": "0.6999484", "text": "public T pop() {\n\t\tif (isEmpty()) {\n\t\t\tSystem.out.println(\"cannot perform pop operation on the stack it is empty.\");\n\t\t\treturn null;\n\t\t} else {\n\t\t\tT data = (T) stack[--top];\n\t\t\tstack[top] = null;\n\t\t\treturn data;\n\t\t}\n\t}", "title": "" }, { "docid": "641a0e72773ddd2cbd000c20903a9a76", "score": "0.6994444", "text": "public E removeFirst(){\n\t\tif(isEmpty()) return null;\n\t\tE answer = head.getElement();\n\t\thead = head.getNextNode();\n\t\tsize--;\n\t\tif(size ==0){\n\t\t\ttail = null;\n\t\t}\n\t\treturn answer;\n\t}", "title": "" }, { "docid": "f4d5e4a96b08a83d88a493a5a1006f0c", "score": "0.6985149", "text": "public E pop() {\n\t\tif(isEmpty()) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\tE item = data[t];\n\t\t\tdata[t--] = null;\n\t\t\treturn item;\n\t\t}\n\t}", "title": "" }, { "docid": "20e8695a05c998538224f37beb9b06c2", "score": "0.6963042", "text": "public Object remove() {\n Object x = peek();\n elements[(head + (--size)) % elements.length] = null;\n return x;\n }", "title": "" }, { "docid": "428592d4623f655603ef63f29157935a", "score": "0.6935936", "text": "public E removeFirst() {\n if (isEmpty()) return null; // nothing to remove\n E answer = head.getElement();\n head = head.getNext(); // will become null if list had only one node\n size--;\n if (size == 0)\n tail = null; // special case as list is now empty\n return answer;\n }", "title": "" }, { "docid": "39da07228a02af819df3864e9952428a", "score": "0.6882529", "text": "public T removeFront() {\n return null;\n }", "title": "" }, { "docid": "187d3bf0899e6a151bc7adee40a3d3e5", "score": "0.68760467", "text": "public V pop() {\n try {\n // get first item\n V item = list.get(0);\n // remove first item\n list.remove(0);\n // return first item\n return item;\n } catch (NullPointerException ex) {\n System.out.println(\"Exception\" + ex);\n return null;\n }\n }", "title": "" }, { "docid": "195e383935b4492cf6fdfcd7b81d0438", "score": "0.6871803", "text": "public Object pop() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5ae810111a9b7888a2327a55c047975d", "score": "0.6867335", "text": "public int top() {\n int ele = this.pop();\n this.push(ele);\n return ele;\n }", "title": "" }, { "docid": "ad8f70f8b80327b1422a24a0015dcbe0", "score": "0.6864168", "text": "ElementType top() throws EmptyStackException;", "title": "" }, { "docid": "2b31feba2f0a5fc8fcadc1eef27b40e2", "score": "0.6861782", "text": "public T pop(){\n if (top == null) {\n System.out.print(\"\\nStack Empty\");\n return null;\n }\n T popItem = top.data;\n top = top.next;\n items--;\n\n return popItem;\n\n }", "title": "" }, { "docid": "d09e53ce08ef3053137bfd2fcb6fb800", "score": "0.6845442", "text": "public T removeFirst( ) {\n if (isEmpty( )) \n return null; // nothing to remove\n T answer = head.getElement( );\n head = head.getNext( ); // will become null if list had only one node\n size--;\n if (size == 0)\n tail = null; // special case as list is now empty\n return answer;\n }", "title": "" }, { "docid": "21100bc287b9942ddf3b46a935968185", "score": "0.68354404", "text": "public E top()\n {\n if (isEmpty()) return null;\n return items[top];\n }", "title": "" }, { "docid": "eb3321fd5e0d5d41e07b244ab7348cc8", "score": "0.68336254", "text": "public Object pop() {\r\n Object data = new Object();\r\n if (isEmpty()) {\r\n return data;\r\n }\r\n data = thetop.getElement();\r\n this.thetop = thetop.getNext();\r\n return data;\r\n }", "title": "" }, { "docid": "72de134bd3ad05bfac5a28b77291b9fc", "score": "0.68085927", "text": "public T removeFirst() {\n if (size == 0) {\n return null;\n }\n size = size - 1;\n Node first = sentinel.next;\n sentinel.next = first.next;\n first.next.prev = sentinel;\n return first.item;\n }", "title": "" }, { "docid": "d907282c140a978ea1c35f4325e956d6", "score": "0.6808364", "text": "public E pop() {\n E result = null;\n if (this.first != null) {\n result = this.first.item;\n if (this.first.next != null) {\n this.first = this.first.next;\n } else {\n this.first = null;\n }\n }\n return result;\n }", "title": "" }, { "docid": "458f8852d1af85b7f1066df4e762330e", "score": "0.6802104", "text": "public Node remove()\n {\n if (!isEmpty())\n {\n Node root = heapArray[0];\n heapArray[0] = heapArray[--curSize];\n trickleDown(0);\n\n return root;\n }\n return null;\n }", "title": "" }, { "docid": "1fc66ae2484f087426423349b9b7b7a1", "score": "0.67947525", "text": "public Object pop() {\n\t\treturn stack.remove(stack.size() - 1);\n\t}", "title": "" }, { "docid": "312061743e19b3f63339db31e58ad58f", "score": "0.6791758", "text": "public E removeFirst(){\n if (isEmpty()) return null;\n return remove(header.getNext());\n }", "title": "" }, { "docid": "08efdcf02832089c9b79970551c9f971", "score": "0.6782406", "text": "@Override\r\n\tpublic T pop() {\n\t\tif (isEmpty())\r\n\t\t\tthrow new EmptyCollectionException(\"Stack\");\r\n\t\ttop--;\r\n\t\tT result=stack[top];\r\n\t\tstack[top]=null;\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "e8b0d0f2a14afd26bbf0dd26c37abed2", "score": "0.67817456", "text": "public T pop(){\n if(isEmpty())\n throw new EmptyStackException();\n return list.removeLast();\n }", "title": "" }, { "docid": "7ab15e88122b77d45ca086458aeb1ae5", "score": "0.67742443", "text": "public T pop() {\n if (first == null) {\n return null;\n }\n T res = first.item;\n first = first.next;\n return res;\n }", "title": "" }, { "docid": "1f39ed339d520297cde032127a6eb58c", "score": "0.67704904", "text": "@Override\n\tpublic T pop() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "151dc364888d9ca7353d84cce546095a", "score": "0.676829", "text": "@Override\n public T remove() {\n if(isEmpty())\n return null;\n T temp = bagHead.getElement();\n bagHead = bagHead.getNext();\n count--;\n if(isEmpty())\n bagTail = null;\n return temp;\n }", "title": "" }, { "docid": "b35ae63e543314d43b55449eed53bca3", "score": "0.67680466", "text": "public T removeFirst() {\n if (isEmpty()) {\n return null;\n }\n\n size--;\n Node<T> node = sentinel.next;\n sentinel.next = node.next;\n node.next.prev = sentinel;\n node.next = null;\n node.prev = null;\n\n return node.item;\n }", "title": "" }, { "docid": "f6cd12776cb7badff868d60fcaf7d60d", "score": "0.6764138", "text": "public T pop() throws EmptyCollectionException\n {\n if (isEmpty())\n throw new EmptyCollectionException(\"stack\");\n \n T result = top.getElement();\n top = top.getNext();\n count--;\n \n return result;\n }", "title": "" }, { "docid": "5299101690f4e71b16d72f2eddc4195a", "score": "0.6756481", "text": "public String pop() {\r\n\t\tif (isEmpty()) {\r\n\t\t\tSystem.out.println(Constants.STACK_CONSTANTS[3]);\r\n\t\t\treturn Constants.NULLL;\r\n\t\t} else {\r\n\t\t\t// Use only for testing\r\n\t\t\t// System.out.println(Constants.STACK_CONSTANTS[1]+\":\r\n\t\t\t// \"+stack.get(top));\r\n\t\t\tString poppedElement = stack.get(top);\r\n\t\t\tstack.remove(top);\r\n\t\t\ttop--;\r\n\t\t\treturn poppedElement;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7506ad13d70f5cd59f167321bca92e18", "score": "0.6746759", "text": "public final T pop() {\n\t\tif (size > 0) {\n\t\t\tT result = heap[1];\t\t\t\t// save first value\n\t\t\theap[1] = heap[size];\t\t\t\t// move last to first\n\t\t\theap[size] = null;\t\t\t\t// permit GC of objects\n\t\t\tsize--;\n\t\t\tdownHeap();\t\t\t\t\t// adjust heap\n\t\t\treturn result;\n\t\t} else\n\t\t\treturn null;\n\t}", "title": "" }, { "docid": "4422af7abd627eca979210686b1029e5", "score": "0.6740735", "text": "@Override\r\n\tpublic Object pop() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "84b6136d875775d72c3f3eef96fade30", "score": "0.67368793", "text": "public Object removeFront() {\n\t\t\n\t\tif(front==cap)\n\t\t{\n\t\t\tSystem.out.println(\"no elements\");\n\t\treturn null;\n\t\t}\n\t\t\n\t\t\n\t\treturn obj1[++front];\n\t}", "title": "" }, { "docid": "ff11e1b4cc742151f5c4aa5ec61c1558", "score": "0.6731826", "text": "public Integer pop() {\n // if only have one elements\n if (queue.isEmpty()) {\n return null;\n }\n\n int size = queue.size();\n while (size-- > 1) {\n queue.offer(queue.poll());\n }\n\n return queue.poll();\n }", "title": "" }, { "docid": "5b86dbc6b64ddb5b1c689b8def78ca69", "score": "0.67225397", "text": "public T popBack() {\n if (root == null) {\n return null;\n } else if (root.getSuccessor() == null) {\n root = null;\n return root.getValue();\n } else {\n return root.removeEnd();\n }\n }", "title": "" }, { "docid": "198b599751dd1f7192226cd19f578aa8", "score": "0.6716525", "text": "public E pop() {\n if (isEmpty()) {\n return errorMessage();\n }\n return items.remove(--top);\n\n\n }", "title": "" }, { "docid": "61ba0dbf952c58bd5aafb18b1574f3d4", "score": "0.671628", "text": "public Integer removeFirst() { // removes and returns the first\n\t\telement\n\t\t if (isEmpty()) return null; // nothing to remove\n\t\t Integer answer = head.getElement();\n\t\t head = head.getNext(); // will become null if list had only one\n\t\tnode\n\t\t size--;\n\t\t if (size == 0)\n\t\t tail = null; \n}", "title": "" }, { "docid": "51ca0abe20a90035d0c368441f4e18b4", "score": "0.67150515", "text": "public E pop() {\n return removeFirst();\n }", "title": "" }, { "docid": "4959a116cf6db1a15127c4f44d912073", "score": "0.6707387", "text": "public Object remove(){\n\t\tif(currentSize <= 0){\n\t\t throw new RuntimeException(\"Cannot remove from an empty heap!\");\n\t\t}\n\t\t//assert invariant() : showHeap();\t\n\t\t// move last element to the top\n \t currentSize --;\n\t\tObject firstElm = (Object)array[0];\n\t\tObject lastElm = (Object)array[currentSize];\n\t\t// tweak\n\t\tarray[currentSize] = firstElm;\n\t\n\t\tif(currentSize > 0){\n\t\t\tarray[0] = lastElm;\n\t\t\tint index = shiftDown(0);\n\t\t}\n\t\t//assert invariant() : showHeap();\n\t\treturn firstElm;\n \t}", "title": "" }, { "docid": "47b1ec9e47e28a26b7c8ca27b995e468", "score": "0.67072266", "text": "public Item remove() {\n if (isEmpty()) return null;\n Item item = head.item;\n head = head.next;\n if (isEmpty()) tail = null;\n size--;\n return item;\n }", "title": "" }, { "docid": "d26e5cdfa8bd75f9dd7c616b189d972f", "score": "0.6704256", "text": "public T peek() {\n if (this.size() == 0) {\n return null;\n }\n T result = this.stack.get(this.size() - 1);\n return result;\n }", "title": "" }, { "docid": "b2aec5806d7bec913e98a85a8ab106f0", "score": "0.66906816", "text": "public T removeMin() {\n if(!pq.isEmpty()) {\n return pq.remove().item();\n }\n return null;\n }", "title": "" }, { "docid": "b16f52a75a854ac92047552e69e58599", "score": "0.6672958", "text": "public static Object remove() {\r\n assert size() > 0 : \"Queue is empty\";\r\n tail = (tail - 1 + elements.length) % elements.length;\r\n return elements[tail];\r\n }", "title": "" }, { "docid": "b1e9e6e5704c396e8dcb31804bd4ddbb", "score": "0.6672121", "text": "public E pop() {\n if (empty()) {\n throw new EmptyStackException();\n }\n return linkList.removeFirst();\n }", "title": "" }, { "docid": "81e9bc96aebb37d9c7843220b2f4e38b", "score": "0.6647323", "text": "public Triple remove()\r\n\t{\r\n\t\tif(_list.size() == 0)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Element does not exist!\");\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\telse if(_list.size() == 1)\r\n\t\t{\r\n\t\t\treturn _list.remove(0);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tTriple t = _list.get(0);\r\n\t\t\t_list.set(0, _list.remove(_list.size()-1));\r\n\t\t\tdownHeap();\r\n\t\t\treturn t;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "13c4a1cfae454c3d7f5edbfb9b8a8c5a", "score": "0.66452724", "text": "public E removeFirst() {\n\t\tfinal E element = firstNode.item;\n\t\tfinal Node<E> next = firstNode.nextNode;\n\t\tfirstNode.item = null;\n\t\tfirstNode.nextNode = null; \n\t\tfirstNode = next;\n\t\tif (next == null)\n\t\t\tLastNode = null;\n\t\telse\n\t\t\tnext.prevNode = null;\n\t\tsize--;\n\t\treturn element;\n\t}", "title": "" }, { "docid": "ff73b49f6ebaf6d27a636962f541aeca", "score": "0.664512", "text": "@Override\n public T pop() {\n return removeFirst();\n }", "title": "" }, { "docid": "d7c2b54768baa5b8240d84aec3cdb1ad", "score": "0.66445154", "text": "public E pop(){\n\t\treturn (E) null;\n\t}", "title": "" }, { "docid": "1d3c6fc9b93d1798c4fa9ac0206b7dd6", "score": "0.663229", "text": "public T pop(){\r\n // If 'stacks' isn't empty then we pop our element\r\n if(!isEmpty()){\r\n // If the current stacks is empty, decrement our currentStack pointer\r\n if (currentStackEmpty()) {\r\n currentStack--;\r\n }\r\n // Calling pop will be fine here, as the stack class I wrote has built in error checking\r\n // for if the current stack is empty\r\n return this.stacks[currentStack].pop();\r\n }\r\n // Otherwise, do not pop anything if 'stacks' is empty\r\n else{\r\n System.out.println(\"Stack of Stacks is Empty: Pop failed!\");\r\n return null;\r\n }\r\n }", "title": "" }, { "docid": "6883a9feb87b66d2bf8f921ee063cf84", "score": "0.6618657", "text": "public T removeFirst() {\n\t\tif (this.isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\tT itemToReturn = items[onePlus(nextFirst)];\n\t\t/* setting to zero not strictly necessary, but\n\t\t * it's a good habit (we'll see why soon) */\n\t\titems[onePlus(nextFirst)] = null;\n\t\tnextFirst = onePlus(nextFirst);\n\t\tsize -= 1;\n\t\tif (items.length >= 16 && (double) size / items.length < 0.25) {\n\t\t\tresize(items.length / RFACTOR);\n\t\t}\n\t\treturn itemToReturn;\n\t}", "title": "" }, { "docid": "86358ee396afd0e3d7b771b9cf14ec26", "score": "0.6616291", "text": "public Integer top() {\n if (queue.isEmpty()) {\n return null;\n }\n\n int size = queue.size();\n while (size-- > 1) {\n queue.offer(queue.poll());\n }\n\n int result = queue.peek();\n queue.offer(queue.poll());\n return result;\n }", "title": "" }, { "docid": "fbc38526641d273fd30e13c9fa838513", "score": "0.6615332", "text": "private E removeFirst() {\n Node<E> temp = head;\n if (head != null) {\n head = head.next;\n }\n if (temp != null) {\n size--;\n return temp.data;\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "d711989d9f3c0efdca80875e6b0eb4d5", "score": "0.66121715", "text": "public E removeFirst(){\n\t\tif(isEmpty())\n\t\t\treturn null;\n\t\treturn remove(_header.getNext());\n\t}", "title": "" }, { "docid": "2c974f31d7e1ef86cc3cfafacaf96c96", "score": "0.66103697", "text": "public T pop() {\n // TODO\n\tT info;\n\tif (top == null || stackCount == 0) {\n\t\treturn null;\n\t}\n\tinfo = top.info;\n\ttop = top.link;\n\tstackCount = stackCount - 1; \n\t\n return info;\n }", "title": "" }, { "docid": "d1963e63405e65ec1af35a6cb8a93244", "score": "0.66103417", "text": "public int pop()\n {\n if (!isEmpty())\n {\n //Need to store item before changing top\n int item = top.item;\n //Remove top item from stack\n top = top.next;\n count--;\n\n return item;\n }\n return 0;\n }", "title": "" }, { "docid": "ccc0112e83c32a56515898ea76661fe8", "score": "0.660842", "text": "public T top()\n {\n if (size() > 0)\n {\n return aryList.get(aryList.size() - 1);\n\n }\n else\n {\n throw new EmptyStackException();\n }\n }", "title": "" }, { "docid": "e53e7e217e49d21d1323ab2a8d3266ce", "score": "0.6596845", "text": "public T dequeue() {\n return stackNewestOnTop.pop();\n // move elements back.\n }", "title": "" }, { "docid": "42423cd48f87440dc34660eb17e9454e", "score": "0.65900826", "text": "public E pop() {\n\t\tint len = size();\n\t\tE\tobj;\n\t\t\n\t\tobj = peek();\n\t\tremoveElementAt(len - 1);\n\t\treturn obj;\n\t}", "title": "" }, { "docid": "4388e7934e564215ebc83edca794dc2e", "score": "0.65854937", "text": "private TreeNode pop() {\n if (top == null)\n throw new RuntimeException(\"Underflow\");\n else {\n TreeNode ptr = top.treeNode;\n top = top.next;\n return ptr;\n }\n }", "title": "" }, { "docid": "754d2700973035f41b7007cbd7fd1479", "score": "0.6581932", "text": "public int pop() {\n DoublyNode node = dll.getLastNode();\n dll.detachNode(node);\n\n int element = (int) node.getElement();\n int listSize = map.get(element).size();\n if (listSize == 1) {\n map.remove(element);\n } else {\n map.get(element).remove(listSize - 1);\n }\n return element;\n }", "title": "" }, { "docid": "d563ebc54ca5afffd1a33377d2df2deb", "score": "0.65721434", "text": "public E removeFirst() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "88f024b20c26d32b71d89909052ad610", "score": "0.6571236", "text": "public Object pop()\n\t{\n\t\treturn removeLast();\n }", "title": "" }, { "docid": "555419c282ff404140647db703d5f49c", "score": "0.6570661", "text": "public E pop(){\n\tif(!isEmpty()){\r\n// Return the popped data element. \r\n\t\treturn stack[top--]; \r\n\t}\r\n\telse \r\n\t{\r\n\t// We should really throw an exception here... \r\n\tSystem.out.println(\"Stack is empty – cannot pop!\"); \r\n\treturn(null);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "98e619d6d34cff0d9e436ce8eca313a5", "score": "0.6565878", "text": "@Override\n\tpublic E remove() {\n\t\tif(isEmpty())\n\t\t\treturn null;\n\t\tNode<E> element = head;\n\t\thead = head.next;\n\t\telement.next=null; \n\t\tsize--;\n\t\treturn element.data;\n\t}", "title": "" }, { "docid": "b404e50f219299fa58e7f07c32a73242", "score": "0.65618783", "text": "public T pop() throws EmptyCollectionException\r\n {\r\n if (isEmpty())\r\n {\r\n throw new EmptyCollectionException(\"stack\");\r\n }\r\n T result = stack[top];\r\n stack[top] = null;\r\n top--;\r\n \r\n return result;\r\n }", "title": "" }, { "docid": "ad84ddf3f8ba75b399ac4ff662de9bb6", "score": "0.65595603", "text": "public Object peek() \r\n\t{\r\n\t\tif(top != null)\r\n\t\t{\r\n\t\t\treturn top.getItem();\r\n\t\t}\r\n\t\t//Returns null if empty.\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "47c7dbe4f284d27642d99e264c99d1ec", "score": "0.6555554", "text": "@Override\n public Object top() throws StackEmptyException {\n if (first == null) {\n throw new StackEmptyException();\n }\n return first;\n }", "title": "" }, { "docid": "58e81c9eeefd05e577ac82d1aa239048", "score": "0.6547695", "text": "public E pop() {\n\t\tif (isEmpty()) {\r\n\t\t\tSystem.out.println(\"Stack Empty\");\r\n\t\t\treturn null;\r\n\t\t} else {\r\n\t\t\tE temp = data[t];\r\n\t\t\tdata[t] = null;\r\n\t\t\tt = t - 1;\r\n\t\t\treturn temp;\r\n\t\t}\r\n \r\n\t}", "title": "" }, { "docid": "a97e17141a9f52a64c48562497052ecd", "score": "0.65409577", "text": "public Item removeFirst() {\n Node newFrontNode;\n if (isEmpty()) {\n return null;\n }\n Item value_return = sentinel.next.item;\n sentinel.next = sentinel.next.next;\n sentinel.next.prev = sentinel;\n this.size -= 1;\n return value_return;\n }", "title": "" }, { "docid": "7fef6db77611ba389c92ab610fe96cbd", "score": "0.65382314", "text": "@Override\n public T pop() {\n if (isEmpty()) {\n throw new RuntimeException(\"LinkedStack Underflow\");\n }\n\n T item = top.getItem();\n top = top.getNext();\n size--;\n\n return item;\n }", "title": "" }, { "docid": "02270fa33358be3d631c59c0e2197a8c", "score": "0.6534433", "text": "public T removeLast() {\n if (size == 0) {\n return null;\n }\n size = size - 1;\n Node last = sentinel.prev;\n sentinel.prev = last.prev;\n last.prev.next = sentinel;\n return last.item;\n }", "title": "" }, { "docid": "c0e913d9f48f1bca97965da087d25e1b", "score": "0.65302646", "text": "@Override\n public T pop() throws EmptyCollectionException {\n if (isEmpty()) {\n throw new EmptyCollectionException(\"stack\");\n }\n T result = stack[top-1];\n top--;\n stack[top] = null;\n return result;\n }", "title": "" }, { "docid": "71bc84acd118ab84540088c059620e6d", "score": "0.6529922", "text": "public E peek() {\r\n if(this.topOfStack == -1){\r\n return null;\r\n }\r\n return this.stack[this.topOfStack];\r\n }", "title": "" }, { "docid": "cca04af66942183f26a6ecab14860d31", "score": "0.6523786", "text": "public T remove(T x) {\n \tT elem= super.remove(x);\n \t\n \t//if the element was not present in the tree, return.\n \tif(elem == null)\n \t\treturn elem;\n \t\n \tEntry<T> t = (Entry<T>)stack.pop();\n \t\n \t//If the element was present, the tree to be fixed after remove opeation\n \tfix(t);\n \t\n \treturn null;\n }", "title": "" }, { "docid": "62f92cd2761fdfec28f8d7a70e49c1ef", "score": "0.6523657", "text": "ElementType pop() throws EmptyStackException;", "title": "" }, { "docid": "d4203db4bf81673daa42c8cd27f97950", "score": "0.651363", "text": "@Override\r\n\tpublic T removeFirst() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "8a1b715cd22cae911b4d23c92fb6eb52", "score": "0.6513367", "text": "public E pop() {\n\t\tif (isEmpty())\n\t\t\tthrow new NoSuchElementException(\"The stack is empty\");\n\t\telse {\n\t\t\ttop--;\n\t\t\treturn dataArray[top + 1];\n\t\t}\n\t}", "title": "" }, { "docid": "9130b2f892ded8589e385493eebdf809", "score": "0.6508509", "text": "@Override\n public T pop() {\n checkIfEmpty();\n return list.removeFirst();\n }", "title": "" }, { "docid": "a5e31ca995976ca12cfed47cc9eaf905", "score": "0.6502432", "text": "@Override\r\n @SuppressWarnings(\"unchecked\")\r\n public T removeFirst() {\r\n T tempData;\r\n // if the list is empty\r\n if ( isEmpty() ) \r\n return null;\r\n // if the list is not empty\r\n tempData = front.getData();\r\n front = front.getNext();\r\n numberOfNodes--;\r\n return tempData;\r\n }", "title": "" }, { "docid": "3af495a1101f6167911bad0f5765a233", "score": "0.64950377", "text": "public Object removeAtTail() {\r\n\t\treturn _remove(_tail.prev);\r\n\t}", "title": "" }, { "docid": "01eddbe3ebdeaee087aafccb0efbace1", "score": "0.64910513", "text": "public Item removeLast() {\n checkNotEmpty();\n final Item item = last.getItem();\n last = last.linkBackward;\n if (last != null) {\n last.linkForward = null;\n } else {\n top = null;\n }\n size--;\n return item;\n\n }", "title": "" } ]
9c9d51a41e36fb3a69315fb97b5bb5fe
Iterate through the directory elements
[ { "docid": "44c5df0246ffd702f1534177eaee4fd9", "score": "0.0", "text": "private static void zipDirectory(String source, String directoryPath, ZipOutputStream zos) throws IOException {\n for (String dirElement : new File(directoryPath).list()) {\n\n // Construct each element full path\n String dirElementPath = directoryPath + \"/\" + dirElement;\n \n\n // For directories - go down the directory tree recursively\n if (new File(dirElementPath).isDirectory()) {\n zipDirectory(source, dirElementPath, zos);\n\n } else {\n // For files add a ZIP entry\n // THIS IS IMPORTANT: a ZIP entry needs to be a relative path to the file\n // To maintain directory structure relative path must be maintained\n // so we cut off the path to the directory that is being packed.\n ZipEntry ze = new ZipEntry(dirElementPath.replaceAll(source + \"/\", \"\"));\n zos.putNextEntry(ze);\n\n // Open input stream to packed file\n FileInputStream fis = new FileInputStream(dirElementPath);\n\n // An array to which will hold byte being read from the packed file\n byte[] bytesRead = new byte[BUFFER_SIZE];\n\n // Read bytes from packed file and store them in the ZIP output stream\n int bytesNum;\n while ((bytesNum = fis.read(bytesRead)) > 0) {\n zos.write(bytesRead, 0, bytesNum);\n }\n\n // Close the stream\n fis.close();\n }\n }\n\n }", "title": "" } ]
[ { "docid": "338d431b54c432651a209bcc49ab39a7", "score": "0.6489671", "text": "public void ls() { for (IFile i : dir) System.out.println(i.getName()); }", "title": "" }, { "docid": "bb3f05e087e2a89f30c9fdf797449e8a", "score": "0.6416245", "text": "public void ls_r()\n {\n for (IFile i : dir)\n {\n if(i instanceof IDirectory) ((IDirectory) i).ls_r();\n else System.out.println(i.getName());\n }\n }", "title": "" }, { "docid": "f2eaac3fd2374fdcc014253bcbb64560", "score": "0.6328716", "text": "public void recursiveTravel(Consumer<IFile> function) { for(IFile i : dir) i.recursiveTravel(function); }", "title": "" }, { "docid": "cb6c053720e921283bd9c790ec557c2a", "score": "0.6206882", "text": "private void processDirectory() {\n\t\tFile[] files = currentDirectory.listFiles();\n\t\tArrayList<File> filteredData = new ArrayList<File>();\n\t\tfilteredData.add(parentDirectory);//add the parent directory as the first element in the array for navigation\n\t\tfor(File f:files){\n\t\t\tif (f.isDirectory()){\n\t\t\t\tfilteredData.add(f);\n\t\t\t}\n\t\t}\t\t\n\t\tFile[] adapterData = filteredData.toArray(new File[filteredData.size()]);\n\t\tSHArrayAdapter adapter = new SHArrayAdapter(this, adapterData);\n\t\tfinal ListView lv = (ListView)findViewById(R.id.listViewFileStructure);\n\t\t\n\t lv.setAdapter(adapter);\n\t lv.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\tpublic void onItemClick(AdapterView<?> listView, View v, int position, long id) {\n\t\t\t\tFile file = (File)lv.getItemAtPosition(position);\n\t\t\t\tcurrentDirectory = file;\n\t\t\t\tparentDirectory = file.getParentFile() == null ? new File(\n\t\t\t\t\t\tROOT_DIRECTORY) : file.getParentFile();\n\t\t\t\tprocessDirectory();\t\t\t\n\t\t\t}\n\t\t});\n\t \n\t}", "title": "" }, { "docid": "93ce02782465f21e7eb8aa4c64183f51", "score": "0.6181638", "text": "@Override\n public Collection<AbstractFile> visit(Directory drctr) {\n Collection<AbstractFile> ret = new ArrayList<>();\n ret.add(drctr);\n return ret;\n }", "title": "" }, { "docid": "3a8e06ec2f91cfbf11a970faeeecb97d", "score": "0.6170602", "text": "public void Visit(DirectoryNode dn ) {\n CurrDir = dn.getname();\n //Traversing list through Iterator \n ArrayList<EntryNode> list = dn.GetAllFiles(); \n \tIterator itr=list.iterator(); \n \t while(itr.hasNext()){ \n EntryNode nt = (EntryNode)itr.next();\n if ( nt.isdir() ) {\n CurrDir = ((DirectoryNode)nt).getname();\n ((DirectoryNode)nt).accept(this);\n }\n else\n \t\t( (FileNode) nt).accept(this); \n \t} \n }", "title": "" }, { "docid": "37003fdc0afd88cd6b3ca9c6fd5c2e50", "score": "0.6132471", "text": "void processDirectory(final File directory) throws IOException {\n for (final File file : directory.listFiles()) {\n if (!file.isHidden()) {\n final String name = file.getName();\n if (file.isDirectory()) {\n if (!name.startsWith(\"class-use\") && !name.startsWith(\"doc-files\")) {\n processDirectory(file);\n }\n } else if (name.endsWith(\".html\")) {\n if (name.startsWith(\"package-\")) {\n // Skip package-frame, package-tree, package-use, everything except package-summary.\n if (!name.startsWith(\"package-summary\")) {\n continue;\n }\n }\n load(file);\n hyphenation();\n save();\n }\n }\n }\n }", "title": "" }, { "docid": "faa5e6b79f9a094879f4b280b05b1fa5", "score": "0.60361797", "text": "@Override\n\t\t\t\tpublic FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) \n\t\t\t\t{\n\t\t\t\t\treturn FileVisitResult.CONTINUE;\n\t\t\t\t}", "title": "" }, { "docid": "0a92167c3a151f275eb84e2b3c7237e6", "score": "0.6031863", "text": "private void enumerateAllFileNames(File pInitialDirectory) {\n \n File[] allSourceFiles = pInitialDirectory.listFiles();\n for (int i = 0; i < allSourceFiles.length; i++) {\n if (allSourceFiles[i].isDirectory() \n && CastParameter.includeSubdirectories()) {\n this.enumerateAllFileNames(allSourceFiles[i]);\n }\n else {\n AllFileNamesInDirectory.add(allSourceFiles[i].getAbsolutePath());\n } \n }\n \n }", "title": "" }, { "docid": "1be2f33e05be4d455a0abfe21ae13643", "score": "0.59782255", "text": "private void readDirectory(File directory){\n numOdfiles++;\n File[] list = directory.listFiles();\n if(list!=null)\n for (File file: list) {\n dismember2Docs(file);\n }\n }", "title": "" }, { "docid": "14f42bb70785947d66e74df85266af6a", "score": "0.5934023", "text": "private void enumerateDirectory(Path path) {\r\n\r\n\t\t// Instantiate a SwingWorker that enumerates the directory\r\n\t\tSwingWorker<Void, Void> mySwingWorker = new SwingWorker<Void, Void>() {\r\n\r\n\t\t\t// Disable the select folder button, and walk the file tree\r\n\t\t\t@Override\r\n\t\t\tprotected Void doInBackground() throws Exception {\r\n\t\t\t\tgui.disableButton();\r\n\t\t\t\tFiles.walkFileTree(path, musicFileList);\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\r\n\t\t\t// Enable the select folder button, report the results, stop the\r\n\t\t\t// timer, and update the address label with the source folder path\r\n\t\t\t// that was enumerated.\r\n\r\n\t\t\t@Override\r\n\t\t\tprotected void done() {\r\n\t\t\t\tgui.enableButton();\r\n\t\t\t\tmusicFileList.reportResults();\r\n\t\t\t\ttimer.stop();\r\n\t\t\t\tgui.setAddressLabelText(basePath);\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t// Execute the SwingWorker\r\n\t\tmySwingWorker.execute();\r\n\r\n\t}", "title": "" }, { "docid": "96f152ff26bef9a55095829590a2f23e", "score": "0.59254056", "text": "@Test\r\n public void iterateFiles() throws ParserConfigurationException, TransformerException, SAXException, XPathExpressionException, IOException {\n String dir = \"/Users/student/Haizong/01/ppt/slides\";\r\n FileFilter fileFilter = new RegexFileFilter(\"^.*slide(\\\\d+)?\\\\.xml$\");\r\n File file = new File(dir);\r\n File[] files = file.listFiles(fileFilter);\r\n for (int i = 0; i < files.length; i++) {\r\n System.out.println(files[i]);\r\n app.modify(files[i]);\r\n }\r\n //C:\\BaiduYunDownload\\01\\ppt\\slides\\slide1.xml\r\n }", "title": "" }, { "docid": "3e9925b162a2ff849c44abde580835d9", "score": "0.590426", "text": "public void getFolderContents(Path folder) throws IOException{\n DirectoryStream<Path> stream = Files.newDirectoryStream(folder);\n String folderPath = folder.toString();\n String packageName = pathToPackageName(folderPath);\n String className;\n \n for(Path file: stream){\n className = refineClassName(file.getFileName().toString());\n if(packageNameIsValid(packageName) && classNameIsValid(className)){\n try{\n if(file.toFile().isFile())\n classNames.addClass(packageName,Class.forName(packageName + \".\" + className));\n }catch(ClassNotFoundException ex){\n System.out.println(\"SEVERE\");\n System.out.println(\"========================================\");\n System.out.println(\"Class \" + className + \" cannot be found.\");\n System.out.println(\"Package \" + packageName);\n System.out.println(ex.getMessage());\n System.out.println(\"========================================\");\n \n }\n } \n if(file.toFile().isDirectory()){\n getFolderContents(file);\n }\n }\n }", "title": "" }, { "docid": "3090055cefcd34db266a6a67c041cf43", "score": "0.5828294", "text": "public void readDirectory(File root) {\n\n\t\tFile[] files = root.listFiles();\n\n\t\t// Recursively reading classes in the directory structure\n\t\tfor (int i = 0; i < files.length; i++) {\n\t\t\tif (files[i].isDirectory())\n\t\t\t readDirectory(files[i]);\n\t\t\telse if (files[i].getName().endsWith(\".class\"))\n\t\t\t\treadFile(files[i]);\n\t\t}\n\t}", "title": "" }, { "docid": "5f0a2ea5436796aef7c542bdd04a329a", "score": "0.5800167", "text": "private static void processDir(String srcRootPath, File dir) throws Exception {\n\t\tfor(File f : dir.listFiles()){\n\t\t\tif(f.isDirectory()){\n\t\t\t\tprocessDir(srcRootPath, f);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tString name = f.getName();\n\t\t\t\tif(name.endsWith(\".java\") && name.indexOf('#') < 0)\n\t\t\t\t\tprocess(srcRootPath, f);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "da87c92e2f971ca07a9c6c7abbf43e81", "score": "0.5796395", "text": "@Override\n public Collection<AbstractFile> visit(LocalDirectory ld) {\n Collection<AbstractFile> ret = new ArrayList<>();\n ret.add(ld);\n return ret;\n }", "title": "" }, { "docid": "a31376200fb166c1ab963fe8e1e5b107", "score": "0.57899696", "text": "@Override\n public Collection<AbstractFile> visit(VirtualDirectory ld) {\n Collection<AbstractFile> ret = new ArrayList<>();\n ret.add(ld);\n return ret;\n }", "title": "" }, { "docid": "ec421fd2c291e4f89d9e81e06fcd227a", "score": "0.5774982", "text": "@Override\r\n\t\tpublic FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException {\n\t\t\treturn FileVisitResult.CONTINUE;\r\n\t\t}", "title": "" }, { "docid": "4f56f1554d02fec72dba805aeed2ba46", "score": "0.57700735", "text": "private void traverseDir(File file) {\n\n\t\tSystem.out.println(file.getAbsolutePath());\n\t\tif (file.isDirectory()) {\n\t\t\tString[] children = file.list();\n\n\t\t\tfor (String child : children) {\n\t\t\t\t\n\t\t\t\tif(Utils.checkFor(FileType.PDF, dirPath + child) ) {\n\t\t\t\t\tfilesQueue.offer(dirPath + \"\\\\\" + child);\n\t\t\t\t} \n\t\t\t\ttraverseDir(new File(child));\n\t\t\t}\n\n\t\t} else if (file.isFile()) {\n\t\t\tfilesQueue.offer(file.getAbsolutePath());\n\t\t}\n\n\t}", "title": "" }, { "docid": "f17cd9ea03a42f8a9bbf527cbafcd669", "score": "0.57676065", "text": "void scanComponentsIntoEngine(Path recipeDirectoryPath) throws IOException {\n try (Stream<Path> files = Files.walk(recipeDirectoryPath)) {\n for (Path r : files.collect(Collectors.toList())) {\n if (!r.toFile().isDirectory()) {\n Path file = r.getFileName();\n if (file != null && !file.toString().endsWith(METADATA_JSON_EXT)) {\n scanComponentIntoEngine(r);\n }\n }\n }\n }\n }", "title": "" }, { "docid": "7a04ab322a31854c9f6d44b149d52765", "score": "0.57269686", "text": "public void iterFiles() throws ImageProcessingException, IOException {\n\t\tFile parent = currentPath;\r\n\r\n\t\t//System.out.println(\"parent.getAbsolutePath() is:\"\r\n\t\t//\t\t+ parent.getAbsolutePath());\r\n\t\t//System.out.println();\r\n\r\n\t\tFile[] files = parent.listFiles();\r\n\t\tfor (File theFile : files) {\r\n\t\t\t// System.out.print(\"theFile.getAbsolutePath() is:\"\r\n\t\t\t// + theFile.getAbsolutePath());\r\n\t\t\tif (theFile.isFile()) {\r\n\t\t\t\tSystem.out.println(theFile.getAbsolutePath());\r\n\r\n\t\t\t\t// System.out.print(\" - Это файл\");\r\n\t\t\t\ttry {\r\n\t\t\t\t\tMetadata metadata = ImageMetadataReader\r\n\t\t\t\t\t\t\t.readMetadata(theFile);\r\n\r\n\t\t\t\t\tDirectory exifSubIFDDirectory = metadata\r\n\t\t\t\t\t\t\t.getDirectory(ExifSubIFDDirectory.class);\r\n\t\t\t\t\tif (exifSubIFDDirectory != null) {\r\n\t\t\t\t\t\tint tag = ExifSubIFDDirectory.TAG_DATETIME_ORIGINAL;\r\n\t\t\t\t\t\tshowTag(exifSubIFDDirectory, tag);\r\n\r\n\t\t\t\t\t\tDate asDate = exifSubIFDDirectory.getDate(tag);\r\n\t\t\t\t\t\t// System.out.println(asDate);\r\n\t\t\t\t\t\tString dirName = String.format(\"%1$tY_%1$tm_%1$td\",\r\n\t\t\t\t\t\t\t\tasDate);\r\n\t\t\t\t\t\tSystem.out.println(dirName);\r\n\r\n\t\t\t\t\t\t// make directory if not exist\r\n\t\t\t\t\t\tFile child = new File(parent, dirName);\r\n\t\t\t\t\t\tSystem.out.print(child.getAbsolutePath());\r\n\r\n\t\t\t\t\t\tFile newTheFile = new File(child, theFile.getName());\r\n\r\n\t\t\t\t\t\tif (child.exists()) {\r\n\t\t\t\t\t\t\tFiles.move(theFile.toPath(), newTheFile.toPath());\r\n\t\t\t\t\t\t} else if (child.mkdir()) {\r\n\t\t\t\t\t\t\tSystem.out.println(\" -Создано\");\r\n\t\t\t\t\t\t\tFiles.move(theFile.toPath(), newTheFile.toPath());\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tSystem.out.println(\" -Не создано\");\r\n\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tshowTag(exifSubIFDDirectory,\r\n\t\t\t\t\t\t\t\tExifSubIFDDirectory.TAG_DATETIME_DIGITIZED);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * for (Directory dir1 : metadata.getDirectories()) { if\r\n\t\t\t\t\t * (dir1.getName() == \"Exif SubIFD\") { } int\r\n\t\t\t\t\t * ORIG_DATE_TIME_TYPE = 36867; // Original // Date/Time if\r\n\t\t\t\t\t * (dir1.containsTag(ORIG_DATE_TIME_TYPE)) { //\r\n\t\t\t\t\t * \r\n\t\t\t\t\t * showTag(dir1, ORIG_DATE_TIME_TYPE);\r\n\t\t\t\t\t * \r\n\t\t\t\t\t * final int DIG_DATE_TIME_TYPE = 36868; if\r\n\t\t\t\t\t * (dir1.containsTag(DIG_DATE_TIME_TYPE)){ showTag(dir1,\r\n\t\t\t\t\t * DIG_DATE_TIME_TYPE); } }\r\n\t\t\t\t\t */\r\n\r\n\t\t\t\t} catch (ImageProcessingException e) {\r\n\t\t\t\t\tSystem.err.println(\"Ошибка ImageProcessing: \" + theFile\r\n\t\t\t\t\t\t\t+ \"\\n\" + e);\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\tSystem.err.println(\"Ошибка IOException: \" + theFile + \"\\n\"\r\n\t\t\t\t\t\t\t+ e);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "be83b5997917186fe623ff814ea73d16", "score": "0.57082987", "text": "protected void processDirectory() throws Exception {\n try {\n this.outputWriter = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(this.outputFile), \"utf-8\"));\n // LS the dir, and get only the files that match the <inputFilesPattern>\n for (File inputFile : this.inputDir.listFiles(new FilenameFilter() {\n @Override\n public boolean accept(File dir, String name) {\n return inputFilesPattern.matcher(name).find();\n }\n })) {\n processFile(inputFile);\n }\n } catch (Exception e) {\n log(\"exception processing directory: \" + this.inputDir.getName());\n throw e;\n } finally {\n if (this.outputWriter != null) this.outputWriter.close();\n }\n }", "title": "" }, { "docid": "e8e5a19b1027e1628fc6f91d4c4e9ff3", "score": "0.5704613", "text": "public void readDirectory(String _directory)\n\t{\n\t\tString str = \"foo\";\n\t\tString[] splitArray;\n\t\t\n\t\tFile root = new File(_directory);\n\t\tFile[] list = root.listFiles();\n\t\tfor(int i = 0; i < list.length; i++)\n\t\t{\n\t\t\tif(list[i].isFile())\n\t\t\t{\n\t\t\t str = list[i].getAbsolutePath();\n\t\t\t splitArray = str.split(\"\\\\.\");\n\t\t\t \n\t\t //if the file is a .zdx then add the components to the array\n\t\t\t if(splitArray[1].toString().equalsIgnoreCase(\"zdx\"))\n\t\t\t {\n\t\t\t\ttry{\n\t\t\t\t readData(list[i].getAbsolutePath());\n\t\t\t\t System.out.println(\"Absolute Path Passed\");\n\t\t\t\t}catch (IOException e){}\n\t\t\t } \n\t\t\t }\n\t\t}\t\n\t}", "title": "" }, { "docid": "a32137b2897c53b9993fdf68cb9c95b9", "score": "0.5703896", "text": "private void openIncludedDirectories()\n {\n // open all included directories\n for (TableItem tableItem : widgetIncludeTable.getItems())\n {\n EntryData entryData = (EntryData)tableItem.getData();\n\n TreeItem[] treeItems = widgetFileTree.getItems();\n\n StringBuilder buffer = new StringBuilder();\n for (String part : StringUtils.split(entryData.pattern,BARServer.fileSeparator,true))\n {\n // expand name\n if ((buffer.length() == 0) || (buffer.charAt(buffer.length()-1) != BARServer.fileSeparator)) buffer.append(BARServer.fileSeparator);\n buffer.append(part);\n\n TreeItem treeItem = findTreeItem(treeItems,buffer.toString());\n if (treeItem != null)\n {\n // open sub-directory\n if (!treeItem.getExpanded())\n {\n//Dprintf.dprintf(\"open %s\\n\",treeItem);\n Event treeEvent = new Event();\n treeEvent.item = treeItem;\n widgetFileTree.notifyListeners(SWT.Expand,treeEvent);\n treeItem.setExpanded(true);\n }\n\n // get sub-directory items\n treeItems = treeItem.getItems();\n }\n else\n {\n break;\n }\n }\n }\n }", "title": "" }, { "docid": "4e009de9990d91e33cef1da695a92c7c", "score": "0.57012534", "text": "public String visitAllDirsAndFiles(File dir) {\n String result = \"\";\n\n if (dir.getName().endsWith(\".xsd\")) {\n result = dir.getPath();\n result = result + \"\\n\";\n }\n\n if (dir.isDirectory()) {\n String[] children = dir.list();\n for (int i = 0; i < children.length; i++) {\n result = result + visitAllDirsAndFiles(new File(dir, children[i]));\n\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "f023b03f57e2ddbd1da94003049cdf7b", "score": "0.5684574", "text": "private static void listDirectoryContents(File dir, String indent) {\n String[] files; // names of files in the directory.\n System.out.println(indent + \"Directory \\\"\" + dir.getName() + \"\\\":\");\n indent += \" \"; // Increase the indentation for new level of recursion\n files = dir.list();\n for (int i = 0; i < files.length; i++) {\n // If it is a directory, recursively list its contents\n File f = new File(dir, files[i]);\n if (f.isDirectory())\n listDirectoryContents(f, indent);\n else\n System.out.println(indent + files[i]);\n }\n }", "title": "" }, { "docid": "234fee29721a9f51486e40eba051244b", "score": "0.5674121", "text": "@Override\n public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) {\n return CONTINUE;\n }", "title": "" }, { "docid": "8b00a731f984aadaeba4b168d7194f8a", "score": "0.5669948", "text": "protected void getListFromDirectory() {\n listFromDir = new ArrayList();\n String[] l = new java.io.File(\".\").list();\n for (int i=0; i listFromDir.add(l[i]);\n }", "title": "" }, { "docid": "8b5b4f53d322e6a86041088683af8ab2", "score": "0.5639587", "text": "private List<InputQueueItem> scanDirectoryStructure(String pathPrefix, String relativePath) {\n ArrayList<InputQueueItem> inputQueueList = new ArrayList<InputQueueItem>();\n scanDirectoryStructure(pathPrefix, relativePath, inputQueueList, Constants.DIR_MAX_DEPTH);\n return inputQueueList;\n }", "title": "" }, { "docid": "73047d257964bfa2391742fb8de16b58", "score": "0.56363493", "text": "void traverseDirectory(String fileName) {\r\n if (currDirName.equals(MEGA_ROOT)) {\r\n if (fileName.equals(UP_DIRECTORY)) {\r\n // can not go up from MEGA_ROOT\r\n return;\r\n }\r\n\r\n currDirName = fileName;\r\n } else if (fileName.equals(UP_DIRECTORY)) {\r\n // Go up one directory\r\n int i = currDirName.lastIndexOf(SEP, currDirName.length() - 2);\r\n\r\n if (i != -1) {\r\n currDirName = currDirName.substring(0, i + 1);\r\n } else {\r\n currDirName = MEGA_ROOT;\r\n }\r\n } else {\r\n currDirName = currDirName + fileName;\r\n }\r\n\r\n showDirektory();\r\n }", "title": "" }, { "docid": "491a4a7a54877ee73465d8fee54c6c53", "score": "0.56322277", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tfor (com.jd.adp.FolderItemHolder item : sFiles) {\n\t\t\t\t\tif (item.isFolder) {\n\t\t\t\t\t\tEncryptFolder(item.path);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tEncryptFile(item.path);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "fc30bd7570157217c67c72bddd6e389a", "score": "0.56269777", "text": "public void listFilesAndDirectories(String[] directories) {\n /*\n * List that stores all children of the directory passed as absolute\n * directories.\n */\n ArrayList<String> absoluteDirs = new ArrayList<>();\n boolean recurse = false;\n int numbOfElemToSkip = 1;\n\n // Get current working directory\n String currDir = this.getCurrentDir();\n\n // If no args were passed\n if (directories.length == 0) {\n absoluteDirs = this.getChildren(currDir, currDir);\n // Use another helper function to print contents\n this.toString(absoluteDirs, \"\", recurse);\n } else { // Arguments were given, could be several\n \n // First check if -R is present...\n if (directories[1].equals(\"-R\")) {\n recurse = true;\n numbOfElemToSkip = 2;\n \n // If nothing was passed with -R, use current directory\n if (directories.length == 2) {\n directories[1] = currDir;\n numbOfElemToSkip = 1;\n this.directorySize = 2;\n }\n }\n // Remove and store directories in an arraylist\n for (int i = numbOfElemToSkip; i < directories.length; i++) {\n if (directories[i].endsWith(\"/\") && directories[i].length() != 1) {\n directories[i] = directories[i].substring(0,\n directories[i].length()-1);\n }\n absoluteDirs = this.getChildren(directories[i], currDir);\n // If ../ case occurs, go back to the parent in the directory given\n if (directories[i].startsWith(\"../\")) {\n // Find index of last slash\n int idxOfLastSlash = currDir.lastIndexOf(\"/\");\n // Go back to parent in the current directory and append user input\n directories[i] = currDir.substring(0, idxOfLastSlash) +\n directories[i].substring(2);\n }\n else if (directories[i].startsWith(\"..\")) {\n // Find index of last slash\n int idxOfLastSlash = currDir.lastIndexOf(\"/\");\n directories[i] = currDir.substring(0,idxOfLastSlash);\n }\n \n // Use the toString method to print the files ---------\n // If directory[i] is empty, set it equal to root.\n if (directories[i].equals(\"\")) {\n directories[i] = \"/\";\n this.toString(absoluteDirs, directories[i], recurse);\n }\n else { // If it not empty, go back a directory and print its children.\n this.toString(absoluteDirs, directories[i], recurse);\n }\n // Clear children after each loop\n this.allChildren.clear();\n }\n }\n }", "title": "" }, { "docid": "af4486d8a7c7e357a2fcb3673c252691", "score": "0.5626064", "text": "@Test\n public void testPositivePathOf_enumerateDescendantFiles_showingThatEnumeratedCountsIncreaseFromBottomOfFolderStructure()\n throws Exception\n {\n String[] singleValidPictureType = {\".jpg\"};\n \n ArrayList<Resource> resources = MavenDefeatingFileLoader.enumerateDescendantFiles(\n deepPathToArt, singleValidPictureType);\n Assertions.assertThat(resources.size())\n .isGreaterThan(0);\n int initialCountOfFiles = resources.size();\n int priorCountOfFiles = initialCountOfFiles;\n String[] pathSteps = deepPathToArt.split(\"/\");\n \n if (pathSteps.length > 0)\n {\n for (int pathSepCount = pathSteps.length - 1; pathSepCount >= 0; pathSepCount-- )\n {\n String ancestorFolderOfPathToArt = \"\";\n //Add the steps from pathSteps[0...pathSepCount]. This path \n for (int stepNo = 0; stepNo < pathSepCount; stepNo++)\n {\n ancestorFolderOfPathToArt += pathSteps[stepNo] + \"/\";\n }\n \n resources = MavenDefeatingFileLoader.enumerateDescendantFiles(\n ancestorFolderOfPathToArt, singleValidPictureType);\n Assertions.assertThat(resources.size())\n .isGreaterThanOrEqualTo(priorCountOfFiles);\n priorCountOfFiles = resources.size();\n }\n }\n }", "title": "" }, { "docid": "480acf3762b3d4770307d0a2c1f61fa3", "score": "0.5620979", "text": "List<File> files() {\n return enumerationAsStream(children())\n .map(o -> (AbstractFilesPage.AbstractFileNode) o)\n .map(AbstractFileNode::files)\n .flatMap(List::stream)\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "c2589dbea59070eff99fa5c3a446268c", "score": "0.56054676", "text": "public static void traverseDir(File dir, String spaces){\n\t\tif (dir.isDirectory()) {\n\t\t\tfileWrite.println(spaces + dir.getPath());\n\t\t\tString[] children = dir.list();\n\t\t\tfor (String child : children) {\n\t\t\t\ttraverseDir(new File(dir, child), spaces + \" \");\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "07db33d9f97b1cacc75784eb12184d05", "score": "0.55955374", "text": "@Override\n\tpublic Collection<File> getFiles() {\n\t\ttry {\n\t\t\treturn FileHelper.listDirectoryFiles( directory, new ExtensionFilenameFilter(), /* recurse */ false );\n\n\t\t} catch( FileNotFoundException ex ) {\n\t\t\tthrow new BuildFileException( \"The directory referred to by a 'directory' include in the package '\" + pkg.getName() + \"' was not found. See cause.\", ex );\n\t\t}\n\t}", "title": "" }, { "docid": "2fe1f046e93c2293183df008d98c6013", "score": "0.55911225", "text": "@Test\r\n public void testWalk() throws Exception {\r\n String r=this.getClass().getClassLoader().getResource(\"resources/__HEADER__.txt\").toString();\r\n FindFiles instance = new FindFiles(r.substring(6,r.length()-15),\"*\");\r\n ArrayList result = instance.walk();\r\n if( result.size()!=2 )\r\n fail(result.size()+\" entries while 2 attented\");\r\n for(Iterator it=result.iterator(); it.hasNext();){\r\n File f=new File(it.next().toString());\r\n String fn=f.getName();\r\n if( ! fn.equals(\"__HEADER__.txt\") && ! fn.equals(\"CPU.all.txt\") )\r\n fail(\"Unknown file \"+fn);\r\n }\r\n }", "title": "" }, { "docid": "7e5ac5a604e948a58a83ffe26d91471f", "score": "0.5562093", "text": "void processEvents() throws Exception \n {\n for (;;) \n {\n // wait for key to be signalled\n WatchKey key;\n try \n {\n key = watcher.take();\n } \n catch (InterruptedException x) \n {\n return;\n }\n \n Path dir = keys.get(key);\n if (dir == null) \n {\n System.err.println(\"WatchKey not recognized!!\");\n continue;\n }\n \n for (WatchEvent<?> event : key.pollEvents()) \n {\n @SuppressWarnings(\"rawtypes\")\n WatchEvent.Kind kind = event.kind();\n \n // Context for directory entry event is the file name of entry\n @SuppressWarnings(\"unchecked\")\n Path name = ((WatchEvent<Path>)event).context();\n Path child = dir.resolve(name);\n \n // print out event\n System.out.format(\"%s: %s\\n\", event.kind().name(), child);\n \n // if directory is created, and watching recursively, then register it and its sub-directories\n if (kind == ENTRY_CREATE) \n {\n try \n {\n if (Files.isDirectory(child)) \n {\n walkAndRegisterDirectories(child);\n criarPasta(String.valueOf(child));\n }\n else\n {\n File caminhoArquivo = new File(child.toString());\n byte[] fileByte = new byte[(int) caminhoArquivo.length()];\n FileInputStream stream = new FileInputStream(caminhoArquivo);\n stream.read(fileByte);\n FileX aux = new FileX(fileByte, child.toString(), false, 1);\n Message msg = new Message(null, aux);\n channel.send(msg);\n stream.close();\n }\n } \n catch (IOException x) \n {\n // do something useful\n }\n }\n else if (kind == ENTRY_DELETE)\n {\n FileX aux = new FileX(null, child.toString(), false, 2);\n Message msg = new Message(null, aux);\n channel.send(msg);\n }\n }\n \n // reset key and remove from set if directory no longer accessible\n boolean valid = key.reset();\n if (!valid) \n {\n keys.remove(key);\n // all directories are inaccessible\n if (keys.isEmpty()) \n {\n break;\n }\n }\n }\n }", "title": "" }, { "docid": "6cb5f62d96ad7daf23e877c806009384", "score": "0.55600435", "text": "public void iterateThruFolder(String path) {\n\n File root = new File(path);\n File[] list = root.listFiles();\n\n if (list==null) {\n \treturn;\n }\n\n for (File f : list) {\n \t\n if (f.isDirectory()) {\n iterateThruFolder(f.getAbsolutePath());\n \n if (!subdirectoriesList.contains(f.getPath())) {\n \tsubdirectoriesList.add(f.getPath());\n }\n \n }\n \n }\n \n }", "title": "" }, { "docid": "668ef86364f241b0a6eb16a335fb317a", "score": "0.5551896", "text": "@SuppressWarnings(\"rawtypes\")\r\n public void processEvents() {\r\n LOG.info(\"{}Enter event processing loop...\", M_IN);\r\n for (;;) {\r\n\r\n // wait for key to be signaled\r\n WatchKey key;\r\n try {\r\n key = watcher.take();\r\n } catch (InterruptedException e) {\r\n LOG.error(e.getMessage(), e);\r\n return;\r\n }\r\n\r\n Path dir = keys.get(key);\r\n \r\n if (dir == null) {\r\n LOG.info(\"{}WatchKey '{}' not recognized!!\", M_M, key);\r\n continue;\r\n }\r\n\r\n for (WatchEvent<?> event : key.pollEvents()) {\r\n WatchEvent.Kind eventKind = event.kind();\r\n\r\n // TBD - provide example of how OVERFLOW event is handled\r\n if (eventKind == OVERFLOW) {\r\n LOG.info(\"{}{}: Not yet handler provided for this kind of event.\", M_M, eventKind);\r\n continue;\r\n }\r\n\r\n // Context for directory entry event is the file name of entry\r\n WatchEvent<Path> ev = WatchUtils.cast(event);\r\n Path name = ev.context();\r\n Path child = dir.resolve(name);\r\n boolean isDirectory = Files.isDirectory(child, NOFOLLOW_LINKS);\r\n\r\n // print out event\r\n LOG.info(\"{}{}: {} {}\", M_M, eventKind, child, isDirectory ? \"[DIRECTORY]\" : \"\");\r\n\r\n // if directory is created, and watching is recursively, then register it and its sub-directories\r\n boolean isEventKindCreated = eventKind == ENTRY_CREATE;\r\n\t\t\t\tif (recursive && isEventKindCreated && isDirectory) {\r\n try {\r\n \tregisterAll(child);\r\n } catch (IOException x) {\r\n // ignore to keep sample readable\r\n }\r\n }\r\n }\r\n\r\n // reset key and remove from set if directory no longer accessible\r\n boolean valid = key.reset();\r\n if (!valid) {\r\n keys.remove(key);\r\n\r\n // all directories are inaccessible\r\n if (keys.isEmpty()) {\r\n \tLOG.info(\"{}Key map is empty - nothing to watch!\", M_M);\r\n \tbreak;\r\n }\r\n }\r\n }\r\n LOG.info(M_OUT);\r\n }", "title": "" }, { "docid": "eb1aca8f56d529dd68cd17ebf2eb6832", "score": "0.5544681", "text": "private void enumAllFileList() {\n if (!TextUtils.isEmpty(dirPath)) {\n File adDir = new File(dirPath);\n if (adDir.exists() && adDir.isDirectory()) {\n if (!TextUtils.isEmpty(regEx)) {\n DeleteFileFilter filter = new DeleteFileFilter(isPrefix, regEx);\n //mapping the files that need to be deleted\n File[] fileList = adDir.listFiles(filter);\n if (fileList != null && fileList.length > 0) {\n for (File file : fileList) {\n if (file.isFile() && file.exists()) {\n boolean delete = file.delete();\n Log.i(TAG, \"delete assigned group download file:\" + regEx + (delete ? \"true.\" : \"false!\"));\n }\n }\n }\n }\n }\n }\n }", "title": "" }, { "docid": "078f32ac0c20594aa41b6daacf9c5776", "score": "0.55378467", "text": "public Object[] getElements(Object inputElement) {\n\t\treturn File.listRoots();\r\n\t}", "title": "" }, { "docid": "92065d55ca496dc4ff7b5359bcf06139", "score": "0.5534633", "text": "@Override\n public int visitDirectory(File file) {\n String fileName = file.getName();\n if (patterns != null) {\n if (!acceptFile(fileName, patterns)) {\n return FileWalker.CONTINUE;\n }\n }\n // check if this is an OSGi bundle\n try {\n Manifest mf = JarUtils.getDirectoryManifest(file);\n if (mf == null) {\n return FileWalker.CONTINUE;\n }\n String bundleName = mf.getMainAttributes().getValue(Constants.BUNDLE_SYMBOLICNAME);\n if (bundleName != null) {\n // notify the callback about the new bundle\n callback.visitBundle(new DirectoryBundleFile(file, mf));\n // assume that a directory OSGi bundle cannot contain other bundles so skip it\n return FileWalker.BREAK;\n }\n } catch (IOException e) {\n log.error(e, e);\n }\n return FileWalker.CONTINUE;\n }", "title": "" }, { "docid": "1ed4ab5a458fc2c52105597bc94fe8b2", "score": "0.5530532", "text": "@Override\n long size()\n {\n long ret = 0;\n for(IFile i : dir) ret += i.size();\n return ret;\n }", "title": "" }, { "docid": "cd27d5699b69b8316f8eaca31ee0b192", "score": "0.55263776", "text": "private void updateFileTreeImages()\n {\n for (TreeItem treeItem : widgetFileTree.getItems())\n {\n updateFileTreeImages(treeItem);\n }\n }", "title": "" }, { "docid": "bdcba11ed4fd379fb2050d484a3bbb7b", "score": "0.5524212", "text": "public FileTreeWalkIterator() {\n if (FileTreeWalk.this.f16939OooO00o.isDirectory()) {\n this.f16941OooO00o.push(OooO00o(FileTreeWalk.this.f16939OooO00o));\n } else if (FileTreeWalk.this.f16939OooO00o.isFile()) {\n this.f16941OooO00o.push(new OooO0O0(this, FileTreeWalk.this.f16939OooO00o));\n } else {\n OooO0Oo();\n }\n }", "title": "" }, { "docid": "3863872af15786b1ea5afcc5665569c4", "score": "0.55181533", "text": "@Test\n public void testPositivePathOf_enumerateDescendantFiles_showingMoreResultsWithMoreFileTypesToSearchOn()\n throws Exception\n {\n String[] nonexistentFileType = { \".fuz\" };\n String[] multipleValidFileTypes = { \".jpeg\", \".jpg\", \".png\" };\n String[] singleValidPictureType = { \".jpg\" };\n\n // Valid path, no file types match: No exceptions, 0 results\n Assertions.assertThat(\n MavenDefeatingFileLoader\n .enumerateDescendantFiles(\"\", nonexistentFileType).size()\n ).isEqualTo(0);\n\n ArrayList<Resource> resources = MavenDefeatingFileLoader\n .enumerateDescendantFiles(\"\", singleValidPictureType);\n Assertions.assertThat(resources.size()).isGreaterThan(0);\n\n // Valid path, multiple file types match: No exceptions, more results\n // than\n // earlier\n Assertions.assertThat(\n MavenDefeatingFileLoader\n .enumerateDescendantFiles(\"\", multipleValidFileTypes).size()\n ).isGreaterThan(resources.size());\n }", "title": "" }, { "docid": "dbccb1df873ebfc1c9027b551d0cef72", "score": "0.5510231", "text": "private static void indexDirectory(File dir) {\n for (File file : dir.listFiles()) {\n \n // XXX: might follow circular symlink?\n if (file.isDirectory()) {\n indexDirectory(file);\n continue;\n }\n \n ChunkedFile cf;\n try {\n\t\t\t\tcf = new ChunkedFile(file);\n\t\t\t} catch (NoSuchAlgorithmException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t\tcontinue;\n\t\t\t} catch (IOException e1) {\n\t\t\t\tSystem.err.println(\"Failed to chunk file \"+file.getPath());\n\t\t\t\tcontinue;\n\t\t\t}\n \n String hash;\n try { hash = Files.hash(file, Hashing.sha1()).toString(); }\n catch (IOException e) {\n e.printStackTrace();\n continue;\n }\n \n lookupIndex.put(hash, cf);\n System.out.println(\"Hash of '\"+file.getName()+\"' is \"+hash);\n \n // add file to file set for each key in file name\n for (String key : file.getName().split(delimiters)) {\n if (key.length() < MIN_KEY_LEN || ignoredKeys.contains(key))\n continue;\n \n Set<SearchResult> values = searchIndex.get(key);\n if (values == null) {\n values = new HashSet<SearchResult>();\n searchIndex.put(key, values);\n }\n System.out.println(\"Associating \"+file.getName()+\" with key \"+key);\n values.add(new SearchResult(file, hash));\n }\n }\n }", "title": "" }, { "docid": "4a4df4aad6ac78e55494d392a24ea4fe", "score": "0.5505114", "text": "protected FileObject[] setUpFileObjects(int foCount) throws Exception {\n tmp = createTempFolder();\n destFolder = LocalFSTest.createFiles(foCount, 0, tmp);\n File xmlbase = generateXMLFile(destFolder, new ResourceComposer(LocalFSTest.RES_NAME, LocalFSTest.RES_EXT, foCount, 0));\n xmlfs = new XMLFileSystem();\n xmlfs.setXmlUrl(xmlbase.toURL(), false);\n \n FileObject pkg = xmlfs.findResource(PACKAGE);\n return pkg.getChildren();\n }", "title": "" }, { "docid": "aebb73148fa630e297774a1274cb4a9d", "score": "0.5497989", "text": "private void findAllFiles() {\n foundFiles = searcher.search(params.getDirectoryKey(), params.getFileNameKey());\n }", "title": "" }, { "docid": "f9eeeb8d445b3841686255bf029985bd", "score": "0.5494912", "text": "private void addDirContent(File dir) {\r\n\t\t// Write Files to Array\r\n\t\tFile[] files = dir.listFiles();\r\n\r\n\t\tif (files != null) {\r\n\t\t\tfor (int i = 0; i < files.length; i++) {\r\n\t\t\t\t// Updating the Progress for the ProgressBar\r\n\r\n\t\t\t\t// In case the File is a Directory\r\n\t\t\t\tif (files[i].isDirectory()) {\r\n\t\t\t\t\t// Calling method recursively\r\n\t\t\t\t\taddDirContent(files[i]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// Checking if the file is an music file\r\n\t\t\t\t\tboolean musicFile = ReadDirTask.checkIfMusicFile(files[i]);\r\n\r\n\t\t\t\t\tif (musicFile) {\r\n\t\t\t\t\t\t// Adding the music file to the array list\r\n\t\t\t\t\t\treadFiles.add(new File(files[i].getAbsolutePath()));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "fa0596965d51ec73752399fa5c16c5b4", "score": "0.54939675", "text": "public ListFiles() {\n relativeToAbsolute = new ValidateDirectory();\n allChildren = new ArrayList<>();\n }", "title": "" }, { "docid": "cb1dd3bba9c0c23cbe71b19369c35ebb", "score": "0.5482398", "text": "@Test\n\tpublic void testPositivePathOf_enumerateDescendantFiles() throws Exception\n\t{ \n String[] singleValidPictureType = { \".jpg\" };\n\n //-\"WEB-INF/classes/static/images/art/AdmiralPerry\"\n //-\"static/images/art/AdmiralPerry\"\n \n Assertions.assertThat(\n MavenDefeatingFileLoader.enumerateDescendantFiles(\n deepPathToArt,\n singleValidPictureType\n )\n ).isNotEmpty()\n .allMatch(resource ->\n {\n try\n {\n File returnedFile = resource.getFile();\n return returnedFile.exists() && returnedFile.isFile()\n && returnedFile.getCanonicalPath()\n .endsWith(singleValidPictureType[0]);\n }\n catch (IOException e)\n {\n return false;\n }\n });\n\n }", "title": "" }, { "docid": "5fc8d283a2d9a2fbf465196aeb844fb8", "score": "0.5478107", "text": "public Iterable<Hash256> directoryIterator(OfferDirectory forQuality) {\n Vector256 indexes = new Vector256();\n OfferDirectory cursor = forQuality;\n\n while (cursor != null) {\n indexes.addAll(cursor.indexes());\n if (cursor.hasNextIndex()) {\n LedgerEntry le = getLE(cursor.nextIndex());\n if (le instanceof OfferDirectory) {\n cursor = (OfferDirectory) le;\n }\n else {\n break;\n }\n }\n else {\n break;\n }\n }\n return indexes;\n }", "title": "" }, { "docid": "f8bb5e8d09acc323e51cdfa3d9e5e3f3", "score": "0.542844", "text": "private void scanNode(final AbstractNode node) {\n if (node instanceof FolderNode) {\n List<AbstractNode> childNodes = getChildNodes(node);\n if (childNodes != null)\n for (AbstractNode childNode : childNodes)\n scanNode(childNode);\n }\n }", "title": "" }, { "docid": "19b10f777117c8ea4549d9e04cb35268", "score": "0.5424796", "text": "private void getFiles(String directory) {\n\t\tmListState.push(getListView().onSaveInstanceState());\n\t\tmCurrentPath.push(directory);\n\t\tgetFiles(false);\n\t}", "title": "" }, { "docid": "ec677272dca323a5fe71461c066afec8", "score": "0.54160005", "text": "private void search(File[] dir) {\n\t\tfor (int i = 0; i < dir.length; i++) {\n\t\t\tif (dir[i].isDirectory()) {\n\t\t\t\tdirCounter.incrementAndGet();\n\t\t\t\tunprocessedDirs.offer(dir[i]);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (dir[i].getName().endsWith(\".java\")) {\n\t\t\t\t\tqueue.offer(dir[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e11a3b3886031c6d560bc4a04c80c78a", "score": "0.54050285", "text": "public void run() {\r\n\t\twhile ( !stop ) {\r\n\r\n\t\t\t// wait for key to be signalled\r\n\t\t\tWatchKey key;\r\n\t\t\ttry {\r\n\t\t\t\tkey = watcher.take();\r\n\t\t\t} catch (InterruptedException x) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tPath dir = keys.get(key);\r\n\t\t\tif (dir == null) {\r\n\t\t\t\tSystem.err.println(\"WatchKey not recognized!!\");\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tfor (WatchEvent<?> event : key.pollEvents()) {\r\n\t\t\t\tKind<?> kind = event.kind();\r\n\t\t\t\t// TBD - provide example of how OVERFLOW event is handled\r\n\t\t\t\tif (kind == OVERFLOW) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfor( Watcher w: watchers ){\r\n\t\t\t\t\tw.listChange();\r\n\t\t\t\t}\r\n\t\t\t\t// Context for directory entry event is the file name of entry\r\n\t\t\t\tWatchEvent<Path> ev = cast(event);\r\n\t\t\t\tPath name = ev.context();\r\n\t\t\t\tPath child = dir.resolve(name);\r\n\r\n\t\t\t\t// print out event\r\n\t\t\t\tSystem.out.format(\"%s: %s\\n\", event.kind().name(), child);\r\n\t\t\t}\r\n\r\n\t\t\t// reset key and remove from set if directory no longer accessible\r\n\t\t\tboolean valid = key.reset();\r\n\t\t\tif (!valid) {\r\n\t\t\t\tkeys.remove(key);\r\n\r\n\t\t\t\t// all directories are inaccessible\r\n\t\t\t\tif (keys.isEmpty()) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a22991b6d7f8790e3d15f153eb2e0a57", "score": "0.54039377", "text": "public void run() {\n\n File selectedDir = file.getParentFile();\n String selectedFile = file.getName();\n\n String srcDir = selectedDir.getAbsolutePath();\n\n System.out.println(srcDir);\n System.out.println(\"File: \" + selectedFile);\n\n ArrayList<String> folders = new ArrayList<String>();\n ArrayList<String> filenames = new ArrayList<String>();\n\n\n\n for (final File fileEntry : selectedDir.listFiles()){\n\n if (fileEntry.getName().endsWith(ext)&&fileEntry.getName().contains(\"psf\")){\n\n System.out.println(\"Processing file: \" + fileEntry.getName());\n String path = selectedDir + File.separator + fileEntry.getName();\n\n readFile(path, selectedDir);\n }\n\n\n\n\n }\n\n\n // skip irrelevant filenames, do stuff for relevant ones\n\n\n }", "title": "" }, { "docid": "e703b8a9fda658e81ff62577937a286a", "score": "0.5402737", "text": "@Override\r\n\t\tpublic void run() {\n\t\t\trequestDirectory();\r\n\t\t}", "title": "" }, { "docid": "55ce31d73c6ea4df82cb4ea7da11f6a4", "score": "0.5402256", "text": "private void scanDirectory() {\n String directory = this.txtDirectory.getText();\n \n if (directory.length() <= 0) {\n return;\n }\n \n File[] dir = new File(directory).listFiles();\n \n // Hashes the files based on the file modified date, ascending\n Arrays.sort(dir, new Comparator<File>(){\n @Override\n public int compare(File f1, File f2) {\n return Long.valueOf(f1.lastModified()).compareTo(f2.lastModified());\n }\n });\n \n // Dumps the hash map to avoid residue entries\n renameMapping = new HashMap<>();\n \n String fillPrefix = this.txtPrefix.getText();\n int fillDigit = Integer.parseInt(this.spnDigitFill.getValue().toString());\n \n int fileNumber = 1;\n for (int i = 0; i < dir.length; i++) {\n if (dir[i].isDirectory()) {\n continue;\n }\n \n String fill = fillPrefix;\n \n // fillAmount: the length of the file number strings\n // Example:\n // fillAmount = 4:\n // file number 1 = 0001\n // file number 232 = 0232\n int fillAmount = fillDigit - Integer.toString(fileNumber).length();\n \n for (int j = 0; j < fillAmount; j++) {\n fill = fill + \"0\";\n }\n \n // Gets the file extension\n String fileExt =\n dir[i].getName().substring(dir[i].getName().lastIndexOf(\".\"));\n \n String findMatch = null;\n \n // See if the user wants to find matching file number\n if (this.chkFileNameMatch.isSelected()) {\n findMatch = this.findNumber(dir[i].getName());\n }\n \n if (findMatch != null) {\n renameMapping.put(dir[i].getName(), findMatch + fileExt);\n } else {\n renameMapping.put(dir[i].getName(), fill + fileNumber + fileExt);\n fileNumber++;\n }\n }\n \n // Displays the scanned files and their new names\n this.listFiles();\n }", "title": "" }, { "docid": "8ac508a0864cb00d4146de33881a15ab", "score": "0.538583", "text": "public InstanceList readDirectories(File[] directories) {\n\t FileIterator iterator =\r\n\t new FileIterator(directories,\r\n\t new TxtFilter(),\r\n\t FileIterator.LAST_DIRECTORY);\r\n\r\n\t // Construct a new instance list, passing it the pipe\r\n\t // we want to use to process instances.\r\n\t InstanceList instances = new InstanceList(pipe);\r\n\r\n\t // Now process each instance provided by the iterator.\r\n\t instances.addThruPipe(iterator);\r\n\r\n\t return instances;\r\n\t }", "title": "" }, { "docid": "e19df4b6cd073914e66d9761695c1313", "score": "0.53680414", "text": "public void parseAllDirectories() throws IOException {\n int ifdOffset = EXIF_HEADER_START_SIZE + m_buf.getInt();\n final Set<Integer> ifdOffsetSet = new HashSet<Integer>();\n while ( true ) {\n if ( ifdOffset == 0 )\n break;\n if ( ifdOffset < 0 ) {\n m_handler.gotBadMetadata( \"IFD offset < 0\" );\n break;\n }\n if ( !ifdOffsetSet.add( ifdOffset ) ) {\n //\n // There are some bad images in the wild where the next IFD\n // offset refers to a previous offset: catch this case to\n // prevent an infinite loop.\n //\n break;\n }\n final ImageMetadataDirectory dir = m_handler.gotDirectory();\n parseDirectory( ifdOffset, 0, dir );\n if ( m_stop )\n break;\n ifdOffset = m_buf.getInt();\n if ( ifdOffset > 0 ) {\n ifdOffset += EXIF_HEADER_START_SIZE;\n if ( ifdOffset >= m_buf.limit() )\n m_handler.gotBadMetadata( \"IFD offset >= EXIF limit\" );\n }\n }\n }", "title": "" }, { "docid": "ea505565512548abdbb329574d7ef4a2", "score": "0.53665704", "text": "public void Run() {\n\t\tString currentDirectory = System.getProperty(\"user.dir\").concat(\"/\");\n\t\tArrayList<String> lines = ReadFile();\n\t\tint previousLevel = -1;\n\t\tfor(String s : lines) {\n\t\t\tif(isSameLevel(previousLevel, s)) {\n\t\t\t\tcurrentDirectory = PopNodeFromPath(currentDirectory, 1);\n\t\t\t}\n\t\t\telse if(isSubFolder(previousLevel, s)) {\n\t\t\t\tpreviousLevel = DepthOfDirectory(s, 0);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tint diff = previousLevel - DepthOfDirectory(s, 0);\n\t\t\t\tcurrentDirectory = PopNodeFromPath(currentDirectory, diff+1);\n\t\t\t\tpreviousLevel = DepthOfDirectory(s, 0);\n\t\t\t}\n\t\t\tcurrentDirectory = currentDirectory.concat(FormatDirectory(s));\n\t\t\tCreateDirectory(currentDirectory);\n\t\t}\n\t}", "title": "" }, { "docid": "178dc3ed2c423663ba30640d9944d19e", "score": "0.5365638", "text": "@Override\n public Collection<AbstractFile> visit(File file) {\n return getAllFromChildren(file);\n }", "title": "" }, { "docid": "2e7ad57a5ae765a3b10c847bd15e3da5", "score": "0.5362814", "text": "public Directory getDirectory() {\n return this.directory;\n }", "title": "" }, { "docid": "14f81af0727a3d0e9ad88fda354ef4df", "score": "0.53620505", "text": "private void walkAndRegisterDirectories(final Path start) throws IOException {\r\n // register directory and sub-directories\r\n Files.walkFileTree(start, new SimpleFileVisitor<Path>() {\r\n @Override\r\n public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {\r\n registerDirectory(dir);\r\n return FileVisitResult.CONTINUE;\r\n }\r\n });\r\n }", "title": "" }, { "docid": "1dad9acabc2c0ba94643a8b3f3f345dc", "score": "0.5361632", "text": "private void testReadFileFolderService() {\n NodeRef parentFolderNodeRef = getCompanyHomeNodeRef();\r\n List<FileInfo> filesAndFolders = m_fileFolderService.list(parentFolderNodeRef);\r\n\r\n if (filesAndFolders.isEmpty()) {\r\n return;\r\n }\r\n\r\n NodeRef fileNodeRef = null;\r\n\r\n logger.info(\"FileFolderService: Starting listing of all nodes in /Company Home\");\r\n for (FileInfo fileOrFolder : filesAndFolders) {\r\n NodeRef nodeRef = fileOrFolder.getNodeRef();\r\n String name = fileOrFolder.getName();\r\n Date createdDate = fileOrFolder.getCreatedDate();\r\n Date modifiedDate = fileOrFolder.getModifiedDate();\r\n if (fileOrFolder.isFolder()) {\r\n // Do something with the folder\r\n logger.info(\"FileFolderService: Found folder node (\" + name + \") [folderNodeRef= \" + nodeRef + \"]\");\r\n } else if (fileOrFolder.isLink()) {\r\n // Do something with a link to a folder or file\r\n logger.info(\"FileFolderService: Found link node (\" + name + \") [linkNodeRef= \" + nodeRef + \"]\");\r\n } else {\r\n // Do something with a file\r\n fileNodeRef = nodeRef;\r\n ContentData contentInfo = fileOrFolder.getContentData();\r\n String mimetype = contentInfo.getMimetype();\r\n long size = contentInfo.getSize();\r\n String encoding = contentInfo.getEncoding();\r\n logger.info(\"FileFolderService: Found file node (\" + name + \") [mimetype=\" + mimetype + \"][size=\" + size + \"]\" +\r\n \"[encoding=\" + encoding + \"][fileNodeRef= \" + nodeRef + \"]\");\r\n }\r\n }\r\n logger.info(\"FileFolderService: Done listing all nodes in /Company Home\");\r\n\r\n // Read content from a file node\r\n if (fileNodeRef != null) {\r\n ContentReader reader = m_fileFolderService.getReader(fileNodeRef);\r\n if (reader == null) {\r\n // Maybe it was a folder after all\r\n return;\r\n }\r\n\r\n InputStream is = reader.getContentInputStream();\r\n\r\n try {\r\n // Read from the input stream\r\n String contentText = IOUtils.toString(is, \"UTF-8\");\r\n logger.info(\"ContentService: Read content from node ref (\" + fileNodeRef + \"): \" + contentText);\r\n } catch (IOException ioe) {\r\n String errorMsg = \"ContentService: Error reading content from node ref (\" + fileNodeRef + \") :\" + ioe.getMessage();\r\n logger.error(errorMsg, ioe);\r\n throw new RuntimeException(errorMsg);\r\n } finally {\r\n if (is != null) {\r\n try {\r\n is.close();\r\n } catch (Throwable e) {\r\n logger.error(e);\r\n }\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "3bd0c493f11328867bc011d0747b5d7b", "score": "0.53597826", "text": "public List<String> returnFiles(){\r\n \t\tFile currentPath = new File(baseDir, currentDir);\r\n \t\twhile(!currentPath.equals(new File(baseDir))){\r\n \t\t\tcurrentPath = currentPath.getParentFile();\r\n\t\t\taddIfExists(currentPath, \"teardown.html\");\r\n \t\t}\r\n \t\treturn files;\r\n \t}", "title": "" }, { "docid": "3460b2221c6f1121fe395991a43ada62", "score": "0.53596926", "text": "public FileFinder(File startingDirectory)\r\n {\r\n children = startingDirectory.listFiles();\r\n }", "title": "" }, { "docid": "18c34d7266dfe12f049848e179100b4d", "score": "0.53548235", "text": "@Override\n protected FileObject[] doListChildrenResolved() throws Exception {\n // should not require a round-trip because type is already set.\n if (this.isFile()) {\n return null;\n }\n // List the contents of the folder\n Vector<?> vector = null;\n final ChannelSftp channel = getAbstractFileSystem().getChannel();\n\n try {\n // try the direct way to list the directory on the server to avoid too many round trips\n vector = channel.ls(relPath);\n } catch (final SftpException e) {\n String workingDirectory = null;\n try {\n if (relPath != null) {\n workingDirectory = channel.pwd();\n channel.cd(relPath);\n }\n } catch (final SftpException ex) {\n // VFS-210: seems not to be a directory\n return null;\n }\n\n SftpException lsEx = null;\n try {\n vector = channel.ls(\".\");\n } catch (final SftpException ex) {\n lsEx = ex;\n } finally {\n try {\n if (relPath != null) {\n channel.cd(workingDirectory);\n }\n } catch (final SftpException xe) {\n throw new FileSystemException(\"vfs.provider.sftp/change-work-directory-back.error\",\n workingDirectory, lsEx);\n }\n }\n\n if (lsEx != null) {\n throw lsEx;\n }\n } finally {\n putChannel(channel);\n }\n FileSystemException.requireNonNull(vector, \"vfs.provider.sftp/list-children.error\");\n\n // Extract the child names\n final ArrayList<FileObject> children = new ArrayList<>();\n for (@SuppressWarnings(\"unchecked\") // OK because ChannelSftp.ls() is documented to return Vector<LsEntry>\n final Iterator<LsEntry> iterator = (Iterator<LsEntry>) vector.iterator(); iterator.hasNext();) {\n final LsEntry stat = iterator.next();\n\n String name = stat.getFilename();\n if (VFS.isUriStyle() && stat.getAttrs().isDir() && name.charAt(name.length() - 1) != '/') {\n name = name + \"/\";\n }\n\n if (name.equals(\".\") || name.equals(\"..\") || name.equals(\"./\") || name.equals(\"../\")) {\n continue;\n }\n\n final FileObject fo = getFileSystem().resolveFile(getFileSystem().getFileSystemManager()\n .resolveName(getName(), UriParser.encode(name), NameScope.CHILD));\n\n ((SftpFileObject) FileObjectUtils.getAbstractFileObject(fo)).setStat(stat.getAttrs());\n\n children.add(fo);\n }\n\n return children.toArray(FileObject.EMPTY_ARRAY);\n }", "title": "" }, { "docid": "45b4da94ab8f6b93a8afae322d9df376", "score": "0.5350882", "text": "public void list() throws IOException, TransformerConfigurationException {\n\n SAXTransformerFactory tf = (SAXTransformerFactory) TransformerFactory.newInstance();\n\n Templates xslt = loadDcmDirXSL(tf);\n\n DirReader reader = fact.newDirReader(dirFile);\n\n reader.getFileSetInfo().writeFile2(getTransformerHandler(tf, xslt, FILE_SET_INFO), dict, null, 128, null);\n\n try {\n\n list(\"\", reader.getFirstRecord(onlyInUse), tf, xslt);\n\n } finally {\n\n reader.close();\n\n }\n\n }", "title": "" }, { "docid": "684a39b4bd848a7bd0eb3569886a9fd3", "score": "0.53489935", "text": "public void printFileNames() {\n DirectoryResource dr = new DirectoryResource();\n for (File f : dr.selectedFiles()) {\n System.out.println(f);\n }\n }", "title": "" }, { "docid": "a6ece0151436b3b9cd6947d2e3fc4cd8", "score": "0.53444225", "text": "private void walkAndRegisterDirectories(final Path start) throws IOException \n {\n // register directory and sub-directories\n Files.walkFileTree(start, new SimpleFileVisitor<Path>() \n {\n @Override\n public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException \n {\n registerDirectory(dir);\n return FileVisitResult.CONTINUE;\n }\n });\n }", "title": "" }, { "docid": "bb41dad0d22c09c07e3bce14579304bf", "score": "0.5341899", "text": "public void walk(User user) {\n\n\t\t//make arraylist of files\n\t\tArrayList<File> alFiles = fetchAllFilesRecursively(user.getDirectory());\n\n\t\t//for each user's files...\n\t\tfor (File f : alFiles) {\n\t\t\tcheckFile(user, f);\n\t\t}\n\t}", "title": "" }, { "docid": "79857a31409100562db0efa9491c118d", "score": "0.53254396", "text": "@Override\n public void onDirectoryClick(MyDirectory dir) {\n }", "title": "" }, { "docid": "832756d5b0f3ac3e96759bbc214e09a1", "score": "0.5325094", "text": "private void walkAndRegisterDirectories(final Path start) throws IOException, InterruptedException {\n\t\tif (start.toFile().isDirectory()) {\n\t\t\tFile[] files = start.toFile().listFiles();\n\t\t\tfor (int index = 0; index < files.length; index++) {\n\t\t\t\tThread.sleep(100);\n\t\t\t\tFile file = files[index];\n\t\t\t\tif (file.isDirectory()) {\n\t\t\t\t\twalkAndRegisterDirectories(Paths.get(file.getAbsolutePath()));\n\t\t\t\t}\n\t\t\t}\n\t\t\tregisterDirectory(start);\n\t\t}\n\t}", "title": "" }, { "docid": "225f317d0f3a830200d108334bdd5af3", "score": "0.5312589", "text": "public void listDirectory(String _directory)\n\t{\n\t\tFile root = new File(_directory);\n\t\tFile[] list = root.listFiles();\n\t\tfor(int i = 0; i < list.length; i++)\n\t\tSystem.out.println(list[i].getAbsolutePath());\n\t}", "title": "" }, { "docid": "0983272384a0b55caa231f4b5f5b5adf", "score": "0.5301522", "text": "private void updateDirectory() {\n mSubDirs.clear();\n mSubDirs.addAll(getSubDirectories(mCurrentDir));\n mControlsLayout.setCurrentPath(mCurrentDir);\n mDirListAdapter.notifyDataSetChanged();\n }", "title": "" }, { "docid": "c4dc3556a11d131999f589830462c61d", "score": "0.5299799", "text": "public abstract Iterator<String> generateChildren();", "title": "" }, { "docid": "2eff40169a2b2f5f417b284f27574651", "score": "0.5295449", "text": "public void iterate(){\n\t\tint i = -1;\n\t\tOrder o;\n\t\tPathfinder p = Pathfinder.getInstance();\n\t\tp.resetDepth();\n//\t\tSystem.out.println(\"Iterating player...\");\n\t\twhile((free_workers>0) && (p.getDepth()<500) && (++i<order.size())){\n//\t\t\tSystem.out.println(\"Order #\"+i);\n\t\t\to = order.get(i);\n\t\t\to.process();\n\t\t}\n\t}", "title": "" }, { "docid": "8fd20a59905fe752656c317b962abe5b", "score": "0.52867955", "text": "public static void traversedirectory(File node)\r\n\t{\r\n\r\n\t\tPath path = FileSystems.getDefault().getPath(node.getAbsolutePath());\r\n\r\n\t\tString sourcepaths = path.toString();\r\n\r\n\t\t// Filtering useful java and jsp files based on .java and .jsp extensions.\r\n\t\tfileExtensionFilteration(sourcepaths);\r\n\r\n\t\tif(node.isDirectory())\r\n\t\t{\r\n\t\t\tString[] subNote = node.list();\r\n\t\t\tfor(String filename : subNote)\r\n\t\t\t{\r\n\t\t\t\ttraversedirectory(new File(node, filename));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "c8ddcf97d56c9b8c2d6c263b89df1b86", "score": "0.52835965", "text": "public Collection<Path> enumerateAllPaths() {\n START.visit();\n final Collection<Path> allPaths = START.findPathsToFinishSector(new ArrayList<Path>(), new Path());\n return allPaths;\n }", "title": "" }, { "docid": "5d34e2d951e6ed27dcf4ea1f0c42df68", "score": "0.5273383", "text": "@Override\n public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) {\n match(dir);\n return CONTINUE;\n }", "title": "" }, { "docid": "97cc5e2774b3bd3d10a743661e4ba38c", "score": "0.52690494", "text": "public void listContents()\n\t{\n\t\tthis.fileList = new ArrayList<String>(Arrays.asList(dir.list()));\n\t}", "title": "" }, { "docid": "616bd0db2fabbfe1f52e3f26b533916e", "score": "0.52604365", "text": "private void findFiles() throws IOException{\n\t\tFiles.walkFileTree(rootDir, new FileVisitor(files));\n\t}", "title": "" }, { "docid": "3dcd1954ab598d6e35a0b9ca2bcf049f", "score": "0.52580357", "text": "private void registerAll(final Path start) throws IOException {\n // register directory and sub-directories\n Files.walkFileTree(start, new SimpleFileVisitor<Path>() {\n @Override\n public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs)\n throws IOException\n {\n register(dir);\n return FileVisitResult.CONTINUE;\n }\n });\n }", "title": "" }, { "docid": "ece3ae51c85f5525f27279ad977b6637", "score": "0.52499944", "text": "public void listFiles(Path path) throws IOException {\n\t\t try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) {\n\t\t for (Path entry : stream) {\n\t\t if (Files.isDirectory(entry)) {\n\t\t listFiles(entry);\n\t\t }\n\t\t files.add(entry);\n\t\t }\n\t\t }\n\t\t}", "title": "" }, { "docid": "b8a7a2f786329ce82b0b8cf8d9b40851", "score": "0.52468103", "text": "private void registerAll(final Path start) throws IOException {\n // register directory and sub-directories\n Files.walkFileTree(start, new SimpleFileVisitor<Path>() {\n @Override\n public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs)\n throws IOException\n {\n register(dir);\n return FileVisitResult.CONTINUE;\n }\n });\n }", "title": "" }, { "docid": "f98b7bdc05c5bd78baad2ae616b1c38b", "score": "0.52449864", "text": "private File traverse(String filePath){\n String[] dirs = filePath.split(\"/\");\n File cur = root;\n\n for (String dir : dirs){\n /**\n * !!!\n */\n if (dir.length() == 0) continue;\n\n cur.children.putIfAbsent(dir, new File());\n cur = cur.children.get(dir);\n }\n\n return cur;\n }", "title": "" }, { "docid": "60522ac58e0df30f14b399c10cabf6a8", "score": "0.5240825", "text": "public Object[] getChildren(Object parentElement) {\n\t\treturn ((File) parentElement).listFiles(filter);\r\n\t}", "title": "" }, { "docid": "fce78f88fc7c9485defa7dd015dfbc03", "score": "0.52309513", "text": "public void getAllGenModelFiles(Collection<IFile> result, IContainer container) throws CoreException\n {\n IResource[] contents = container.members();\n for (int i = 0; i < contents.length; ++i)\n {\n IResource resource = contents[i];\n if (resource.getType() == IResource.FILE)\n {\n getAllGenModelFiles(result, (IFile)resource);\n }\n else\n {\n getAllGenModelFiles(result, (IContainer)resource);\n }\n }\n }", "title": "" }, { "docid": "24fc43823c0a3047a0262bcae27415dc", "score": "0.5230885", "text": "private Collection<PCMContainer> collectPCMContainersInAFolder(File dir) throws IOException {\n\n assertTrue(dir.isDirectory());\n Collection<PCMContainer> containers = new ArrayList<PCMContainer>();\n\n File[] pcms = dir.listFiles(new FilenameFilter() {\n @Override\n public boolean accept(File dir, String name) {\n return name.endsWith(\".pcm\");\n }\n });\n\n assertTrue(pcms.length > 0);\n\n for (File pcmFile : pcms) {\n\n PCMLoader loader = new KMFJSONLoader();\n List<PCMContainer> pcmContainers = loader.load(pcmFile);\n for (PCMContainer pc : pcmContainers) {\n containers.add(pc);\n pc.getPcm().setName(pcmFile.getName());\n }\n\n\n\n }\n\n return containers;\n\n }", "title": "" }, { "docid": "86e23318561744aaeddab010f7ee8c09", "score": "0.5226651", "text": "private void listFilesForFolder(final File folder) {\n\n if (folder.listFiles() != null) {\n for (final File fileEntry : folder.listFiles()) {\n {\n if (fileEntry.isDirectory()) {\n listFilesForFolder(fileEntry);\n } else {\n\n databaseClass.readRecord();\n if (Utils.boolUtils.size() != folder.length()) {\n if (databaseClass.searchRecord(fileEntry.getName()).equals(\"Empty\")) {\n databaseClass.insertRecord(fileEntry.getName(), true);\n }\n }\n }\n }\n }\n }\n }", "title": "" }, { "docid": "88a56d5e1dd31ce7cfbdad542bff3b20", "score": "0.5212569", "text": "public abstract Iterator getChildElements(Name name);", "title": "" }, { "docid": "4187f2807857564007690ec63f24a615", "score": "0.52061284", "text": "private void processListedElements(LinkedList<String> elements) throws IOException,FileNotFoundException\n\t\t{\n\t\t\tIterator i = elements.iterator();\n\t\t\tBufferedReader reader;\n\t\t\t\n\t\t\twhile(i.hasNext())\n\t\t\t{\n\t\t\t\tString element = (String)i.next();\n\t\t\t\tString directive = element.split(\"=\")[0].trim();\n\t\t\t\tString command = element.split(\"=\")[1].trim();\n\t\t\t\t\n\t\t\t\t/* Process all config files */\n\t\t\t\tif(directive.equals(\"cfg_file\"))\n\t\t\t\t{\n\t\t\t\t\treader = getFileHandle(command);\n\t\t\t\t\tprocessConfigurationFile(reader);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t/* Process all resource config dirs */\n\t\t\t\tif(directive.equals(\"cfg_dir\"))\n\t\t\t\t\tprocessConfigurationDirectory(command);\n\t\t\t\t\t\t\t\t\n\t\t\t\t/* Process user specifed resource config files */\n\t\t\t\tif(directive.equals(\"resource_file\"))\n\t\t\t\t{\n\t\t\t\t\treader = getFileHandle(command);\n\t\t\t\t\tconvertResourceFileToXML(reader);\n\t\t\t }\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "dfd5b3c261d237429fc41fff108dcce1", "score": "0.52047175", "text": "private void registerAll(final Path start) throws IOException {\n Files.walkFileTree(start, new SimpleFileVisitor<Path>() {\n @Override\n public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs)\n throws IOException\n {\n register(dir);\n return FileVisitResult.CONTINUE;\n }\n });\n }", "title": "" }, { "docid": "b348e3ca5b36ecc4f038d8e22c72fdd3", "score": "0.52036375", "text": "private static List<String> getFiles(String dir, String parentPath) {\n\t\tRootTools.log(\"Looking for files in \" + parentPath + \"/\" + dir);\n\t\ttry {\n\n Command cmd = new CommandCapture(0, \"chmod 755 \" + parentPath + \"/\" + dir);\n shell.add(cmd).waitForFinish();\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tList<String> list = new ArrayList<String>();\n\t\t\tif (new File(parentPath + \"/\" + dir).list() != null) {\n\t\t\t\tfor (String f : new File(parentPath + \"/\" + dir).list()) {\n\t\t\t\t\tRootTools.log(f);\n\t\t\t\t\tif (new File(parentPath + \"/\" + dir + \"/\" + f).isDirectory()) {\n\t\t\t\t\t\tlist.add(f);\n\t\t\t\t\t\tList<String> tmp = getFiles(f, dir);\n\t\t\t\t\t\tif (tmp != null) {\n\t\t\t\t\t\t\tfor (String file : tmp) {\n\t\t\t\t\t\t\t\tRootTools.log(file);\n\t\t\t\t\t\t\t\tlist.add(file);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlist.add(dir + \"/\" + f);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\treturn list;\n\t}", "title": "" }, { "docid": "8bdf98478e43b1e2ad14ae92c43555b0", "score": "0.5203483", "text": "public void ls() throws Exception {\n // Get the metadata.\n Metadata metadata = readMetaData();\n // Get the files from the metadata.\n List<File> files = metadata.getFiles();\n // For each file in the files, print the name of the file.\n for (File file : files) {\n System.out.println(file.getName());\n }\n }", "title": "" }, { "docid": "8d4caff42d7e772f0576d487ab86e9f3", "score": "0.5198446", "text": "protected abstract void synchronizeDirectoryContents();", "title": "" }, { "docid": "afb63fa936951e40ec4fba7cf98d84e9", "score": "0.51933527", "text": "public static void getPeerFiles(File dir) throws Exception{\n\t\tFile[] files = dir.listFiles();\n\t\tSystem.out.println(\"# of files registered: \" + files.length);\n\t\t\n\t\t\tfor (File file : files) {\n\t\t\t\tfileNames.add(file.getName());\n\t\t\t\t//System.out.println(\"file : \"+file.getName());\n\t\t\t}\n\t}", "title": "" } ]
4f4b796bcf93659972d3c219d6b42bd5
si nodo1 y nodo2 son consecutivos
[ { "docid": "fe884434e151d0ac226e6e44c4d11352", "score": "0.6280714", "text": "private Nodo cambiaEnlaces(Nodo nodo1, Nodo nodo2){\n if(nodo1.sgte==nodo2){\n nodo1.sgte = nodo2.sgte;\n //hago el doble enlace\n nodo2.sgte.ant = nodo1;\n nodo2.sgte = nodo1;\n //hago el doble enlace\n nodo1.ant = nodo2;\n }else{\n Nodo aux=nodo1;\n while(aux.sgte!=nodo2){\n aux=aux.sgte;\n }\n aux.sgte=nodo2.sgte;\n //hago el doble enlace\n nodo2.sgte.ant = aux;\n nodo2.sgte=nodo1;\n //hago el doble enlace\n nodo1.ant = nodo2;\n }\n return nodo2; \n }", "title": "" } ]
[ { "docid": "88b37a2365037da24ef0e55a05cad85e", "score": "0.5906045", "text": "public void union (String tFirst, String tSecond) {\r\n // wszystkie zmienne zapamietuja referencje do pierwszego pociagu na liscie\r\n Train i = trains; // iterator dla petli\r\n Train curr = trains; // zapamieta referencje do pociagu tFirst (o ile istnieje)\r\n Train sec = trains; // zapamieta referencje do pociagu tSecond (o ile istnieje)\r\n\r\n /*\r\n * przeszukanie listy pociagow do momentu, gdy nie znajdziemy obu szukanych pociagow\r\n * lub dojdziemy do konca listy\r\n */\r\n while (i != null) {\r\n if (!sec.trainName.equals(tSecond)) {\r\n sec = sec.next;\r\n }\r\n if (!curr.trainName.equals(tFirst)) {\r\n curr = curr.next;\r\n }\r\n if (curr!=null && sec!=null) {\r\n if (curr.trainName.equals(tFirst)) {\r\n if (sec.trainName.equals(tSecond)) {\r\n break;\r\n }\r\n }\r\n }\r\n i = i.next;\r\n }\r\n\r\n if (curr == null) { // jezeli pierwszy podany pociag nie istnieje na liscie\r\n System.out.println(\"Train \" + tFirst + \" does not exist\");\r\n return;\r\n }\r\n\r\n if (sec == null) { // jezeli drugi podany pociag nie istnieje na liscie\r\n System.out.println(\"Train \" + tSecond + \" does not exists\");\r\n return;\r\n }\r\n\r\n Carriage tmp = curr.first.prev; // zapamietuje referencje do ostatniego wagonu pociagu 1\r\n curr.first.prev.next = sec.first; // ustawia next ostatniego wagonu pociagu 1 na pierwszy wagon pociagu 2\r\n sec.first.prev.next = curr.first; // ustawia next ostatniego wagonu pociagu 2 na pierwszy wagon pociagu 1\r\n curr.first.prev = sec.first.prev; // ustawia prev pierwszego wagonu pociagu 1 na ostatni wagon pociagu 2\r\n sec.first.prev = tmp; // ustawia prev pierwszego wagonu pociagu 2 na ostatni wagon pociagu 1\r\n\r\n delTrain(tSecond); // usuwa pociag 2\r\n }", "title": "" }, { "docid": "8cf8345d763764ca6007c2e33455f032", "score": "0.58116674", "text": "void unionNDetectCycle(DisjointSet.Node node1, DisjointSet.Node node2){\n int idx1 = findRepr(node1);\n int idx2 = findRepr(node2);\n\n // If both nodes in same set\n // Cycle detected\n if(idx1 == idx2) {\n System.out.println(\"Cycle found:\");\n return;\n }\n\n DisjointSet.Node repr1 = this.representativesList.get(idx1);\n DisjointSet.Node repr2 = this.representativesList.get(idx2);\n\n // union by rank\n if(repr1.rank < repr2.rank)\n repr1.parent = repr2;\n else if(repr1.rank > repr2.rank)\n repr2.parent = repr1;\n else {\n repr2.parent = repr1;\n repr1.rank++;\n }\n this.setCount--; // as 2 disjoint sets have been merged\n }", "title": "" }, { "docid": "be792797815c6a0f03e0911e0756d781", "score": "0.5728989", "text": "public boolean intercambiarExtremos(){\r\n Nodo sig;\r\n Nodo temp, ant;\r\n \r\n if(this.isEmpty())\r\n return false;\r\n if(this.first == this.last)\r\n return true;\r\n else{\r\n //desconecto el primer nodo con la lista\r\n sig = this.first.getNext();\r\n sig.setPrevious(null);\r\n this.first.setNext(null);\r\n //desconecto el ultimo nodo con la lista\r\n ant = this.last.getPrevious();\r\n ant.setNext(null);\r\n this.last.setPrevious(null);\r\n //desconecto los nodos primero y final\r\n this.last.setNext(null);\r\n this.first.setPrevious(null);\r\n //hago el intercambio\r\n temp = this.last;\r\n this.last = this.first;\r\n this.first = temp;\r\n //conecto el primer nodo que antes era ultimo\r\n sig.setPrevious(this.first);\r\n this.first.setNext(sig);\r\n this.first.setPrevious(this.last);\r\n //conecto el ultimo nodo que antes era primero\r\n ant.setNext(this.last);\r\n this.last.setPrevious(ant); \r\n this.last.setNext(this.first);\r\n \r\n }\r\n return true; \r\n }", "title": "" }, { "docid": "440fd912cd948df7b7e856dddd6dc4f7", "score": "0.5728378", "text": "private void union_Redundant(int start, int end, int[] parent) {\n \tint root1 = find_Redundant( start, parent);\n \tint root2 = find_Redundant( end, parent);\n \tif(root1 == root2) return; // already in the same group -> do nothing \n \tparent[root1] = root2; // connect 2 group by making root2 the parent of root1('s group)\n }", "title": "" }, { "docid": "842a2791344680b54e15679b10d5e833", "score": "0.5664038", "text": "private Boolean stepTwoC(ArrayList<ArrayList<String>> pm,ArrayList<ArrayList<String>> pm1) {\n\t\tif (pm.size()!=pm1.size())\n\t\t\treturn false;\n\t\tfor (int i = 0; i < pm.size(); i++) {\n\t\t\tif (pm.get(i).size()!=pm1.get(i).size())\n\t\t\t\treturn false;\n\t\t\tfor (int j = 0; j < pm.get(i).size(); j++) {\n\t\t\t\tif (!pm.get(i).get(j).equals(pm.get(i).get(j)))\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e490662323420124b31b8c292849f33c", "score": "0.5645513", "text": "public LinkedList<Integer> caminoConectado(String a1, String a2){\n\t\tQueue<Integer> porExaminar = new LinkedList<Integer>();\n\t\tint[] conexiones = new int[th.size()];\n\t\tLinkedList<Integer> camino = new LinkedList<Integer>();\n\t\tint pos1 = th.get(a1);\n\t\tint pos2 = th.get(a2);\n\t\tint actual = pos1;\n\t\tint anterior = actual;\n\t\tboolean enc = false;\n\t\tboolean[] examinados = new boolean[th.size()];\n\t\t\n // TODO: COMPLETAR\n\t\tif (estanConectados(a1, a2)) {\n\t\t\tif(a1.equals(a2)) enc = true;\t\t\t\n\t\t\telse{\n\t\t\t\tporExaminar.add(pos1);\n\t\t\t\texaminados[pos1] = false;\n\t\t\t\twhile(!enc && !porExaminar.isEmpty()){\n\t\t\t\t\tactual = porExaminar.poll();\n\t\t\t\t\tif (!examinados[actual]) {\n\t\t\t\t\t\t//actual = porExaminar.poll();\n\t\t\t\t\t\tconexiones[actual] = anterior;\n\t\t\t\t\t\tif(actual == pos2) enc = true;\t\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tfor (int i = 0; i<adjList[actual].size();i++){\n\t\t\t\t\t\t\t\tporExaminar.add(adjList[actual].get(i));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\texaminados[actual] = true;\n\t\t\t\t\t}\n\t\t\t\t\tanterior = actual;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\twhile(conexiones[actual] != conexiones[pos1]) {\n\t\t\t\tcamino.add(conexiones[actual]);\n\t\t\t\tactual= conexiones[actual];\n\t\t\t}\n\t\t\tcamino.add(conexiones[pos1]);\n\t\t}\n\t\treturn camino;\n\t}", "title": "" }, { "docid": "4bdeed89b579efcdc2765e5432a6eb5a", "score": "0.5635696", "text": "private void crossoverUmPonto(Individuo ind1, Individuo ind2, Individuo descendente, int corte) {\n Random rnd = new Random();\n Double alpha = rnd.nextDouble();\n\n // Ind1_1\n // alpha * P1\n for (int i = 0; i < corte; i++) {\n Double valor = alpha * (Double) ind1.getCromossomos().get(i);\n descendente.getCromossomos().add(valor);\n }\n\n // Ind2_2\n // (1 - alpha) * P2\n for (int i = corte; i < this.nVariaveis; i++) {\n Double valor = (1.0 - alpha) * (Double)ind2.getCromossomos().get(i);\n descendente.getCromossomos().add(valor);\n }\n\n }", "title": "" }, { "docid": "435714a643d7892b15188b7a93e5d2ed", "score": "0.5410483", "text": "@Override\n\tpublic void run() {\n\t\tfor(int i=start;i<end;i++)\n\t\t{\n\t\t\tif(i%2==0)\n\t\t\t{\n\t\t\t\tarr1[counte]=i;\n\t\t\t\tcounte++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tarr2[counto]=i;\n\t\t\t\tcounto++;\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "d8eff05a3e3097d5a225da3d4fbfbaf6", "score": "0.53635323", "text": "public void hijoIzqaPadre(nodoSplay nodo1,nodoSplay nodo2){\n if ((nodo1 == null) || (nodo2 == null) || (nodo2.getIzq() != nodo1) || (nodo1.getPadre() != nodo2)){\n throw new RuntimeException(\"WRONG\");\n }\n\n if (nodo2.getPadre() != null){\n if (nodo2 == nodo2.getPadre().getIzq()){\n nodo2.getPadre().setIzq(nodo1);\n }\n else{\n nodo2.getPadre().setDer(nodo1);\n }\n }\n if (nodo1.getDer() != null){\n nodo1.getDer().setPadre(nodo2);\n\n }\n nodo1.setPadre(nodo2.getPadre());\n nodo2.setPadre(nodo1);\n nodo2.setIzq(nodo1.getDer());\n nodo1.setDer(nodo2);\n }", "title": "" }, { "docid": "f294041487c48a5dac5fbbd7ab040d65", "score": "0.5355961", "text": "private void twoOpt(int[] tour) {\n\t\tfor (int i=0;i<numNodes;i++) {\n\t\t\tfor (int j=i+2;j<numNodes&&(i>0||j<numNodes-1);j++) {\n\t\t\t\ttwoOptTwoNodes(tour, i, j);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d73a0aa44bc21710123cb93e8933ba6c", "score": "0.53481704", "text": "private boolean moverPeonBlanco(int i1, int j1, int i2, int j2) {\n int movimientoI = i1 - 1;\r\n if (tablero[i2][j2].equals(\" \") && movimientoI == i2) {\r\n tablero[i2][j2] = tablero[i1][j1];\r\n tablero[i1][j1] = \" \";\r\n return true;\r\n } else if (tablero[i2][j2].contains(\"N\") && ((j1 + 1 == j2 || j1 - 1 == j2) && i1 - 1 == i2)) {\r\n tablero[i2][j2] = tablero[i1][j1];\r\n tablero[i1][j1] = \" \";\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "4b1e543e458c6e9dd2f1f4c0ee32c9bc", "score": "0.5327825", "text": "public static String crossover(String[] tourPath, String param){\n\t\tString children = \"\";\n\t\tString[] parent1 = tourPath[(int)(Math.random()*(tourPath.length))].split(\"\\\\.\");\n\t\tString[] parent2 = tourPath[(int)(Math.random()*(tourPath.length))].split(\"\\\\.\");\n\n\t\tArrayList<String> child1 = new ArrayList<String>();\n\n\t\t// alternating point crossover\n\t\tif (param.equals(\"a\")){\n\t\t\tfor (int i = 0; i< parent1.length; i++){\n\t\t\t\tif (exists(child1, parent1[i]) == false){\n\t\t\t\t\tchild1.add(parent1[i]);\n\t\t\t\t}\t\n\n\t\t\t\tif (exists(child1, parent2[i]) == false){\n\t\t\t\t\tchild1.add(parent2[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < child1.size(); i++){\n\t\t\t\tchildren += child1.get(i) + \".\";\n\t\t\t}\n\t\t\treturn children;\n\t\t}\n\n\t\t//OX1 Crossover\t\n\t\telse if (param.equals(\"o\"))\n\t\t{\n\t\t\tfor (int i = 0; i < parent1.length; i++){\n\t\t\t\tchild1.add(\"-1\");\n\t\t\t}\n\t\t\tint pos1 = 0, pos2 = 0;\n\t\t\tdo{\n\t\t\t\tpos1 = (int) (Math.random() * (parent1.length));\n\t\t\t\tpos2 = (int) (Math.random() * (parent1.length));\n\t\t\t\tif (pos1 > pos2){\n\t\t\t\t\tint temp = pos1;\n\t\t\t\t\tpos1 = pos2;\n\t\t\t\t\tpos2 = temp;\n\t\t\t\t}\n\t\t\t} while (pos1 == pos2);\n\n\t\t\t//set between pos1 and pos2 the values between parent1[pos1] and parent1[pos2]\n\t\t\tfor (int i = (pos1); i <= pos2; i++){\n\t\t\t\tchild1.set(i, parent1[i]);\n\t\t\t}\n\n\t\t\tfor (int i = pos2; i < 100; i++) {\n\t\t\t\tif (exists(child1, parent2[i]) == false) {\n\t\t\t\t\tfor (int j = pos2; j < 100; j++) {\n\t\t\t\t\t\tif (child1.get(j).equals(\"-1\")) {\n\t\t\t\t\t\t\tchild1.set(j, parent2[i]);\n\t\t\t\t\t\t\tbreak;\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\t// Loop from 0 to endPos and check if town exists. If it doesn't find an empty position between endPos and 100 ELSE if no empty position between endPos and 100 loop from 0 to 100 for an empty position\n\t\t\tfor (int i = 0; i < pos2; i++) {\n\t\t\t\tif (exists(child1, parent2[i]) == false) {\n\t\t\t\t\tfor (int j = pos2; j < 100; j++) {\n\t\t\t\t\t\tif (child1.get(j).equals(\"-1\")) {\n\t\t\t\t\t\t\tchild1.set(j, parent2[i]);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(!(child1.get(99).equals(\"-1\")) && !(child1.get(99).equals(parent2[i]))){\n\t\t\t\t\t\tfor (int j = 0; j < 100; j++) {\n\t\t\t\t\t\t\tif (child1.get(j).equals(\"-1\")) {\n\t\t\t\t\t\t\t\tchild1.set(j, parent2[i]);\n\t\t\t\t\t\t\t\tbreak;\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\n\t\t\tfor (int j = 0; j<100; j++){\n\t\t\t\tif (child1.get(j).equals(\"-1\")){\n\t\t\t\t\tfor (int i = 0; i < 100; i++){\n\t\t\t\t\t\tif (exists(child1, parent2[i]) == false){\n\t\t\t\t\t\t\tchild1.set(j, parent2[i]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\n\t\t\t}\n\n\t\t\tfor (int k = 0; k<child1.size(); k++){\n\t\t\t\tchildren += child1.get(k) + \".\";\n\t\t\t}\n\t\t\treturn children;\n\n\t\t}\n\n\n\t\t//Maximal Preservative Crossover\n\t\telse if (param.equals(\"m\")){\n\t\t\tint pos1 = 0, pos2 = 0;\n\t\t\tdo{\n\t\t\t\tpos1 = 10 + (int) (Math.random() * (parent1.length));\n\t\t\t\tpos2 = (pos1 + (int) (Math.random() * (parent1.length))/2) + 10;\n\n\t\t\t} while (pos1 == pos2 || (pos1 + pos2) > 100);\n\n\t\t\tfor (int i = pos1; i< pos2; i++){\n\t\t\t\tchild1.add(parent1[i]);\n\t\t\t}\n\n\t\t\tfor (int j = 0; j < parent2.length; j++){\n\t\t\t\tif (exists(child1, parent2[j]) == false){\n\t\t\t\t\tchild1.add(parent2[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (int i = 0; i < child1.size(); i++){\n\t\t\t\tchildren += child1.get(i) + \".\";\n\t\t\t}\n\t\t\treturn children;\n\t\t}\n\n\t\treturn children;\n\t}", "title": "" }, { "docid": "d8c593c71c52199ca54c6f637bc61af7", "score": "0.53185475", "text": "public void traeRuta(JFXButton start, JFXButton end) {\n for (int i = 0; i < posRuta.size(); i++) {\n if (posRuta.get(i).getIngreso().equals(end)) {\n ruta.add(posRuta.get(i));\n end = posRuta.get(i).getEgreso();\n i = 0;\n }\n if (end.equals(start)) {\n i = posRuta.size();\n }\n }\n if (!end.equals(start)) {\n ruta.clear();\n }\n /**\n * Aqui se le da vuelta al array de ruta ya que se encuentra del punto\n * de llegada al punto de salida\n */\n Collections.reverse(ruta);\n }", "title": "" }, { "docid": "0e8159e79fd07503dd6e9432e55244b4", "score": "0.52953804", "text": "public static void main(String[] args) {\r\n int[] data1 = {1, 6};\r\n int[] data2 = {9, 2};\r\n Node n1 = new Node(7);\r\n Node n2 = new Node(5);\r\n Node iter1 = n1;\r\n Node iter2 = n2;\r\n for(int i : data1) {\r\n iter1.next = new Node(i);\r\n iter1 = iter1.next;\r\n }\r\n for (int i : data2) {\r\n iter2.next = new Node(i);\r\n iter2 = iter2.next;\r\n }\r\n n1 = sumLists(n1, n2);\r\n\r\n iter1 = n1;\r\n while (iter1 != null) {\r\n System.out.println(iter1.data);\r\n iter1 = iter1.next;\r\n }\r\n }", "title": "" }, { "docid": "af73bbeddbcb82af1a9328904030a0bd", "score": "0.52902913", "text": "public void union(int a, int b){\n if (!find(a,b)) {\n int rootA = root(a);\n int rootB = root(b);\n if (descendantsNumber[rootA] >= descendantsNumber[rootB]) {\n id[rootB] = id[rootA];\n descendantsNumber[rootA] = descendantsNumber[rootA] + descendantsNumber[rootB];\n } else {\n id[rootA] = id[rootB];\n descendantsNumber[rootB] = descendantsNumber[rootB] + descendantsNumber[rootA];\n }\n }else {\n // System.out.println(a + \" is already connected with \" + b);\n }\n }", "title": "" }, { "docid": "998d6fb5ce531c273776c6f7e4284b7d", "score": "0.5265469", "text": "public int[] getNodePairLinks(int node1, int node2)\n\t{\n\t\tSet<Integer> linkSet = new TreeSet<Integer>();\n\t\tlinkSet.addAll(IntUtils.toList(getNodeOutgoingLinks(node1)));\n\t\tlinkSet.retainAll(IntUtils.toList(getNodeIncomingLinks(node2)));\n\n\t\treturn IntUtils.toArray(linkSet);\n\t}", "title": "" }, { "docid": "b2427731a48b1d16ffe891bd6c8666bc", "score": "0.52618504", "text": "private boolean moverPeonNegro(int i1, int j1, int i2, int j2) {\n int movimientoI = i1 + 1;\r\n if (tablero[i2][j2].equals(\" \") && movimientoI == i2) {\r\n tablero[i2][j2] = tablero[i1][j1];\r\n tablero[i1][j1] = \" \";\r\n return true;\r\n } else if (tablero[i2][j2].contains(\"B\") && ((j1 + 1 == j2 || j1 - 1 == j2) && i1 + 1 == i2)) {\r\n tablero[i2][j2] = tablero[i1][j1];\r\n tablero[i1][j1] = \" \";\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "f3a46ceb0ca9f9ae289c4d3cc9065787", "score": "0.5257327", "text": "private void permute(int joueur1, int joueur2) {\n\t\t// POur reccuperer la liste ou appartient le joueur\n\t\tint[] tabJoueur1 = null;\n\t\tint[] tabJoueur2 = null;\n\n\t\t// Pour reccuperer l'indice du joueur dans les listes\n\t\tint indexJoueur1 = -1;\n\t\tint indexJoueur2 = -1;\n\n\t\t// Si on a pas trouver les postes des joueurs on cherche dans le tableau\n\t\tfor (int i = 0; (indexJoueur1 == -1 || indexJoueur2 == -1) && i < listeDefenseurs.length; i++) {\n\t\t\tif (listeDefenseurs[i] == joueur1 && indexJoueur1 == -1) {\n\t\t\t\tindexJoueur1 = i;\n\t\t\t\ttabJoueur1 = listeDefenseurs;\n\t\t\t}\n\t\t\tif (listeDefenseurs[i] == joueur2 && indexJoueur2 == -1) {\n\t\t\t\tindexJoueur2 = i;\n\t\t\t\ttabJoueur2 = listeDefenseurs;\n\t\t\t}\n\t\t}\n\n\t\t// De meme pour la liste des milieux\n\t\tfor (int i = 0; (indexJoueur1 == -1 || indexJoueur2 == -1) && i < listeMilieux.length; i++) {\n\t\t\tif (listeMilieux[i] == joueur1 && indexJoueur1 == -1) {\n\t\t\t\tindexJoueur1 = i;\n\t\t\t\ttabJoueur1 = listeMilieux;\n\t\t\t}\n\t\t\tif (listeMilieux[i] == joueur2 && indexJoueur2 == -1) {\n\t\t\t\tindexJoueur2 = i;\n\t\t\t\ttabJoueur2 = listeMilieux;\n\t\t\t}\n\t\t}\n\n\t\t// De meme pour la liste des attaquants\n\t\tfor (int i = 0; (indexJoueur1 == -1 || indexJoueur2 == -1) && i < listeAttaquants.length; i++) {\n\t\t\tif (listeAttaquants[i] == joueur1 && indexJoueur1 == -1) {\n\t\t\t\tindexJoueur1 = i;\n\t\t\t\ttabJoueur1 = listeAttaquants;\n\t\t\t}\n\t\t\tif (listeAttaquants[i] == joueur2 && indexJoueur2 == -1) {\n\t\t\t\tindexJoueur2 = i;\n\t\t\t\ttabJoueur2 = listeAttaquants;\n\t\t\t}\n\t\t}\n\n\t\tint tmp;\n\n\t\t// Si le premier joueur est un gardien\n\t\tif (indexJoueur1 == -1) {\n\t\t\ttmp = gardien;\n\t\t\tgardien = tabJoueur2[indexJoueur2];\n\t\t\ttabJoueur2[indexJoueur2] = tmp;\n\t\t\treturn;\n\t\t}\n\n\t\t// Si le deuxieme joueur est un gardien\n\t\tif (indexJoueur2 == -1) {\n\t\t\ttmp = gardien;\n\t\t\tgardien = tabJoueur1[indexJoueur1];\n\t\t\ttabJoueur1[indexJoueur1] = tmp;\n\t\t\treturn;\n\t\t}\n\n\t\t// Sinon on permute les postes\n\t\ttmp = tabJoueur2[indexJoueur2];\n\t\ttabJoueur2[indexJoueur2] = tabJoueur1[indexJoueur1];\n\t\ttabJoueur1[indexJoueur1] = tmp;\n\t}", "title": "" }, { "docid": "d29c10048818ff14c7881adb7a1c693f", "score": "0.5251565", "text": "@Override\n public BinaryChromosome crossTwoChromosomes(BinaryChromosome b1, BinaryChromosome b2) {\n Random r = new Random();\n int cuttingPoint = (Math.abs(r.nextInt()) % (b1.genes.length -1)) +1; // for 5 elements choose indexes 1/2/3 (boundary are forbidden)\n BinaryGene[] newGenes = new BinaryGene[b1.genes.length];\n\n for(int i = 0; i<cuttingPoint; i++) {\n newGenes[i] = new BinaryGene(b1.genes[i].geneVal); // first parent\n }\n\n for(int i = cuttingPoint; i < b1.genes.length; i++) {\n newGenes[i] = new BinaryGene(b2.genes[i].geneVal); // second parent\n }\n\n BinaryChromosome retVal = new BinaryChromosome(newGenes);\n // System.out.println(\"Chosen index: \" + cuttingPoint + \" new gene: \" + retVal.toString());\n return retVal;\n }", "title": "" }, { "docid": "674086ac5f953a57ade2245a060012d7", "score": "0.5250515", "text": "private boolean existsCycle(int first, int second) {\n return marked[first] && marked[second] && !(edgeTo[first] == second);\n }", "title": "" }, { "docid": "c6afbdb88eaf67324c748f4961e9fbcf", "score": "0.5231446", "text": "private static ListNode mergeTwoListsBestCaseII(ListNode node1, ListNode node2) {\n if(node1 == null && node2 == null) {\n return null;\n }\n\n if(node1 == null && node2 != null) {\n return node2;\n }\n\n if(node2 == null && node1 != null) {\n return node1;\n }\n\n PriorityQueue<ListNode> queue = new PriorityQueue<ListNode>(new Comparator<ListNode>() {\n @Override\n public int compare(ListNode node1, ListNode node2) {\n return node1.val - node2.val;\n }\n });\n\n while(node1 != null) {\n queue.add(node1);\n node1 = node1.next;\n }\n\n while(node2 != null) {\n queue.add(node2);\n node2 = node2.next;\n }\n\n ListNode head = queue.poll();\n ListNode result = head;\n\n while(!queue.isEmpty()) {\n // if i dont create a new list node for this, when we have 6, 6 repeated values for any of the linked list,\n // the result will just be looping around 6-> since the node 6 is already there, there is a circular link created.\n head.next = new ListNode(queue.poll().val);\n head = head.next;\n }\n return result;\n }", "title": "" }, { "docid": "d2ffe4b93a91f0f255d54ee5333ea60c", "score": "0.52206266", "text": "public static int compareAdjacent()\n {\n return 0;\n }", "title": "" }, { "docid": "163fb01866747b3f8c5ef62c41bae9df", "score": "0.5201619", "text": "public Enlace buscarEnlace(int idNodo1 , int idNodo2) {\n\t\t\n\t\tif(idNodo1 > 0 && idNodo2 > 0)\n\t\t{\t\n\t\t\tfor(Enlace e: listaEnlaces){\n\t\t\t\tif((e.getIdNodo1() == idNodo1 || e.getIdNodo1() == idNodo2) && (e.getIdNodo2() == idNodo1 || e.getIdNodo2() == idNodo2)){\n\t\t\t\t\n\t\t\t\t\treturn e;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t\n\t}", "title": "" }, { "docid": "bf62dab18aace509febc0c1d0939a9e8", "score": "0.5196806", "text": "public abstract boolean group(E e1, E e2);", "title": "" }, { "docid": "486bcc9272a6dff8b490f0985795fdf3", "score": "0.5190517", "text": "private static Iterable<StyledSegment> mergeAdjacentIdentical(List<StyledSegment> segments)\n {\n return () -> new Iterator<StyledSegment>()\n {\n int nextToExamine = 0;\n \n @Override\n public boolean hasNext()\n {\n return nextToExamine < segments.size();\n }\n\n @Override\n public StyledSegment next()\n {\n StyledSegment next = segments.get(nextToExamine);\n nextToExamine += 1;\n // Merge in all following items that have exactly the same CSS classes:\n while (nextToExamine < segments.size() && segments.get(nextToExamine).cssClasses.equals(next.cssClasses))\n {\n // Combine:\n next = new StyledSegment(next.cssClasses, next.text + segments.get(nextToExamine).text);\n nextToExamine += 1;\n }\n \n return next;\n }\n };\n }", "title": "" }, { "docid": "eca2499cb15f69d11db33a9098207022", "score": "0.5181214", "text": "public void delLast (String tFirst, String tSecond) {\r\n // wszystkie zmienne zapamietuja referencje do pierwszego pociagu na liscie\r\n Train i = trains; // iterator dla petli\r\n Train curr = trains; // zapamieta referencje do pociagu tFirst (o ile istnieje)\r\n Train sec = trains; // zapamieta referencje do pociagu tSecond (o ile istnieje)\r\n\r\n /*\r\n * przeszukanie listy pociagow do momentu, gdy nie znajdziemy obu szukanych pociagow\r\n * lub dojdziemy do konca listy\r\n */\r\n while (i != null) {\r\n if (!sec.trainName.equals(tSecond)) {\r\n sec = sec.next;\r\n }\r\n if (!curr.trainName.equals(tFirst)) {\r\n curr = curr.next;\r\n }\r\n if (curr!=null && sec!=null) {\r\n if (curr.trainName.equals(tFirst)) { // poprawic\r\n if (sec.trainName.equals(tSecond)) {\r\n break;\r\n }\r\n }\r\n }\r\n i = i.next;\r\n }\r\n\r\n if (curr == null) { // jezeli pierwszy podany pociag nie istnieje na liscie\r\n System.out.println(\"Train \" + tFirst + \" does not exist\");\r\n return;\r\n }\r\n\r\n if (sec != null) { // jezeli pierwszy podany pociag istnieje na liscie, nie mozemy go stworzyc\r\n System.out.println(\"Train \" + tSecond + \" already exists\");\r\n return;\r\n }\r\n\r\n newTrain(tSecond, curr.first.prev.carrName); // tworzy pociag 2 z ostatnim wagonem pociagu 1\r\n if (curr.first == curr.first.next) { // gdy byl to jedyny wagon pociagu 1, usuwa pociag\r\n delTrain(tFirst);\r\n\r\n } else {\r\n if (curr.first.next.next == curr.first) { // pociag odwrocony\r\n /*\r\n * kolejnosc wagonow dla odwroconego pociagu nie zostala naprawiona przez display\r\n * zatem biezemy wagon, ktory zgodnie z kolejnoscia odworoconego pociagu powinnien byc\r\n * przedostatni i przypisujemy mu odpowiednie referencje\r\n */\r\n curr.first.prev.prev.prev = curr.first.prev.prev.next; // prev przedostatniego to przedprzedostatni\r\n curr.first.prev.prev.next = curr.first; // next przedostatniego to pierwszy\r\n curr.first.prev = curr.first.prev.prev; // prev pierwszego to przedostatni\r\n\r\n } else { // pociag nie zostal odwrocony lub nastapilo display, ktore go naprawilo\r\n curr.first.prev = curr.first.prev.prev; // prev pierwszego to przedostatni\r\n curr.first.prev.next = curr.first; // next przedostatniego to pierwszy\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c7614322f1ef971044f6a5fe0c8e0ca7", "score": "0.51730496", "text": "public void connect(int a, int b) {\n int father_a = find(a);\n int father_b = find(b);\n if(father_a != father_b){\n father[father_a] = father_b;\n size -= 1;\n }\n \n }", "title": "" }, { "docid": "0a795fcac475288aa2d4481c1754c5e8", "score": "0.5164658", "text": "public int restar()\n \t{\n \t\tint resultado=numero1-numero2;\n \t\treturn resultado;\n \t}", "title": "" }, { "docid": "c0807160ed15353964285f179015538e", "score": "0.5161767", "text": "@Override\r\n /**\r\n * Connect an edge both directions between node1 and node2.\r\n */\r\n public void connect(int node1, int node2) {\n\r\n if (node1 != node2) {\r\n\r\n if (this.node_list.containsKey(node1) && this.node_list.containsKey(node2)) {\r\n\r\n node_data n1 = node_list.get(node1);\r\n node_data n2 = node_list.get(node2);\r\n\r\n if (n1 != null && n2 != null) {\r\n\r\n if (!hasEdge(node1, node2) && !hasEdge(node2, node1)) {\r\n\r\n this.getNode(node1).addNi(this.getNode(node2));\r\n this.getNode(node2).addNi(this.getNode(node1));\r\n Edge_counter++;\r\n MC++;\r\n\r\n }\r\n\r\n }\r\n }\r\n\r\n }\r\n\r\n }", "title": "" }, { "docid": "a3a9a9cbb76f9907988a5c890b4b95e0", "score": "0.51567507", "text": "public void delFirst (String tFirst, String tSecond) {\r\n // wszystkie zmienne zapamietuja referencje do pierwszego pociagu na liscie\r\n Train i = trains; // iterator dla petli\r\n Train curr = trains; // zapamieta referencje do pociagu tFirst (o ile istnieje)\r\n Train sec = trains; // zapamieta referencje do pociagu tSecond (o ile istnieje)\r\n\r\n /*\r\n * przeszukanie listy pociagow do momentu, gdy nie znajdziemy obu szukanych pociagow\r\n * lub dojdziemy do konca listy\r\n */\r\n while (i != null) {\r\n if (!sec.trainName.equals(tSecond)) {\r\n sec = sec.next;\r\n }\r\n if (!curr.trainName.equals(tFirst)) {\r\n curr = curr.next;\r\n }\r\n if (curr!=null && sec!=null) {\r\n if (curr.trainName.equals(tFirst)) {\r\n if (sec.trainName.equals(tSecond)) {\r\n break;\r\n }\r\n }\r\n }\r\n i = i.next;\r\n }\r\n\r\n if (curr == null) { // jezeli pierwszy podany pociag nie istnieje na liscie\r\n System.out.println(\"Train \" + tFirst + \" does not exist\");\r\n return;\r\n }\r\n\r\n if (sec != null) { // jezeli pierwszy podany pociag istnieje na liscie, nie mozemy go stworzyc\r\n System.out.println(\"Train \" + tSecond + \" already exists\");\r\n return;\r\n }\r\n\r\n newTrain(tSecond, curr.first.carrName); // tworzy pociag 2 z pierwszym wagonem pociagu 1\r\n if (curr.first == curr.first.next) { // gdy byl to jedyny wagon pociagu 1, usuwa pociag\r\n delTrain(tFirst);\r\n\r\n } else {\r\n if (curr.first.next.next == curr.first) { // pociag odwrocony\r\n /*\r\n * kolejnosc wagonow dla odwroconego pociagu nie zostala naprawiona przez display\r\n * zatem biezemy wagon, ktory zgodnie z kolejnoscia odworoconego pociagu powinnien byc\r\n * drugi i przypisujemy mu odpowiednie referencje\r\n */\r\n curr.first.next.next = curr.first.next.prev; // next drugiego to trzeci\r\n curr.first.next.prev = curr.first.prev; // prev drugiego to ostatni\r\n curr.first.prev.next = curr.first.next; // next ostatniego to drugi\r\n curr.first = curr.first.next; // drugi bedzie teraz pierwszym\r\n } else { // pociag nie zostal odwrocony lub nastapilo display, ktore go naprawilo\r\n curr.first.next.prev = curr.first.prev; // prev drugiego wagonu wskaze ostatni\r\n curr.first.prev.next = curr.first.next; // next ostatniego wagonu wskaze drugi\r\n curr.first = curr.first.next; // drugi wagon bedzie teraz pierwszym\r\n }\r\n }\r\n }", "title": "" }, { "docid": "b97743429c54350f6c13e45e9af3309b", "score": "0.515096", "text": "public List<String> getShortestPath(String node1, String node2) {\n // Getting and storing the start and finish IDs.\n int startid = labelMap.get(node1);\n int finishid = labelMap.get(node2);\n \n boolean done = false;\n \n // A Queue to hold vertices as they are visited.\n Queue<Integer> vertexQueue = new LinkedList<Integer>();\n // A List to keep track of the visited vertices.\n List<Integer> visitedList = new ArrayList<Integer>();\n // A List for the shortest path using IDs.\n List<Integer> pathInt = new ArrayList<Integer>();\n // The same list with the actual names instead of the IDs.\n List<String> path = new ArrayList<String>();\n // A Map linking the nodes with their predecessor. \n Map<Integer, Integer> predecessorMap = new HashMap<Integer, Integer>();\n \n visitedList.add(startid);\n vertexQueue.add(startid);\n \n // If the start and end nodes are the same, add the node to the shortest path list.\n // Used breadth-first traversal to traverse the graph, storing the predecessors of\n // each node as we go through until we find the finish node or we make it through \n // the whole graph.\n if (node1.equals(node2)) {\n path.add(node1);\n } else {\n if (!node1.equals(node2)) {\n while (!done && !vertexQueue.isEmpty()) {\n Integer frontVertex = vertexQueue.poll();\n Iterable<Integer> neighborsIterable = wikiGraph.getNeighbors(frontVertex);\n Iterator<Integer> neighbors = neighborsIterable.iterator();\n\n while (!done && neighbors.hasNext()) {\n Integer nextNeighbor = neighbors.next();\n if (!visitedList.contains(nextNeighbor)) {\n visitedList.add(nextNeighbor);\n predecessorMap.put(nextNeighbor, frontVertex);\n vertexQueue.add(nextNeighbor);\n }\n if (nextNeighbor == finishid) {\n done = true;\n }\n }\n }\n }\n }\n // Constructs the shortest path by traversing from predecessor to predecessor until\n // we reach the start node.\n int tempID = finishid;\n while (predecessorMap.get(tempID) != null) {\n pathInt.add(0, tempID);\n tempID = predecessorMap.get(tempID); \n }\n if (!pathInt.isEmpty()) {\n pathInt.add(0, startid);\n }\n \n // We convert the shortest path from ID format to actual name format.\n for (int i = 0; i < pathInt.size(); i ++) {\n String readableName = nodeMap.get(pathInt.get(i));\n path.add(readableName);\n }\n\n return path; \n }", "title": "" }, { "docid": "9b56b3e5bfd560e487b678642c2c86e8", "score": "0.51453525", "text": "private List<List<E>> findTwoWays(List<E> path1, List<E> path2) {\n\t\tfinal V source = graph.getSource(path1.get(0));\n\t\tfinal V target = graph.getDest(path1.get(path1.size() - 1));\n\n\t\t// Remove common links.\n\t\tIterator<E> it1 = path1.iterator();\n\t\twhile (it1.hasNext()) {\n\t\t\tE e1 = it1.next();\n\n\t\t\tIterator<E> it2 = path2.iterator();\n\t\t\twhile (it2.hasNext()) {\n\t\t\t\tE e2 = it2.next();\n\n\t\t\t\t// ensure disjointness\n\t\t\t\tif (comparator.compare(e1, e2) == 0) { // for multigraph\n\t\t\t\t\tif (graph.isSource(source, e1)\n\t\t\t\t\t\t\t|| graph.isSource(source, e2)\n\t\t\t\t\t\t\t|| graph.isDest(target, e1)\n\t\t\t\t\t\t\t|| graph.isDest(target, e2))\n\t\t\t\t\t\treturn null; // Removing required edge\n\n\t\t\t\t\tit1.remove();\n\t\t\t\t\tit2.remove();\n\t\t\t\t\tbreak; // inner loop\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (path1.isEmpty() || path2.isEmpty())\n\t\t\treturn null; // no disjoint solution found\n\n\t\t// Now recombine the two paths.\n\t\tList<E> union = ListUtils.union(path1, path2); // concatenate\n\n\t\tList<E> p1 = recombinePaths(path1, target, union);\n\t\tif (p1 == null)\n\t\t\treturn null;\n\n\t\tList<E> p2 = recombinePaths(path2, target, union);\n\t\tif (p2 == null)\n\t\t\treturn null;\n\t\t\n\t\tif (!union.isEmpty())\n\t\t\tthrow new AssertionError(\"BUG\");\n\n\t\tList<List<E>> solution = new LinkedList<List<E>>();\n\t\tsolution.add(p1);\n\t\tsolution.add(p2);\n\t\treturn solution;\n\t}", "title": "" }, { "docid": "d902e460fcd4c5efadcd0552158f7cf4", "score": "0.5144781", "text": "private void twoOptTwoNodes(int[] tour, int i, int j) {\n\t\tif (shouldExchange(tour, i, j)) {\n\t\t\texchangeTwoEdges(tour, i, j);\n\t\t}\n\t}", "title": "" }, { "docid": "6126823feffc8396abc6f3945d6e90d9", "score": "0.5139811", "text": "public boolean connected(int v1, int v2) {\n while (parent(v1) > 0) {\n v1 = parent(v1);\n }\n while (parent(v2) > 0) {\n v2 = parent(v2);\n }\n return v1 == v2;\n }", "title": "" }, { "docid": "1e67ff72dd0f7aa8a7e29a30173fafc3", "score": "0.51228756", "text": "@SuppressWarnings(\"unchecked\")\npublic int connected(Node node1, Node node2){\n\tif(node1 == node2){\n\t\treturn 0;\n\t}\n\t\n\tMap<T,Integer> distance = new HashMap<T,Integer>();\n\t\n\tfor (T v: neighbors.keySet()) distance.put(v, null);\n distance.put((T) node1, 0);\n\t\n // Process nodes in queue order\n Queue<T> queue = new LinkedList<T>();\n queue.offer((T) node1); // Place start node in queue\n while (!queue.isEmpty()) {\n T v = queue.remove();\n int vDist = distance.get(v);\n \n // Update neighbors\n for (T neighbor: neighbors.get(v)) {\n if (distance.get(neighbor) != null) continue; // Ignore if already done\n if(neighbor == node2) return vDist+1;\n distance.put(neighbor, vDist + 1);\n queue.offer(neighbor);\n }\n \n }\n\treturn -1;\n}", "title": "" }, { "docid": "cca72181b3c8d296c5393b1fb9a59c18", "score": "0.51202047", "text": "public Boolean union(final Integer element1, final Integer element2) {\n // System.out.println(\"Union called for \" + element1 + \" \" + element2);\n int newValue = connectArray[element1];\n int oldValue = connectArray[element2];\n\n if(newValue == oldValue)\n return true;\n\n for(int i = 0; i < this.maxSize; i++){\n if(connectArray[i] == oldValue){\n // System.out.println(\"Modifying index: \" + i + \" from \" + oldValue + \" to \" + newValue);\n connectArray[i] = newValue;\n }\n }\n return true;\n }", "title": "" }, { "docid": "5464ba006e08ce711d4be443de3fefc8", "score": "0.50952303", "text": "public ChromosomePair mate(AbstractListChromosome<T> first, AbstractListChromosome<T> second) throws DimensionMismatchException {\r\n int b;\r\n int length = first.getLength();\r\n if (length != second.getLength()) {\r\n throw new DimensionMismatchException(second.getLength(), length);\r\n }\r\n List<T> parent1Rep = first.getRepresentation();\r\n List<T> parent2Rep = second.getRepresentation();\r\n ArrayList arrayList = new ArrayList(length);\r\n ArrayList arrayList2 = new ArrayList(length);\r\n Set<T> child1Set = new HashSet<>(length);\r\n Set<T> child2Set = new HashSet<>(length);\r\n RandomGenerator random = GeneticAlgorithm.getRandomGenerator();\r\n int a = random.nextInt(length);\r\n do {\r\n b = random.nextInt(length);\r\n } while (a == b);\r\n int lb = FastMath.min(a, b);\r\n int ub = FastMath.max(a, b);\r\n arrayList.addAll(parent1Rep.subList(lb, ub + 1));\r\n child1Set.addAll(arrayList);\r\n arrayList2.addAll(parent2Rep.subList(lb, ub + 1));\r\n child2Set.addAll(arrayList2);\r\n for (int i = 1; i <= length; i++) {\r\n int idx = (ub + i) % length;\r\n T item1 = parent1Rep.get(idx);\r\n T item2 = parent2Rep.get(idx);\r\n if (!child1Set.contains(item2)) {\r\n arrayList.add(item2);\r\n child1Set.add(item2);\r\n }\r\n if (!child2Set.contains(item1)) {\r\n arrayList2.add(item1);\r\n child2Set.add(item1);\r\n }\r\n }\r\n Collections.rotate(arrayList, lb);\r\n Collections.rotate(arrayList2, lb);\r\n return new ChromosomePair(first.newFixedLengthChromosome(arrayList), second.newFixedLengthChromosome(arrayList2));\r\n }", "title": "" }, { "docid": "7f960c2608c32ebe5ae20e074d512478", "score": "0.5081975", "text": "@Override\n public void connect(int node1, int node2, double w) {\n if (node1 != node2){ //if those are different nodes\n NodeInfo n1 = (NodeInfo)this.g.get(node1); //the node with node1 key\n NodeInfo n2 = (NodeInfo)this.g.get(node2); //the node with node2 key\n if (n1 != null && n2 != null) { //if each node is not null\n if (n1.hasNi(node2)){ //if they are already connected\n n1.addNi(n2, w); //add node2 to node1's neighbors\n n2.addNi(n1, w); //add node1 to node2's neighbors\n this.mc++; //increase the number of changes in the graph\n }\n else{ //if they are not already connected\n n1.addNi(n2, w); //add node2 to node1's neighbors\n n2.addNi(n1, w); //add node1 to node2's neighbors\n this.edges++; //increase the number of edges by 1\n this.mc++; //increase the number of changes in the graph\n }\n }\n }\n }", "title": "" }, { "docid": "ef082893caf655259ee598852a510786", "score": "0.50742143", "text": "public Circulo(Punto punto1, Punto punto2) {\r\n this.punto1 = punto1;\r\n this.punto2 = punto2;\r\n }", "title": "" }, { "docid": "fa8cbeb9eb00463f257c5819b4f4d8dd", "score": "0.50640154", "text": "private void setRecombinationCoords()\n {\n\tVectorIterator vi = new VectorIterator(nodes);\n\tAnimationTreeNode n,f;\n\tint mx,my;\n\tdouble alpha,k,dx;\n\n\twhile (vi.hasNext()) {\n\t n = (AnimationTreeNode)(vi.next());\n\t if (n.outs.size() == 2 &&\n\t\t((AnimationTreeEdge)(n.outs.elementAt(0))).dest ==\n\t\t((AnimationTreeEdge)(n.outs.elementAt(1))).dest) {\n\t\tAnimationTreeEdge e1 = (AnimationTreeEdge)(n.outs.elementAt(0));\n\t\tAnimationTreeEdge e2 = (AnimationTreeEdge)(n.outs.elementAt(1));\t \n\t\tf = ((AnimationTreeEdge)(n.outs.elementAt(1))).dest;\n\n\t\te1.has_coord = true;\n\t\te2.has_coord = true;\n\n\t\t// Switch\n\t\twhile (true) {\n\t\t // Case nodes are vertically aligned\n\t\t if (f.x == n.x) {\n\t\t\te1.x = n.x-4;\n\t\t\te1.y = n.y + (f.y-n.y)/2;\n\t\t\te2.x = n.x+4;\n\t\t\te2.y = e1.y;\n\t\t\tbreak;\n\t\t }\n\t\t \n\t\t // Case nodes are horizontally aligned\n\t\t if (f.y == n.y) {\n\t\t\te1.x = n.x + (f.x-n.x)/2;\n\t\t\te1.y = n.y-4;\n\t\t\te2.x = e1.x;\n\t\t\te2.y = n.y+4;\n\t\t\tbreak;\n\t\t }\n\n\t\t // Default\n\t\t alpha = -1.0/( (double)(f.y-n.y)/(double)(f.x-n.x) );\n\t\t mx = n.x + (f.x-n.x)/2;\n\t\t my = n.y + (f.y-n.y)/2;\n\t\t k = my - alpha*mx;\n\t\t dx = Math.sqrt(25.0/(1+alpha*alpha));\n\n\t\t e1.x = (int)(mx+dx);\n\t\t e1.y = (int)(alpha*e1.x + k);\n\t\t \n\t\t e2.x = (int)(mx-dx);\n\t\t e2.y = (int)(alpha*e2.x + k);\n\t\t break;\n\t\t}\n\t }\n\t}\n }", "title": "" }, { "docid": "3c461bc2e4bd60972c51bdb51a3d1e02", "score": "0.50593126", "text": "private boolean isMoveAdjacent(Tile t1, Tile t2) {\n\t\treturn (Math.abs(t1.getXCoord() - t2.getXCoord()) == 1 && t1\n\t\t\t\t.getYCoord() == t2.getYCoord())\n\t\t\t\t|| (Math.abs(t2.getYCoord() - t1.getYCoord()) == 1 && t1\n\t\t\t\t\t\t.getXCoord() == t2.getXCoord());\n\t}", "title": "" }, { "docid": "7f92917d088ed209749e849dcdcbc1f5", "score": "0.5044655", "text": "@Override\n public void connect(int node1, int node2) {\n if (!hasEdge(node1,node2) && this._nodes.containsKey(node1) && this._nodes.containsKey(node1)) {\n node_data n1 = this._nodes.get(node1);\n node_data n2 = this._nodes.get(node2);\n n1.addNi(n2);\n n2.addNi(n1);\n _e_size++;\n _mc++;\n }\n }", "title": "" }, { "docid": "02250b3b6ff2c586a858b2fa0061cfa1", "score": "0.5040465", "text": "public int[][] multiplePointCrossover(){\n\n int MAX = this.x_axis-1;\n\n LinkedList<Integer> breakpoints = new LinkedList<>();\n for(int r = 0; r < MULTIBREAK; r++){\n int rand = (int) (Math.random() * ((MAX - MIN) + 1)) + MIN;\n //IMPORTANT: Do not add duplicate values\n if (!breakpoints.contains(rand)) breakpoints.add(rand);\n }\n Collections.sort(breakpoints);\n\n\n int[][] child1 = new int[this.x_axis][this.y_axis];\n int[][] child2 = new int[this.x_axis][this.y_axis];\n\n int nextbreak = breakpoints.pollFirst();\n boolean changeFlag = false;\n\n for(int x = 0; x < this.x_axis; x++){\n for(int y = 0; y < this.y_axis; y++){\n //When we reach changing point in the first column simply trigger flag\n //and assign value to different arrays\n\n if(!changeFlag){\n child1[x][y] = parentNode1[x][y];\n child2[x][y] = parentNode2[x][y];\n }else{\n child1[x][y] = parentNode2[x][y];\n child2[x][y] = parentNode1[x][y];\n }\n\n if(x == nextbreak && y == this.y_axis-1){\n changeFlag = !changeFlag;\n try{\n nextbreak = breakpoints.pollFirst();\n\n }catch (NullPointerException io){\n nextbreak = -1;\n }\n }\n\n\n\n\n }\n }\n\n //Again choose randomly the final result\n\n int randchoice = new Random().nextBoolean() ? 1 : 2;\n\n return randchoice == 1 ? child1 : child2;\n }", "title": "" }, { "docid": "e2e0a419268022270681da743d347cb2", "score": "0.50403315", "text": "private void orderNodes() {\n\t\tif (this.first.getID().compareTo(this.second.getID()) > 0) {\n\t\t\tfinal BasicNode swap = this.first;\n\t\t\tthis.first = this.second;\n\t\t\tthis.second = swap;\n\t\t}\n\t}", "title": "" }, { "docid": "1d570817001a4678c85f7b3efa6f0652", "score": "0.5036603", "text": "public int[] getNodePairBidirectionalLinks(int node1, int node2)\n\t{\n\t\tint[] downstreamLinks = getNodePairLinks(node1, node2);\n\t\tint[] upstreamLinks = getNodePairLinks(node2, node1);\n\n\t\treturn IntUtils.union(downstreamLinks, upstreamLinks);\n\t}", "title": "" }, { "docid": "aa5c2965a93c3d7b0d722719dfb370f3", "score": "0.50346625", "text": "public boolean commonEnd(int[] a, int[] b) {\n if (a[0]==b[0] || a[a.length-1]==b[b.length-1])\n return true;\n return false;\n}", "title": "" }, { "docid": "e6c5ba4fd1701ea865c8645e3f807afc", "score": "0.5024242", "text": "public ArrayList<String> estanConectadosOpcional(String a1, String a2){\n\t\tLinkedList<Integer> enlacesID = caminoConectado(a1, a2);\n\t\tArrayList<String> enlacesDeWebs = new ArrayList<String>();\n\t\tListIterator<Integer> listIterator = enlacesID.listIterator();\n\t\t\n\t\twhile(listIterator.hasNext()) {\n\t\t\t\tenlacesDeWebs.add(keys[enlacesID.pollLast()]);\n\t\t}\n\t\treturn enlacesDeWebs;\n\t}", "title": "" }, { "docid": "b7253bb618d44f81a6149701d35c202c", "score": "0.5011439", "text": "static int commonChild(String s1, String s2) {\n char[] s1Array = s1.toCharArray();\n char[] s2Array = s2.toCharArray();\n int length = s1Array.length;\n\n int[][] commonSequence = new int[length+1][length+1];\n for(int i = 1; i <= length; i++) {\n for(int j = 1; j <= length; j++) {\n if(s1Array[i-1] == s2Array[j-1])\n commonSequence[i][j] = commonSequence[i - 1][j - 1] + 1;\n else\n commonSequence[i][j] = Math.max(commonSequence[i-1][j], commonSequence[i][j-1]);\n }\n }\n\n\n return commonSequence[length][length];\n }", "title": "" }, { "docid": "a1e46b246114842a85f5899bbc3a5355", "score": "0.50023717", "text": "private void merge(Jugador[] first, Jugador[] second, Jugador [] result) {\n int iFirst = 0;\n // Next element to consider in the second array\n int iSecond = 0;\n \n // Next open position in the result\n int j = 0;\n // As long as neither iFirst nor iSecond is past the end, move the\n // smaller element into the result.\n while (iFirst < first.length && iSecond < second.length) {\n if (first[iFirst].getValorJugada() < second[iSecond].getValorJugada()) {\n result[j] = first[iFirst];\n iFirst++;\n } \n else \n {\n if(first[iFirst].getValorJugada() == second[iSecond].getValorJugada())\n {\n \n \n \n \n \n \n //CARTA ALTA\n if(first[iFirst].getValorJugada()==cons.HIGH_CARD_INT)\n {\n int kick1I = first[iFirst].getJugada()[1];\n int kick1J = second[iSecond].getJugada()[1];\n \n\n \n if(kick1I<kick1J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(kick1I==kick1J)\n {\n int kick2I = first[iFirst].getJugada()[2];\n int kick2J = second[iSecond].getJugada()[2];\n\n \n if(kick2I<kick2J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(kick2I==kick2J)\n {\n int kick3I = first[iFirst].getJugada()[3];\n int kick3J = second[iSecond].getJugada()[3];\n\n \n if(kick3I<kick3J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(kick3I==kick3J)\n {\n int kick4I = first[iFirst].getJugada()[4];\n int kick4J = second[iSecond].getJugada()[4];\n\n \n if(kick4I<kick4J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(kick4I==kick4J)\n {\n int kick5I = first[iFirst].getJugada()[5];\n int kick5J = second[iSecond].getJugada()[5];\n \n if(kick5I<kick5J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(kick5I == kick5J)\n {\n\n\n addEmpatadoAJugada(first[iFirst].getId(),cons.HIGH_CARD_INT);\n addEmpatadoAJugada(second[iSecond].getId(),cons.HIGH_CARD_INT);\n\n result[j] = second[iSecond];\n iSecond++;\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n //PAREJA\n else if(first[iFirst].getValorJugada()==cons.PAIR_INT)\n {\n int parI =first[iFirst].getJugada()[1];\n int parJ =second[iSecond].getJugada()[1];\n \n\n \n \n if(parI<parJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(parI==parJ)\n {\n int kick1I =first[iFirst].getJugada()[2];\n int kick1J =second[iSecond].getJugada()[2];\n \n if(kick1I<kick1J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(kick1I==kick1J)\n {\n int kick2I =first[iFirst].getJugada()[3];\n int kick2J =second[iSecond].getJugada()[3];\n \n\n if(kick2I<kick2J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(kick2I==kick2J)\n {\n int kick3I =first[iFirst].getJugada()[4];\n int kick3J =second[iSecond].getJugada()[4];\n \n if(kick3I<kick3J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(kick3I == kick3J)\n {\n\n\n addEmpatadoAJugada(first[iFirst].getId(),cons.PAIR_INT);\n addEmpatadoAJugada(second[iSecond].getId(),cons.PAIR_INT);\n\n result[j] = second[iSecond];\n iSecond++;\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n //DOBLE PAREJA\n else if(first[iFirst].getValorJugada()==cons.TWO_PAIR_INT)\n {\n int par1I = first[iFirst].getJugada()[1];\n int par1J = second[iSecond].getJugada()[1];\n \n \n \n\n \n if(par1I<par1J)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(par1I==par1J)\n {\n int par2I = first[iFirst].getJugada()[2];\n int par2J = second[iSecond].getJugada()[2];\n \n if(par2I < par2J)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(par2I==par2J)\n {\n int kickI = first[iFirst].getJugada()[3];\n int kickJ = second[iSecond].getJugada()[3];\n \n if(kickI < kickJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(kickI == kickJ)\n {\n\n\n addEmpatadoAJugada(first[iFirst].getId(),cons.TWO_PAIR_INT);\n addEmpatadoAJugada(second[iSecond].getId(),cons.TWO_PAIR_INT);\n\n result[j] = second[iSecond];\n iSecond++;\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n //ESCALERA\n else if(first[iFirst].getValorJugada() ==cons.STRAIGHT_INT)\n {\n int valorI =first[iFirst].getJugada()[1];\n int valorJ =second[iSecond].getJugada()[1];\n\n if(valorI == cons.ACE)\n {\n valorI = cons.KING +1;\n }\n if(valorJ == cons.ACE)\n {\n valorJ = cons.KING +1;\n }\n if(valorI<valorJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(valorI == valorJ)\n {\n\n\n addEmpatadoAJugada(first[iFirst].getId(),cons.STRAIGHT_INT);\n addEmpatadoAJugada(second[iSecond].getId(),cons.STRAIGHT_INT);\n\n result[j] = second[iSecond];\n iSecond++;\n }\n else \n {\n\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n //TRIO\n else if(first[iFirst].getValorJugada() ==cons.THREE_OF_A_KIND_INT)\n {\n int trioI = first[iFirst].getJugada()[1];\n int trioJ = second[iSecond].getJugada()[1];\n\n\n\n\n if(trioI<trioJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(trioI==trioJ)\n {\n int kick1I = first[iFirst].getJugada()[2];\n int kick1J = second[iSecond].getJugada()[2];\n \n if(kick1I < kick1J)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(kick1I==kick1J)\n {\n int kick2I = first[iFirst].getJugada()[3];\n int kick2J = second[iSecond].getJugada()[3];\n \n if(kick2I < kick2J)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(kick2I == kick2J)\n {\n\n\n addEmpatadoAJugada(first[iFirst].getId(),cons.THREE_OF_A_KIND_INT);\n addEmpatadoAJugada(second[iSecond].getId(),cons.THREE_OF_A_KIND_INT);\n\n result[j] = second[iSecond];\n iSecond++;\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n //COLOR\n else if(first[iFirst].getValorJugada() ==cons.FLUSH_INT)\n {\n int unoI = first[iFirst].getJugada()[1];\n int unoJ = second[iSecond].getJugada()[1];\n \n \n \n if(unoI<unoJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(unoI==unoJ)\n {\n int dosI = first[iFirst].getJugada()[2];\n int dosJ = second[iSecond].getJugada()[2];\n \n if(dosI < dosJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(dosI==dosJ)\n {\n \n int tresI = first[iFirst].getJugada()[3];\n int tresJ = second[iSecond].getJugada()[3];\n\n \n if(tresI < tresJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(tresI==tresJ)\n {\n int cuatroI = first[iFirst].getJugada()[4];\n int cuatroJ = second[iSecond].getJugada()[4];\n \n if(cuatroI < cuatroJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(cuatroI==cuatroJ)\n {\n int cincoI = first[iFirst].getJugada()[5];\n int cincoJ = second[iSecond].getJugada()[5];\n \n if(cincoI < cincoJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(cincoI == cincoJ)\n {\n\n\n addEmpatadoAJugada(first[iFirst].getId(),cons.FLUSH_INT);\n addEmpatadoAJugada(second[iSecond].getId(),cons.FLUSH_INT);\n\n result[j] = second[iSecond];\n iSecond++;\n }\n else \n {\n\n result[j] = second[iSecond];\n iSecond++;\n }\n\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n //FULL\n else if(first[iFirst].getValorJugada() ==cons.FULL_HOUSE_INT)\n {\n int trioI = first[iFirst].getJugada()[1];\n int trioJ = second[iSecond].getJugada()[1];\n \n\n \n if(trioI<trioJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(trioI==trioJ)\n {\n int parI = first[iFirst].getJugada()[2];\n int parJ = second[iSecond].getJugada()[2];\n\n \n if(parI < parJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(parI == parJ)\n {\n \n \n addEmpatadoAJugada(first[iFirst].getId(),cons.FULL_HOUSE_INT);\n addEmpatadoAJugada(second[iSecond].getId(),cons.FULL_HOUSE_INT);\n \n result[j] = second[iSecond];\n iSecond++;\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n //POKER\n else if(first[iFirst].getValorJugada() ==cons.FOUR_OF_A_KIND_INT)\n {\n int valorI =first[iFirst].getJugada()[1];\n int valorJ =second[iSecond].getJugada()[1];\n \n \n if(valorI<valorJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n\n }\n else if(valorI==valorJ)\n {\n int kickI = first[iFirst].getJugada()[2];\n int kickJ = second[iSecond].getJugada()[2];\n \n if(kickI < kickJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n }\n else if(kickI == kickJ)\n {\n \n \n addEmpatadoAJugada(first[iFirst].getId(),cons.FOUR_OF_A_KIND_INT);\n addEmpatadoAJugada(second[iSecond].getId(),cons.FOUR_OF_A_KIND_INT);\n \n result[j] = second[iSecond];\n iSecond++;\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n\n\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n } \n //comprobamos escalera real\n else if(first[iFirst].getValorJugada() ==cons.STRAIGHT_FLUSH_INT)\n {\n int valorI =first[iFirst].getJugada()[1];\n int valorJ =second[iSecond].getJugada()[1];\n\n\n \n if(valorI<valorJ)\n {\n result[j] = first[iFirst];\n iFirst++;\n \n\n }\n else if(valorI==valorJ)\n {\n jugadaEmpatados = cons.STRAIGHT_FLUSH_INT;\n \n empatados[first[iFirst].getId()] = first[iFirst].getId();\n \n empatados[second[iSecond].getId()] = second[iSecond].getId();\n \n \n result[j] = second[iSecond];\n iSecond++;\n }\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n }\n //ELSE de MANOS\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n \n }\n \n \n //ELSE de no ser iguales las jugadas\n else\n {\n result[j] = second[iSecond];\n iSecond++;\n }\n \n \n }\n j++;\n }\n // copy what's left\n System.arraycopy(first, iFirst, result, j, first.length - iFirst);\n System.arraycopy(second, iSecond, result, j, second.length - iSecond);\n }", "title": "" }, { "docid": "22ae1081a017f225ac4a904bd89011f4", "score": "0.5001742", "text": "public void ordenar() {\n ListIterator<String> itU = taulaUsuaris.listIterator(taulaUsuaris.size()-1);\n ListIterator<String> itP = taulaUsuaris.listIterator(taulaUsuaris.size()-1);\n int index = taulaUsuaris.size() - 1;\n \n while (itU.hasPrevious() && itP.hasPrevious()) {\n itU.previous(); //retrocedim el index 1 posicio\n itP.previous();\n \n int punts1 = taulaPuntuacions.get(index);\n int ind1 = index;\n --index;\n int punts2 = taulaPuntuacions.get(index);\n int ind2 = index;\n \n if (punts1 < punts2 || \"DUMMY\".equals(taulaUsuaris.get(index))) {\n Collections.swap(taulaPuntuacions, ind1, ind2);\n Collections.swap(taulaUsuaris, ind1, ind2);\n }\n }\n }", "title": "" }, { "docid": "308ac2b28e2a0da5ec729a07729a5815", "score": "0.50011843", "text": "public int[] getNodePairRoutes(int node1, int node2)\n\t{\n\t\tSet<Integer> routeSet = new TreeSet<Integer>();\n\t\trouteSet.addAll(IntUtils.toList(getNodeOutgoingRoutes(node1)));\n\t\trouteSet.retainAll(IntUtils.toList(getNodeIncomingRoutes(node2)));\n\n\t\treturn IntUtils.toArray(routeSet);\n\t}", "title": "" }, { "docid": "1bb4cb319b7868aacf61fd70eeb330f1", "score": "0.49906665", "text": "static void RemoveDups2(LinkedListNode n) {\r\n // pointer that starts at beginning of list\r\n LinkedListNode p1 = n;\r\n while(p1 != null) {\r\n // pointer that compares each value to make sure there are no duplicates\r\n LinkedListNode p2 = p1;\r\n while(p2.next != null) {\r\n // if this is true, remove it from the list\r\n if(p2.next.data == p1.data){\r\n p2.next = p2.next.next;\r\n }\r\n else {\r\n p2 = p2.next;\r\n } \r\n }\r\n p1 = p1.next;\r\n }\r\n }", "title": "" }, { "docid": "cdc13a502fb3fd014425add5b8cdcbf3", "score": "0.49755383", "text": "private static void getcommon2(int[] arr1, int[] arr2) {\n\t\tHashMap<Integer,Integer> hm=new HashMap<>();\n\t\t// HashMap<Integer,Integer> hm1=new HashMap<>();\n\t\tfor(int i:arr1)\n\t\t{\n\t\t\tif(hm.containsKey(i))\n\t\t\t{\n\t\t\t\thm.put(i, hm.get(i)+1);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\thm.put(i,1);\n\t\t\t}\n\t\t}\n\t\tfor(int j:arr2)\n\t\t{\n\t\t\tif(hm.containsKey(j))\n\t\t\t{\n\t\t\t\tSystem.out.print(j+\" \");\n\t\t\t\thm.put(j, hm.get(j)-1);\n\t\t\t\tif(hm.get(j)<=0)\n\t\t\t\t{\n\t\t\t\t\thm.remove(j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "6abd52e51ec2895016f19de5d426dcea", "score": "0.4959612", "text": "private void totalmenteConectado(List<Integer> encontrados, int nodoActual){\n encontrados.add(nodoActual);\n List<Integer> listaVecinos = this.obtenerVecinos(nodoActual);\n for (int i = 0; i < listaVecinos.size(); i++) {\n Integer vecino = listaVecinos.get(i);\n if ( !encontrados.contains( vecino )){\n this.totalmenteConectado(encontrados, vecino );\n }\n }\n }", "title": "" }, { "docid": "d3654e22859f282e304ca943c47581e5", "score": "0.49593583", "text": "public void union(int id1, int id2) {\n if (find(id1) == find(id2)) {\n // If a and b are already in the same set , do nothing\n return;\n }\n // Otherwise , merge the set\n G.addEdge(find(id1), find(id2));\n }", "title": "" }, { "docid": "8deddb206980ad53b28cc8138ea87234", "score": "0.4958924", "text": "private List<List<Integer>> twoSum(int[] nums, int target, int start) {\n List<List<Integer>> result = new ArrayList<>();\n\n HashSet<Integer> set = new HashSet<>();\n\n for(int i=start; i<nums.length; i++) {\n if (result.isEmpty() ||\n result.get(result.size() - 1).get(1) != nums[i])\n if (set.contains(target - nums[i]))\n result.add(Arrays.asList(target - nums[i], nums[i]));\n set.add(nums[i]);\n }\n return result;\n }", "title": "" }, { "docid": "90f9400ddfed25bfbc5674f4bd8ae367", "score": "0.49583125", "text": "LinkedList<Person> mergePaths(BFSData bfs1 ,BFSData bfs2 ,int connection){\n\t\tPathNode end1 = bfs1.visited.get(connection); //source\n\t\tPathNode end2 = bfs1.visited.get(connection); //destination\n\t\t\n\t\tLinkedList<Person> pathOne = end1.collapse(false);\n\t\tLinkedList<Person> pathTwo = end2.collapse(true); // reverse\n\t\t\n\t\tpathTwo.removeFirst();// remove connection\n\t\tpathOne.addAll(pathTwo); // add second path\n\t\t\n\t\treturn pathOne;\n\t}", "title": "" }, { "docid": "83aef3f05c194a5c7d6fdff31425e619", "score": "0.49529755", "text": "static List<Integer> compareTriplets(List<Integer> a, List<Integer> b) {\n \t\n \tList<Integer> c=new ArrayList<Integer>();\n int dato1=0,dato2=0;\n for(int i=0;i<a.size();i++) {\n if(a.get(i)>b.get(i)) {\n dato1++;\n }\n else if(a.get(i)<b.get(i)) {\n dato2++;\n }\n\n }\n c.add(0,dato1);\n c.add(1,dato2);\n \n return c;\n }", "title": "" }, { "docid": "d50a1b2e484d370a608bf1a38f105bae", "score": "0.49504918", "text": "public static int MCD_iterativo(int n1, int n2) {\n if (n1 > n2) {\r\n a = n1;\r\n b = n2;\r\n } else {\r\n a = n2;\r\n b = n1;\r\n }\r\n /*Calculamos el maximo comun divisor mediante un ciclo iterativo en el cual nos guiamos \r\n con el residuo de dividir el numero mayor entre el menor y retornamos el valor \r\n */\r\n do {\r\n aux = b;\r\n b = a % b;\r\n a = aux;\r\n } while (b != 0);\r\n return aux;\r\n }", "title": "" }, { "docid": "f2dbfdb50313c3be28b8078dd2e540ec", "score": "0.49502808", "text": "private static boolean sonIguales(int[] uno, int[] dos){\r\n boolean sonIguales = true;\r\n boolean existe = false;\r\n int i = 0;\r\n int x = 0;\r\n int j = 0;\r\n if(uno.length!=dos.length) {\r\n sonIguales = false;\r\n } else {\r\n //Verifica si el primero coincide en algún punto\r\n if(uno.length==dos.length){\r\n int aux = uno[x];\r\n while((!existe)&&(i < dos.length)){\r\n if(x==0){\r\n if (aux == dos[i]) {\r\n existe = true;\r\n } else {\r\n i++;\r\n }\r\n }\r\n }\r\n }\r\n //si coinciden en el primero se sigue verificado\r\n if(existe){\r\n x++;\r\n while((sonIguales)&&(x<uno.length)) {\r\n int aux = uno[x];\r\n if (i <= (dos.length - 2)) {\r\n i++;\r\n if (aux != dos[i]) {\r\n sonIguales = false;\r\n }\r\n } else {\r\n i = j;\r\n if (aux != dos[i]) {\r\n sonIguales = false;\r\n }\r\n j++;\r\n }\r\n x++;\r\n }\r\n }\r\n }\r\n return sonIguales;\r\n }", "title": "" }, { "docid": "0f1d5fd577150cacad8d750bf83cc573", "score": "0.4946276", "text": "public static void main(String[] args) {\n\n ListNode node1 = new ListNode(1);\n ListNode node2 = new ListNode(2);\n node1.next = node2;\n node2.next = node1;\n\n System.out.println(detectCycle1(node1).val);\n }", "title": "" }, { "docid": "e41330bafe62c7920f12d732f0e84384", "score": "0.49454504", "text": "public void swap(int node1, int node2) {\r\n\r\n\t\tMenuModule temp1 = first;\r\n\t\tMenuModule temp2 = first;\r\n\r\n\t\tif (node1 > node2) {\r\n\t\t\tnode1 += node2;\r\n\t\t\tnode2 = node1 - node2;\r\n\t\t\tnode1 -= node2;\r\n\t\t}\r\n\r\n\t\tif (node1 <= size && node2 <= size) {\r\n\t\t\tfor (int i = 0; i < node1; i++) {\r\n\t\t\t\ttemp1 = temp1.getNext();\r\n\t\t\t}\r\n\r\n\t\t\tfor (int i = 0; i < node2; i++) {\r\n\t\t\t\ttemp2 = temp2.getNext();\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (temp1 != first && temp2 != last) {\r\n\t\t\t// System.out.println(\"a\");\r\n\t\t\ttemp1.getPrevious().setNext(temp2);\r\n\t\t\ttemp2.getNext().setPrevious(temp1);\r\n\r\n\t\t\tif (node2 - node1 > 1) {\r\n\t\t\t\ttemp1.getNext().setPrevious(temp2);\r\n\t\t\t\ttemp2.getPrevious().setNext(temp1);\r\n\t\t\t}\r\n\r\n\t\t\ttemp1.setNext(temp2.getNext());\r\n\t\t\ttemp2.setPrevious(temp1.getPrevious());\r\n\r\n\t\t\tif (node2 - node1 > 1) {\r\n\t\t\t\ttemp1.setPrevious(temp2.getNext());\r\n\t\t\t\ttemp2.setNext(temp1.getNext());\r\n\t\t\t} else {\r\n\r\n\t\t\t\ttemp1.setPrevious(temp2);\r\n\t\t\t\ttemp2.setNext(temp1);\r\n\t\t\t}\r\n\t\t} else if (temp2 == last) {\r\n\r\n\t\t\ttemp2 = temp2.getPrevious();\r\n\r\n\t\t\tlast.setPrevious(temp1.getPrevious());\r\n\t\t\ttemp1.setPrevious(last);\r\n\r\n\t\t\tlast.getPrevious().setNext(last);\r\n\t\t\tlast.setNext(temp1);\r\n\r\n\t\t\ttemp1.setNext(null);\r\n\r\n\t\t\tlast = temp1;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "125e9ca571c76bdc47b07538675b48ef", "score": "0.4944726", "text": "private void ordenarElementos() {\n\t\ttempoInicial = System.currentTimeMillis();\n\t\t\n\t\tint i, j, aux;\n\t\t\n\t\tfor (i = 0; i < elementos.length; i++) {\n\t\t\tfor (j = 0; j < elementos.length - 1; j++) {\n\t\t\tcomparacoes++;\n\t\t\t\tif (elementos[j] > elementos[j + 1]) {\n\t\t\t\ttrocas++;\n\t\t\t\taux = elementos[j];\n\t\t\t\telementos[j] = elementos[j + 1];\n\t\t\t\telementos[j + 1] = aux;\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "bde763ab7e87e17844e54537cfa5bf43", "score": "0.49393147", "text": "private Nodo buscarNodo(int node) {\n\t\tNodo e=null;\n\t\tfor (Nodo num: nodos) {\n\t\t if (num.getElemento()==node)\n\t\t \te=num;\n\t\t\tif (e!=null)\n\t\t\t\tbreak;\n\t\t}\n\t\treturn e;\n\t}", "title": "" }, { "docid": "73ce2aef33a45d478b99faa986935579", "score": "0.49270478", "text": "public void MostrarOrdenados(){\r\n System.out.println(\"\\nLos numeros de mayor a menor son: \");\r\n \r\n //en este primer bloque se compara para buscar el numero mayor\r\n if(numero1>numero2&&numero1>numero3){\r\n System.out.println(numero1);\r\n }else if(numero2>numero1&&numero2>numero3){\r\n System.out.println(numero2);\r\n }else if(numero3>numero1&&numero3>numero2){\r\n System.out.println(numero3);\r\n }else if(numero1==numero2&&numero1>numero3){\r\n System.out.println(numero1 + \" y \" + numero2 + \" son iguales\");\r\n }else if(numero1==numero3&&numero1>numero2){\r\n System.out.println(numero1 + \" y \" + numero3 + \" son iguales\");\r\n }else if(numero2==numero3&&numero2>numero1){\r\n System.out.println(numero2 + \" y \" + numero3 + \" son iguales\");\r\n }\r\n \r\n //en este segundo bloque se compara para buscar el segundo numero mayor\r\n if(numero1>numero2&&numero1<numero3){\r\n System.out.println(numero1);\r\n }else if(numero1<numero2&&numero1>numero3){\r\n System.out.println(numero1);\r\n }else if(numero2>numero1&&numero2<numero3){\r\n System.out.println(numero2);\r\n }else if(numero2<numero1&&numero2>numero3){\r\n System.out.println(numero2);\r\n }else if(numero3>numero1&&numero3<numero2){\r\n System.out.println(numero3);\r\n }else if(numero3<numero1&&numero3>numero2){\r\n System.out.println(numero3);\r\n }else if(numero1==numero2&&numero1<numero3){\r\n System.out.println(numero1 + \" y \" + numero2 + \" son iguales\");\r\n }else if(numero1==numero3&&numero1<numero2){\r\n System.out.println(numero1 + \" y \" + numero3 + \" son iguales\");\r\n }else if(numero2==numero3&&numero2<numero1){\r\n System.out.println(numero2 + \" y \" + numero3 + \" son iguales\");\r\n }\r\n \r\n //en este tercer bloque se compara para buscar el numero menor\r\n if(numero1<numero2&&numero1<numero3){\r\n System.out.println(numero1);\r\n }else if(numero2<numero1&&numero2<numero3){\r\n System.out.println(numero2);\r\n }else if(numero3<numero1&&numero3<numero2){\r\n System.out.println(numero3);\r\n }\r\n \r\n if(numero1==numero2&&numero1==numero3&&numero2==numero3){\r\n System.out.println(numero1 + \", \" + numero2 + \" y \" + numero3 + \" son iguales\");\r\n }\r\n \r\n }", "title": "" }, { "docid": "2d1922b2f4c9465f21a7ee4ba5115210", "score": "0.49260664", "text": "static List<int[]> getPairs (List<int[]> list1, List<int[]> list2, int target){\n\n\n Collections.sort(list1, Comparator.comparingInt(item -> item[1]));\n Collections.sort(list2, Comparator.comparingInt(item -> item[1]));\n\n List<int[]> result = new ArrayList<>();\n\n if(list1.size()==0 || list2.size()==0)\n return result;\n int max =Integer.MIN_VALUE;\n int m = list1.size();\n int n = list2.size();\n int i = 0;\n int j = n-1;\n\n while (i<m && j>=0){\n int sum = list1.get(i)[1]+list2.get(j)[1];\n if(sum>target){\n j--;\n }else{\n\n if(max <= sum){\n if(max < sum)\n {\n max = sum;\n result.clear();\n }\n result.add(new int[] {list1.get(i)[0], list2.get(j)[0]});\n int index = j-1;\n while (index>=0 && list2.get(j)[1] == list2.get(index)[1]){\n result.add(new int[]{list1.get(i)[0], list2.get(index--)[0]});\n }\n }\n i++;\n }\n\n }\n\n\n\n\n\n\nreturn result;\n\n\n\n }", "title": "" }, { "docid": "7a550e75def8b115a7b7692fdbbc523a", "score": "0.49226323", "text": "public static boolean patenteMenor1(String patente1, String patente2) {\n String subPatente1, subPatente2, subPatenteN1, subPatenteN2;\r\n boolean menorPatente1 = true;\r\n //Dividimos las patentes en la parte que contiene las letras y\r\n //las hacemos mayusculas para poder compararlas sin problemas\r\n subPatente1 = patente1.substring(0, 3);\r\n subPatente1 = subPatente1.toUpperCase();\r\n subPatente2 = patente2.substring(0, 3);\r\n subPatente2 = subPatente2.toUpperCase();\r\n //Tambien dividimos la patente en la parte que contiene los numeros\r\n subPatenteN1 = patente1.substring(3);\r\n subPatenteN2 = patente2.substring(3);\r\n //Verificamos si son iguales a traves del modulo verificarIgualdad\r\n if (subPatente1.compareTo(subPatente2) == 0) {\r\n //Verificamos los numeros para determinar cual es mayor\r\n if (subPatenteN1.compareTo(subPatenteN2) < 0) {\r\n menorPatente1 = true;\r\n\r\n } else {\r\n menorPatente1 = false;\r\n }\r\n //Mensajes en caso de que se pueda determinar con las letras\r\n } else if (subPatente1.compareTo(subPatente2) < 0) {\r\n menorPatente1 = true;\r\n\r\n } else {\r\n menorPatente1 = false;\r\n }\r\n \r\n return menorPatente1;\r\n }", "title": "" }, { "docid": "8d31cc17bfcdd6d47ec8eb318a85a5eb", "score": "0.49218315", "text": "private int twoPair(){\n\t\t\tif(pair()>0){\n\t\t\t\tint firstPair = pair()-100;\n\t\t\t\tfor(int i= 0; i<size; i++){\n\t\t\t\t\tif(sorted[i].getValue() != firstPair){\n/**/\t\t\t\t\tfor (int j = i+1; j<size; j++){\n/**/\t\t\t\t\t\tif (sorted[i].getValue() == sorted[j].getValue()){\n\t\t\t\t\t\t\t\t//scoreName = \"Two Pair\";\n/**/\t\t\t\t\t\t\treturn firstPair>sorted[j].getValue() ? 200 + firstPair : 200 + sorted[j].getValue();\n/**/\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n/**/\t\t\t\t}\n/**/\t\t\t}\n\t\t\t}\n/**/\t\treturn 0;\n/**/\t}", "title": "" }, { "docid": "493dd51ee8119f8dc835adc1aae5d920", "score": "0.49209735", "text": "protected Set<Pair> findAllFrequentPairsSatisfyingC1andC2(Sequence prefixe, List<PseudoSequence> database) {\n\t\t\n\t\t// Create a Map of pairs to store the pairs\n\t\tMap<Pair, Pair> mapPaires = new HashMap<Pair, Pair>();\n\t\t// Important: We need to make sure that don't count two time the same element \n\t\t// This is the remember the last sequence scanned\n\t\tPseudoSequence lastSequence = null;\n\t\t// This is the remember the pairs that have been already counted\n\t\tSet<Pair> alreadyCountedForSequenceID = new HashSet<Pair>(); \n\t\t\n\t\t// for each sequence\n\t\tfor(PseudoSequence sequence : database){\n\t\t\t// if this is a sequence with a different ID than the previous sequence\n\t\t\tif(lastSequence == null || sequence.getId() != lastSequence.getId()){ // NEW PHILIPPE OCT-08\n\t\t\t\t// reset the Pairs that have been already processed\n\t\t\t\talreadyCountedForSequenceID.clear(); \n\t\t\t\t// remember this sequence as the last sequence scanned for next time\n\t\t\t\tlastSequence = sequence;\n\t\t\t}\n\t\t\t\n\t\t\t// for each itemset\n\t\t\tfor(int i=0; i< sequence.size(); i++){\n\t\t\t\t// for each item in this itemset\n\t\t\t\tfor(int j=0; j < sequence.getSizeOfItemsetAt(i); j++){\n\t\t\t\t\t// get the item\n\t\t\t\t\tItemSimple item = sequence.getItemAtInItemsetAt(j, i);\n\t\t\t\t\t// check the C1 and C2 constraints if the item i was added to the current prefix \n\t\t\t\t\t// if this item is not in a postfix.\n\t\t\t\t\tif(isTheMinAndMaxIntervalRespected(sequence.getTimeStamp(i)) \n\t\t\t\t\t\t|| sequence.isCutAtLeft(i)){ \n\t\t\t\t\t\t// Create the pair corresponding to this item\n\t\t\t\t\t\tPair paire = new Pair(sequence.getTimeStamp(i), sequence.isCutAtRight(i),sequence.isCutAtLeft(i), item);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// if this pair was not processed already for this sequence ID\n\t\t\t\t\t\tif(!alreadyCountedForSequenceID.contains(paire)){\n\t\t\t\t\t\t\t// Get the old pair for this item in the map\n\t\t\t\t\t\t\tPair oldPaire = mapPaires.get(paire);\n\t\t\t\t\t\t\t// if none, put the new one\n\t\t\t\t\t\t\tif(oldPaire == null){\n\t\t\t\t\t\t\t\tmapPaires.put(paire, paire);\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t// otherwise use the old one\n\t\t\t\t\t\t\t\tpaire = oldPaire;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// remember that we process this pair now\n\t\t\t\t\t\t\talreadyCountedForSequenceID.add(paire);\n\t\t\t\t\t\t\t// remember the sequence ID of this sequence for this pair\n\t\t\t\t\t\t\tpaire.getSequencesID().add(sequence.getId());\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\t// return the pairs\n\t\treturn mapPaires.keySet();\n\t}", "title": "" }, { "docid": "30ee586e06db4c0b5e3e7df15251dc66", "score": "0.4920329", "text": "public NonTouchingLoop getTwoNonTouchingLoops() {\n NonTouchingLoop groupOfTwo = new NonTouchingLoop();\n List<Loop> loopsGroup;\n\n for (int i = 0 ; i < loops.size(); i++){\n loops.get(i).setId(i);\n for (int j = i + 1 ; j < loops.size() ; j++)\n {\n //Add new Group of two non touching loops if there exists no loops intersection\n if(!loopIntersectionCheck(loops.get(i),loops.get(j)))\n {\n loopsGroup = new ArrayList<>();\n loopsGroup.add(loops.get(i));\n loopsGroup.add(loops.get(j));\n groupOfTwo.addCombination(loopsGroup);\n //Add 1 in adjacency matrix between two non-touching loops\n loopsAdjMatrix[i][j] = 1;\n loopsAdjMatrix[j][i]=1;\n }\n }\n }\n return groupOfTwo;\n }", "title": "" }, { "docid": "3f76dcc930e354abadff1b84ca7c95ef", "score": "0.4918499", "text": "static void relajacion( int actual , int adyacente , int peso ){\n\t if( distancia[ actual ] + peso < distancia[ adyacente ] ){\n\t distancia[ adyacente ] = distancia[ actual ] + peso; //relajamos el vertice actualizando la distancia\n\t previo[ adyacente ] = actual; //a su vez actualizamos el vertice previo\n\t Q.add( new Node( adyacente , distancia[ adyacente ] ) ); //agregamos adyacente a la cola de prioridad\n\t }\n\t}", "title": "" }, { "docid": "ee3a7d39be7bd89480375b51e56c0afc", "score": "0.4914106", "text": "public boolean connected(int first, int second) {\n return (id[first] == id[second]);\n }", "title": "" }, { "docid": "21619a1562d7d5ed90131f71301c5ae2", "score": "0.49082038", "text": "public Path applyRandomTwoChange(){\n\t\tif(this.path.size() < 5){\n\t\t\treturn (Path)this.path.clone();\n\t\t}\n\n\n\t\tint e1 = 0;\n\t\tint e2 = 0;\n\t\tint aux;\n\n\t\twhile( (e1 == e2) || (e1 + 1 == e2) ){\n\n\t\t\te1 = RandomUtil.chooseInteger(0, this.path.size() - 2);\n\t\t\te2 = RandomUtil.chooseInteger(0, this.path.size() - 2);\n\n\t\t\tif(e1 > e2){\n\t\t\t\taux = e1;\n\t\t\t\te1 = e2;\n\t\t\t\te2 = aux;\n\t\t\t}\n\n\t\t}\n\n\t\treturn PathBuilder.twoChange(e1, e2, this.path, this.inducedSubGraph);\n\t}", "title": "" }, { "docid": "8fbb10aa49fc959a609a86c6e69b9f01", "score": "0.49056107", "text": "private static void ordenarJugadores(){\r\n Jugador aux; \r\n for (int i = 0; i < jugadores.length - 1; i++) {\r\n for (int x = i + 1; x < jugadores.length; x++) {\r\n if (jugadores[x].getPos() < jugadores[i].getPos()) {\r\n aux = jugadores[i];\r\n jugadores[i] = jugadores[x];\r\n jugadores[x] = aux;\r\n }\r\n }\r\n } \r\n }", "title": "" }, { "docid": "14c243ba56c81a3d814c5865af6d5b99", "score": "0.49043822", "text": "public SignatureNode(SignatureNode node1, SignatureNode node2) { \n\t\tlogger.debug(\"Combining: \");\n\t\tlogger.debug(\" \" + node1.sequenceIndexes);\n\t\tlogger.debug(\" \" + node2.sequenceIndexes);\n\t\t\n\t\tsequenceIndexes = new ArrayList<Integer>();\n\t\tsequenceIndexes.addAll(node1.sequenceIndexes);\n\t\tsequenceIndexes.addAll(node2.sequenceIndexes);\n\n\t\tsignature = node1.signature;\n\t\tsignature.merge(node2.signature);\n\t}", "title": "" }, { "docid": "f014225a2fd1aad3efc3c5d5300001d9", "score": "0.4901095", "text": "private String sharedSubsBetween(String taxon_1, String taxon_2) {\n\t\tStringBuffer buf = new StringBuffer();\n\t\tchar[] seq_1 = this.sequenceHash.get(taxon_1);\n\t\tchar[] seq_2 = this.sequenceHash.get(taxon_2);\n\t\tint matches = 0;\n\t\tfor(int i=0;i<seq_1.length;i++){\n\t\t\tif(seq_1[i] == seq_2[i]){\n\t\t\t\tbuf.append(seq_1[i]);\n\t\t\t\tmatches++;\n\t\t\t}else{\n\t\t\t\tbuf.append(\"^\");\n\t\t\t}\n\t\t}\n\t\tif(matches > 0){\n\t\t\treturn matches+\"\\t\"+buf.toString();\n\t\t}else{\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "e503a190f96975f642c8e0f569e6a210", "score": "0.48991367", "text": "private boolean pattern_1(Parser_Init parser,int first,int second)\n\t{\n\t\tboolean ret=false;\n\t\tif(Math.abs(first-second)<=4)\n\t\t{\t\t\n\t\t\tArrayList<TaggedWord>taggedlist=parser.taggedword;\n\t\t\tfirst=first-1; \n\t\t\tsecond=second-1;\n\t\t\t//\n\t\t\tint sum=0;\n\t\t\tboolean left_flags=false;\n\t\t\tint prep_sum=0;\n\t\t\tfor(int index=first-1;index>=0;index--)\n\t\t\t{\n\t\t\t\tTaggedWord tw=taggedlist.get(index);\n\t\t\t\tif(\"DTINTO\".contains(tw.tag()))\n\t\t\t\t{\n\t\t\t\t\tprep_sum++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tif(!istrigger2(tw.value()))\n\t\t\t\t\t{\n\t\t\t\t\t\tsum++;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tif(!tw.tag().startsWith(\"V\"))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tbreak;\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\treturn false;\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\tif(sum<=1) \n\t\t\t{\n\t\t\t\tleft_flags=true&&prep_sum==1;\n\t\t\t}\n\t\t\tint sum_mid=0;\n\t\t\tboolean mid_flags=false;\n\t\t\t\n\t\t\tfor(int start=first+1;start<=second-1;start++)\n\t\t\t{\n\t\t\t\tTaggedWord tw=taggedlist.get(start);\n\t\t\t\tif(\"DTINTO\".contains(tw.tag())) \n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tchar start_char=tw.value().toLowerCase().charAt(0);\n\t\t\t\t\tif(97<=start_char&&start_char<=122)\n\t\t\t\t\t{\n\t\t\t\t\t\tsum_mid++;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif(sum_mid<=0)\n\t\t\t{\n\t\t\t\tmid_flags=true;\n\t\t\t}\n\t\t\tret=left_flags&&mid_flags;\n\t\t}\t\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "4397ef97f9b946696f5931962a3dd32a", "score": "0.4897707", "text": "private void eliminarColores( \n Collection< String > coleccion1, Collection< String > coleccion2 )\n {\n // obtiene el iterador\n Iterator< String > iterador = coleccion1.iterator(); \n\n // itera mientras la colección tenga elementos\n while ( iterador.hasNext() ) \n\n if ( coleccion2.contains( iterador.next() ) )\n iterador.remove(); // elimina el color actual\n }", "title": "" }, { "docid": "927412c15b7c92c051f91143d901758c", "score": "0.489737", "text": "public static int[] coupleSum(int[] numbers, int target) {\n int index1=0, index2=0;\n while(numbers[index1] + numbers[index2] != target) {\n if(index1 == index2) index2++;\n else index1++;\n }\n int[] arr = {index1+1, index2+1};\n return arr;\n}", "title": "" }, { "docid": "1b8a29dd644b3ada49b148634347943b", "score": "0.48882025", "text": "private IndexedPair[] circularShift()\n {\n List circularShifts = new ArrayList();\n for (int i = 0; i < lines.length; i++)\n {\n StringTokenizer parser = new StringTokenizer(lines[i]);\n int lastPosition = 0;\n //System.out.println();\n while (parser.hasMoreTokens())\n {\n String token = parser.nextToken();\n lastPosition = lines[i].indexOf(token, lastPosition);\n circularShifts.add(new IndexedPair(lines, lastPosition, i));\n lastPosition = lastPosition + token.length();\n }\n // System.out.println();\n }\n return (IndexedPair[]) circularShifts.toArray(new IndexedPair[circularShifts.size()]);\n }", "title": "" }, { "docid": "c9f9c98eaef889bd7b94901e67d1a184", "score": "0.48850805", "text": "List<Type> diff(List<Type> ts1, List<Type> ts2) {\n List<Type> ts = ts1;\n for (List<Type> l = ts2; l.nonEmpty(); l = l.tail)\n ts = excl(l.head, ts);\n return ts;\n }", "title": "" }, { "docid": "fb9ce1e24b7d1cdff777385fb187bb35", "score": "0.48814824", "text": "public void verListaCircular(){\r\n nodoJugador actual = new nodoJugador();\r\n actual = cabeza;\r\n do{\r\n System.out.println(actual.getUsername());\r\n actual = actual.getSig();\r\n }while(actual != cabeza);\r\n }", "title": "" }, { "docid": "c5eebf6e38f56121f60989e5631ae7cf", "score": "0.48770025", "text": "public static void main(String[] args) {\nMergeTwoSortedList ms = new MergeTwoSortedList();\r\n ListNode head = new ListNode(5);\r\n head.next = new ListNode(7);\r\n head.next.next = new ListNode(9);\r\n \r\n ListNode head1 = new ListNode(2);\r\n head1.next = new ListNode(4);\r\n head1.next.next = new ListNode(8);\r\n \r\n ListNode res = ms.mergeTwoSortedList(head, head1);\r\n \r\n while(res!=null){\r\n \t System.out.print(res.val +\"->\");\r\n \t res = res.next;\r\n }\r\n System.out.print(\"null\");\r\n\t}", "title": "" }, { "docid": "a74db16f81b4df3dc27df0987ed6a684", "score": "0.48738855", "text": "public static int[] zipper(int[] first, int[] second) {\n // su codigo aqui\n int[] merge = new int[first.length+second.length];\n int temp=0; \n \n for (byte j=0; j<merge.length;) {\n for (byte i=0; i<merge.length; i++) {\n if (i<first.length) {\n if (first[i]==temp) {\n merge[j]=first[i];\n j++;\n } \n }\n if (i<second.length) {\n if (second[i]==temp) {\n merge[j]=second[i];\n j++;\n } \n }\n }\n temp++;\n }\n \n return merge;\n }", "title": "" }, { "docid": "02dd678be8fadad31579fc545181aea2", "score": "0.48709452", "text": "protected void AddTwo(){\n\t\n\tint proposed = 0, left_proposed = 0, right_proposed = 0; // candidate for new topology change point\n\tint left_land_index = 0, right_land_index = 0, left_top_change = 0, right_top_change = 0;\n\tboolean enough_room = false;\n\tint proposing_second_reciprocal = 0;\n\n\tproposed = ProposeTopChangePointToInsert();\n\n\tif (sampler.set.unif.nextDouble() < 0.5){// draw the second change point on the left\n\n\t right_land_index = sampler.LandingPart(proposed, 0, sampler.partition_list.size() - 1);\n\t left_top_change = FindLeftTopChange(right_land_index);\n\t \n\t Partition left_part = (Partition)sampler.partition_list.elementAt(left_top_change);\n\t \n\t if (proposed - left_part.left.nuc_position > 1){\n\t\tenough_room = true;\n\n\t\t/*** propose the second topology change point ***/\n\n\t\tleft_proposed = left_part.left.nuc_position + 1 +\n\t\t (int)(sampler.set.unif.nextDouble()*(proposed - left_part.left.nuc_position - 1));\n\n\t\tproposing_second_reciprocal = proposed - left_part.left.nuc_position - 1;\n\n\t\tright_proposed = proposed;\n\t\tleft_land_index = sampler.LandingPart(left_proposed, left_top_change, right_land_index);\n\t\t\n\t\t\n\t }\n\t \n\t}\n\telse{// draw the second change point on the right\n\n\t left_land_index = sampler.LandingPart(proposed, 0, sampler.partition_list.size() - 1);\n\t right_top_change = FindRightTopChange(left_land_index);\n\t \n\t int end = sampler.lenSeq;\n\t \n\t if (right_top_change < sampler.partition_list.size()){\n\t\tPartition right_part = (Partition)sampler.partition_list.elementAt(right_top_change);\n\t\tend = right_part.left.nuc_position;\n\t }\n\t \n\t if (end - proposed > 1){\n\t\tenough_room = true;\n\n\t\t/*** proposed the second topology change point ***/\n\t\t\n\t\tright_proposed = proposed + 1 +\n\t\t (int)(sampler.set.unif.nextDouble()*(end - proposed - 1));\n\n\t\tproposing_second_reciprocal = end - proposed - 1;\n\n\t\tleft_proposed = proposed;\n\t\tright_land_index = sampler.LandingPart(right_proposed, left_land_index, right_top_change - 1);\n\t\t\n\t\t\n\t }\n\n\t}\n\n\n\n\tif (enough_room){\n\n\t if (left_land_index == right_land_index){// if both topology change points are in the same partition\n\n\t\tPartition land_part = (Partition)sampler.partition_list.elementAt(left_land_index);\n\n\t\t/**** compute counts on three new partitions formed by two new change points ****/\n\t\t\n\t\tint[] left_counts = new int[land_part.counts.length];\n\t\tint[] middle_counts = new int[land_part.counts.length];\n\t\tint[] right_counts = new int[land_part.counts.length];\n\t\t\n\t\tfor (int i = land_part.left.nuc_position; i < left_proposed; i++)\n\t\t left_counts[sampler.indexSeq[i]]++;\n\t\t\n\t\tfor (int i = left_proposed; i < right_proposed; i++)\n\t\t middle_counts[sampler.indexSeq[i]]++;\n\n\t\tfor (int i = 0; i < right_counts.length; i++)\n\t\t right_counts[i] = land_part.counts[i] - left_counts[i] - middle_counts[i];\n\n\n\t\t/**** propose new topology in the middle ****/\n\t\t\n\t\tint middle_tree = sampler.ProposeOneTree(land_part.cTree);\n\n\t\t/**** compute current and proposal likelihods ****/\n\t\t\n\t\tdouble pLogLikelihood = \n\t\t sampler.PostTree[middle_tree].LogLikelihood0(land_part.cMatrix, land_part.cHyperParameter, \n\t\t\t\t\t\t\t\t middle_counts, land_part.data,\n\t\t\t\t\t\t\t\t land_part.cMatrix.pi, sampler.handleGaps, 0, 0);\n\t\tdouble cLogLikelihood = \n\t\t sampler.PostTree[land_part.cTree].LogLikelihood0(land_part.cMatrix, land_part.cHyperParameter, \n\t\t\t\t\t\t\t\t middle_counts, land_part.data,\n\t\t\t\t\t\t\t\t land_part.cMatrix.pi, sampler.handleGaps, 0, 0);\n\t\t\n\t\tdouble proposal_prob = 1.0/(double)(sampler.TreeSpan - 1);\n\n\t\t/**** compute acceptance ratio ****/\n\t\t\n\t\tdouble logRatio = pLogLikelihood - cLogLikelihood\n\t\t + Math.log(sampler.top_dkp2)\n\t\t - Math.log(sampler.top_two_bk)\n\t\t + 2*sampler.logTopLambda\n\t\t - Math.log(sampler.topology_changes + 1)\n\t\t - Math.log(sampler.TreeSpan-1)\n\t\t + Math.log(proposing_second_reciprocal)\n\t\t - Math.log(sampler.lenSeq - sampler.topology_changes - 1);\n\n\n\t\tsampler.tries[5]++;\n\t\t\n\t\tif( sampler.LogMHAccept(logRatio, sampler.set.unif.nextDouble())){\n\t\t \n\t\t sampler.acceptancerate[5]++;\n\t\t \n\t\t /**** insert two new parameter change points ****/\n\t\t \n\t\t if (land_part.left.nuc_position == left_proposed){\n\t\t\t\n\t\t\tPartition new_part = new Partition(right_proposed, land_part.right, true, false);\n\n\t\t\t/**** update right side ****/\n\t\t\tnew_part.counts = right_counts;\n\t\t\tnew_part.cPartialLogLikelihood = land_part.cPartialLogLikelihood - cLogLikelihood;\n\t\t\tnew_part.cMatrix = land_part.cMatrix;\n\t\t\tnew_part.cHyperParameter = land_part.cHyperParameter;\n\t\t\tnew_part.cPartialLogHyperParameterPrior = land_part.cPartialLogHyperParameterPrior;\n\t\t\tnew_part.cTree = land_part.cTree;\n\t\t\tnew_part.data = land_part.data;\n\t\t\t\n\t\t\t/**** update left side ****/\n\t\t\t \n\t\t\tland_part.right = right_proposed - 1;\n\t\t\tland_part.left.top_change = true;\n\t\t\tland_part.counts = middle_counts;\n\t\t\tland_part.cPartialLogLikelihood = pLogLikelihood;\n\t\t\tland_part.cTree = middle_tree;\n\n\t\t\tsampler.partition_list.insertElementAt(new_part, left_land_index + 1);\n\n\n\t\t }\n\t\t else{//land_part.left.nuc_position != left_proposed\n\t\t\t\n\t\t\tPartition right_new_part = new Partition(right_proposed, land_part.right, true, false);\n\t\t\tPartition middle_new_part = new Partition(left_proposed, right_proposed - 1, true, false);\n\t\t\t\n\t\t\t/**** update right side ****/\n\t\t\tright_new_part.counts = right_counts;\n\t\t\tright_new_part.cPartialLogLikelihood = \n\t\t\t sampler.PostTree[land_part.cTree].LogLikelihood0(land_part.cMatrix, land_part.cHyperParameter,\n\t\t\t\t\t\t\t\t\t right_counts, land_part.data,\n\t\t\t\t\t\t\t\t\t land_part.cMatrix.pi, sampler.handleGaps, 0, 0);;\n\t\t\tright_new_part.cMatrix = land_part.cMatrix;\n\t\t\tright_new_part.cHyperParameter = land_part.cHyperParameter;\n\t\t\tright_new_part.cPartialLogHyperParameterPrior = land_part.cPartialLogHyperParameterPrior;\n\t\t\tright_new_part.cTree = land_part.cTree;\n\t\t\tright_new_part.data = land_part.data;\n\n\t\t\t/**** update middle chunk ****/\n\t\t\t\n\t\t\tmiddle_new_part.counts = middle_counts;\n\t\t\tmiddle_new_part.cPartialLogLikelihood = pLogLikelihood;\n\t\t\tmiddle_new_part.cMatrix = land_part.cMatrix;\n\t\t\tmiddle_new_part.cHyperParameter = land_part.cHyperParameter;\n\t\t\tmiddle_new_part.cPartialLogHyperParameterPrior = land_part.cPartialLogHyperParameterPrior;\n\t\t\tmiddle_new_part.cTree = middle_tree;\n\t\t\tmiddle_new_part.data = land_part.data;\n\n\t\t\t\n\t\t\t/**** update left side ****/\n\t\t\tland_part.counts = left_counts;\n\t\t\tland_part.right = left_proposed - 1;\n\t\t\tland_part.cPartialLogLikelihood = land_part.cPartialLogLikelihood - \n\t\t\t cLogLikelihood - right_new_part.cPartialLogLikelihood;\n\n\t\t\t\n\t\t\tsampler.partition_list.insertElementAt(middle_new_part, left_land_index + 1);\n\t\t\tsampler.partition_list.insertElementAt(right_new_part, left_land_index + 2);\n\t\t }\n\t\t \n\t\t sampler.topology_changes +=2;\n\n\t\t}\n\n\t }\n\t else{// if two topology change points are in different partitions\n\n\t\tPartition land_part_left = (Partition)sampler.partition_list.elementAt(left_land_index);\n\t\tPartition land_part_right = (Partition)sampler.partition_list.elementAt(right_land_index);\n\n\t\t/**** compute counts on the left and right of both new topology change points ****/\n\t\t\n\t\tint[] left_counts1 = new int[land_part_left.counts.length];\n\t\tint[] right_counts1 = new int[land_part_left.counts.length];\n\t\tint[] left_counts2 = new int[land_part_left.counts.length];\n\t\tint[] right_counts2 = new int[land_part_left.counts.length];\n\t\t\n\t\tfor (int i = land_part_left.left.nuc_position; i < left_proposed; i++)\n\t\t left_counts1[sampler.indexSeq[i]]++;\n\t\t\n\t\tfor (int i = 0; i < right_counts1.length; i++)\n\t\t right_counts1[i] = land_part_left.counts[i] - left_counts1[i];\n\n\t\tfor (int i = land_part_right.left.nuc_position; i < right_proposed; i++)\n\t\t left_counts2[sampler.indexSeq[i]]++;\n\t\t\n\t\tfor (int i = 0; i < right_counts2.length; i++)\n\t\t right_counts2[i] = land_part_right.counts[i] - left_counts2[i];\n\n\t\t/**** propose new topology in the middle ****/\n\t\t\n\t\tint middle_tree = sampler.ProposeOneTree(land_part_left.cTree);\n\n\t\t/**** compute current and proposal likelihods on the left and right ****/\n\t\t\n\t\tdouble pLogLikelihood = 0, cLogLikelihood = 0;\n\n\t\tdouble curr_right_likelihood1 = \n\t\t sampler.PostTree[land_part_left.cTree].LogLikelihood0(land_part_left.cMatrix, \n\t\t\t\t\t\t\t\t\t land_part_left.cHyperParameter, \n\t\t\t\t\t\t\t\t\t right_counts1, land_part_left.data,\n\t\t\t\t\t\t\t\t\t land_part_left.cMatrix.pi, \n\t\t\t\t\t\t\t\t\t sampler.handleGaps, 0, 0);\n\t\t\n\t\tdouble prop_right_likelihood1 = \n\t\t sampler.PostTree[middle_tree].LogLikelihood0(land_part_left.cMatrix, land_part_left.cHyperParameter, \n\t\t\t\t\t\t\t\t right_counts1, land_part_left.data,\n\t\t\t\t\t\t\t\t land_part_left.cMatrix.pi, sampler.handleGaps, 0, 0);\n\t\tcLogLikelihood += curr_right_likelihood1;\n\t\tpLogLikelihood += prop_right_likelihood1;\n\n\n\t\tdouble curr_left_likelihood2 = 0, prop_left_likelihood2 = 0;\n\t\t\n\t\tif (land_part_right.left.nuc_position != right_proposed){\n\t\t curr_left_likelihood2 = \n\t\t\tsampler.PostTree[land_part_left.cTree].LogLikelihood0(land_part_right.cMatrix, \n\t\t\t\t\t\t\t\t\t land_part_right.cHyperParameter, \n\t\t\t\t\t\t\t\t\t left_counts2, land_part_right.data,\n\t\t\t\t\t\t\t\t\t land_part_right.cMatrix.pi, \n\t\t\t\t\t\t\t\t\t sampler.handleGaps, 0, 0);\n\t\t\n\t\t prop_left_likelihood2 = \n\t\t\tsampler.PostTree[middle_tree].LogLikelihood0(land_part_right.cMatrix, \n\t\t\t\t\t\t\t\t land_part_right.cHyperParameter,\n\t\t\t\t\t\t\t\t left_counts2, land_part_right.data,\n\t\t\t\t\t\t\t\t land_part_right.cMatrix.pi, \n\t\t\t\t\t\t\t\t sampler.handleGaps, 0, 0);\n\t\t\n\n\t\t cLogLikelihood += curr_left_likelihood2;\n\t\t pLogLikelihood += prop_left_likelihood2;\n\n\t\t}\n\n\t\t/**** compute current and proposal intermediate likelihoods ****/\n\t\t\n\t\tdouble[] pPartialLogLikelihood = new double[sampler.partition_list.size()];\n\t\tPartition curr_part = land_part_left;\n\n\t\tfor (int i = left_land_index + 1; i < right_land_index; i++){\n\t\t curr_part = (Partition)sampler.partition_list.elementAt(i);\n\t\t pPartialLogLikelihood[i] = \n\t\t\tsampler.PostTree[middle_tree].LogLikelihood0(curr_part.cMatrix, curr_part.cHyperParameter, \n\t\t\t\t\t\t\t\t curr_part.counts, curr_part.data,\n\t\t\t\t\t\t\t\t curr_part.cMatrix.pi, sampler.handleGaps, 0, 0);\n\t\t pLogLikelihood += pPartialLogLikelihood[i];\n\t\t cLogLikelihood += curr_part.cPartialLogLikelihood;\n\t\t}\n\n\t\tdouble proposal_prob = 1.0/(double)(sampler.TreeSpan - 1);\n\n\t\t/**** compute acceptance ratio ****/\n\t\t\n\t\tdouble logRatio = pLogLikelihood - cLogLikelihood\n\t\t + Math.log(sampler.top_dkp2)\n\t\t - Math.log(sampler.top_two_bk)\n\t\t + 2*sampler.logTopLambda\n\t\t - Math.log(sampler.topology_changes + 1)\n\t\t - Math.log(sampler.TreeSpan-1) // prior on topology configuration after canceling with proposal\n\t\t + Math.log(proposing_second_reciprocal)\n\t\t - Math.log(sampler.lenSeq - sampler.topology_changes - 1);\n\n\n\t\tsampler.tries[5]++;\n\t\t\n\t\tif( sampler.LogMHAccept(logRatio, sampler.set.unif.nextDouble())){\n\t\t \n\t\t sampler.acceptancerate[5]++;\n\n\t\t /**** update intermediate likelihoods and topologies ****/\n\n\t\t for (int i = left_land_index + 1; i < right_land_index; i++){\n\t\t\tcurr_part = (Partition)sampler.partition_list.elementAt(i);\n\t\t\t\n\t\t\tcurr_part.cPartialLogLikelihood = pPartialLogLikelihood[i];\n\t\t\tcurr_part.cTree = middle_tree;\n\n\t\t }\n\n\t\t boolean add_first = false;\n\n\t\t /**** insert the first new topology change point ****/\n\t\t \n\t\t if (land_part_left.left.nuc_position == left_proposed){\n\t\t\t\n\t\t\tland_part_left.left.top_change = true;\n\t\t\t\n\t\t\tland_part_left.cPartialLogLikelihood = prop_right_likelihood1;\n\t\t\tland_part_left.cTree = middle_tree;\n\t\t }\n\t\t else{//land_part.left.nuc_position != proposed\n\t\t\tPartition new_part = new Partition(left_proposed, land_part_left.right, true, false);\n\t\t\t\n\t\t\n\t\t\t/**** update left side ****/\n\t\t\tland_part_left.counts = left_counts1;\n\t\t\tland_part_left.right = left_proposed - 1;\n\t\t\tland_part_left.cPartialLogLikelihood -= curr_right_likelihood1;\n\t\t\t\t\t\t\n\t\t\t\n\t\t\t/**** update right side ****/\n\t\t\tnew_part.counts = right_counts1;\n\t\t\tnew_part.cPartialLogLikelihood = prop_right_likelihood1;\n\t\t\tnew_part.cMatrix = land_part_left.cMatrix;\n\t\t\tnew_part.cHyperParameter = land_part_left.cHyperParameter;\n\t\t\tnew_part.cPartialLogHyperParameterPrior = land_part_left.cPartialLogHyperParameterPrior;\n\t\t\tnew_part.cTree = middle_tree;\n\t\t\tnew_part.data = land_part_left.data;\n\t\t\t\n\t\t\tsampler.partition_list.insertElementAt(new_part, left_land_index + 1);\n\t\t\tadd_first = true;\n\t\t }\n\n\n\t\t /**** insert the second new topology change point ****/\n\t\t \n\t\t if (land_part_right.left.nuc_position == right_proposed){\n\t\t\t\n\t\t\tland_part_right.left.top_change = true;\n\t\t }\n\t\t else{//land_part.left.nuc_position != proposed\n\t\t\tPartition new_part = new Partition(right_proposed, land_part_right.right, true, false);\n\n\t\t\n\t\t\t/**** update right side ****/\n\t\t\tnew_part.counts = right_counts2;\n\t\t\tnew_part.cPartialLogLikelihood = land_part_right.cPartialLogLikelihood - curr_left_likelihood2;\n\t\t\tnew_part.cMatrix = land_part_right.cMatrix;\n\t\t\tnew_part.cHyperParameter = land_part_right.cHyperParameter;\n\t\t\tnew_part.cPartialLogHyperParameterPrior = land_part_right.cPartialLogHyperParameterPrior;\n\t\t\tnew_part.cTree = land_part_right.cTree;\n\t\t\tnew_part.data = land_part_right.data;\n\t\t\t\n\t\t\n\t\t\t/**** update left side ****/\n\t\t\tland_part_right.counts = left_counts2;\n\t\t\tland_part_right.right = right_proposed - 1;\n\t\t\tland_part_right.cPartialLogLikelihood = prop_left_likelihood2;\n\t\t\tland_part_right.cTree = middle_tree;\n\n\t\t\tif (add_first){\n\t\t\t sampler.partition_list.insertElementAt(new_part, right_land_index + 2);\n\t\t\t}\n\t\t\telse{\n\t\t\t sampler.partition_list.insertElementAt(new_part, right_land_index + 1);\n\t\t\t}\n\n\t\t }\n\t\t \n\t\t \n\t\t sampler.topology_changes += 2;\n\t\t \n\t\t}\n\t\t\n\t }\n\t \n\t\t\n\t}\n\t\n }", "title": "" }, { "docid": "3011a21514b774e47e687239a4a2805e", "score": "0.4870101", "text": "public static void main(String[] args) throws IOException {\n\t\tfor(int i = 0; i < 2; i+=2){\t\t\t\n\t\tint m=i;\n\t\t\tmerge(m,m+1);\n\t\t\tdel(m,m+1);\n\t\t\ttry{\n\t\t\t Thread.sleep(1000);\n\t\t\t}catch (InterruptedException e){\n\t\t\t e.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f662b04cbeddeb4693a3c910c9dcba70", "score": "0.48677167", "text": "public static Stack<Elephant> longestCommonSubsequence(Elephant[] arr1, Elephant[] arr2){\n\t\tfinal int[][] dp = new int[arr1.length + 1][arr2.length + 1];\n\t\tfinal Direction[][] dpPath = new Direction[arr1.length + 1][arr2.length + 1];\n\t\t\n\t\t/*\n\t\t// only works because arr1.length == arr2.length\n\t\tassert arr1.length == arr2.length;\n\t\tfor (int i = 1; i < arr2.length + 1; i++) {\n\t\t\tdp[0][i] = i;\n\t\t\tdp[i][0] = i;\n\t\t\tdpPath[0][i] = Direction.INSERT;\n\t\t\tdpPath[i][0] = Direction.DELETE;\n\t\t\t// 0:0 is dpPath null and dp 0\n\t\t}*/\n\n\t\tfor (int i = 1; i < dp.length; i++) {\n\t\t\tfor (int j = 1; j < dp[0].length; j++) {\n\t\t\t\t// if the elephant is the same in both arrays\n\t\t\t\tif(arr1[i-1].id == arr2[j-1].id){\n\t\t\t\t\tdp[i][j] = dp[i-1][j-1] + 1;\n\t\t\t\t\tdpPath[i][j] = Direction.MATCH;\n\t\t\t\t} else if(dp[i][j-1] > dp[i-1][j]){\n\t\t\t\t\tdp[i][j] = dp[i][j-1];\n\t\t\t\t\tdpPath[i][j] = Direction.INSERT;\n\t\t\t\t} else {\n\t\t\t\t\tdp[i][j] = dp[i-1][j];\n\t\t\t\t\tdpPath[i][j] = Direction.DELETE;\n\t\t\t\t}\n\t\t\t\t/*\n\t\t\t\tint matchCost = dp[i-1][j-1] + matchLCS(arr1[i-1], arr2[j-1]);\n\t\t\t\tint insertCost = dp[i][j-1] + 1;\n\t\t\t\tint deleteCost = dp[i-1][j] + 1;\n\t\t\t\t\n\t\t\t\t// take lowest cost for the current matrix field\n\t\t\t\tdp[i][j] = matchCost;\n\t\t\t\tdpPath[i][j] = Direction.MATCH;\n\t\t\t\tif(dp[i][j] > insertCost){\n\t\t\t\t\tdp[i][j] = insertCost;\n\t\t\t\t\tdpPath[i][j] = Direction.INSERT;\n\t\t\t\t}\n\t\t\t\tif(dp[i][j] > deleteCost){\n\t\t\t\t\tdp[i][j] = deleteCost;\n\t\t\t\t\tdpPath[i][j] = Direction.DELETE;\n\t\t\t\t}*/\n\t\t\t}\n\t\t}\n\t\t\n\t\tint x = arr1.length;\n\t\tint y = arr2.length;\n\t\tStack<Elephant> stack = new Stack<>();\n\t\twhile(dpPath[x][y] != null){\n\t\t\t// if x and y are matched, add to array\n\t\t\tswitch(dpPath[x][y]){\n\t\t\t\tcase MATCH: {\n\t\t\t\t\tif(!stack.isEmpty()){\n\t\t\t\t\t\t//Elephant top = stack.peek();\n\t\t\t\t\t\t//if(top.weight > arr1[x-1].weight && top.iq < arr1[x-1].iq){\n\t\t\t\t\t\t\tstack.push(arr1[x-1]);\n\t\t\t\t\t\t//}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstack.push(arr1[x-1]);\n\t\t\t\t\t}\n\t\t\t\t\tx--;\n\t\t\t\t\ty--;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase INSERT: {\n\t\t\t\t\ty--;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase DELETE: {\n\t\t\t\t\tx--;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.err.println(Arrays.deepToString(dp));\n\t\tSystem.err.println();\n\t\tSystem.err.println(\"selected elephants: \" + stack.size());\n\t\tSystem.err.println(\"LCS: \" + dp[arr1.length][arr2.length]);\n\t\treturn stack;\n\t}", "title": "" }, { "docid": "f36e54ce05484e9bdf79a40e7e646d2b", "score": "0.48676422", "text": "public void insertarOrdenado(int dato) {\n // creamos un nodo nuevo\n NodoDoble minodo = new NodoDoble();\n minodo.CrearNuevoNodoDoble();\n // al nuevo nodo le asignamos el dato ingresado\n minodo.setDato(dato);\n // creamos un nodo auxiliar que inicialize con el valor de la cabeza \n //de la lista.\n NodoDoble aux = cabeza;\n // verificamos que la lista este vacia \n if (this.cabeza == null && this.cola == null) {\n // si la lista esta vacia ponemos el nuevo nodo como primero de la lista// \n this.cabeza = minodo;\n this.cola = minodo;\n // verificamos si hay un primero nodo y lo comparamos con el nuevo nodo \n // comparamos de tal manera que el nuevo nodo sea menor al primero que esta creado \n } else if (minodo.getDato() < aux.getDato() && aux.getSiguiente() == null) {\n // enlazamos el dato nuevo detras del nodo que ya esta creado\n minodo.setSiguiente(aux);\n minodo.setAnterior(this.cabeza);\n this.cabeza =minodo;\n \n } \n }", "title": "" }, { "docid": "6bcc596597d226dea11a809623da0f67", "score": "0.4867408", "text": "public static void merge(int[] nums1, int m, int[] nums2, int n) {\n int i = m-1, j = n-1, k = m+n-1;\n while (i >= 0 && j >= 0) {\n if (nums1[i] > nums2[j]) {\n nums1[k--] = nums1[i--];\n } else {\n nums1[k--] = nums2[j--];\n }\n }\n while (j >= 0) { // if first nums1 element finishes and the second one nums2 element remains\n nums1[j] = nums2[j--];\n }\n while (i >= 0) { // if first nums1 element remains and the second one nums2 element finishes\n nums1[i] = nums1[i--];\n }\n }", "title": "" }, { "docid": "1341e2503182c392416229f560634af9", "score": "0.48640722", "text": "@Override\n public List<Vertice> getMenorCaminho(Vertice v1, Vertice v2) {\n List<Aresta> arestas = this.getArestas(true);\n List<Vertice> vertices = this.getVertices(true);\n try \n {\n lock.readLock().lock();\n //visitados\n List<Vertice> visitados = new ArrayList<>();\n //não visitados\n List<Vertice> naovisitados = new ArrayList<>();\n //tabela\n List<TabelaDijkstra> caminhos = new ArrayList<>();\n\n boolean flagV1 = false;\n boolean flagV2 = false;\n //Inicia tabela e não visitados/Verifica se v1 e v2 estão no grafo\n for (Vertice v : vertices) \n {\n naovisitados.add(v);\n TabelaDijkstra novo = new TabelaDijkstra();\n novo.vertice = v;\n if (v.getId() == v1.getId()) \n {\n novo.dist_min = 0.0;\n flagV1 = true;\n } \n else \n {\n novo.dist_min = Double.POSITIVE_INFINITY;\n }\n novo.verticeAnterior = null;\n caminhos.add(novo);\n if (v.getId() == v2.getId()) \n {\n flagV2 = true;\n }\n }\n if (!flagV1 || !flagV2) \n {\n return null;\n }\n\n Vertice atual = v1;\n\n while (naovisitados.size() > 0) \n {\n //System.out.println(\"Visitando: \" + atual.getId());\n //pega os vizinhos\n List<Vertice> vizinhos = getVizinhos(atual);\n\n //Pega somente vizinhos não visitados\n if (vizinhos != null && vizinhos.size() > 0) \n {\n List<Vertice> paraRemover = new ArrayList<>();\n for (Vertice v : vizinhos) \n {\n if (visitados.contains(v)) \n {\n paraRemover.add(v);\n }\n }\n vizinhos.removeAll(paraRemover);\n }\n\n //atualiza distancia dos vizinhos\n double distanciaAtual = getDistancia(caminhos, atual.getId());\n System.out.println(\"Vizinhos size: \" + vizinhos.size());\n for (Vertice v : vizinhos) \n {\n Aresta arestaAtual = getArestaFrom(atual, v, true,arestas);\n double distanciaAteVizinho = distanciaAtual + arestaAtual.peso;\n TabelaDijkstra viz = getAt(caminhos, v.getId());\n \n if (distanciaAteVizinho < viz.dist_min) \n {\n viz.dist_min = distanciaAteVizinho;\n viz.verticeAnterior = atual;\n }\n }\n //remove o vertice da lista de nao visitados e adiciona na lista de visitados\n naovisitados.remove(atual);\n visitados.add(atual);\n Collections.sort(caminhos, (a, b) -> a.compareTo(b)); //ordena tabela \n\n //Pega o vertice com menor distancia para ser o atual:\n //Como a tabela de caminhos está ordenada, o primeiro vertice não visitado na tabela será escolhido\n for (TabelaDijkstra c : caminhos) \n {\n if (!visitados.contains(c.vertice))\n {\n atual = c.vertice;\n break;\n }\n }\n }\n /*System.out.println(\"-----TABELAFINAL-----\");\n for (TabelaDijkstra t : caminhos) {\n System.out.println(\"Entrada tabela Dijkstra:\");\n System.out.println(\"Vertice: \" + t.vertice.getId());\n System.out.println(\"Distancia: \" + t.dist_min);\n if (t.verticeAnterior != null) {\n System.out.println(\"Source: \" + t.verticeAnterior.getId());\n } else {\n System.out.println(\"Source: null\");\n }\n }\n System.out.println(\"-----FIM-----\");*/\n\n List<Integer> caminhoFinal = new ArrayList<>();\n List<Vertice> caminhoRetorno = new ArrayList<>();\n\n int anterior = getAnterior(caminhos, v2.getId());\n Vertice verticeAnterior = getVerticeAnterior(caminhos,v2);\n \n caminhoFinal.add(v2.getId());\n caminhoRetorno.add(v2);\n while (anterior != v1.getId()) \n {\n caminhoFinal.add(anterior);\n anterior = getAnterior(caminhos, anterior);\n caminhoRetorno.add(verticeAnterior);\n verticeAnterior = getVerticeAnterior(caminhos,verticeAnterior);\n }\n caminhoFinal.add(v1.getId());\n caminhoRetorno.add(v1);\n Collections.reverse(caminhoRetorno);\n Collections.reverse(caminhoFinal);\n return caminhoRetorno;\n } \n catch (Exception e) \n {\n e.printStackTrace();\n return null;\n }\n finally\n {\n lock.readLock().unlock();\n }\n }", "title": "" }, { "docid": "3add2e3fe55645e975437648841d384b", "score": "0.48595768", "text": "ListNode IsIntersecting(ListNode one, ListNode two) {\n ListNode intersectedNode = null;\n\n ListNode currNodeOne = one;\n ListNode currNodeTwo = two;\n\n while (currNodeOne.next != null)\n {\n while (currNodeTwo.next != null)\n {\n if (currNodeOne.next == currNodeTwo.next)\n {\n return currNodeOne.next;\n }\n\n currNodeTwo = currNodeTwo.next;\n }\n\n currNodeOne = currNodeOne.next;\n currNodeTwo = two; // reset to begining\n }\n\n return intersectedNode;\n }", "title": "" }, { "docid": "7236eee43b3a830b207d3f037883fad8", "score": "0.48530328", "text": "AstroArg interleave(AstroArg leftArg, AstroArg rightArg);", "title": "" }, { "docid": "8e0a6a4b9a2fc334620181fec7af5446", "score": "0.48524177", "text": "public String xor(String uno, String dos){\r\n char[] one = uno.toCharArray();\r\n char[] two = dos.toCharArray();\r\n \r\n for(int i=0; i<one.length; i++){\r\n if(one[i]==two[i])\r\n {\r\n resultado += 0;\r\n }\r\n else if(one[i]!=two[i])\r\n {\r\n resultado += 1;\r\n }\r\n }\r\n \r\n return resultado;\r\n }", "title": "" }, { "docid": "81455b2e9af7d27345b3b4f1ebd7195d", "score": "0.4846429", "text": "public boolean evaporationPheromones(int n1, int n2);", "title": "" }, { "docid": "51c7eaeea428b1931554d15f181dce4f", "score": "0.48431283", "text": "public void union(int num1, int num2) {\n int rootOfNum1 = root(num1);\n int rootOfNum2 = root(num2);\n ids[rootOfNum1] = rootOfNum2;\n }", "title": "" }, { "docid": "15bee90d28ebee06b9ab6a5813924ab5", "score": "0.4842706", "text": "public ArrayList<Nodo> buscarAdyacentes(Nodo nodoActual) {\n\t\tArrayList<Nodo> adyacentes = new ArrayList<Nodo>();\n\t\tNodo nodo = null;\n\t\tfor (int indice = 0; indice < listaEnlaces.size(); indice++){\n\t\t\t\n\t\t\tif (listaEnlaces.get(indice).getIdNodo1() == nodoActual.getId()){\n\t\t\t\tnodo = this.buscarNodo(listaEnlaces.get(indice).getIdNodo2()); //busco el nodo con el otro id de nodo del enlace\n\t\t\t\t\n\t\t\t\t\t\tadyacentes.add(nodo);\n\t\t\t}\n\t\t\telse if(listaEnlaces.get(indice).getIdNodo2() == nodoActual.getId())\n\t\t\t{\n\t\t\t\tnodo = this.buscarNodo(listaEnlaces.get(indice).getIdNodo1());\n\t\t\t\t\n\t\t\t\t\tadyacentes.add(nodo);\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\treturn adyacentes;\n\t}", "title": "" }, { "docid": "09c2cd1f102b54e30ea8093f0817beec", "score": "0.48355654", "text": "public void accionSplay(nodoSplay nodo){\n while(nodo.getPadre()!=null){\n nodoSplay padre = nodo.getPadre();//el padre del nodo en que se va a ejecutar la accion\n nodoSplay abuelo = padre.getPadre();//el abuelo del nodo en el que se ejecutara la accion\n if(abuelo == null){//si no tiene abuelo, osea su padre es raiz\n if(nodo==padre.getIzq()){\n hijoIzqaPadre(nodo,padre);\n }\n else{\n hijoDeraPadre(nodo,padre);\n }\n }\n else{\n if(nodo==padre.getIzq()){\n if(padre == abuelo.getIzq()){\n hijoIzqaPadre(padre,abuelo);//doble rotacion\n hijoIzqaPadre(nodo,padre);//doble rotacion\n }\n else {\n hijoIzqaPadre(nodo,nodo.getPadre());\n hijoDeraPadre(nodo,nodo.getPadre());\n }\n }\n else{\n if(padre == abuelo.getIzq()){\n hijoDeraPadre(nodo,nodo.getPadre());\n hijoIzqaPadre(nodo,nodo.getPadre());\n }\n else{\n hijoDeraPadre(padre,abuelo);\n hijoDeraPadre(nodo,padre);\n }\n }\n }\n }\n raizSplay = nodo;\n }", "title": "" }, { "docid": "4fe317c078032e7cd0847d0345f894b1", "score": "0.48260167", "text": "private boolean isCirculo(){\r\n if((punto1.getX() == punto2.getX()) && (punto1.getY() == punto2.getY())){\r\n return(false);\r\n }else{\r\n return (true);\r\n }\r\n }", "title": "" }, { "docid": "38555f54134074692bd3805ee6fc9324", "score": "0.48246163", "text": "public void ida_estrela(Tabuleiro t){\n LinkedList<Tabuleiro> abertos = new LinkedList<Tabuleiro>();\n LinkedList<Tabuleiro> fechados = new LinkedList<Tabuleiro>();\n LinkedList<Tabuleiro> proxEstados;\n LinkedList<Tabuleiro> descartados = new LinkedList<Tabuleiro>();\n t.setCusto(0);\n t.setAvaliacao(t.getHeuristica()+t.getCusto());\n boolean sucesso = false;\n boolean fracasso = false;\n abertos.add(t);\n estadosExpandidos++;\n Iterator itrAbertos, itrFechados, itrProximos, itrMenor;\n Boolean repetido;\n Tabuleiro teste, tAux, tAux2;\n int nDescartados = 0, iterNovas = 1;\n \n int patamar = t.getAvaliacao(), patamar_old=-1;\n \n while (!(sucesso || fracasso)) {\n if (abertos.isEmpty()) {\n Collections.sort(descartados);\n patamar_old=patamar;\n patamar = descartados.getFirst().getAvaliacao();\n if(patamar_old == patamar){\n fracasso = true;\n System.out.println(\"Solucao nao encontrada. Estados expandidos: \" + estadosExpandidos + \". Estados visitados: \" + estadosVisitados + \".\");\n System.out.println(\"Total de estados descartados: \"+nDescartados+\". Total de redefinicoes do patamar: \"+iterNovas);\n break;\n }\n iterNovas++;\n descartados = new LinkedList<Tabuleiro>();\n abertos = new LinkedList<Tabuleiro>();\n fechados = new LinkedList<Tabuleiro>();\n abertos.add(t);\n }\n else {\n //Inicio do codigo com ordenacao\n /*\n Collections.sort(abertos);\n tAux = abertos.getFirst();\n fechados.add(tAux);\n abertos.removeFirst();\n * */\n //Termino do codigo com ordenacao\n \n //Inicio do codigo sem ordenacao\n itrMenor = abertos.iterator();\n tAux = abertos.getFirst();\n while(itrMenor.hasNext()){\n tAux2 = (Tabuleiro) itrMenor.next();\n if(tAux.getAvaliacao()>tAux2.getAvaliacao())\n tAux=tAux2;\n }\n fechados.add(tAux);\n abertos.removeFirstOccurrence(tAux);\n //Termino do codigo sem ordenacao\n \n estadosVisitados++;\n if (tAux.getHeuristica()==0) {\n tAux.imprimeTabuleiro();\n System.out.println(\"Solução encontrada. Estados expandidos: \" + estadosExpandidos + \". Estados visitados: \" + estadosVisitados + \".\");\n System.out.println(\"Total de estados descartados: \"+nDescartados+\". Total de redefinicoes do patamar: \"+iterNovas);\n sucesso = true;\n } else {\n \n Tabuleiro u;\n \n proxEstados = tAux.proximosEstadosA();\n itrProximos=proxEstados.iterator();\n while(itrProximos.hasNext()){\n u = (Tabuleiro) itrProximos.next();\n if(u.getAvaliacao()<=patamar){\n itrAbertos=abertos.iterator();\n itrFechados=fechados.iterator();\n repetido = false;\n while( (itrAbertos.hasNext() || itrFechados.hasNext()) && !repetido){\n if(itrAbertos.hasNext()){\n teste = (Tabuleiro)itrAbertos.next();\n if(u.igual(teste)){\n repetido = true;\n }\n }\n if(itrFechados.hasNext()){\n teste = (Tabuleiro)itrFechados.next();\n if(u.igual(teste)){\n repetido = true;\n }\n }\n }\n if(!repetido){\n abertos.add(u);\n estadosExpandidos++;\n }\n }\n else{\n descartados.add(u);\n nDescartados++;\n }\n }\n }\n }\n }\n }", "title": "" }, { "docid": "0a614e6bd260959aabc1e55043d34d02", "score": "0.48218638", "text": "void AlternatingSplit() \n\t{\n\t\tListNode current = head;\n\t\ta = new LinkedList();\n\t\tb = new LinkedList();\n\t\twhile (current != null)\n\t\t{\n\t\t\ta.addEnd(current.data); // Move a node to list 'a' \n\t\t\tcurrent = current.next;\n\t\t\tif (current != null) \n\t\t\t{\n\t\t\t\tb.addEnd(current.data); // Move a node to list 'b' \n\t\t\t\tcurrent = current.next;\n\t\t\t}\n\t\t}\n\t\ta.display();System.out.println();\n\t\tb.display();System.out.println();\n\n\t}", "title": "" } ]
c4ecb18b27543ebe8ddf0e39821b7708
Removes all the anagraficas from the database.
[ { "docid": "87b97ca56245fbba96afd8da117e60e0", "score": "0.0", "text": "public static void removeAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\n\t\tgetPersistence().removeAll();\n\t}", "title": "" } ]
[ { "docid": "d8d4487fffa9308c6a57cc2416494fb3", "score": "0.6684", "text": "@Override\n\tpublic void removeAll() throws SystemException {\n\t\tfor (Cronograma cronograma : findAll()) {\n\t\t\tremove(cronograma);\n\t\t}\n\t}", "title": "" }, { "docid": "b9a37e9409df85d0e6c1ea3f893cabfe", "score": "0.66124034", "text": "@Override\n public void clearDatabase() {\n clear();\n dates.clear();\n additionalAsurites.clear();\n }", "title": "" }, { "docid": "83ed3057f59831ae8344a7cc87c17091", "score": "0.6552348", "text": "public void deleteAllAirfields() {\r\n\t\tQuery<Airfield> query = ofy().query(Airfield.class);\r\n\t\tofy().delete(query);\r\n\t}", "title": "" }, { "docid": "c690ccc208a68cd107d32d05e0f834d2", "score": "0.6408115", "text": "public void clearAllAircraft() {\n\t\t\tacModelID.clear(); \n\t\t\tacMake.clear(); \n\t\t\tacModel.clear(); \n\t\t\tacRange.clear(); \n\t\t\tacRangeClass.clear(); \n\t\t\tacPayload.clear(); \n\t\t\tacLoadVolume.clear(); \n\t\t}", "title": "" }, { "docid": "f9915a7964e6e55ce74177a9f874a085", "score": "0.63969916", "text": "public void delleteAll() {\r\n myccolection.clear();\r\n }", "title": "" }, { "docid": "ca2cdd11e20226922cc545cc1326ada5", "score": "0.6359721", "text": "public void emptyAll(){\n myDB.delete(\"Address\", null, null);\n myDB.delete(\"Admin_user\", null, null);\n myDB.delete(\"Partner\", null, null);\n myDB.delete(\"Promotion\", null, null);\n myDB.delete(\"Shop_location\", null, null);\n myDB.delete(\"User\", null, null);\n myDB.delete(\"User_points\", null, null);\n myDB.delete(\"User_promotion\", null, null);\n }", "title": "" }, { "docid": "19a56d4f6078de6b27534ea43f7e5bea", "score": "0.62812066", "text": "public void clearAll() {\n SQLiteDatabase database = getWritableDatabase();\r\n database.delete(\"quotation_table\", null, null);\r\n // Close the database\r\n database.close();\r\n }", "title": "" }, { "docid": "ec1433fd22d7ab3027105fa27b160cab", "score": "0.6250646", "text": "public void clearAll() {\n\n realm.beginTransaction();\n realm.delete(User.class);\n realm.commitTransaction();\n }", "title": "" }, { "docid": "ccb5c45df2c1ef739882bfa0b5ccc681", "score": "0.62178993", "text": "public void DeleteAll()\r\n\t{\r\n\t\tSQLiteDatabase db = dbHelper.getWritableDatabase();\r\n\t\ttry\r\n\t\t{\r\n\t\t\tdb.delete(DBHelper.FountainTable.NAME, null, null);\r\n\t\t}\r\n\t\tfinally \r\n\t {\r\n\t if (db != null)\r\n\t db.close();\r\n\t }\r\n\t}", "title": "" }, { "docid": "8919f1a4fb0b00d0f5b772e81b5e0b6b", "score": "0.61982787", "text": "public void clearDatabase() {\n database.delete(\"client\", null, null);\n database.delete(\"device\", null, null);\n database.delete(\"scenario\", null, null);\n database.delete(\"favorites\", null, null);\n database.delete(\"scenario_device_binding\", null, null);\n }", "title": "" }, { "docid": "bbff5f0ca32ed07d97680e9beb86a171", "score": "0.6193476", "text": "private void clearAll() {\n\n\t\tmDbHelper.getWritableDatabase().delete(Database.TABLE_NAME, null, null);\n\n\t}", "title": "" }, { "docid": "3858579ba4ff05e86ee8076dba4fabba", "score": "0.61564565", "text": "public void deleteAll() {\r\n\r\n\t\tif (db == null || !db.isOpen()) {\r\n\t\t\tdb = new DBHelper().getWritableDatabase();\r\n\t\t}\r\n\r\n\t\tdb.delete(TABLE_NAME, null, null);\r\n\t}", "title": "" }, { "docid": "d7207242bf476c5e1d686cc6697593fe", "score": "0.61493146", "text": "public void deleteAllRecords() {\n SQLiteDatabase db = this.getReadableDatabase();\n db.execSQL(SQLConstants.DELETE_USER_TABLE);\n //todo need to uncomment\n db.execSQL(SQLConstants.DELETE_EVENT_TABLE);\n db.execSQL(SQLConstants.DELETE_MILESTONE_TABLE);\n db.execSQL(SQLConstants.DELETE_PLAN_TABLE);\n }", "title": "" }, { "docid": "a32f279b9f487fabd3fef874102b7f9b", "score": "0.61442906", "text": "@Override\n\tpublic void removeAll() {\n\t\tfor (Ciudades ciudades : findAll()) {\n\t\t\tremove(ciudades);\n\t\t}\n\t}", "title": "" }, { "docid": "3e83f4fdd0cd41655fb9a2ab9aa277d6", "score": "0.61387175", "text": "@Override\n\tpublic void removeAll() {\n\t\tfor (LaiSuat laiSuat : findAll()) {\n\t\t\tremove(laiSuat);\n\t\t}\n\t}", "title": "" }, { "docid": "71d0cc9cbc158e49a0570cde3ae746c6", "score": "0.6124609", "text": "public void removeAll() throws SystemException {\n\t\tfor (AnhCongDan anhCongDan : findAll()) {\n\t\t\tremove(anhCongDan);\n\t\t}\n\t}", "title": "" }, { "docid": "4ec4e90f401904c177abb07291e4c6ed", "score": "0.6094362", "text": "@Override\r\n\tpublic void removeAll() throws SystemException {\r\n\t\tfor (ESFFlight esfFlight : findAll()) {\r\n\t\t\tremove(esfFlight);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e0648ee3b4cf41821b7a77b8016db723", "score": "0.6092759", "text": "public void clean() {\n CcamService serv = new CcamService(DatabaseUtils.fact());\n serv.removeAll();\n List<Ccam> res = serv.getAll();\n assert(res.isEmpty());\n }", "title": "" }, { "docid": "7eaa6d1fd7cf38e67b7c6adbbcd4a937", "score": "0.60872746", "text": "void clearAllAttendees() {\n selectedAttendeeDAO.clearAllAttendees();\n }", "title": "" }, { "docid": "17e8dd0756435c92367578ff092173a6", "score": "0.6079542", "text": "public void clearDatabase() {\n em.createNativeQuery(\"delete from group__role_\").executeUpdate();\n em.flush();\n em.createNativeQuery(\"delete from user__group_\").executeUpdate();\n em.flush();\n em.createNativeQuery(\"delete from role_\").executeUpdate();\n em.flush();\n em.createNativeQuery(\"delete from group_\").executeUpdate();\n em.flush();\n em.createNativeQuery(\"delete from user_\").executeUpdate();\n em.flush();\n }", "title": "" }, { "docid": "03c47f2f44e7903a9957ced61423e203", "score": "0.60773283", "text": "public void deleteAll() {\n this.open();\n db.delete(DATABASE_TABLE, null, null);\n this.close();\n }", "title": "" }, { "docid": "f7abf3ae834a562f54f5c3b543c93c7e", "score": "0.6069435", "text": "public void clearAll() {\n realm.beginTransaction();\n realm.clear(NewsItem.class);\n realm.commitTransaction();\n }", "title": "" }, { "docid": "5649b89e6fbe0742f87301aadc24e34a", "score": "0.6060493", "text": "@Override\n public void clear() {\n Connection conn = ConfigDAO.connect();\n try {\n Statement stm = conn.createStatement();\n stm.executeUpdate(\"DELETE FROM Prateleiras\");\n } catch (Exception e) {\n throw new NullPointerException(e.getMessage());\n } finally {\n ConfigDAO.close(conn);\n }\n }", "title": "" }, { "docid": "b8ee24bc02a96179a680f20b3cd92106", "score": "0.6040447", "text": "public void clearAllItems() {\n SQLiteDatabase db = getWritableDatabase();\n String query = \"DELETE FROM \" + TABLE_NAME;\n\n // Executing the query and then closing database\n db.execSQL(query);\n db.close();\n }", "title": "" }, { "docid": "e3f95023df46295753b2088a18b8e979", "score": "0.6018286", "text": "public void deleteAll() {\n\t\tmongoTemplate.remove(new Query(), COLLECTION);\n\t}", "title": "" }, { "docid": "0ff3cfe4c8e72a56a30e2ed7be12e37f", "score": "0.6005268", "text": "public static void deleteAllMetadatos() {\n\t\tList<Metadatos> listaMetadatos = Metadatos.findAll();\n\t\tfor (Metadatos metadatos : listaMetadatos) {\n\t\t\tmetadatos.listaMetadatos = null;\n\t\t\tmetadatos.delete();\n\t\t}\n\t\tMetadato.deleteAll();\n\t}", "title": "" }, { "docid": "d6fa571bf3155b395c3631561a9b70d8", "score": "0.60036176", "text": "public void borrarPartida(){\n\t\tfor(AbstractPieza p : piezas){\n\t\t\tp.quitaDeCasilla();\n\t\t}\n\t\tpiezas.clear();\n\t\t\n\t\tmovs.clear();\n\t}", "title": "" }, { "docid": "50394351708c0455050a50a3efe8f7a4", "score": "0.5992712", "text": "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50394351708c0455050a50a3efe8f7a4", "score": "0.5992712", "text": "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8c1593dd76cdb3f7630c7e491b6e6d0f", "score": "0.5985244", "text": "public void deleteAllEpisodes() {\n db.execSQL(AizhuijuDBHelper.SQL_DELETE_EPISODES);\n db.execSQL(AizhuijuDBHelper.SQL_CREATE_EPISODES);\n }", "title": "" }, { "docid": "4f78be0ec2fdd6467b32341f80a4158b", "score": "0.5984479", "text": "private void clearDBTablesJPA() {\n String[] qc = new String[] {\"Post\", \"Topic\", \"Forum\", \"User\", \"Misc\"};\r\n for (int i = 0; i < qc.length; i++) {\r\n // System.out.println(\">>>>>>>>>>>>>> clearDBTables: \" + qc[i]);\r\n Query query = getCurrentSession().createQuery(\"delete from net.ugorji.oxygen.forum.data.\" + qc[i]);\r\n int i2 = query.executeUpdate();\r\n OxygenUtils.info(\"XXXX: Deleted \" + i2 + \" instances of \" + qc[i]);\r\n closeCurrentSession();\r\n }\r\n }", "title": "" }, { "docid": "b23ad881c1b676e6384b083a4b1d14e7", "score": "0.59659773", "text": "public void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "f3c87b7f0ecf898f7b3511d280225ca1", "score": "0.5960602", "text": "public void deleteAll() {\n\t\tentityManager.createQuery(\"DELETE FROM \" + clazz.getName()).executeUpdate();\n\t}", "title": "" }, { "docid": "8ce1df41b2daa416875bbec88bf47bc7", "score": "0.5956986", "text": "@Override\r\n\tpublic void deleteAllCooperative() {\n\t\tcooperativeRepository.deleteAll();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "43702f3b1a80bf8f60038475c47864c9", "score": "0.5956849", "text": "@Override\n\t\tpublic void deleteAll() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "56e5b0784d94ad4f1adcc33e61b781c4", "score": "0.593813", "text": "@Query(\"DELETE FROM L_AnglesRivets\")\n void deleteAll();", "title": "" }, { "docid": "6469ab6500821b41c7674e9f488bbafc", "score": "0.59254307", "text": "void deleteAllMarineRecords() {\n SQLiteDatabase db = this.getWritableDatabase();\n db.delete(MARINE_LITTER_RECORD, null, null);\n db.close();\n }", "title": "" }, { "docid": "f2669b0f711f4e46d7fc76d6f8819603", "score": "0.58960956", "text": "public void deleteAllRatingMechanism(){\n ratingMechanisms.clear();\n }", "title": "" }, { "docid": "351f79e9d117a257b216f60d1de4358a", "score": "0.58954346", "text": "void deleteAll() {\n for (int i = 0; i <= 50; i++) {\n testHHM.testGetDatabase().removeClient(i);\n testHHM.testGetDatabase().removeInstructor(i);\n testHHM.testGetDatabase().removeManager(i);\n }\n }", "title": "" }, { "docid": "a8ae369d02716ca5227c2ecfa6ccfc39", "score": "0.5893531", "text": "public void deleteAllEntries() {\n SQLiteDatabase db = getWritableDatabase();\n\n db.delete(FavouritePokemonDatabaseContract.FavouritePokemonEntry.TABLE_NAME, null, null);\n }", "title": "" }, { "docid": "798c9f79c11ad808cb466690b2945eaa", "score": "0.5873161", "text": "public void deleteAll() {\n\n\t\tProblemDescription.clear();\n\t\trequestDescription.clear();\n\t\texplanation.clear();\n\t\tnotes.clear();\n\t\tfilesList.getItems().clear();\n }", "title": "" }, { "docid": "25bb4a095e43857a9c38cddc9113b258", "score": "0.5870993", "text": "private static void dbclear() throws SQLException {\n\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Collaborazione;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Competenze_RichiesteProgetto;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Competenze_Utente;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement( \"DELETE FROM doit.Competenze;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.CategorieCompetenze;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Partecipazioni;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Valutazioni_Progetti;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Notifiche;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Progetti;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Enti;\").executeUpdate();\n\t\tDBManager.getInstance().getConnection().prepareStatement(\"DELETE FROM doit.Utenti;\").executeUpdate();\n\t}", "title": "" }, { "docid": "b2a26409a66d0d446cc2be6306c31eda", "score": "0.58498156", "text": "public void deleteAllSteps() {\n SQLiteDatabase db = getWritableDatabase();\n try {\n db.execSQL(\"delete from \"+ TABLE_STEPS);\n } catch (Exception e) {\n Log.d(TAG, \"Error while trying to delete all locations\");\n } finally {\n //db.endTransaction();\n }\n }", "title": "" }, { "docid": "379faa049f62100b79efd334366f5992", "score": "0.5845852", "text": "public void clearAll() {\n\t\t\tstorage.clear();\n\t\t}", "title": "" }, { "docid": "d8dd89d4322ff8af55d90e7299326dcd", "score": "0.5845579", "text": "protected void clearTables() throws PersistenceException, SQLException {\n if(!_db.isActive())\n \t_db.begin();\n \n PreparedStatement deleteBooks =\n _db.getJdbcConnection().prepareStatement(\n \"DELETE FROM test2860_oto_book\");\n deleteBooks.executeUpdate();\n \tdeleteBooks.close();\n \t\n PreparedStatement deleteAuthors =\n _db.getJdbcConnection().prepareStatement(\n \"DELETE FROM test2860_oto_author\");\n deleteAuthors.executeUpdate();\n deleteAuthors.close();\n \t_db.commit();\n \t_db.close();\n }", "title": "" }, { "docid": "c0042004a847c5c352cfeb4eddae2517", "score": "0.5825642", "text": "@Override\n\tpublic void deleteAll() {\n\n\t}", "title": "" }, { "docid": "c0042004a847c5c352cfeb4eddae2517", "score": "0.5825642", "text": "@Override\n\tpublic void deleteAll() {\n\n\t}", "title": "" }, { "docid": "c0042004a847c5c352cfeb4eddae2517", "score": "0.5825642", "text": "@Override\n\tpublic void deleteAll() {\n\n\t}", "title": "" }, { "docid": "c0042004a847c5c352cfeb4eddae2517", "score": "0.5825642", "text": "@Override\n\tpublic void deleteAll() {\n\n\t}", "title": "" }, { "docid": "c0042004a847c5c352cfeb4eddae2517", "score": "0.5825642", "text": "@Override\n\tpublic void deleteAll() {\n\n\t}", "title": "" }, { "docid": "d493da9fe293eb601b26359acf6b3fd8", "score": "0.5824422", "text": "public void deleteAllRecords() {\n\n\t\tSQLiteDatabase db = this.getWritableDatabase();\n\n\t\t// db.delete(TABLE_CONTACTS, KEY_NAME + \"='\" + firstname + \"'\", null);\n\t\tdb.execSQL(\"delete from \" + TABLE_HOMEPAGE);\n\n\t}", "title": "" }, { "docid": "1dca719f4d376d5e826475934d23997c", "score": "0.5823508", "text": "public void cleanSQL() {\n AdminBase admin = AdminBase.initialize(AdminBase.DATABASE.SQLite, this.nombreBD);\n InfoHotel hotel = new InfoHotel();\n List<InfoHotel> hoteles = new ArrayList<InfoHotel>();\n\n hoteles = admin.obtainAll(hotel, \"1 = 1\");\n for (InfoHotel nav : hoteles) {\n admin.delete(nav);\n }\n\n admin.close();\n }", "title": "" }, { "docid": "e5eb5b004c56fb31522dbc64a8dbc840", "score": "0.58213115", "text": "public static void deleteAll() {\n Connection conn = null;\n PreparedStatement pstmt = null;\n ResultSet rs = null;\n try {\n conn = ConnectionManager.getConnection();\n String sql = \"TRUNCATE location\";\n pstmt = conn.prepareStatement(sql);\n\n pstmt.executeUpdate();\n\n } catch (SQLException e) {\n e.printStackTrace();\n } finally {\n ConnectionManager.close(conn, pstmt);\n }\n }", "title": "" }, { "docid": "0fdeffb144cbc89c63f3e07bd974e2b4", "score": "0.582044", "text": "void deleteAllByCampeonato(Campeonato campeonato);", "title": "" }, { "docid": "acc4b32f0e1c9a98519f0e1f702b3370", "score": "0.58107543", "text": "public void clearAlumni() {\n\t\talumni.clear();\r\n\t}", "title": "" }, { "docid": "b5cd307a2be01b67959a576af5c48f44", "score": "0.5805735", "text": "public void deleteAllDatabaseFiles() {\n for (AndroidDatabase androidDatabase : androidDatabaseList) {\n File file = new File(androidDatabase.getPath());\n file.delete();\n }\n }", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "69e84aea4aeefb9d289e497b1c3329e4", "score": "0.57927024", "text": "@Override\n\tpublic void deleteAll() {\n\t\t\n\t}", "title": "" }, { "docid": "a6f859a84d8d2098bdd1775f3ebfb530", "score": "0.5789092", "text": "public void excluirTodas() throws Exception {\r\n\t\ttry {\r\n\t\t\trepConta.deleteAll();\r\n\t\t} catch (Exception e) {\r\n\t\t\tthrow new Exception(e.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7ccc97042dd51b566e9640ed063a2457", "score": "0.578577", "text": "private void cleanup() {\n\t\tfor (RandomAccessFile rw : fFileRWList) {\n\t\t\ttry {\n\t\t\t\trw.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tfFileRWList.clear();\n\t\t\n\t\tFile files[] = fDBDir.listFiles();\n\t\tif (files != null) {\n\t\t\tfor (File f : files) {\n\t\t\t\tif (f.getName().endsWith(\".db\")) {\n\t\t\t\t\tif (!f.delete()) {\n\t\t\t\t\t\tfLog.error(\"Failed to delete storage for \" + f.getAbsolutePath());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "5a41b6c009c9bab4ab3e24a14a6c148e", "score": "0.5782533", "text": "void deleteAllDispatchRecords() {\n SQLiteDatabase db = this.getWritableDatabase();\n db.delete(DISPATCH_RECORD, null, null);\n db.close();\n }", "title": "" }, { "docid": "3b2e57ff7bb78b3275c34bca9869db4d", "score": "0.57772136", "text": "void deleteAll();", "title": "" }, { "docid": "3b2e57ff7bb78b3275c34bca9869db4d", "score": "0.57772136", "text": "void deleteAll();", "title": "" }, { "docid": "89a0b435608651d9c46ae339bea1572f", "score": "0.57727414", "text": "public void clear() throws ACBrException {\n int ret = ACBrAACInterop.INSTANCE.AAC_IdentPaf_OutrosArquivos_Clear(getHandle());\n checkResult(ret);\n }", "title": "" }, { "docid": "65dafbbc699f31505eb945be35a9d999", "score": "0.57647586", "text": "@AfterEach\n public void clearDatabase() {\n galleryRepository.deleteAll();\n administratorRepository.deleteAll();\n artistRepository.deleteAll();\n buyerRepository.deleteAll();\n postingRepository.deleteAll();\n purchaseRepository.deleteAll();\n }", "title": "" }, { "docid": "e321788969b4e651ce1046f2d5f146bd", "score": "0.5748605", "text": "private void clearDatabaseTables() throws SQLException {\r\n String[] tables = new String[] {\"accuracytest\"};\r\n\r\n PreparedStatement stmt = null;\r\n try {\r\n for (int i = 0; i < tables.length; i++) {\r\n stmt = this.connection.prepareStatement(\"DELETE FROM \" + tables[i]);\r\n stmt.executeUpdate();\r\n stmt.close();\r\n }\r\n } finally {\r\n if (stmt != null) {\r\n stmt.close();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "4c3384169e11247537257200c6e388c8", "score": "0.57418805", "text": "private void cancelAndDeleteAllAlarms(){\n String[][] alarms = DBH.getData(\"alarms\",\n new String[]{\"alarm_id\"}, null);\n\n if(alarms != null) {\n for(String[] alarm : alarms) {\n cancelAlarm(AlarmReceiver.class, Integer.parseInt(alarm[0]));\n }\n\n DBH.deleteAllRows(\"surveys\");\n }\n }", "title": "" }, { "docid": "0334d9459e4952aa18ba0a66278c534a", "score": "0.5734258", "text": "void deleteAllTripRecords() {\n SQLiteDatabase db = this.getWritableDatabase();\n db.delete(TRIP_RECORD, null, null);\n db.close();\n }", "title": "" }, { "docid": "06f43604a68f1b9d16db4e604b8106a1", "score": "0.5733974", "text": "public void clearAllTables() {\n DebugLogger.method(\"DBImpl :: clearAllTables\");\n clearTables();\n }", "title": "" }, { "docid": "3b82dea254df4a9c2ebcc15e533f445d", "score": "0.5730445", "text": "public void removeAll() throws SystemException {\n\t\tfor (vdocField vdocField : findAll()) {\n\t\t\tremove(vdocField);\n\t\t}\n\t}", "title": "" }, { "docid": "d5ab9daaeb6e0cd4b27166773ce7fde7", "score": "0.5725299", "text": "@Override\r\n\tpublic void deleteAll() {\n\r\n\t}", "title": "" }, { "docid": "d5ab9daaeb6e0cd4b27166773ce7fde7", "score": "0.5725299", "text": "@Override\r\n\tpublic void deleteAll() {\n\r\n\t}", "title": "" }, { "docid": "cd667775d83ebc12e3adf49726741526", "score": "0.5722125", "text": "private void cleanDatabase() {\r\n\r\n\t\tSystem.out.println(\"Deleting all nodes...\");\r\n\t\tResponse r = target.path(\"resource/nodes\").request().delete();\r\n\t\t\r\n\t\tif(r.getStatus() >= 400)\r\n\t\t\tthrow new WebApplicationException(r.getStatus());\r\n\r\n\t}", "title": "" }, { "docid": "1e632b951fd582e366a1dac4aacc508f", "score": "0.5716148", "text": "public static void removeAll() {\n\t\ttry {\n\t\t\tEntityTransaction entr = Persistor.getEntityManager().getTransaction();\n\t\t\tentr.begin();\n\t\t\tQuery query = Persistor.getEntityManager().createQuery(\"DELETE FROM SushiEventView\");\n\t\t\tint deleteRecords = query.executeUpdate();\n\t\t\tentr.commit();\n\t\t\tSystem.out.println(deleteRecords + \" records are deleted.\");\n\t\t} catch (Exception ex) {\n\t\t\tSystem.out.println(ex.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "5c5305d2d621252231ded7e089e19bac", "score": "0.57021534", "text": "public void deleteAllObjects() {\r\n\t\tobjects.clear();\r\n\t}", "title": "" }, { "docid": "112776e3a796dcc4c503a58998b280bb", "score": "0.56999207", "text": "public void clearAll() {\r\n loans.clear();\r\n }", "title": "" }, { "docid": "d8b8907ae0d8f8fc385c5e7e2919f66e", "score": "0.5693044", "text": "public void removeAllClasses() {\n SQLiteDatabase db = this.getWritableDatabase(); // database to work with\n\n db.execSQL(\"DELETE FROM \" + TABLE_NAME + \";\"); // remove everything from\n\n }", "title": "" }, { "docid": "2a046e842db059a35d26c56c76535721", "score": "0.56897265", "text": "@Override\n\tpublic void removeAll() throws SystemException {\n\t\tfor (ESFMatchType esfMatchType : findAll()) {\n\t\t\tremove(esfMatchType);\n\t\t}\n\t}", "title": "" }, { "docid": "b8d20d4409a0fd2d4fc8fce5a1eb9780", "score": "0.56881845", "text": "public void clearAll() {\n\t\tdestroyAllEntities();\n\t\tremoveAllActors();\n\t}", "title": "" }, { "docid": "7d760346bcce90d29c52bcd14a0ff9cb", "score": "0.56874603", "text": "private void removeAretes(Case cas) {\n for (Aretes aretes : AretesDe(cas)) {\n listAretes.remove(aretes);\n }\n for (Aretes aretes : AretesA(cas)) {\n listAretes.remove(aretes);\n }\n }", "title": "" }, { "docid": "a137c4e38447f69dd2792da1420bdd1c", "score": "0.56868047", "text": "public void clearAllAPServices() {\n services.clear();\n }", "title": "" }, { "docid": "d859f7e40c296e0c7b5b2b6991643906", "score": "0.5684356", "text": "@DeleteMapping\n\tpublic Mono<Void> deleteAllSalas() {\n\t\treturn repository.deleteAll();\n\t}", "title": "" }, { "docid": "fa8d8b32e890eb330a627b84c967538b", "score": "0.56735337", "text": "@Override\n\tpublic void removeAll() {\n\t\tfor (PersistedAttribute persistedAttribute : findAll()) {\n\t\t\tremove(persistedAttribute);\n\t\t}\n\t}", "title": "" }, { "docid": "b8996639ee1b24e6dd03e37cae706880", "score": "0.5672443", "text": "public void clear() {\n\t\tlistapiatti.clear();\n\t}", "title": "" }, { "docid": "9a1a034d44ff8653b06ab985d716d20f", "score": "0.566825", "text": "public void deleteAllImage()\n {\n \t//return db.delete(DATABASE_TABLE, null, null)>0;\n \tdb.execSQL(\"DROP TABLE IF EXISTS thumbnails\");\n \tdb.execSQL(DATABASE_CREATE);\n }", "title": "" }, { "docid": "de8a2b8c975856de918f8230b3c352ea", "score": "0.56655407", "text": "@Override\n public void deleteAll() {\n try {\n weatherRepository.deleteAll();\n } catch (PersistenceException pe) {\n logger.error(\"Failed to delete all\", pe);\n throw new WeatherException(\"Error attempting to delete all\");\n }\n }", "title": "" }, { "docid": "a06c0795ef521de67e08c2645a81535e", "score": "0.56639624", "text": "@Override\n\tpublic void removeAll() throws SystemException {\n\t\tfor (Document document : findAll()) {\n\t\t\tremove(document);\n\t\t}\n\t}", "title": "" }, { "docid": "54ac0899cd68c4c4cf6b71586e003e85", "score": "0.5663891", "text": "public void delAccesosEncuestados(){\r\n\t\ttry{\r\n\t\t\tPreparedStatement pstmt = this.getConexion().prepareStatement(\"DELETE FROM accesos_encuestados WHERE id_accesos_encuestados = ?\");\r\n\t\t\tpstmt.setInt(1, this.getId());\r\n\t\t\tpstmt.execute();\r\n\t\t\tthis.idInterno = -1;\r\n\t\t\tthis.cargadaDeBD = false;\r\n\t\t\tthis.miObjeto = null;\r\n\t\t\tthis.miEncuestado = null;\r\n\t\t}catch(Exception e){\r\n\t\t\t//e.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "685044292f3cd99453af16c3f3ff2267", "score": "0.5652507", "text": "public void deleteAll()\n {\n new deleteAllWordsAsyncTask(mWordDao).execute();\n }", "title": "" }, { "docid": "b44961b9a62ddd3c0f3f358c3c8ebf38", "score": "0.564962", "text": "private void deleteAll() {\n\t\tint option = JOptionPane.showConfirmDialog(this,\n\t\t\t\t\t\t\"Are you sure you want to\\ndelete all images from\\nthe current study?\",\n\t\t\t\t\t\t\"Are you sure?\",\n\t\t\t\t\t\tJOptionPane.YES_NO_OPTION,\n\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\t\tif (option == JOptionPane.YES_OPTION) {\n\t\t\tString siUID = dicomImage.siUID;\n\t\t\tFile file = dicomImage.imageFile;\n\t\t\tFile dir = file.getParentFile();\n\t\t\tif (dir.getName().equals(\"quarantine\")) {\n\t\t\t\tFile[] files = dir.listFiles();\n\t\t\t\tfor (int i=0; i<files.length; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tDicomImage image = new DicomImage(files[i]);\n\t\t\t\t\t\tif (image.siUID.equals(siUID)) {\n\t\t\t\t\t\t\timage.imageFile.delete();\n\t\t\t\t\t\t\tsendDeleteFileEvent(image.imageFile);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcatch (Exception ignore) { }\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "b3a056847620bd9f4aa5dac76ebbfc1c", "score": "0.56457067", "text": "public void deleteAll() {\n\t\ttry {\n\t\t\tPreparedStatement deletAll = DBConnector.myConnection.prepareStatement(\"DELETE FROM Student\");\n\t\t\tdeletAll.executeUpdate();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "8ce84dc53fbb32c336158c0d976749b1", "score": "0.5636043", "text": "public void clear(){\r\n this.produtos.clear();\r\n this.clientes.clear();\r\n this.dados_mensais.clear();\r\n }", "title": "" } ]
338aa7b8c198c041d8189bcbac3b94cc
When message is sent to the server with success
[ { "docid": "507badc3fc84a411a454163b5e083e59", "score": "0.0", "text": "@Override\n public void onEventMainThread(UpdatedMessageEvent event) {\n super.onEventMainThread(event);\n Log.w(TAG, \"Test UpdatedMessageEvent\");\n }", "title": "" } ]
[ { "docid": "402bd48870f7eb3d257a03ebda54b547", "score": "0.7230326", "text": "@Override\n\tpublic void onSendSucceeded(byte[] message) {\n\t\t\n\t}", "title": "" }, { "docid": "549657eaedaadb4daa786a26e69edcf1", "score": "0.71136373", "text": "public void success() {\n\t\tthis.postResult(true, new Object());\n\t}", "title": "" }, { "docid": "b79b77ad98394dfd13e3c71b7ec03874", "score": "0.6978258", "text": "public void executed(boolean success, MessageReceivedEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "8cc9a08b76eaa676a3703ee1e844d250", "score": "0.6903752", "text": "@Override\n public void onSuccess(SendResult<String, String> result) {\n log.info(\"successfully sent message='{}' with offset={}\", message, result.getRecordMetadata().offset());\n }", "title": "" }, { "docid": "80d09b1ef1ed1d0dd264942fa859a5bf", "score": "0.68585896", "text": "void onMessageSendingSucceeded(Event event);", "title": "" }, { "docid": "cf65cba16e546139bcc5bb7faa974a0b", "score": "0.6814023", "text": "@Override\n public void sendPostSyncSuccess(PostSyncResponse postSyncResponse, String msg) {\n if (postSyncResponse != null) {\n if (postSyncResponse.getInfo().getStatus().equalsIgnoreCase(\"success\")) {\n updateRecords();\n }else {\n Utilities.showAlert(this,postSyncResponse.getInfo().getMessage());\n updateRecords();\n }\n }else {\n Utilities.showAlert(this,msg);\n updateRecords();\n }\n }", "title": "" }, { "docid": "9c5f2228c08384fe9b6fbfe6228f7bb7", "score": "0.67844415", "text": "@Override\n\tpublic void onSuccess(int arg0) {\n\t\tChatMessageHelper helper=new ChatMessageHelper(getApplicationContext());\n\t\thelper.update(arg0, ChatMessageHolder.STATUS_SENDED);\n\t\thelper.close();\n\t}", "title": "" }, { "docid": "08dda902a571ddcee51562978dbc3bca", "score": "0.67413265", "text": "public void success() {\n System.out.println(\"Successful!\");\n }", "title": "" }, { "docid": "5447a12ad70c2cfd7a8e8aa8e676e2a1", "score": "0.67384213", "text": "public void notifySuccess() {\t\t\n\t}", "title": "" }, { "docid": "26c906caeddcfe88810863ffed359944", "score": "0.66155326", "text": "@Override\n\t\t\tpublic void onSuccess(SendResult<String, String> result) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c5aefd69ff9fc4b225d11bf4e26eba76", "score": "0.65771663", "text": "@Override\n public void onCompleted() {\n logger.debug(\"Server has completed sending us something\");\n latch.countDown();\n }", "title": "" }, { "docid": "f15316c8247c36c87eadacffa2d03250", "score": "0.6561816", "text": "@Override\n\t\t\t\t\t\t\t\t\tpublic void sendFailure() {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "aeac93d3a5294af28c645b10711772d3", "score": "0.65241426", "text": "@Override\r\n\t\t\t\t\tpublic void onCompleted() {\n\t\t\t\t\t\tSystem.out.println(\"Server has completed sending us data\");\r\n\t\t\t\t\t\tlatch.countDown(); //When the server is completed change the count to cero.\r\n\t\t\t\t\t}", "title": "" }, { "docid": "bedabffcd020b32a5828a09a7375f05c", "score": "0.6518623", "text": "private void onDeliverySuccess(EventParam param) {\n Log.d(\"tests\", \"Deliver success \" + param.getName());\n }", "title": "" }, { "docid": "fa8e84084714d8328e84f9e6853cb043", "score": "0.65135694", "text": "@Override\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void sendFailure() {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "edcedea8e917c450fc375d84134ea986", "score": "0.6479351", "text": "public abstract void success();", "title": "" }, { "docid": "622cead996075ae77047625408e73e4a", "score": "0.64727205", "text": "@Override\r\n\t\t\t\t\tpublic void onSubscriptionSuccess() {\n\t\t\t\t\t\tWindow.alert(\"onSubscriptionSuccess\");\r\n\r\n\t\t\t\t\t\t// subscription.addMessageArrivedHandler(myh);\r\n\t\t\t\t\t\t// oxi edw giati 8a xasw to retained\r\n\t\t\t\t\t\tMqttMessage m = MqttMessage.create(\"testMessage\");\r\n\t\t\t\t\t\tm.setDestinationName(\"testtt\");\r\n\t\t\t\t\t\tm.setQos(0);\r\n\t\t\t\t\t\tm.setRetained(false);\r\n\r\n\t\t\t\t\t\tclient.send(m);\r\n\t\t\t\t\t}", "title": "" }, { "docid": "04f0f1f8065994ba8faf6af44a7ee6e1", "score": "0.64328635", "text": "public void onBleCommandProcessed() {\n Log.v(TAG, \"Server reported success!\");\n mLedSwitch.setEnabled(true);\n }", "title": "" }, { "docid": "bc2a011bcd2832f07e6dbf124eff032e", "score": "0.64207655", "text": "@Override\n\t\t\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\t\t\tToast.makeText(UploadMistakeActivity.this,\n\t\t\t\t\t\t\t\t\t\t\"提交成功\", 1000).show();\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "27fcf529090a4250e86b653383b77011", "score": "0.63965553", "text": "private void handleSubscribeSuccess() {\n Log.d(TAG, \".handleSubscribeSuccess() entered\");\n }", "title": "" }, { "docid": "cce41f9db9fcfb15625c124efda01b72", "score": "0.63957757", "text": "public abstract boolean success();", "title": "" }, { "docid": "47aaa0e32814fc908d4b9f5f580aa4ce", "score": "0.6383813", "text": "public boolean success();", "title": "" }, { "docid": "a8a647f30d3f8f2738ac12e92b0d4ceb", "score": "0.6368392", "text": "void onResultReceived(boolean isSuccess, Customer customer, String message);", "title": "" }, { "docid": "5fb5f2c76942b67858b42c8ccefbcf31", "score": "0.63306713", "text": "@Override\r\n\t\t\tpublic void onSuccess() {\n\t\t\t\tWindow.alert(\"onSuccess\");\r\n\t\t\t\t// can go ... it is connected\r\n\r\n\t\t\t\tDestination topic = new Destination(\"testtt\");\r\n\t\t\t\tfinal Subscription subscription = new Subscription(client, topic);\r\n\r\n\t\t\t\tSubscriptionHandler sh = new SubscriptionHandler() {\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onSubscriptionSuccess() {\r\n\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\tWindow.alert(\"onSubscriptionSuccess\");\r\n\r\n\t\t\t\t\t\t// subscription.addMessageArrivedHandler(myh);\r\n\t\t\t\t\t\t// oxi edw giati 8a xasw to retained\r\n\t\t\t\t\t\tMqttMessage m = MqttMessage.create(\"testMessage\");\r\n\t\t\t\t\t\tm.setDestinationName(\"testtt\");\r\n\t\t\t\t\t\tm.setQos(0);\r\n\t\t\t\t\t\tm.setRetained(false);\r\n\r\n\t\t\t\t\t\tclient.send(m);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void onSubscriptionFailure(int errorCode, String errorText) {\r\n\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\tWindow.alert(\"onSubscriptionFailure \" + errorText);\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\tWindow.alert(\"wait sub \");\r\n\r\n\t\t\t\tsubscription.addMessageArrivedHandler(myh);\r\n\t\t\t\tsubscription.subscribe(sh);\r\n\t\t\t}", "title": "" }, { "docid": "c7f9588368319602f48ee77bf2952952", "score": "0.63277155", "text": "@Override\n\t\t\tpublic void handleMessage(Message msg) {\n\t\t\t\tif (msg.what == 0x134) {\n\t\t\t\t\tString mResult = sendCmdThread.getResult();\n\t\t\t\t\tif (UiUtil.isResultSuccess(context, mResult)) {\n\t\t\t\t\t\tUiUtil.showSendCmdResult(context, mResult);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "d43cc43e890fdb2cc6e2c12bf0f43f4f", "score": "0.63251203", "text": "public void onEventAcknowledged();", "title": "" }, { "docid": "e1d31242424f15c779062c7ee0b4e140", "score": "0.6315911", "text": "public void handshakeSucceeded ()\n\t{\n\t\thandshakeSucceeded = true;\n\t}", "title": "" }, { "docid": "991cd256f31f7ab313ff6b218e7308fd", "score": "0.63031054", "text": "@Override\n protected void doSuccessResponse(final SipServletResponse resp) throws IOException, ServletException {\n // Print out when the echo message was accepted.\n if (resp.getMethod().equalsIgnoreCase(\"MESSAGE\")) {\n System.out.println(\"\\\"\" + resp.getRequest().getContent() + \"\\\" was accepted: \" + resp.getStatus());\n try {\n if (!\"INVITE\".equals(resp.getSession().getAttribute(\"DialogType\"))) {\n resp.getSession().invalidate();\n }\n }\n catch (final IllegalStateException ise) {\n\n }\n }\n }", "title": "" }, { "docid": "c17315a439d1ff5be8437f0952776355", "score": "0.62889016", "text": "@Override\n\tpublic void onSent(Message message, boolean sync) {\n\t\t\n\t}", "title": "" }, { "docid": "3244937a0c9df5bbbaab56b5bf2c609f", "score": "0.6281749", "text": "private void sendClientResponse( byte state ) throws IOException\n {\n if(state == Message.TRANSACTION_FAILED)\n LOGGER.info( \"There are no available nodes. The transaction will be closed.\" );\n \n if(!replacedThread || actionsList.isEmpty()) {\n MessageResponse response = new MessageResponse( state );\n session.sendMessage( response, true );\n actionsList.addLast( DONE );\n }\n else\n actionsList.removeFirst();\n }", "title": "" }, { "docid": "c1ab65514b44491f4644fea981be6991", "score": "0.6279778", "text": "@Override\n\tpublic boolean messageSent() {\n\t\treturn messageSent;\n\t}", "title": "" }, { "docid": "6a20edda8e6b77940c85aa2ad455604c", "score": "0.6270985", "text": "protected void onOk() {\n }", "title": "" }, { "docid": "2ab3f8e78aeded7877ba61d309e69340", "score": "0.62591106", "text": "@Override\n public void onSendCompleted(int error) {\n if (error != SendMessageResult.SUCCESS) {\n tv().announceOneTouchRecordResult(\n mRecorderAddress,\n ONE_TOUCH_RECORD_CHECK_RECORDER_CONNECTION);\n finish();\n return;\n }\n }", "title": "" }, { "docid": "8a60e1c80e2d58b85a3c8309be580565", "score": "0.6246798", "text": "@Override\n\t\t\t\tpublic void handleMessage(Message msg) {\n\t\t\t\t\tsuper.handleMessage(msg);\n\t\t\t\t\tif (msg.what == 0x133) {\n\t\t\t\t\t\tString result = addNewRemind.getResult();\n\t\t\t\t\t\tif (UiUtil.isResultSuccess(context, result)) {\n\t\t\t\t\t\t\tJSONObject json=JSONObject.fromObject(result);\n\t\t\t\t\t\t\tint code=json.getInt(\"code\");\n\t\t\t\t\t\t\tif (code==200) {\n\t\t\t\t\t\t\t\tSynRemind();\n\t\t\t\t\t\t\t\tfinish();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tUiUtil.showToast(context, json.getString(\"message\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "title": "" }, { "docid": "c864508727d36f34ed4cc35ff911e482", "score": "0.6241839", "text": "private Boolean sendPlayerConnectionMessage(int status){//1 on match 2 leaving match\n try{\n String data = YoteSocketProtocol.preparePlayerConnectionStatus(playerName,status);\n this.gameSocket.getDataOutput().writeUTF(data);\n this.gameSocket.getDataOutput().flush();\n }\n catch(Exception e){\n if(status == 1){//trying to get in match\n gameSocket.updateSocketStatus(SocketStatus.failureToSend,e);\n }\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "79ecd6ce1aed46c7c3eacc303e9fd183", "score": "0.6239016", "text": "@Override\n\tpublic void invite_requestSuccess() {\n\t\tToast.makeText(Phone_Invite_Activity.this, \"Invite Success!\", Toast.LENGTH_SHORT).show();\n\t}", "title": "" }, { "docid": "9fd3ae65749527928e58c20e1fa520ad", "score": "0.6238681", "text": "void OnSuccess(RequestCode requestCode);", "title": "" }, { "docid": "4dff06372551105dbd4b7c7cce64243d", "score": "0.6231888", "text": "protected void responseAddMessageSuccess(Map<String, Object> map) {\n\t\tthis.responseAddMessage(map, messageGenerator.getMessage(MessageEncoderEnum.GENERAL_SUCCESS));\n\t}", "title": "" }, { "docid": "b886366eb6174c2d441da52497c6e45c", "score": "0.621449", "text": "public void messageReady();", "title": "" }, { "docid": "3702d73b9108f46df9d0534ca4ef58b4", "score": "0.6205553", "text": "void success();", "title": "" }, { "docid": "843315149ddbd885de497749e415c4d6", "score": "0.619717", "text": "public void onMessage(ReqT message) {}", "title": "" }, { "docid": "d1801660f418627755c97106caba8829", "score": "0.61894006", "text": "public void showSuccess() {\n System.out.println(successMessage);\n }", "title": "" }, { "docid": "c9b982c0311c1351e941ca766be853ae", "score": "0.618855", "text": "private void handlePublishSuccess() {\n Log.d(TAG, \".handlePublishSuccess() entered\");\n }", "title": "" }, { "docid": "3853742f9300fc0c7b6bbf453e39da89", "score": "0.61829525", "text": "@Override\n\tpublic void onSendChatDone(byte arg0) {\n\t}", "title": "" }, { "docid": "64d2985ebfc0efba3f900ca72fe7c7b2", "score": "0.6177634", "text": "@Override\r\n\t\t\t\t\t\t\tpublic void onSuccess(String object) \r\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tmodel.setFStatus(\"0\");\r\n\t\t\t\t\t\t\t\tbtn_networkconnectionitem.setBackgroundResource(R.drawable.rectangular_btn_bluecolornetwork);\r\n\t\t\t\t\t\t\t\tbtn_networkconnectionitem.setTextColor(getResources().getColor(R.color.font_blue_color));\r\n\t\t\t\t\t\t\t\tbtn_networkconnectionitem.setText(\" Sent \");\r\n\t\t\t\t\t\t\t\tbtn_networkconnectionitem.setEnabled(false);\r\n\t\t\t\t\t\t\t\tbtn_networkconnectionitem.setAlpha(.5f);\r\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "030397b0ed923a68a5d4a98e1e0e1d1f", "score": "0.617237", "text": "@Override\n public void onMessageReceived(SwannResponse message) {\n if (message.getType() == successResponse) {\n complete = true;\n SwannSocketClient.getInstance().closeConnection();\n listener.onSuccess(message);\n }\n\n // Swann responded with an error response\n else if (message.getType() == errorResponse) {\n complete = true;\n SwannSocketClient.getInstance().closeConnection();\n listener.onError(new IllegalStateException(\"Received error in response to request.\"));\n }\n\n // Swann responded, but message is uninteresting to us.\n else {\n logger.debug(\"Received non-terminal response 0x{} of type {}. Waiting for terminal response {}\", message.toHexString(), message.getType(), successResponse);\n }\n }", "title": "" }, { "docid": "aa60f7caa39fa0fb1bf6faafa9fdec30", "score": "0.61686283", "text": "private void sendMessage() {\n }", "title": "" }, { "docid": "e9228f9ac5532ef6e1eb3d740c8c2a68", "score": "0.6161972", "text": "public void setSuccess(boolean success) {\n this.success = success;\n }", "title": "" }, { "docid": "b46f7e784cb75587296bc3b3f1c77326", "score": "0.6151628", "text": "@Override\n\t\t\t\t\t\tpublic void onSuccess(ResponseInfo<String> responseInfo) {\n\t\t\t\t\t\t\tSystem.out.println(\"效验司机状态成功:\"\n\t\t\t\t\t\t\t\t\t+ responseInfo.result);\n\t\t\t\t\t\t}", "title": "" }, { "docid": "16a7dc5a24d7af9edab78c493e474c68", "score": "0.61340255", "text": "private void onMessageSendingSucceeded(Event event) {\n if (null != mEventSendingListener) {\n try {\n mEventSendingListener.onMessageSendingSucceeded(event);\n } catch (Exception e) {\n Log.e(LOG_TAG, \"onMessageSendingSucceeded failed \" + e.getLocalizedMessage());\n }\n }\n }", "title": "" }, { "docid": "51434de0bc78e0e9b6d19a4ddbcbac63", "score": "0.6130425", "text": "protected void onSuccess() {\n\t}", "title": "" }, { "docid": "06f7f4c07a99744361fa9147b40a170f", "score": "0.6128246", "text": "public void setSuccess(boolean value) {\n this.success = value;\n }", "title": "" }, { "docid": "7e075f978d211bb762070e6f2ec11d15", "score": "0.6127465", "text": "@Override\n\tpublic void onResponse(Message msg) {\n\t\t\n\t}", "title": "" }, { "docid": "7e075f978d211bb762070e6f2ec11d15", "score": "0.6127465", "text": "@Override\n\tpublic void onResponse(Message msg) {\n\t\t\n\t}", "title": "" }, { "docid": "7e075f978d211bb762070e6f2ec11d15", "score": "0.6127465", "text": "@Override\n\tpublic void onResponse(Message msg) {\n\t\t\n\t}", "title": "" }, { "docid": "0c21fd31fe1db64d68b4c3198d6023bb", "score": "0.6126612", "text": "public void setSuccess(boolean value) {\r\n this.success = value;\r\n }", "title": "" }, { "docid": "7084ba51dd519368d93a1ef5e1205ef2", "score": "0.6124424", "text": "@Override\n\t\t\t\tpublic void handleMessage(Message msg) {\n\t\t\t\t\tsuper.handleMessage(msg);\n\t\t\t\t\tif (msg.what == 0x133) {\n\t\t\t\t\t\tString result = updateRemind.getResult();\n\t\t\t\t\t\tif (UiUtil.isResultSuccess(context, result)) {\n\t\t\t\t\t\t\tJSONObject json=JSONObject.fromObject(result);\n\t\t\t\t\t\t\tint code=json.getInt(\"code\");\n\t\t\t\t\t\t\tif (code==200) {\n\t\t\t\t\t\t\t\tSynRemind();\n\t\t\t\t\t\t\t\tfinish();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tUiUtil.showToast(context,json.getString(\"message\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "title": "" }, { "docid": "7bbd9d5d1724e3584f47d15b5d1d057a", "score": "0.6121568", "text": "public boolean isSuccess() {\n return true;\n }", "title": "" }, { "docid": "d41b661b7aedb23bef3b282a8bfef26a", "score": "0.611932", "text": "@Override\n public void completed(Void result, Object attachment) {\n client.write(ByteBuffer.wrap(\"Thank you!\".getBytes()), null, new CompletionHandler<Integer, Object>() {\n\n @Override\n public void completed(Integer result,\n Object attachment) {\n final ByteBuffer buffer = ByteBuffer.allocate(1024);\n // read data and register completion handler.\n client.read(buffer, buffer, new CompletionHandler<Integer, ByteBuffer>() {\n\n @Override\n public void completed(Integer result,\n ByteBuffer attachment) {\n buffer.flip();\n System.out.println(\"In Client: \" + new String(buffer.array()));\n try {\n client.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n @Override\n public void failed(Throwable exc, ByteBuffer attachment) {\n exc.printStackTrace();\n }\n\n });\n }\n\n @Override\n public void failed(Throwable exc, Object attachment) {\n exc.printStackTrace();\n }\n\n });\n }", "title": "" }, { "docid": "3d343bf522d3e1af8ed68b08cb3e45b8", "score": "0.6115221", "text": "@Override\n public void onResponseSuccess(String flag, Object o)\n {\n\n }", "title": "" }, { "docid": "ec255ab2e23696a85656d7d19ffbac3e", "score": "0.61151445", "text": "public void setSuccess(boolean value) {\n this.success = value;\n }", "title": "" }, { "docid": "2fb4cc76a1834260af0fa99ed736997e", "score": "0.6109178", "text": "protected void handleSuccessConsumer(Message message, Consumer<Message> success) {\n if (success == null) {\n return;\n }\n success.accept(message);\n }", "title": "" }, { "docid": "e693dcb3db899ce6a72d4032828c8597", "score": "0.6105985", "text": "private void handleConnectSuccess() {\n Log.d(TAG, \".handleConnectSuccess() entered\");\n\n }", "title": "" }, { "docid": "7a1d3c01ba7ebdcafbc27859f5993092", "score": "0.6104216", "text": "public void sent(Message event) {\n }", "title": "" }, { "docid": "c03fe114916f638a3170dd3d5fdb4ff5", "score": "0.610367", "text": "public void setSuccess(boolean value) {\n this.success = value;\n }", "title": "" }, { "docid": "c03fe114916f638a3170dd3d5fdb4ff5", "score": "0.610367", "text": "public void setSuccess(boolean value) {\n this.success = value;\n }", "title": "" }, { "docid": "7db357e7c74d5f93861a6263ef433a47", "score": "0.61021143", "text": "@Override\n\t\t\tpublic void onSuccess() {\n\t\t\t\ttoast(\"请求验证邮件成功,请到\" + email + \"邮箱中进行激活账户。\");\n\t\t\t}", "title": "" }, { "docid": "2bd13a736fe9755c5f475d4a21d83aff", "score": "0.609835", "text": "private void sendMessage(){\n\n }", "title": "" }, { "docid": "79f73ab9f3a4d0cfbdab323ce7becaa7", "score": "0.6098011", "text": "@Override\n\tpublic void onResponse(Message msg) {\n\t}", "title": "" }, { "docid": "8df0bdc4a34a88073012ca7638089424", "score": "0.6097945", "text": "boolean hasSuccess();", "title": "" }, { "docid": "8df0bdc4a34a88073012ca7638089424", "score": "0.6097945", "text": "boolean hasSuccess();", "title": "" }, { "docid": "84c7dd26e456fe019180aac42de0b952", "score": "0.6089626", "text": "abstract protected void fullSuccess();", "title": "" }, { "docid": "9019d820776910fa0ee177e155e09516", "score": "0.6088501", "text": "private void successfulCall() {\n\t}", "title": "" }, { "docid": "4dc52de647d3fc10604b73aaa2100761", "score": "0.6086618", "text": "private void handleSuccess(final JSONObject response) {\n List<ChatMessage> list;\n if (!response.has(\"chatId\")) {\n throw new IllegalStateException(\"Unexpected response in ChatViewModel: \" + response);\n }\n try {\n list = getMessageListByChatId(response.getInt(\"chatId\"));\n JSONArray messages = response.getJSONArray(\"rows\");\n for(int i = 0; i < messages.length(); i++) {\n JSONObject message = messages.getJSONObject(i);\n ChatMessage cMessage = new ChatMessage(\n message.getInt(\"messageid\"),\n message.getString(\"message\"),\n message.getString(\"username\"),\n message.getString(\"timestamp\")\n );\n if (!list.contains(cMessage)) {\n // don't add a duplicate\n list.add(0, cMessage);\n } else {\n // this shouldn't happen but could with the asynchronous\n // nature of the application\n Log.wtf(\"Chat message already received\",\n \"Or duplicate id:\" + cMessage.getMessageId());\n }\n\n }\n //inform observers of the change (setValue)\n getOrCreateMapEntry(response.getInt(\"chatId\")).setValue(list);\n }catch (JSONException e) {\n Log.e(\"JSON PARSE ERROR\", \"Found in handle Success ChatViewModel\");\n Log.e(\"JSON PARSE ERROR\", \"Error: \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "2ad51ece8975ff441f7d62005a7635de", "score": "0.6081466", "text": "public void onSuccess() {\n }", "title": "" }, { "docid": "13b0dffad734f857bbde2a4990f40d51", "score": "0.6080078", "text": "public void setSuccess(boolean success) {\n this.success = success;\n }", "title": "" }, { "docid": "13b0dffad734f857bbde2a4990f40d51", "score": "0.6080078", "text": "public void setSuccess(boolean success) {\n this.success = success;\n }", "title": "" }, { "docid": "85fe0e5f17ccb52dce1ff9a045e37792", "score": "0.60763115", "text": "@Override\n\t\tpublic String execute() throws Exception {\n\t\t\treturn \"success\";\n\t\t}", "title": "" }, { "docid": "2eaed00828bd4c23c8e829f0049414da", "score": "0.60748965", "text": "@Override\n\tprotected void partSuccess() {\t\t\n\t\t// Encourage the same word - note this won't be executed if accepting a single positive attempt\n\t\tthis.playingRef = R.raw.feedback_pos_great_job;\n\t\tthis.message.setText(\"Good, do it again!\");\n\t\tsetState(InteractionState.PLAY_THEN_RECORD);\n\t}", "title": "" }, { "docid": "c2641706b138f94c3cc62e95f2cc6be9", "score": "0.6071936", "text": "public void setSuccess(boolean success){\n this.success = success;\n }", "title": "" }, { "docid": "1a1ddf4219ebe4e2e4f464b52f920325", "score": "0.6071833", "text": "@Override\n\t\t\tpublic void success() {\n\t\t\t\tnextPacket();\n\t\t\t}", "title": "" }, { "docid": "9938f17c5d2ea35a80a5d2150d8403dc", "score": "0.6051117", "text": "@Override public void onSuccess(int statusCode, Header[] headers, String responseString) {\n\t\t\t\t\t\t\t\t\tlatch.countDown();\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "8a5c1c270101dd6c104312fff7ad40d4", "score": "0.60498136", "text": "@Then(\"^user should see success message$\")\r\n\tpublic void user_should_see_success_message() throws Throwable {\n\t\t System.out.println(\"4\");\r\n\t}", "title": "" }, { "docid": "846e09d1fd669c80831971f441a7298c", "score": "0.60435736", "text": "@Override\n\tpublic boolean sendMqttMessage(OneM2mResponse resMessage) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3ba0c7a967a78f666fcea5a96a7dacff", "score": "0.6035861", "text": "void onResponseReceived(IMessage response);", "title": "" }, { "docid": "f814447bb094ef6987259daf040acd84", "score": "0.6035267", "text": "private static void sendOk(ChatUser to) throws IOException {\n ChatMessage chatMessage = new ChatMessage(MessageType.OK, \"\", \"\");\n sendMessage(to.getSocketChannel(), chatMessage);\n }", "title": "" }, { "docid": "4c7e6ccc9ccd103509ce99ab3c3b453c", "score": "0.6033992", "text": "@Override\n\t\tpublic boolean isSuccess() {\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "bfa395bff305c59a7e7b4bf850ecc6f8", "score": "0.6033605", "text": "@Override\n\tprotected void onActivityResult(int requestCode, int resultCode, Intent data) {\n\t\tif(resultCode == RESULT_OK) {\n\t\t\tif(requestCode == 20) {\n\t\t\t\tToast.makeText(this, \"Message Sent\", Toast.LENGTH_SHORT).show();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "565d7a5f07d8b1aebfad7df76f8381df", "score": "0.6032171", "text": "@Override\n public void onMessageSent(String msgId) {\n }", "title": "" }, { "docid": "38fafb08d015531b1a95eaa0c14d49ae", "score": "0.6027701", "text": "@Override\n\tpublic void onNotifySuccess() {\n\t\t if(!isStart) {\n\t\t\t CLog.e(TAG, \"not start\");\n\t\t\t return;\n\t\t }\n\t\ttry {\n\n\t\t\tfor (int i = 0; i < mISyncDataCallbacks.size(); i++) {\n\t\t\t\tmISyncDataCallbacks.get(i).onConnectSuccessed();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tmHandler.removeMessages(SEND_AUTH);\n\t\tmHandler.sendEmptyMessageDelayed(SEND_AUTH, 1200);\n\t}", "title": "" }, { "docid": "3542ace659664c577147905b7ad51b39", "score": "0.6023901", "text": "boolean getSuccess();", "title": "" }, { "docid": "3542ace659664c577147905b7ad51b39", "score": "0.6023901", "text": "boolean getSuccess();", "title": "" }, { "docid": "3542ace659664c577147905b7ad51b39", "score": "0.6023901", "text": "boolean getSuccess();", "title": "" }, { "docid": "3542ace659664c577147905b7ad51b39", "score": "0.6023901", "text": "boolean getSuccess();", "title": "" }, { "docid": "3542ace659664c577147905b7ad51b39", "score": "0.6023901", "text": "boolean getSuccess();", "title": "" }, { "docid": "5eb05a441ef00135406911836cc928e7", "score": "0.6021654", "text": "@Override\n\tpublic void getPostSuccess(int code, NetworkInfo info) {\n\t\t\n\t}", "title": "" }, { "docid": "bafa63f5fc43c1df71154d12b9293be9", "score": "0.60196364", "text": "public void success(Object value) {\n\t\tthis.postResult(true, value);\n\t}", "title": "" }, { "docid": "0195563fa135c7370db608e076da3873", "score": "0.6014708", "text": "@Override\n public void onSocketConnectionSuccess(ConnectionInfo info, String action) {\n }", "title": "" }, { "docid": "76fe247e6285e8f8cfafbcf161959d07", "score": "0.60121", "text": "private SCSendMessageRet() {}", "title": "" }, { "docid": "57b7ca7b817b462c7a2673d678232fca", "score": "0.6004331", "text": "@Override\n\t\t\t\tpublic void onSuccess() {\n\n\t\t\t\t}", "title": "" }, { "docid": "fb76b2d27107a3f9375554dac3c25936", "score": "0.6001767", "text": "@Override\n\tpublic String onMessage(MassResultMessage reqMsg) {\n\t\ttry {\n\t\t\tString status = reqMsg.getStatus();\n\t\t\tif (status != null && SEND_SUCCESS.equals(status)) {\n\t\t\t\t// 1成功0失败\n\t\t\t\tstatus = \"1\";\n\t\t\t} else {\n\t\t\t\tstatus = \"0\";\n\t\t\t}\n\n//\t\t\t// 群发消息发送任务完成通知\n//\t\t\tString api = ApiModule.Bat.msgSendJobFinishNotice.getName();\n//\n//\t\t\tDocument document = DocumentHelper.createDocument();\n//\t\t\tElement req = document.addElement(KstHosConstant.REQ);\n//\t\t\tXMLUtil.addElement(req, KstHosConstant.TRANSACTIONCODE, \"15019\");\n//\t\t\tElement service = req.addElement(KstHosConstant.DATA);\n//\t\t\tXMLUtil.addElement(service, \"MsgId\", reqMsg.getMsgId());\n//\t\t\tXMLUtil.addElement(service, \"Status\", status);\n//\t\t\tXMLUtil.addElement(service, \"TotalCount\", reqMsg.getTotalCount());\n//\t\t\tXMLUtil.addElement(service, \"FilterCount\", reqMsg.getFilterCount());\n//\t\t\tXMLUtil.addElement(service, \"SentCount\", reqMsg.getSentCount());\n//\t\t\tXMLUtil.addElement(service, \"ErrorCount\", reqMsg.getErrorCount());\n//\n//\t\t\tInterfaceMessage msg = new InterfaceMessage();\n//\t\t\tmsg.setApiName(api);\n//\t\t\tmsg.setParam(document.asXML());\n//\t\t\tmsg.setParamType(KstHosConstant.INTYPE);\n//\t\t\tmsg.setOutType(KstHosConstant.OUTTYPE);\n//\t\t\tmsg.setAuthInfo(reqMsg.getAuthInfo().toString());\n//\t\t\tmsg.setSeq(DateOper.getNow(\"yyyyMMddHHmmssSSS\"));\n//\t\t\tmsg.setVersion(KstHosConstant.V);\n//\t\t\tString result = batService.msgSendJobFinishNotice(msg);\n//\t\t\tKasiteConfig.print(\"--result-->\" + result);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn \"success\";\n\t}", "title": "" } ]
0316287cabba84bc874ecab7fc09c021
Constructs a RowSetEvent object initialized with the given RowSet object.
[ { "docid": "3ef5df98f78dae5e8cc1023e34d08a39", "score": "0.7248763", "text": "public RowSetEvent(RowSet source)\n { super(source); }", "title": "" } ]
[ { "docid": "381851e5e335c5b6eacfa002c7459e62", "score": "0.5164818", "text": "public MhrEvent getRowObject(int row)\n {\n try\n {\n return mhData.getEvent(row);//(MhrEvent)eventData.get(row);\n }\n catch(ArrayIndexOutOfBoundsException e)\n {\n System.out.println(\"eventable.getRowObject \" + e.toString());\n }\n return null;\n }", "title": "" }, { "docid": "84f90072d2072277f070709f041bc27f", "score": "0.5039437", "text": "public DBRecordListFactoryImpl(Constructor<T> constructor, DBRowSet rowset) \n {\n this.constructor = constructor;\n this.rowset = rowset;\n }", "title": "" }, { "docid": "2a3a0e39fa8301e8e4139486af662ddc", "score": "0.5007213", "text": "void addRowSetListener(RowSetListener listener);", "title": "" }, { "docid": "930cc1776fd835e14616a3662016a4d5", "score": "0.4900407", "text": "public DBRecordListFactoryImpl(Class<T> recordClass, Class<? extends DBContext> contextClass, DBRowSet rowset) \n {\n this(findRecordConstructor(recordClass, contextClass, rowset.getClass()), rowset);\n }", "title": "" }, { "docid": "046aebd2459356331f1cca7291caebcd", "score": "0.4798741", "text": "public void setRowId(Integer rowId) {\n this.rowId = rowId;\n }", "title": "" }, { "docid": "e43257f8b16a249e405dc06df8a27220", "score": "0.47537303", "text": "public void setRowStart(int rowStart) {\r\n\t\tthis.rowStart = rowStart;\r\n\t}", "title": "" }, { "docid": "c4da988909a46212626c88119d719b32", "score": "0.47509748", "text": "public MhrEvent getRowObject(int row)\n {\n try\n {\n return mhData.getAlarm(row);//(MhrEvent)alarmData.get(row);\n }\n catch(ArrayIndexOutOfBoundsException e)\n {\n System.out.println(\"alarmtable.getRowObject \" + e.toString());\n }\n return null;\n }", "title": "" }, { "docid": "5df8b82559db9182c8f2b7ccf9031ab8", "score": "0.47112134", "text": "public void setRowKey(Comparable rowKey) {\n/* 215 */ this.rowKey = rowKey;\n/* */ \n/* 217 */ this.series = this.dataset.getRowIndex(rowKey);\n/* */ }", "title": "" }, { "docid": "f7cc4c61a11432058afd005440acc90e", "score": "0.4674444", "text": "public static List<EObject> createModel(EClass eClass, IndexRow row,\r\n\t\t\tResourceSet resourceSet) {\r\n\t\tList<EModeler> modelerList = getEModelers();\r\n\t\tif (modelerList == null || row == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn invokeModelers(modelerList, row, eClass, resourceSet);\r\n\t}", "title": "" }, { "docid": "738e80a69831a365424342a42d4419c3", "score": "0.46648377", "text": "public Query setRowFilter(String rowFilter) {\n this.rowFilter = rowFilter;\n return this;\n }", "title": "" }, { "docid": "b352a2e4bc150c2f63e6651ac6526ce3", "score": "0.46629244", "text": "SetClause createSetClause();", "title": "" }, { "docid": "75b291c4ae6b85709c8bd16c638a4856", "score": "0.4601015", "text": "public com.tritandb.engine.tsc.data.EventProtos.Row.Builder addRowBuilder() {\n return getRowFieldBuilder().addBuilder(\n com.tritandb.engine.tsc.data.EventProtos.Row.getDefaultInstance());\n }", "title": "" }, { "docid": "030fb09d5e21ff68ff247928902d2e81", "score": "0.45246807", "text": "public java.util.List<com.tritandb.engine.tsc.data.EventProtos.Row> getRowList() {\n return row_;\n }", "title": "" }, { "docid": "6358912bbbe68e1b50d9e65d102256d7", "score": "0.45119214", "text": "public void setRowid(Integer rowid) {\n this.rowid = rowid;\n }", "title": "" }, { "docid": "67f36fdb17e68737af473f4b051055d4", "score": "0.4511849", "text": "public void setStartRow(int startRow) {\n\t\tthis.startRow = startRow;\n\t}", "title": "" }, { "docid": "ae7940d9d7e1874669ba2dea23f39d7f", "score": "0.4499228", "text": "public RowSet select();", "title": "" }, { "docid": "0aa7f0090c238c7874ba73fe65d0f3bd", "score": "0.44931155", "text": "public interface RowCallbackHandler {\n\n\t/**\n\t * Implementations must implement this method to process each row of data in the\n\t * {@code RowSet}.\n\t * <p>This method should not call {@code next()} on the {@code RowSetSet}; it is only\n\t * supposed to extract values of the current row.\n\t * <p>Exactly what the implementation chooses to do is up to it: A trivial implementation\n\t * might simply count rows, while another implementation might build a special header\n\t * row.\n\t * @param rs the {@code RowSet} to process (preset at the current row)\n\t */\n\tvoid handleRow(RowSet rs);\n\n}", "title": "" }, { "docid": "0e37f1bbcaddceb1aaa95dc9404e9581", "score": "0.4486493", "text": "java.util.List<com.tritandb.engine.tsc.data.EventProtos.Row> \n getRowList();", "title": "" }, { "docid": "74834312f728f40b2c310171cb51dae8", "score": "0.44779012", "text": "@Override\n\t\t\t\tpublic void newRowArrived(CommonLog commonLogRow) throws Exception {\n\n\t\t\t\t\tXmlEvent event = new XmlEvent();\n\t\t\t\t\tCommonLog.createXmlEventCommonLog(commonLogRow, event);\n\n\t\t\t\t\tif ( pThis.debugstream_m != null ) {\n\t\t\t\t\t\tpThis.writeDebugEntry(\"Creating history log entry:\" + commonLogRow.toSmallDebugString());\n\t\t\t\t\t}\n\n\t\t\t\t\tserializator.addNewEntry(eventToBytes(event));\n\n\t\t\t\t\tif ((++cnt_m % HISTORY_ROWS_CHUNK) == 0) {\n\t\t\t\t\t\t// purge\n\n\t\t\t\t\t\tserializator.finishSerialization(HtXmlEventExchangePacket.PACKET_LIST_EVENTS);\n\n\t\t\t\t\t\tHtXmlEventExchangePacket.writePacketToStream(serializator.getPacket(), ostrm, ll_m);\n\n\n\t\t\t\t\t\tif ( pThis.debugstream_m != null ) {\n\t\t\t\t\t\t\tpThis.writeDebugEntry(\"Sending log history chunk of the size: \" + serializator.getEntryCount());\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// initialize again\n\t\t\t\t\t\tserializator.initizalize();\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t}\n\n\t\t\t\t}", "title": "" }, { "docid": "894405406c138d40dc771ae46cbe73a5", "score": "0.4475676", "text": "public JdbcReader() {\n super();\n converter = new RowsetConverter();\n }", "title": "" }, { "docid": "a2229a1b3322a3581b49147ae8bc263a", "score": "0.4447169", "text": "void addObservableSetListener(ObservableSetListener<E> listener);", "title": "" }, { "docid": "eae9db098cb4bd05e6b94500e1906686", "score": "0.44458398", "text": "private void addRow(SourceRowIndex sourceRowIndex, boolean sendEvents) {\n sourceRowIndexes.add(sourceRowIndex);\n int sourceRow = sourceRowIndex.index;\n TableModel sourceModel = getSourceModel();\n //iterate new rows cells, and add them to our current cell buckets for this grouping\n for (int col = 0; col < sourceModel.getColumnCount(); col++) {\n Object additionalValue = sourceModel.getValueAt(sourceRow, col);\n\n Object oldValue = null;\n\n if (sendEvents) {\n oldValue = getCellValue(col);\n }\n addValueToBucket(col, additionalValue);\n\n if (sendEvents) {\n Object newValue = getCellValue(col);\n getListener().cellChanged(this, col, oldValue, newValue);\n }\n }\n }", "title": "" }, { "docid": "a5a042e25b20dadcacd1d1fe5cd3a605", "score": "0.44445145", "text": "private void loadEvents (ResultSet resultSet) throws SQLException {\n while (resultSet.next()) {\n int creatorID=resultSet.getInt(\"creatorID\");\n String name = resultSet.getString(\"name\");\n String description = resultSet.getString(\"description\");\n Date date = resultSet.getDate(\"eDate\");\n String place = resultSet.getString(\"place\");\n int capacity = resultSet.getInt(\"capacity\");\n int currentSize=resultSet.getInt(\"currentSize\");\n String promoCode = resultSet.getString(\"promoCode\");\n double price = resultSet.getDouble(\"price\");\n Event nextEvent = new Event(creatorID,name,description,date,place,capacity,currentSize,promoCode,price);\n events.add(nextEvent);\n }\n }", "title": "" }, { "docid": "5eedfdada577568688ea8ee0190e8b7e", "score": "0.44375563", "text": "public interface RowSet extends ResultSet {\n \n //-----------------------------------------------------------------------\n // Properties \n //-----------------------------------------------------------------------\n\n //-----------------------------------------------------------------------\n // The following properties may be used to create a Connection.\n //-----------------------------------------------------------------------\n\n /** \n * Retrieves the url property this <code>RowSet</code> object will use to\n * create a connection if it uses the <code>DriverManager</code>\n * instead of a <code>DataSource</code> object to establish the connection.\n * The default value is <code>null</code>.\n *\n * @return a string url\n * @exception SQLException if a database access error occurs\n * @see #setUrl\n */\n String getUrl() throws SQLException;\n\n /**\n * Sets the URL this <code>RowSet</code> object will use when it uses the\n * <code>DriverManager</code> to create a connection.\n *\n * Setting this property is optional. If a URL is used, a JDBC driver\n * that accepts the URL must be loaded by the application before the\n * rowset is used to connect to a database. The rowset will use the URL\n * internally to create a database connection when reading or writing\n * data. Either a URL or a data source name is used to create a\n * connection, whichever was specified most recently.\n * \n * @param url a string value; may be <code>null</code>\n * @exception SQLException if a database access error occurs\n * @see #getUrl\n */\n void setUrl(String url) throws SQLException;\n\n /**\n * Retrieves the logical name that identifies the data source for this\n * <code>RowSet</code> object. Users should set\n * either the url property or the data source name property. The rowset will use\n * the property that was set more recently to get a connection.\n *\n * @return a data source name\n * @see #setDataSourceName\n * @see #setUrl\n */\n String getDataSourceName();\n\n /**\n * Sets the data source name property for this <code>RowSet</code> object to the \n * given <code>String</code>.\n * <P>\n * The value of the data source name property can be used to do a lookup of\n * a <code>DataSource</code> object that has been registered with a naming\n * service. After being retrieved, the <code>DataSource</code> object can be\n * used to create a connection to the data source that it represents.\n *\n * @param name the logical name of the data source for this <code>RowSet</code>\n * object\n * @exception SQLException if a database access error occurs\n * @see #getDataSourceName\n */\n void setDataSourceName(String name) throws SQLException;\n\n /** \n * Retrieves the username used to create a database connection for this\n * <code>RowSet</code> object. \n * The username property is set at run time before calling the method \n * <code>execute</code>. It is \n * not usually part of the serialized state of a <code>RowSet</code> object.\n *\n * @return the username property\n * @see #setUsername\n */\n String getUsername();\n\n /**\n * Sets the username property for this <code>RowSet</code> object to the \n * given <code>String</code>.\n *\n * @param name a user name\n * @exception SQLException if a database access error occurs\n * @see #getUsername\n */\n void setUsername(String name) throws SQLException;\n\n /** \n * Retrieves the password used to create a database connection. \n * The password property is set at run time before calling the method\n * <code>execute</code>. It is not usually part of the serialized state \n * of a <code>RowSet</code> object.\n *\n * @return the password for making a database connection\n * @see #setPassword\n */\n String getPassword();\n\n /**\n * Sets the database password for this <code>RowSet</code> object to\n * the given <code>String</code>.\n *\n * @param password the password string\n * @exception SQLException if a database access error occurs\n * @see #getPassword\n */\n void setPassword(String password) throws SQLException;\n\n /** \n * Retrieves the transaction isolation level set for this\n * <code>RowSet</code> object.\n *\n * @return the transaction isolation level; one of\n * <code>Connection.TRANSACTION_READ_UNCOMMITTED</code>,\n * <code>Connection.TRANSACTION_READ_COMMITTED</code>,\n * <code>Connection.TRANSACTION_REPEATABLE_READ</code>, or\n * <code>Connection.TRANSACTION_SERIALIZABLE</code>\n * @see #setTransactionIsolation\n */\n int getTransactionIsolation();\n\n /**\n * Sets the transaction isolation level for this <code>RowSet</code> obejct.\n *\n * @param level the transaction isolation level; one of\n * <code>Connection.TRANSACTION_READ_UNCOMMITTED</code>,\n * <code>Connection.TRANSACTION_READ_COMMITTED</code>,\n * <code>Connection.TRANSACTION_REPEATABLE_READ</code>, or\n * <code>Connection.TRANSACTION_SERIALIZABLE</code>\n * @exception SQLException if a database access error occurs\n * @see #getTransactionIsolation\n */\n void setTransactionIsolation(int level) throws SQLException;\n\n /**\n * Retrieves the <code>Map</code> object associated with this\n * <code>RowSet</code> object, which specifies the custom mapping\n * of SQL user-defined types, if any. The default is for the\n * type map to be empty.\n *\n * @return a <code>java.util.Map</code> object containing the names of\n * SQL user-defined types and the Java classes to which they are\n * to be mapped\n *\n * @exception SQLException if a database access error occurs\n * @see #setTypeMap\n */\n java.util.Map getTypeMap() throws SQLException;\n\n /**\n * Installs the given <code>java.util.Map</code> object as the default \n * type map for this <code>RowSet</code> object. This type map will be\n * used unless another type map is supplied as a method parameter.\n *\n * @param map a <code>java.util.Map</code> object containing the names of\n * SQL user-defined types and the Java classes to which they are\n * to be mapped\n * @exception SQLException if a database access error occurs\n * @see #getTypeMap\n */\n void setTypeMap(java.util.Map map) throws SQLException;\n\n //-----------------------------------------------------------------------\n // The following properties may be used to create a Statement.\n //-----------------------------------------------------------------------\n\n /** \n * Retrieves this <code>RowSet</code> object's command property.\n *\n * The command property contains a command string, which must be an SQL\n * query, that can be executed to fill the rowset with data. \n * The default value is <code>null</code>.\n *\n * @return the command string; may be <code>null</code>\n * @see #setCommand\n */\n String getCommand();\n\n /**\n * Sets this <code>RowSet</code> object's command property to the given\n * SQL query.\n *\n * This property is optional\n * when a rowset gets its data from a data source that does not support\n * commands, such as a spreadsheet. \n *\n * @param cmd the SQL query that will be used to get the data for this\n * <code>RowSet</code> object; may be <code>null</code>\n * @exception SQLException if a database access error occurs\n * @see #getCommand\n */\n void setCommand(String cmd) throws SQLException;\n\n /** \n * Retrieves whether this <code>RowSet</code> object is read-only.\n * If updates are possible, the default is for a rowset to be\n * updatable.\n * <P>\n * Attempts to update a read-only rowset will result in an\n * <code>SQLException</code> being thrown. \n *\n * @return <code>true</code> if this <code>RowSet</code> object is\n * read-only; <code>false</code> if it is updatable \n * @see #setReadOnly\n */\n boolean isReadOnly();\n\n /**\n * Sets whether this <code>RowSet</code> object is read-only to the\n * given <code>boolean</code>.\n *\n * @param value <code>true</code> if read-only; <code>false</code> if \n * updatable\n * @exception SQLException if a database access error occurs\n * @see #isReadOnly\n */\n void setReadOnly(boolean value) throws SQLException;\n\n /**\n * Retrieves the maximum number of bytes that may be returned \n * for certain column values. \n * This limit applies only to <code>BINARY</code>,\n * <code>VARBINARY</code>, <code>LONGVARBINARYBINARY</code>, <code>CHAR</code>,\n * <code>VARCHAR</code>, and <code>LONGVARCHAR</code> columns.\n * If the limit is exceeded, the excess data is silently discarded.\n *\n * @return the current maximum column size limit; zero means that there\n * is no limit\n * @exception SQLException if a database access error occurs\n * @see #setMaxFieldSize\n */\n int getMaxFieldSize() throws SQLException;\n \n /**\n * Sets the maximum number of bytes that can be returned for a column\n * value to the given number of bytes.\n * This limit applies only to <code>BINARY</code>,\n * <code>VARBINARY</code>, <code>LONGVARBINARYBINARY</code>, <code>CHAR</code>,\n * <code>VARCHAR</code>, and <code>LONGVARCHAR</code> columns.\n * If the limit is exceeded, the excess data is silently discarded.\n * For maximum portability, use values greater than 256.\n *\n * @param max the new max column size limit in bytes; zero means unlimited \n * @exception SQLException if a database access error occurs\n * @see #getMaxFieldSize\n */\n void setMaxFieldSize(int max) throws SQLException;\n\n /**\n * Retrieves the maximum number of rows that this <code>RowSet</code>\n * object can contain.\n * If the limit is exceeded, the excess rows are silently dropped.\n *\n * @return the current maximum number of rows that this <code>RowSet</code>\n * object can contain; zero means unlimited\n * @exception SQLException if a database access error occurs\n * @see #setMaxRows\n */\n int getMaxRows() throws SQLException;\n\n /**\n * Sets the maximum number of rows that this <code>RowSet</code>\n * object can contain to the specified number.\n * If the limit is exceeded, the excess rows are silently dropped.\n *\n * @param max the new maximum number of rows; zero means unlimited \n * @exception SQLException if a database access error occurs\n * @see #getMaxRows\n */\n void setMaxRows(int max) throws SQLException;\n\n /**\n * Retrieves whether escape processing is enabled for this\n * <code>RowSet</code> object. \n * If escape scanning is enabled, which is the default, the driver will do\n * escape substitution before sending an SQL statement to the database.\n *\n * @return <code>true</code> if escape processing is enabled; \n * <code>false</code> if it is disabled\n * @exception SQLException if a database access error occurs\n * @see #setEscapeProcessing\n */\n boolean getEscapeProcessing() throws SQLException;\n\n /**\n * Sets escape processing for this <code>RowSet</code> object on or\n * off. If escape scanning is on (the default), the driver will do\n * escape substitution before sending an SQL statement to the database.\n *\n * @param enable <code>true</code> to enable escape processing;\n * <code>false</code> to disable it\n * @exception SQLException if a database access error occurs\n * @see #getEscapeProcessing\n */\n void setEscapeProcessing(boolean enable) throws SQLException;\n\n /**\n * Retrieves the maximum number of seconds the driver will wait for\n * a statement to execute.\n * If this limit is exceeded, an <code>SQLException</code> is thrown.\n *\n * @return the current query timeout limit in seconds; zero means \n * unlimited \n * @exception SQLException if a database access error occurs\n * @see #setQueryTimeout\n */\n int getQueryTimeout() throws SQLException;\n\n /**\n * Sets the maximum time the driver will wait for\n * a statement to execute to the given number of seconds.\n * If this limit is exceeded, an <code>SQLException</code> is thrown.\n *\n * @param seconds the new query timeout limit in seconds; zero means \n * that there is no limit\n * @exception SQLException if a database access error occurs\n * @see #getQueryTimeout\n */\n void setQueryTimeout(int seconds) throws SQLException;\n\n /**\n * Sets the type of this <code>RowSet</code> object to the given type.\n * This method is used to change the type of a rowset, which is by\n * default read-only and non-scrollable.\n *\n * @param type one of the <code>ResultSet</code> constants specifying a type:\n * <code>ResultSet.TYPE_FORWARD_ONLY</code>,\n * <code>ResultSet.TYPE_SCROLL_INSENSITIVE</code>, or\n * <code>ResultSet.TYPE_SCROLL_SENSITIVE</code>\n * @exception SQLException if a database access error occurs\n * @see java.sql.ResultSet#getType\n */\n void setType(int type) throws SQLException;\n\n /**\n * Sets the concurrency of this <code>RowSet</code> object to the given\n * concurrency level. This method is used to change the concurrency level\n * of a rowset, which is by default <code>ResultSet.CONCUR_READ_ONLY</code>\n *\n * @param concurrency one of the <code>ResultSet</code> constants specifying a\n * concurrency level: <code>ResultSet.CONCUR_READ_ONLY</code> or\n * <code>ResultSet.CONCUR_UPDATABLE</code>\n * @exception SQLException if a database access error occurs\n * @see ResultSet#getConcurrency\n */\n void setConcurrency(int concurrency) throws SQLException;\n \n //-----------------------------------------------------------------------\n // Parameters\n //-----------------------------------------------------------------------\n\n /** \n * The <code>RowSet</code> setter methods are used to set any input parameters\n * needed by the <code>RowSet</code> object's command.\n * Parameters are set at run time, as opposed to design time.\n */\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's SQL\n * command to SQL <code>NULL</code>.\n *\n * <P><B>Note:</B> You must specify the parameter's SQL type.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param sqlType a SQL type code defined by <code>java.sql.Types</code>\n * @exception SQLException if a database access error occurs\n */\n void setNull(int parameterIndex, int sqlType) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's SQL\n * command to SQL <code>NULL</code>. This version of the method <code>setNull</code>\n * should be used for SQL user-defined types (UDTs) and <code>REF</code> type\n * parameters. Examples of UDTs include: <code>STRUCT</code>, <code>DISTINCT</code>,\n * <code>JAVA_OBJECT</code>, and named array types.\n *\n * <P><B>Note:</B> To be portable, applications must give the\n * SQL type code and the fully qualified SQL type name when specifying\n * a NULL UDT or <code>REF</code> parameter. In the case of a UDT,\n * the name is the type name of the parameter itself. For a <code>REF</code> \n * parameter, the name is the type name of the referenced type. If \n * a JDBC driver does not need the type code or type name information, \n * it may ignore it. \n *\n * Although it is intended for UDT and <code>REF</code> parameters,\n * this method may be used to set a null parameter of any JDBC type.\n * If the parameter does not have a user-defined or <code>REF</code> type,\n * the typeName parameter is ignored.\n *\n *\n * @param paramIndex the first parameter is 1, the second is 2, ...\n * @param sqlType a value from <code>java.sql.Types</code>\n * @param typeName the fully qualified name of an SQL UDT or the type\n * name of the SQL structured type being referenced by a <code>REF</code>\n * type; ignored if the parameter is not a UDT or <code>REF</code> type\n * @exception SQLException if a database access error occurs\n */\n void setNull (int paramIndex, int sqlType, String typeName) \n throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java <code>boolean</code> value. The driver converts this to\n * an SQL <code>BIT</code> value before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setBoolean(int parameterIndex, boolean x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java <code>byte</code> value. The driver converts this to\n * an SQL <code>TINYINT</code> value before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setByte(int parameterIndex, byte x) throws SQLException;\n \n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java <code>short</code> value. The driver converts this to\n * an SQL <code>SMALLINT</code> value before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setShort(int parameterIndex, short x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java <code>int</code> value. The driver converts this to\n * an SQL <code>INTEGER</code> value before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setInt(int parameterIndex, int x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java <code>long</code> value. The driver converts this to\n * an SQL <code>BIGINT</code> value before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setLong(int parameterIndex, long x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java <code>float</code> value. The driver converts this to\n * an SQL <code>REAL</code> value before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setFloat(int parameterIndex, float x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java <code>double</code> value. The driver converts this to\n * an SQL <code>DOUBLE</code> value before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setDouble(int parameterIndex, double x) throws SQLException;\n \n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given <code>java.math.BigDeciaml</code> value.\n * The driver converts this to\n * an SQL <code>NUMERIC</code> value before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java <code>String</code> value. Before sending it to the \n * database, the driver converts this to an SQL <code>VARCHAR</code> or\n * <code>LONGVARCHAR</code> value, depending on the argument's size relative\n * to the driver's limits on <code>VARCHAR</code> values.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setString(int parameterIndex, String x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given Java array of <code>byte</code> values. Before sending it to the \n * database, the driver converts this to an SQL <code>VARBINARY</code> or\n * <code>LONGVARBINARY</code> value, depending on the argument's size relative\n * to the driver's limits on <code>VARBINARY</code> values.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value \n * @exception SQLException if a database access error occurs\n */\n void setBytes(int parameterIndex, byte x[]) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given <code>java.sql.Date</code> value. The driver converts this to\n * an SQL <code>DATE</code> value before sending it to the database, using the\n * default <code>java.util.Calendar</code> to calculate the date.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setDate(int parameterIndex, java.sql.Date x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given <code>java.sql.Time</code> value. The driver converts this to\n * an SQL <code>TIME</code> value before sending it to the database, using the\n * default <code>java.util.Calendar</code> to calculate it.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @exception SQLException if a database access error occurs\n */\n void setTime(int parameterIndex, java.sql.Time x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given <code>java.sql.Timestamp</code> value. The driver converts this to\n * an SQL <code>TIMESTAMP</code> value before sending it to the database, using the\n * default <code>java.util.Calendar</code> to calculate it.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value \n * @exception SQLException if a database access error occurs\n */\n void setTimestamp(int parameterIndex, java.sql.Timestamp x)\n throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given <code>java.io.InputStream</code> value. \n * It may be more practical to send a very large ASCII value via a\n * <code>java.io.InputStream</code> rather than as a <code>LONGVARCHAR</code> \n * parameter. The driver will read the data from the stream\n * as needed until it reaches end-of-file. \n * \n * <P><B>Note:</B> This stream object can either be a standard\n * Java stream object or your own subclass that implements the\n * standard interface.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the Java input stream that contains the ASCII parameter value\n * @param length the number of bytes in the stream \n * @exception SQLException if a database access error occurs\n */\n void setAsciiStream(int parameterIndex, java.io.InputStream x, int length)\n throws SQLException;\n \n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given <code>java.io.InputStream</code> value. \n * It may be more practical to send a very large binary value via a\n * <code>java.io.InputStream</code> rather than as a <code>LONGVARBINARY</code> \n * parameter. The driver will read the data from the stream\n * as needed until it reaches end-of-file. \n * \n * <P><B>Note:</B> This stream object can either be a standard\n * Java stream object or your own subclass that implements the\n * standard interface.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the java input stream which contains the binary parameter value\n * @param length the number of bytes in the stream \n * @exception SQLException if a database access error occurs\n */\n void setBinaryStream(int parameterIndex, java.io.InputStream x, \n\t\t int length) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * to the given <code>java.io.Reader</code> value. \n * It may be more practical to send a very large UNICODE value via a\n * <code>java.io.Reader</code> rather than as a <code>LONGVARCHAR</code> \n * parameter. The driver will read the data from the stream\n * as needed until it reaches end-of-file. \n * \n * <P><B>Note:</B> This stream object can either be a standard\n * Java stream object or your own subclass that implements the\n * standard interface.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param reader the <code>Reader</code> object that contains the UNICODE data\n * to be set\n * @param length the number of characters in the stream \n * @exception SQLException if a database access error occurs\n */\n void setCharacterStream(int parameterIndex,\n \t\t\t Reader reader,\n\t\t\t int length) throws SQLException;\n \n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with the given Java <code>Object</code>. For integral values, the \n * <code>java.lang</code> equivalent objects should be used (for example,\n * an instance of the class <code>Integer</code> for an <code>int</code>).\n *\n * <p>The given Java object will be converted to the targetSqlType\n * before being sent to the database.\n * <P>\n * If the object is of a class implementing <code>SQLData</code>,\n * the rowset should call the method <code>SQLData.writeSQL</code>\n * to write the object to an <code>SQLOutput</code> data stream.\n * If the object is an instance of a class implementing the <code>Ref</code>,\n * <code>Struct</code>, <code>Array</code>, <code>Blob</code>,\n * or <code>Clob</code> interfaces,\n * the driver uses the default mapping to the corresponding SQL type.\n *\n * <p>Note that this method may be used to pass datatabase-specific\n * abstract data types. \n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the object containing the input parameter value\n * @param targetSqlType the SQL type (as defined in <code>java.sql.Types</code>) \n * to be sent to the database. The scale argument may further qualify this\n * type.\n * @param scale for <code>java.sql.Types.DECIMAL</code> or\n * <code>java.sql.Types.NUMERIC</code> types, this is the number of\n * digits after the decimal point. For all other types, this value\n * will be ignored.\n * @exception SQLException if a database access error occurs\n * @see java.sql.Types \n */\n void setObject(int parameterIndex, Object x, int targetSqlType, int scale)\n throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with a Java <code>Object</code>. For integral values, the \n * <code>java.lang</code> equivalent objects should be used.\n * This method is like <code>setObject</code> above, but the scale used is the scale\n * of the second parameter. Scalar values have a scale of zero. Literal\n * values have the scale present in the literal. \n * <P>\n * Even though it is supported, it is not recommended that this method\n * be called with floating point input values.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the object containing the input parameter value\n * @param targetSqlType the SQL type (as defined in <code>java.sql.Types</code>) \n * to be sent to the database\n * @exception SQLException if a database access error occurs\n */\n void setObject(int parameterIndex, Object x, \n\t\t int targetSqlType) throws SQLException;\n \n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with a Java <code>Object</code>. For integral values, the \n * <code>java.lang</code> equivalent objects should be used.\n *\n * <p>The JDBC specification provides a standard mapping from\n * Java Object types to SQL types. The driver will convert the \n * given Java object to its standard SQL mapping before sending it\n * to the database.\n *\n * <p>Note that this method may be used to pass datatabase-specific\n * abstract data types by using a driver-specific Java type.\n *\n * If the object is of a class implementing <code>SQLData</code>,\n * the rowset should call the method <code>SQLData.writeSQL</code>\n * to write the object to an <code>SQLOutput</code> data stream.\n * If the object is an instance of a class implementing the <code>Ref</code>,\n * <code>Struct</code>, <code>Array</code>, <code>Blob</code>,\n * or <code>Clob</code> interfaces,\n * the driver uses the default mapping to the corresponding SQL type.\n * <P>\n * An exception is thrown if there is an ambiguity, for example, if the\n * object is of a class implementing more than one of these interfaces.\n *\n * @param parameterIndex The first parameter is 1, the second is 2, ...\n * @param x The object containing the input parameter value \n * @exception SQLException if a database access error occurs\n */\n void setObject(int parameterIndex, Object x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with the given <code>Ref</code> value. The driver will convert this\n * to the appropriate <code>REF(&lt;structured-type&gt;)</code> value.\n *\n * @param i the first parameter is 1, the second is 2, ...\n * @param x an object representing data of an SQL <code>REF</code> type\n * @exception SQLException if a database access error occurs\n */\n void setRef (int i, Ref x) throws SQLException;\n\n /** \n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with the given <code>Blob</code> value. The driver will convert this\n * to the <code>BLOB</code> value that the <code>Blob</code> object\n * represents before sending it to the database.\n *\n * @param i the first parameter is 1, the second is 2, ...\n * @param x an object representing a BLOB\n * @exception SQLException if a database access error occurs\n */\n void setBlob (int i, Blob x) throws SQLException;\n\n /** \n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with the given <code>Clob</code> value. The driver will convert this\n * to the <code>CLOB</code> value that the <code>Clob</code> object\n * represents before sending it to the database.\n *\n * @param i the first parameter is 1, the second is 2, ...\n * @param x an object representing a CLOB\n * @exception SQLException if a database access error occurs\n */\n void setClob (int i, Clob x) throws SQLException;\n \n /** \n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with the given <code>Array</code> value. The driver will convert this\n * to the <code>ARRAY</code> value that the <code>Array</code> object\n * represents before sending it to the database.\n *\n * @param i the first parameter is 1, the second is 2, ...\n * @param x an object representing an SQL array\n * @exception SQLException if a database access error occurs\n */\n void setArray (int i, Array x) throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with the given <code>java.sql.Date</code> value. The driver will convert this\n * to an SQL <code>DATE</code> value, using the given <code>java.util.Calendar</code>\n * object to calculate the date.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @param cal the <code>java.util.Calendar</code> object to use for calculating the date\n * @exception SQLException if a database access error occurs\n */\n void setDate(int parameterIndex, java.sql.Date x, Calendar cal)\n throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with the given <code>java.sql.Time</code> value. The driver will convert this\n * to an SQL <code>TIME</code> value, using the given <code>java.util.Calendar</code>\n * object to calculate it, before sending it to the database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value\n * @param cal the <code>java.util.Calendar</code> object to use for calculating the time\n * @exception SQLException if a database access error occurs\n */\n void setTime(int parameterIndex, java.sql.Time x, Calendar cal) \n throws SQLException;\n\n /**\n * Sets the designated parameter in this <code>RowSet</code> object's command\n * with the given <code>java.sql.Timestamp</code> value. The driver will\n * convert this to an SQL <code>TIMESTAMP</code> value, using the given\n * <code>java.util.Calendar</code> object to calculate it, before sending it to the\n * database.\n *\n * @param parameterIndex the first parameter is 1, the second is 2, ...\n * @param x the parameter value \n * @param cal the <code>java.util.Calendar</code> object to use for calculating the \n * timestamp\n * @exception SQLException if a database access error occurs\n */\n void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal)\n throws SQLException;\n\n /**\n * Clears the parameters set for this <code>RowSet</code> object's command.\n * <P>In general, parameter values remain in force for repeated use of a\n * <code>RowSet</code> object. Setting a parameter value automatically clears its\n * previous value. However, in some cases it is useful to immediately\n * release the resources used by the current parameter values, which can\n * be done by calling the method <code>clearParameters</code>.\n *\n * @exception SQLException if a database access error occurs\n */\n void clearParameters() throws SQLException;\n\n //---------------------------------------------------------------------\n // Reading and writing data\n //---------------------------------------------------------------------\n\n /**\n * Fills this <code>RowSet</code> object with data. \n * <P>\n * The <code>execute</code> method may use the following properties \n * to create a connection for reading data: url, data source name, \n * user name, password, transaction isolation, and type map.\n * \n * The <code>execute</code> method may use the following properties \n * to create a statement to execute a command:\n * command, read only, maximum field size, \n * maximum rows, escape processing, and query timeout.\n * <P>\n * If the required properties have not been set, an exception is \n * thrown. If this method is successful, the current contents of the rowset are \n * discarded and the rowset's metadata is also (re)set. If there are \n * outstanding updates, they are ignored. \n * <P>\n * If this <code>RowSet</code> object does not maintain a continuous connection \n * with its source of data, it may use a reader (a <code>RowSetReader</code> \n * object) to fill itself with data. In this case, a reader will have been\n * registered with this <code>RowSet</code> object, and the method \n * <code>execute</code> will call on the reader's <code>readData</code>\n * method as part of its implementation.\n *\n * @exception SQLException if a database access error occurs or any of the\n * properties necessary for making a connection and creating\n * a statement have not been set\n */\n void execute() throws SQLException;\n\n //--------------------------------------------------------------------\n // Events\n //--------------------------------------------------------------------\n\n /**\n * Registers the given listener so that it will be notified of events\n * that occur on this <code>RowSet</code> object.\n *\n * @param listener a component that has implemented the <code>RowSetListener</code>\n * interface and wants to be notified when events occur on this\n * <code>RowSet</code> object\n * @see #removeRowSetListener\n */\n void addRowSetListener(RowSetListener listener);\n\n /**\n * Removes the specified listener from the list of components that will be\n * notified when an event occurs on this <code>RowSet</code> object.\n *\n * @param listener a component that has been registered as a listener for this\n * <code>RowSet</code> object\n * @see #addRowSetListener\n */\n void removeRowSetListener(RowSetListener listener);\n \n}", "title": "" }, { "docid": "9ae0d13bf19c6332306c25d29c416635", "score": "0.44159734", "text": "public void setRow(int row);", "title": "" }, { "docid": "03e1cdb71955cb011af26d0a168083e1", "score": "0.43824992", "text": "RecordTableData(long timestamp, EventType eventType, RecordTableHandlerCallback recordTableHandlerCallback,\n CompiledCondition compiledCondition, List<Map<String, Object>> conditionParameterMaps,\n LinkedHashMap<String, CompiledExpression> setMap, List<Map<String, Object>> setParameterMaps) {\n this.timestamp = timestamp;\n this.eventType = eventType;\n this.recordTableHandlerCallback = recordTableHandlerCallback;\n this.compiledCondition = compiledCondition;\n this.conditionParameterMaps = conditionParameterMaps;\n this.setMap = setMap;\n this.setParameterMaps = setParameterMaps;\n }", "title": "" }, { "docid": "17e33ac1fe67814ad5394fda9648bf5a", "score": "0.43472815", "text": "public Builder setRow(\n int index, com.tritandb.engine.tsc.data.EventProtos.Row value) {\n if (rowBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureRowIsMutable();\n row_.set(index, value);\n onChanged();\n } else {\n rowBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "52ae0108bc22e00d68817bfd8919a8e5", "score": "0.43450785", "text": "public void setRow(int row) {\n this.row = row;\n }", "title": "" }, { "docid": "b4137352e0642cf42c92447a1c43f8b5", "score": "0.43388233", "text": "public void setRow(int row) {\n this.row = row;\n }", "title": "" }, { "docid": "58bedb1115f408dfdae1cf726d66f7d4", "score": "0.4338359", "text": "public void initCellChanges(Set<ICellChange> set) {\n if(set.isEmpty())return;\n cellchanges = new HashMap<>();\n tableAliasChange = new ArrayList<>();\n Iterator<ICellChange> it = set.iterator();\n while(it.hasNext()) {\n ICellChange c = it.next();\n cellchanges.put(c.getCell(), c.getNewValue()); \n StringBuilder sb = new StringBuilder();\n sb.append(c.getCell().getAttributeRef().getTableName());\n sb.append(c.getCell().getAttribute());\n tableAliasChange.add(sb.toString());\n }\n setNumCellChanges(cellchanges.size());\n }", "title": "" }, { "docid": "9fa9d8831f84bd26508a284d2dea1f57", "score": "0.43158838", "text": "public Builder setRows(com.tritandb.engine.tsc.data.EventProtos.Rows value) {\n if (rowsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n rows_ = value;\n onChanged();\n } else {\n rowsBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "5f9dfc33154e5182d3821a9fb2371744", "score": "0.43081024", "text": "public SetTableModel() {\n sets = new ArrayList();\n }", "title": "" }, { "docid": "9e21024956dbfcf164987870ca7b84da", "score": "0.43034452", "text": "public void setRowSelected(Catben rowSelected) {\r\n\t\tthis.rowSelected = rowSelected;\r\n\t}", "title": "" }, { "docid": "89b7e7ae9757077f46ed1e0bf6465281", "score": "0.42993712", "text": "com.tritandb.engine.tsc.data.EventProtos.Row getRow(int index);", "title": "" }, { "docid": "0a56e425388626aa2917021f3688baad", "score": "0.42864242", "text": "public void setRowFilterExpression(String rowFilterExpression) {\n this.rowFilterExpression = rowFilterExpression;\n }", "title": "" }, { "docid": "4b2db1a1df5107221279da8121e7383c", "score": "0.4279643", "text": "public java.util.List<? extends com.tritandb.engine.tsc.data.EventProtos.RowOrBuilder> \n getRowOrBuilderList() {\n return row_;\n }", "title": "" }, { "docid": "63a59eb7a75d699a3eae83d3aa7f347f", "score": "0.4276719", "text": "public com.tritandb.engine.tsc.data.EventProtos.Rows getRows() {\n if (rowsBuilder_ == null) {\n return rows_ == null ? com.tritandb.engine.tsc.data.EventProtos.Rows.getDefaultInstance() : rows_;\n } else {\n return rowsBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "5d27301954371e497d4d790a044b0890", "score": "0.4272237", "text": "public void setRowid (java.lang.Integer rowid) {\n\t\tthis.rowid = rowid;\n\t}", "title": "" }, { "docid": "90c48c5d4361c969a72954e21ecc8c27", "score": "0.42666218", "text": "public void setRowKey(String rowKeyName, Class<?> clazz) {\n this.hbaseSchema.setRowKey(rowKeyName, clazz);\n }", "title": "" }, { "docid": "3eda3e940757e502ab7df1f3a4dcfa94", "score": "0.42500195", "text": "public void setRow(int row)\r\n\t{\r\n\t\tthis.row = row;\r\n\t}", "title": "" }, { "docid": "e16225662d369eade2c35fbb08c6c75b", "score": "0.4249203", "text": "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e16225662d369eade2c35fbb08c6c75b", "score": "0.4249203", "text": "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e16225662d369eade2c35fbb08c6c75b", "score": "0.4249203", "text": "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e16225662d369eade2c35fbb08c6c75b", "score": "0.4249203", "text": "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "023ac112f44f12573cf1a690b21ccd53", "score": "0.4246986", "text": "public Event(Node tar, Boolean set)\n\t{\n\t\ttarget = tar;\n\t\tvalue = set;\n\t}", "title": "" }, { "docid": "7e509cedcb9c1a157f2617dc58044a09", "score": "0.42238718", "text": "public void setRow(int inputRow){\n\t\trow = inputRow;\n\t}", "title": "" }, { "docid": "0b71f5df60518e921de2c02c8d9dd438", "score": "0.42191973", "text": "public void setRow(int row){\n \tthis.row = row;\n }", "title": "" }, { "docid": "5bce0edd2029ec7ccf9114870fcb1bfc", "score": "0.421791", "text": "public static JSONObject createResourceReservationEvent(final JSONObject timeline,\r\n final DataRecord resource, final ResourceAllocation resourceAllocation,\r\n final int rowIndex) {\r\n final int maxTimemarksColumn = ((JSONArray) timeline.get(JSON_TIMEMARKS)).length();\r\n final int timelineStartHour = timeline.getInt(JSON_TIMELINE_START_HOUR);\r\n final int minorSegments = timeline.getInt(JSON_MINOR_TO_MAJOR_RATIO);\r\n \r\n final JSONObject event = new JSONObject();\r\n event.put(JSON_EVENT_ID, resourceAllocation.getId());\r\n event.put(JSON_RESOURCE_ROW, rowIndex);\r\n event.put(\r\n JSON_COLUMN_START,\r\n getTimeColumn(timelineStartHour, minorSegments, resourceAllocation.getStartTime(),\r\n maxTimemarksColumn));\r\n event.put(\r\n JSON_COLUMN_END,\r\n getTimeColumn(timelineStartHour, minorSegments, resourceAllocation.getEndTime(),\r\n maxTimemarksColumn) - 1);\r\n // Search for the preblock and postblock timeslots\r\n event.put(JSON_PRE_BLOCK_TIMESLOTS,\r\n getTimeSlots(resource.getInt(RESOURCES_PRE_BLOCK), minorSegments));\r\n event.put(JSON_POST_BLOCK_TIMESLOTS,\r\n getTimeSlots(resource.getInt(RESOURCES_POST_BLOCK), minorSegments));\r\n \r\n event.put(JSON_STATUS, 0);\r\n \r\n return event;\r\n }", "title": "" }, { "docid": "12d3f055350e4f999489431e7e1041aa", "score": "0.42167127", "text": "public com.tritandb.engine.tsc.data.EventProtos.Rows getRows() {\n return rows_ == null ? com.tritandb.engine.tsc.data.EventProtos.Rows.getDefaultInstance() : rows_;\n }", "title": "" }, { "docid": "7c06805c5306115a3db78f1ccddd21eb", "score": "0.42133266", "text": "RecordTableData(long timestamp, EventType eventType, RecordTableHandlerCallback recordTableHandlerCallback,\n CompiledCondition compiledCondition, List<Object[]> records,\n List<Map<String, Object>> conditionParameterMaps, LinkedHashMap<String, CompiledExpression> setMap,\n List<Map<String, Object>> setParameterMaps) {\n this.timestamp = timestamp;\n this.eventType = eventType;\n this.recordTableHandlerCallback = recordTableHandlerCallback;\n this.compiledCondition = compiledCondition;\n this.records = records;\n this.conditionParameterMaps = conditionParameterMaps;\n this.setMap = setMap;\n this.setParameterMaps = setParameterMaps;\n }", "title": "" }, { "docid": "dd72b0c8eb1e567d60650e1445f9df1c", "score": "0.4210476", "text": "public void setRow(int row) {\r\n\t\tthis.row = row;\r\n\t}", "title": "" }, { "docid": "dd72b0c8eb1e567d60650e1445f9df1c", "score": "0.4210476", "text": "public void setRow(int row) {\r\n\t\tthis.row = row;\r\n\t}", "title": "" }, { "docid": "98a5d8d073014edee788c8a5f165699e", "score": "0.4209627", "text": "public com.tritandb.engine.tsc.data.EventProtos.Rows.Builder getRowsBuilder() {\n \n onChanged();\n return getRowsFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "d9ea858af65b4788c9f97117b6ae3489", "score": "0.4202363", "text": "public Builder addRow(com.tritandb.engine.tsc.data.EventProtos.Row value) {\n if (rowBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureRowIsMutable();\n row_.add(value);\n onChanged();\n } else {\n rowBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "97bceb69d3f9d9a6ce043132b3343e63", "score": "0.41827354", "text": "private void setRow(int row) {\r\n\t\tthis.row = row;\r\n\t}", "title": "" }, { "docid": "8aef7ec54bb3c2f91fcde4a57fdd6020", "score": "0.4182274", "text": "public void setRelRow(int relRow) {\n this.relRow = relRow;\n }", "title": "" }, { "docid": "a4bb9efe74f07208753d9f098e00d181", "score": "0.41722566", "text": "public static <E> Set<E> compose(Set<E> set, EventListener<? super E> listener) {\n return new EventSet<E>(set, listener);\n }", "title": "" }, { "docid": "f4e2c74b2cf19b6341cc2f12cdcf3fcd", "score": "0.41713798", "text": "public DltdOffrSkuSetRecord(BigDecimal offrSkuSetId, BigDecimal setPrcTypId, BigDecimal offrId, String offrSkuSetNm, BigDecimal mrktId, BigDecimal setPrcAmt, BigDecimal vehId, BigDecimal setCmpntCnt, BigDecimal offrPerdId, BigDecimal pgOfsNr, String creatUserId, String featrdSideCd, Date creatTs, String crncyCd, String lastUpdtUserId, Date lastUpdtTs, String promtnDescTxt, String lineNr, String rowDltdInd) {\n\t\tsuper(DltdOffrSkuSet.DLTD_OFFR_SKU_SET);\n\n\t\tsetValue(0, offrSkuSetId);\n\t\tsetValue(1, setPrcTypId);\n\t\tsetValue(2, offrId);\n\t\tsetValue(3, offrSkuSetNm);\n\t\tsetValue(4, mrktId);\n\t\tsetValue(5, setPrcAmt);\n\t\tsetValue(6, vehId);\n\t\tsetValue(7, setCmpntCnt);\n\t\tsetValue(8, offrPerdId);\n\t\tsetValue(9, pgOfsNr);\n\t\tsetValue(10, creatUserId);\n\t\tsetValue(11, featrdSideCd);\n\t\tsetValue(12, creatTs);\n\t\tsetValue(13, crncyCd);\n\t\tsetValue(14, lastUpdtUserId);\n\t\tsetValue(15, lastUpdtTs);\n\t\tsetValue(16, promtnDescTxt);\n\t\tsetValue(17, lineNr);\n\t\tsetValue(18, rowDltdInd);\n\t}", "title": "" }, { "docid": "71550101567e3e454e2755d9a393309d", "score": "0.41331384", "text": "public void start_row(final Attributes meta) throws SAXException;", "title": "" }, { "docid": "70ffdcdbd0a60e1bad702df8c0b530fe", "score": "0.41289952", "text": "public void xsetFirstRow(org.apache.xmlbeans.XmlBoolean firstRow)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlBoolean target = null;\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(FIRSTROW$24);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(FIRSTROW$24);\n }\n target.set(firstRow);\n }\n }", "title": "" }, { "docid": "8af88070fe072c25a4c2a662655501bc", "score": "0.4128224", "text": "public EventTableModel() {\n\n String[] columnNames =\n new String[] { STLConstants.K0401_TIME.getValue(),\n STLConstants.K0402_SEVERITY.getValue(),\n STLConstants.K0403_SOURCE.getValue(),\n STLConstants.K0405_DESCRIPTION.getValue() };\n\n setColumnNames(columnNames);\n }", "title": "" }, { "docid": "4c41cf75670974f416d0240408a8b042", "score": "0.41259047", "text": "public void setRow(final int theRow) {\n myRow = theRow;\n }", "title": "" }, { "docid": "d7a5d4427b73ab3aad955bd4349d58d4", "score": "0.4124348", "text": "public void setRowID(long rowID) {\n this.rowID = rowID;\n }", "title": "" }, { "docid": "1b64237484166f25c98f8fd5140090b1", "score": "0.41212112", "text": "public Rowset readRowset(ResultSet aResultSet, FlowProvider aFlow, int aPageSize) throws SQLException {\n try {\n if (aResultSet != null) {\n ResultSetMetaData lowLevelJdbcFields = aResultSet.getMetaData();\n Fields jdbcFields = new Fields();\n for (int i = 1; i <= lowLevelJdbcFields.getColumnCount(); i++) {\n Field field = new Field();\n String columnLabel = lowLevelJdbcFields.getColumnLabel(i);// Column label in jdbc is the name of platypus property\n String columnName = lowLevelJdbcFields.getColumnName(i);\n field.setName(columnLabel != null && !columnLabel.isEmpty() ? columnLabel : columnName);\n field.setOriginalName(columnName);\n\n field.setNullable(lowLevelJdbcFields.isNullable(i) == ResultSetMetaData.columnNullable);\n\n DataTypeInfo typeInfo = new DataTypeInfo();\n typeInfo.setSqlType(lowLevelJdbcFields.getColumnType(i));\n typeInfo.setSqlTypeName(lowLevelJdbcFields.getColumnTypeName(i));\n typeInfo.setJavaClassName(lowLevelJdbcFields.getColumnClassName(i));\n field.setTypeInfo(typeInfo);\n\n field.setSize(lowLevelJdbcFields.getColumnDisplaySize(i));\n field.setPrecision(lowLevelJdbcFields.getPrecision(i));\n field.setScale(lowLevelJdbcFields.getScale(i));\n field.setSigned(lowLevelJdbcFields.isSigned(i));\n\n field.setTableName(lowLevelJdbcFields.getTableName(i));\n field.setSchemaName(lowLevelJdbcFields.getSchemaName(i));\n jdbcFields.add(field);\n }\n Rowset rowset = new Rowset(expectedFields != null && !expectedFields.isEmpty() ? expectedFields : jdbcFields);\n List<Row> rows = readRows(rowset.getFields(), jdbcFields, aResultSet, aPageSize, aFlow, converter);\n rowset.setCurrent(rows);\n rowset.currentToOriginal();\n return rowset;\n } else {\n throw new SQLException(ROWSET_MISSING_EXCEPTION_MSG);\n }\n } catch (Exception ex) {\n if (ex instanceof SQLException) {\n throw (SQLException) ex;\n } else {\n throw new SQLException(ex);\n }\n }\n }", "title": "" }, { "docid": "e5594746b9fa85a60ad738aefa7ea4b1", "score": "0.41198522", "text": "com.tritandb.engine.tsc.data.EventProtos.Rows getRows();", "title": "" }, { "docid": "69c98285ec1a9f24a92f47e2227393ed", "score": "0.41159388", "text": "com.tritandb.engine.tsc.data.EventProtos.RowsOrBuilder getRowsOrBuilder();", "title": "" }, { "docid": "2319839111c7818d41736f26179be6f8", "score": "0.41157696", "text": "public RowReorderEvent(RowReorderEvent event) {\n \t\tsuper(event);\n \t\tthis.beforeFromRowPositionRanges = event.beforeFromRowPositionRanges;\n \t\tthis.beforeToRowPosition = event.beforeToRowPosition;\n \t\tthis.reorderToTopEdge = event.reorderToTopEdge;\n \t}", "title": "" }, { "docid": "5ac8174c846698ca88fa50b460da59a7", "score": "0.40901175", "text": "public Table ()\n {\n setLayout(new TableLayout());\n initChildren(\n header = new Row(),\n rowArea = new Scroller(rows = new Group(new ContentLayout())).\n setBehavior(Scroller.Behavior.VERTICAL));\n ImmediateLayer lines = PlayN.graphics().createImmediateLayer(new ImmediateLayer.Renderer() {\n @Override\n public void render (Surface surface)\n {\n drawGridLines(surface);\n }\n });\n lines.setDepth(1);\n rows.layer.add(lines);\n\n // set up an optimized hit tested for rows\n rows.layer.setHitTester(new Layer.HitTester() {\n @Override\n public Layer hitTest (Layer layer, pythagoras.f.Point p) {\n int row = findRowForClick(p.y);\n if (row == -1) {\n return null;\n }\n Row hit = getRow(row);\n p.y -= hit.y();\n Layer cell = hit.layer.hitTest(p);\n return cell == null ? hit.layer : cell;\n }\n });\n\n _rowSelListener = rows.layer.addListener(new Tapper() {\n @Override\n public void onTap (Events.Position event) {\n pythagoras.f.Point rowPt = Layer.Util.layerToParent(\n event.hit(), rows.layer, event.localX(), event.localY());\n int row = findRowForClick(rowPt.y);\n selectedRow.update(row == -1 ? null : Integer.valueOf(row));\n }\n });\n\n // deal with row selection\n selectedRow.connect(new ValueView.Listener<Integer>() {\n @Override\n public void onChange (Integer nrow, Integer orow) {\n if (orow != null) {\n getRow(orow).setSelected(false);\n }\n if (nrow != null) {\n getRow(nrow).setSelected(true);\n }\n }\n });\n }", "title": "" }, { "docid": "f6d5e9e869dbf412bd743576e183263f", "score": "0.40876785", "text": "public void setRow(int newRow){\n \tthis.row = newRow;\n }", "title": "" }, { "docid": "163995d2f1177af9d35f5b8dc92cea42", "score": "0.40797082", "text": "protected ViewRowImpl createRowFromResultSet(Object qc, ResultSet resultSet) {\n ViewRowImpl value = super.createRowFromResultSet(qc, resultSet);\n return value;\n }", "title": "" }, { "docid": "1e133fe6fd7717a31142061fe9b16198", "score": "0.40762714", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n com.tritandb.engine.tsc.data.EventProtos.Rows, com.tritandb.engine.tsc.data.EventProtos.Rows.Builder, com.tritandb.engine.tsc.data.EventProtos.RowsOrBuilder> \n getRowsFieldBuilder() {\n if (rowsBuilder_ == null) {\n rowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.tritandb.engine.tsc.data.EventProtos.Rows, com.tritandb.engine.tsc.data.EventProtos.Rows.Builder, com.tritandb.engine.tsc.data.EventProtos.RowsOrBuilder>(\n getRows(),\n getParentForChildren(),\n isClean());\n rows_ = null;\n }\n return rowsBuilder_;\n }", "title": "" }, { "docid": "301db26552b3166d76f6677836aebca8", "score": "0.40698647", "text": "private ItemRowSetHeaderBean constructRowSetHeaderBean(HttpServletRequest request)\n\t\t\tthrows UnsupportedEncodingException {\n\t\tItemRowSetHeaderBean requestBean = null;\n\t\tif (request != null) {\n\t\t\trequestBean = new ItemRowSetHeaderBean();\n\t\t\t// set RowSet header id\n\t\t\tString headerId = this.getDecodedRequestParam(request, \"ROW_SET_ID\");\n\t\t\tif (!StringUtils.isBlank(headerId)) {\n\t\t\t\trequestBean.setRowSetId(Integer.parseInt(headerId));\n\t\t\t}\n\t\t\trequestBean.setRowSetName(this.getDecodedRequestParam(request, \"ROW_SET_NAME\"));\n\t\t\trequestBean.setRuleCode(this.getDecodedRequestParam(request, \"RULE_CODE\"));\n\t\t\tString itemType=this.getDecodedRequestParam(request, \"EXT_ITEM_TYPE\");\n\t\t\trequestBean.setExtItemType(itemType);\n\t\t\trequestBean.setDescription(this.getDecodedRequestParam(request, \"DESCRIPTION\"));\n\t\t}\n\t\treturn requestBean;\n\t}", "title": "" }, { "docid": "d28bd79c5b57e48974f4a1ca2977351e", "score": "0.40690783", "text": "public AnswerSetsRowClient() {\r\n }", "title": "" }, { "docid": "0dc913ff2f375d62aef42c33454416ac", "score": "0.40658483", "text": "public Row set(String column, String value);", "title": "" }, { "docid": "4ff2ebbab4814d95f409186726ae129e", "score": "0.40568098", "text": "public void setRow(int row) {\n\t\tr = row;\n\t}", "title": "" }, { "docid": "f2e46cc4ddb50acec8085778bd2ee313", "score": "0.4056717", "text": "public void initialize(Set<T> set) {\n\t}", "title": "" }, { "docid": "23c8a236b85db2e6602c4b55fe4398b3", "score": "0.40476155", "text": "public RowState createRowState() {\n return ((TableImpl) wrapped).createRowState();\n }", "title": "" }, { "docid": "47e5c9f1ef331e07b61e328784562e5b", "score": "0.40381208", "text": "public void addNewRow(T rowData , boolean setSelected){\r\n\t\tArrayList<T> list = new ArrayList<T>();\r\n\t\tlist.add(rowData);\r\n\t\tsetRowData( getRowCount() , list);\r\n\t\tif(setSelected)\r\n\t\t\tgetSelectionModel().setSelected(rowData, true);\r\n\t}", "title": "" }, { "docid": "f0c42f8569f6114c12857d992e6ba1f8", "score": "0.40338814", "text": "public InvoiceRow createRowData(String[] row) {\r\n\t\tInvoiceRow rd = new InvoiceRow(row);\r\n\t\t\r\n\t\tfor (int idx = 0; idx < m_fields.length; idx++) {\r\n\t\t\tString field = m_fields[idx];\r\n\t\t\tString value = row[idx];\r\n\t\t\tif (field != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tField fld = InvoiceRow.class.getDeclaredField(field);\r\n\t\t\t\t\tif (!fld.isAccessible()) fld.setAccessible(true);\r\n\t\t\t\t\tfld.set(rd, value);\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Exception ex) {\r\n\t\t\t\t\tlogger.warning(\"Cannot set fields '\" + field + \"' with value: \" + value);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn rd;\r\n\t}", "title": "" }, { "docid": "8dab1c11831c0530683bf93a05150d91", "score": "0.4033278", "text": "public void setRows(List<T> rows) {\r\n\t\tthis.rows = rows;\r\n\t}", "title": "" }, { "docid": "7b11d9a2b92fabb877023cbb51e5b078", "score": "0.40329516", "text": "public gravity.v1.QueryOuterClass.SignerSetTxResponse signerSetTx(gravity.v1.QueryOuterClass.SignerSetTxRequest request) {\n return blockingUnaryCall(\n getChannel(), getSignerSetTxMethod(), getCallOptions(), request);\n }", "title": "" }, { "docid": "631c6154663c5f369b22d3470f64478d", "score": "0.40154964", "text": "public com.tritandb.engine.tsc.data.EventProtos.RowsOrBuilder getRowsOrBuilder() {\n if (rowsBuilder_ != null) {\n return rowsBuilder_.getMessageOrBuilder();\n } else {\n return rows_ == null ?\n com.tritandb.engine.tsc.data.EventProtos.Rows.getDefaultInstance() : rows_;\n }\n }", "title": "" }, { "docid": "474b0b59d4c519da840ca5fd798a191b", "score": "0.399193", "text": "protected void sequence_MatrixRow(EObject context, MatrixRow semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "title": "" }, { "docid": "adae4a0eed23ac20e6df57a5a6f6296b", "score": "0.39891607", "text": "private ArrayList<IShape> SetPinRow(int RowLength, Point OfSet, int row) {\r\n\t\tArrayList<IShape> rowshapes = new ArrayList<IShape>();\r\n\t\tint x = (int) OfSet.getX();\r\n\t\tint y = (int) OfSet.getY();\r\n\t\tint place = 0;\r\n\t\tfor (int i = 0; i < RowLength; i++) {\r\n\t\t\tplace = i;\r\n\t\t\tPin c = new Pin(new Point(x, y), playFieldPinSize, MColors.GetMColor(0).GetColor(), row, place);\r\n\t\t\trowshapes.add(c);\r\n\r\n\t\t\tx = (x + (playFieldPinSize * 2) + playFieldPinMargin);\r\n\r\n\t\t}\r\n\t\treturn rowshapes;\r\n\t}", "title": "" }, { "docid": "ee02a79018f31035be968470e6e808f9", "score": "0.39841762", "text": "public com.tritandb.engine.tsc.data.EventProtos.RowsOrBuilder getRowsOrBuilder() {\n return getRows();\n }", "title": "" }, { "docid": "a0668860e68694bfb2ee55e55918d399", "score": "0.39827073", "text": "@NonNull\n public Builder setRowConstraints(@NonNull RowConstraints rowConstraints) {\n this.mRowConstraints = rowConstraints;\n return this;\n }", "title": "" }, { "docid": "1b20ec59694aef6768e7bb8f5eb8af23", "score": "0.3980768", "text": "EventSet userFilter() {\n if (needsFiltering) {\n return new EventSetImpl(this, false);\n } else {\n return this;\n }\n }", "title": "" }, { "docid": "b490950a16243c72f2fd797bfca3225c", "score": "0.39748555", "text": "protected SQLServerEventTableFactory() {\n\t}", "title": "" }, { "docid": "6e399cb542c6616f8f900debf8288ff5", "score": "0.396851", "text": "public void xsetEventSetId(org.apache.xmlbeans.XmlString eventSetId)\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(EVENTSETID$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(EVENTSETID$0);\n }\n target.set(eventSetId);\n }\n }", "title": "" }, { "docid": "babbe3501591a6ffdba7bb66dc67443a", "score": "0.39668453", "text": "public com.google.common.util.concurrent.ListenableFuture<gravity.v1.QueryOuterClass.SignerSetTxResponse> signerSetTx(\n gravity.v1.QueryOuterClass.SignerSetTxRequest request) {\n return futureUnaryCall(\n getChannel().newCall(getSignerSetTxMethod(), getCallOptions()), request);\n }", "title": "" }, { "docid": "6d466c7a55d1ff621e70ac3e7d44f77f", "score": "0.39651346", "text": "public void setRow(Object[] rowData, int row){\n setRow(rowData,row,true);\n }", "title": "" }, { "docid": "3ff4ac1d61e0493a4128cab69196c847", "score": "0.39627907", "text": "public java.util.List<com.tritandb.engine.tsc.data.EventProtos.Row> getRowList() {\n if (rowBuilder_ == null) {\n return java.util.Collections.unmodifiableList(row_);\n } else {\n return rowBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "e517faac8a483f59ef5afe8f6615ba83", "score": "0.39598075", "text": "public void setRowIndex(int rowIndex) {\r\n this.rowIndex = rowIndex;\r\n }", "title": "" }, { "docid": "d800b5c513a3ad7bab7c27916e9fc5b2", "score": "0.3958106", "text": "public gravity.v1.QueryOuterClass.SignerSetTxsResponse signerSetTxs(gravity.v1.QueryOuterClass.SignerSetTxsRequest request) {\n return blockingUnaryCall(\n getChannel(), getSignerSetTxsMethod(), getCallOptions(), request);\n }", "title": "" }, { "docid": "80f02c3af25d343797c50a4c9c5b1af2", "score": "0.39476463", "text": "public EventTableModel() { }", "title": "" }, { "docid": "f02f8939fdba61568fa23dc4682c8aa2", "score": "0.3944964", "text": "com.tritandb.engine.tsc.data.EventProtos.RowOrBuilder getRowOrBuilder(\n int index);", "title": "" }, { "docid": "8c388ace5fe8718bd2daae90153b386b", "score": "0.3944467", "text": "public void add(Set c) {\n sets.add(c);\n\n fireTableDataChanged();\n }", "title": "" }, { "docid": "a2a596821a5aef7045dd1c184918364a", "score": "0.39371294", "text": "public void setRowId(int i, RowId rowId) throws SQLException {\n throw new UnsupportedOperationException(\"This method is not supported\");\n }", "title": "" }, { "docid": "ece5bf293faa7c45cb4cbacfb911366b", "score": "0.3935032", "text": "public void start_rows(final Attributes meta) throws SAXException;", "title": "" }, { "docid": "0a55eec9dcb6694257cd6424ccfbab3a", "score": "0.3923497", "text": "public void addRow(Object[] vals);", "title": "" } ]
04e0b1a1407e0f346f28c1aea9d9357c
Constructs the info JMenuItem.
[ { "docid": "2e931e2f7a266495e1bb21096675511e", "score": "0.72736955", "text": "public InfoJMenuItem() {\n super(\"Race Info...\");\n myMessage = \"\";\n addActionListener(theEvent -> {\n JOptionPane.showMessageDialog(this, myMessage, \"Race Information\",\n JOptionPane.INFORMATION_MESSAGE);\n });\n setEnabled(false);\n }", "title": "" } ]
[ { "docid": "d561eabc22d2e6a9a5b9f856af2fb112", "score": "0.8145003", "text": "protected abstract List<JMenuItem> createInfoMenuItems();", "title": "" }, { "docid": "167dc80e0ee6b2745257f97b0ad6d1cb", "score": "0.71146715", "text": "private JMenu buildHelp() {\r\n final JMenu menu = new JMenu(\"Help\");\r\n \r\n myInfoItem.addActionListener(e -> JOptionPane.showMessageDialog(this, myInfo));\r\n \r\n final ImageIcon icon;\r\n final Image image;\r\n icon = new ImageIcon(\"./images/flag.png\");\r\n image = icon.getImage().getScaledInstance\r\n (ICON_SIZE, ICON_SIZE, java.awt.Image.SCALE_SMOOTH);\r\n final ImageIcon iconB = new ImageIcon(image);\r\n myAboutItem.addActionListener(e -> JOptionPane.showMessageDialog\r\n (this, MY_ABOUT, \"About\", JOptionPane.INFORMATION_MESSAGE, iconB));\r\n\r\n menu.add(myInfoItem);\r\n myInfoItem.setEnabled(false);\r\n \r\n menu.add(myAboutItem);\r\n \r\n return menu;\r\n }", "title": "" }, { "docid": "da4a8783dd6b255fc2c253892a20bfd7", "score": "0.70840317", "text": "public MenuInfo() {\r\n super();\r\n }", "title": "" }, { "docid": "4a3d397b443608435a3be5a3ceb6359a", "score": "0.6789653", "text": "private Component createInfoPanel() {\n\t\tVerticalPanel result = new VerticalPanel();\n\t\tJLabel text=new JLabel(\"<html>This is the <i>Interaction Toolbox</i><br/><br/><br/>Author: <b>Stephan Richter</b><br/>Bio System Analysis Group<br/><br/>Get more info at http://www.biosys.uni-jena.de<br/><br/>Bitte beachten sie bei den hiermit untersuchten Modellen, dass evtl. falsche Daten durch uneindeutige Annotation entstehen können.<br/><br/>(siehe Genome annotation errors in pathway databases due to semantic abiguity in partial EC numbers)\");\n\t\tresult.add(text);\n\t\tresult.scale();\n\t return result;\n }", "title": "" }, { "docid": "67970920716dd05e657c9d40170673b1", "score": "0.67826855", "text": "private static void addHelpItems() {\n\t\taboutGreenfoot = new JMenuItem(\"About Greenfoot...\");\n\t\taboutGreenfoot.setBorder(BorderFactory.createEmptyBorder(5,20,5,5));\n\t\t\n\t\t// Setting up key event for \"ABOUT\" section.\n\t\taboutGreenfoot.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t// Shows the following text in message box when clicked on ABOUT sub menu...\n\t\t\t\tJOptionPane.showMessageDialog(GreenfootWorkArea.mainScreen, \"Program: Greenfoot Simulation Engine\\nVersion: v1.0.1.1\\nAuthor: Mandeep Koirala\\n----------------------------------------------\\nhttps://www.***greenfootsimuleng***.com\\n----------------------------------------------\\nGreenfoot Simulation Engine is a open source software designed for indie begineers\\n to develop simple and easy games at no time cost.\\n\\n See our Help section for examples\\n OR visit https://www.***greenfootsimuleng***.com for more information.\");\n\t\t\t}\n\t\t});\n\t\t\n\t\tgreenfootTutorial = new JMenuItem(\"Greenfoot Help\");\n\t\tgreenfootTutorial.setBorder(BorderFactory.createEmptyBorder(5,20,5,5));\n\t\t\n\t\t// Setting up key event to \"TUTORIAL\" section..\n\t\tgreenfootTutorial.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t// Shows the following text in message box when clicked on TUTORIAL sub menu...\n\t\t\t\tJOptionPane.showMessageDialog(GreenfootWorkArea.mainScreen, \"Help Tutorials are being developed for offline usage.\\n Please visit https://www.***greenfootsimuleng***.com till then.\");\n\t\t\t}\n\t\t});\n\t\t\n\t\tgreenfootDiscussion = new JMenuItem(\"Greenfoot Discussion\");\n\t\tgreenfootDiscussion.setBorder(BorderFactory.createEmptyBorder(5,20,5,5));\n\t\t\n\t\t// Adding above configured sub menus to the HELP menu\n\t\thelpMenu.add(aboutGreenfoot);\n\t\thelpMenu.add(greenfootTutorial);\n\t\thelpMenu.addSeparator();\n\t\thelpMenu.add(greenfootDiscussion);\n\t\t\n\t\t// Adding Help menu to the main menu\n\t\tmenubar.add(helpMenu);\n\t}", "title": "" }, { "docid": "f1a71822514014f486fa03c75a0ecb7e", "score": "0.65816265", "text": "public Help(OperationsControl gameController)\n {\n super(\"Pomoc\");\n JMenuItem aboutProgram = new JMenuItem(\"O programie\", new ImageIcon(\"images/info.png\"));\n aboutProgram.addActionListener(event -> gameController.showGameInformation());\n add(aboutProgram);\n }", "title": "" }, { "docid": "e533d78d5854724b3051fdc2382fbb9c", "score": "0.6497113", "text": "private void aboutMenuItemActionPerformed(ActionEvent evt) \r\n\t{\r\n\t\tDialogHelper\r\n\t\t\t\t.$showInfoMessage(\"ZWARTJAS\\n\\nZwartJas is ontwikkeld door:\\n\\n- Nico Dros\\n- Jeroen Sen\\n- Erwin Goossen\\n- Bas Elbers\\n\\nVeel Plezier!!\");\r\n\t}", "title": "" }, { "docid": "224103e29e30705c069be28cf4ccda1f", "score": "0.64694494", "text": "private JMenuItem getAboutMenuItem() {\n\n if (aboutMenuItem == null) {\n aboutMenuItem = new JMenuItem();\n aboutMenuItem.setText(Resources.SUITE_ABOUT);\n aboutMenuItem.setIcon(SensibleToolkit.createImageIcon(Resources.IMG_HELP));\n aboutMenuItem.addActionListener(this);\n }\n return aboutMenuItem;\n }", "title": "" }, { "docid": "34c263e0d034e568108deff23ef558c4", "score": "0.64459956", "text": "private void setupInfoPanel() {\n\t\t_emptyText = new Text(\"Game \" + _gamenum + \" slot EMPTY\");\n\n\t\tVBox info = new VBox();\n\n\t\tText gen = new Text(\"Current Generation:\");\n\t\t_generationText = new Text(\"\");\n\n\t\tText bLeft = new Text(\"Birds Alive:\");\n\n\t\t_birdsLeftText = new Text(\"\");\n\n\t\tText prevMaxFit = new Text(\"Last Gen Max Fitness:\");\n\t\t_previousMaxFitText = new Text(\"\");\n\n\t\tText prevAvgFit = new Text(\"Last Gen Avg Fitness:\");\n\t\t_previousAvgFitText = new Text(\"\");\n\n\t\tinfo.getChildren().addAll(gen, _generationText, bLeft, _birdsLeftText, prevMaxFit, _previousMaxFitText,\n\t\t\t\tprevAvgFit, _previousAvgFitText);\n\n\t\tButton deleteGame = new Button(\"Delete\");\n\n\t\tdeleteGame.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler<MouseEvent>() {\n\t\t\t@Override\n\t\t\tpublic void handle(MouseEvent e) {\n\t\t\t\t_organizer.getGame().stopT();\n\t\t\t\t_parent.deleteGame(_organizer);\n\t\t\t\tGameView.this.removeGame();\n\t\t\t}\n\t\t});\n\n\t\t_infoPanel = new HBox(info, deleteGame);\n\n\t\t_infoPanel.setSpacing(15);\n\n\t\t_root = new TitledPane(\"Game \" + _gamenum, _emptyText);\n\t}", "title": "" }, { "docid": "4a4f6e4f6acf00a7b018b80d9858b305", "score": "0.6429051", "text": "public void setUpInfoPanel() {\n\t\tlogo = new EmptyAbstractActorLight(493, 169, true);\n\t\tlogo.setPosition(100*AppSettings.getWorldPositionXRatio(), AppSettings.WORLD_HEIGHT - 1.2f*logo.getHeight());\t\t\n\t\tlogo.setTextureRegion(Assets.logo, true);\n\t\tgetStage().addActor(logo);\n\t\t\n\t\tcreditsButton = MenuCreator.createCustomGameButton(Assets.whiteFont,\n\t\t\t\tAssets.nothing, Assets.nothing, 400*AppSettings.getWorldPositionXRatio(), 85*AppSettings.getWorldPositionYRatio(), true);\n\t creditsButton.setPosition(50*AppSettings.getWorldPositionXRatio(), 60*AppSettings.getWorldPositionYRatio());\n\t creditsButton.setTextureExternalSize(400*AppSettings.getWorldPositionXRatio(), 85*AppSettings.getWorldPositionYRatio());\n\t creditsButton.setTextPosXY(0, -10*AppSettings.getWorldPositionYRatio());\n\t creditsButton.setText(\"Last Credit Ranking\", true);\n\t \n\t switch(Settings.getLastCredit()){\n\t\tcase 1:\n\t\t\tcreditsButton.setTextureExternal(Assets.star1, true);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 2:\n\t\t\tcreditsButton.setTextureExternal(Assets.star2, true);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 3:\n\t\t\tcreditsButton.setTextureExternal(Assets.star3, true);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 4:\n\t\t\tcreditsButton.setTextureExternal(Assets.star4, true);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 5:\n\t\t\tcreditsButton.setTextureExternal(Assets.star5, true);\n\t\t\tbreak;\n\t\t\t\n\t\tdefault:\n\t\t\tcreditsButton.setTextureExternal(Assets.star1, true);\n\t\t\tbreak;\n\t\t\t\t\n\t\t}\n\t \n\t getStage().addActor(creditsButton);\n\t}", "title": "" }, { "docid": "44c3f1b73cc31734dd70624c8944514f", "score": "0.6428417", "text": "private javax.swing.JMenuItem getMniAbout() {\n\tif (ivjMniAbout == null) {\n\t\ttry {\n\t\t\tivjMniAbout = new javax.swing.JMenuItem();\n\t\t\tivjMniAbout.setName(\"MniAbout\");\n\t\t\tivjMniAbout.setText(\"Info...\");\n\t\t\t// user code begin {1}\n\t\t\tivjMniAbout.setText(CommonUserAccess.getMniHelpAboutText());\n\t\t\t// user code end\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t// user code begin {2}\n\t\t\t// user code end\n\t\t\thandleException(ivjExc);\n\t\t}\n\t}\n\treturn ivjMniAbout;\n}", "title": "" }, { "docid": "384b51b8f43507612953335b0f1227cc", "score": "0.6407684", "text": "@Override\r\n\tprotected JMenuItem createActionComponent(Action a) {\r\n\t\tJMenuItem mi = new JMenuItem((String) a.getValue(Action.NAME), (Icon) a.getValue(Action.SMALL_ICON)) {\r\n\r\n\t\t\t@Override\r\n\t\t\tprotected PropertyChangeListener createActionPropertyChangeListener(Action a) {\r\n\t\t\t\tPropertyChangeListener pcl = createActionChangeListener(this);\r\n\r\n\t\t\t\tif (pcl == null) {\r\n\t\t\t\t\tpcl = super.createActionPropertyChangeListener(a);\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn pcl;\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tmi.setHorizontalTextPosition(SwingConstants.RIGHT);\r\n\t\tmi.setVerticalTextPosition(SwingConstants.CENTER);\r\n\t\tmi.setEnabled(a.isEnabled());\r\n\r\n\t\treturn mi;\r\n\t}", "title": "" }, { "docid": "5c4da3b64c17c368fae4993e1a1839d3", "score": "0.63596886", "text": "private void infoMessage() {\n JOptionPane.showMessageDialog(getMainFrame(), Gui.getMessages().getString(\"mainMenuInfo\"),\n Gui.getMessages().getString(\"help\"), JOptionPane.INFORMATION_MESSAGE);\n }", "title": "" }, { "docid": "1bb4015dbc2cb13b9f7d0a41362674ee", "score": "0.63181835", "text": "private JMenuItem getAboutMenuItem() {\n\t\tif (aboutMenuItem == null) {\n\t\t\taboutMenuItem = new JMenuItem();\n\t\t\taboutMenuItem.setText(\"About\");\n\t\t\taboutMenuItem.addActionListener(new ActionListener() {\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tJDialog aboutDialog = getAboutDialog();\n\t\t\t\t\t//aboutDialog.pack();\n\t\t\t\t\tPoint loc = getJFrame().getLocation();\n\t\t\t\t\tloc.translate(20, 20);\n\t\t\t\t\taboutDialog.setLocation(loc);\n\t\t\t\t\taboutDialog.setVisible(true);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn aboutMenuItem;\n\t}", "title": "" }, { "docid": "ac1320ee506cae026544bacabc490f9b", "score": "0.6268088", "text": "private JMenuItem getAboutMenuItem() {\r\n\t\tif (aboutMenuItem == null) {\r\n\t\t\taboutMenuItem = new JMenuItem();\r\n\t\t\taboutMenuItem.setText(\"About\");\r\n\t\t\taboutMenuItem.addActionListener(new ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\tJDialog aboutDialog = getAboutDialog();\r\n\t\t\t\t\taboutDialog.pack();\r\n\t\t\t\t\tPoint loc = getJFrame().getLocation();\r\n\t\t\t\t\tloc.translate(20, 20);\r\n\t\t\t\t\taboutDialog.setLocation(loc);\r\n\t\t\t\t\taboutDialog.setVisible(true);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn aboutMenuItem;\r\n\t}", "title": "" }, { "docid": "19ea555faf520e62e8129e8f43d3effc", "score": "0.62036204", "text": "private void buildMenu()\n {\n //add action listeners to the menu buttons\n setUp.addActionListener(this);\n overView.addActionListener(this);\n rollPhase.addActionListener(this);\n building.addActionListener(this);\n devCards.addActionListener(this);\n trade.addActionListener(this);\n \n //Add menu items to the menu\n help.add(overView);\n help.add(setUp);\n help.add(rollPhase);\n help.add(building);\n help.add(devCards);\n help.add(trade);\n menu.add(help);\n menu.setBackground(Color.CYAN);\n setJMenuBar(menu);\n }", "title": "" }, { "docid": "458a243c6ec4940bd366f24a47910206", "score": "0.6167535", "text": "private JMenu createToolsMenu(){\r\n\t\tmnTools = new JMenu(\"Tools\");\r\n\t\tmnTools.setMnemonic(KeyEvent.VK_T);\r\n\t\t\r\n\t\tJMenuItem mntmPreferences = new JMenuItem(\"Preferences\");\r\n\t\tmntmPreferences.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tnew PreferencesUI();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tdisplayErrorMessage();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnTools.add(mntmPreferences);\r\n\t\t\r\n\t\tJMenuItem mntmDatabaseInfo = new JMenuItem(\"Database Information\");\r\n\t\tmntmDatabaseInfo.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tnew DBInfoUI();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tdisplayErrorMessage();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnTools.add(mntmDatabaseInfo);\r\n\t\t\r\n\t\tmnTools.addSeparator();\r\n\t\t\r\n\t\tJMenuItem mntmDemoButtons = new JMenuItem(\"Demo\");\r\n\t\tmntmDemoButtons.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tnew DemoButtonsPanelUI();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tdisplayErrorMessage();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnTools.add(mntmDemoButtons);\r\n\t\t\r\n\t\treturn mnTools;\r\n\t}", "title": "" }, { "docid": "74c9ad1ca32511ef350cd715a3251fb2", "score": "0.61592853", "text": "@Override\r\n\t\t\t\tpublic void onInfoWindowClick(Marker arg0) {\n\t\t\t\t\tinfoItem(itm_id, itm_nombre, itm_direccion, itm_promedio);\r\n\t\t\t\t}", "title": "" }, { "docid": "e83c65c50edfcae63229592673f8c339", "score": "0.615067", "text": "private JMenuItem getAboutMenuItem() {\r\n\t\tif (aboutMenuItem == null) {\r\n\t\t\taboutMenuItem = new JMenuItem();\r\n\t\t\taboutMenuItem.setText(\"About\");\r\n\t\t\taboutMenuItem.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\tgetAboutDialog().setVisible(true);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn aboutMenuItem;\r\n\t}", "title": "" }, { "docid": "7bfe688fa825eb6d0cfd06f715e1d0d6", "score": "0.61286974", "text": "private void createMenu() {\r\n\t\tIMenuManager mgr = getViewSite().getActionBars().getMenuManager();\r\n\t\tmgr.add(_openCallersHierarchyAction);\r\n\t\tmgr.add(_openCalleesHierarchyAction);\r\n\t\tmgr.add(new Separator(\"Treeviewer actions\"));\r\n\t\tmgr.add(new TreeViewerActions.RefreshAction(_treeViewer));\r\n\t\tmgr.add(new TreeViewerActions.CollapseAllAction(_treeViewer));\r\n\t\tmgr.add(new TreeViewerActions.ClearViewerAction(_treeViewer));\r\n\t}", "title": "" }, { "docid": "b3f380d96414b31c09d14ee158840720", "score": "0.6106025", "text": "private javax.swing.JMenuItem getMniStructure() {\n\tif (ivjMniStructure == null) {\n\t\ttry {\n\t\t\tivjMniStructure = new javax.swing.JMenuItem();\n\t\t\tivjMniStructure.setName(\"MniStructure\");\n\t\t\tivjMniStructure.setText(\"Struktur...\");\n\t\t\t// user code begin {1}\n\t\t\tivjMniStructure.setText(getResourceString(\"MniStructure_text\"));\n\t\t\t// user code end\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t// user code begin {2}\n\t\t\t// user code end\n\t\t\thandleException(ivjExc);\n\t\t}\n\t}\n\treturn ivjMniStructure;\n}", "title": "" }, { "docid": "b7379005f7f9dad26a23e4381fc183c6", "score": "0.6095884", "text": "private static JMenuBar createMenu() {\n //main menu level\n JMenuBar menubar = new JMenuBar();\n JMenu fileMenu = new JMenu(texts.getString(\"menu.file.title\"));\n JMenu helpMenu = new JMenu(texts.getString(\"menu.help.title\"));\n menubar.add(fileMenu);\n menubar.add(createLookAndFeelMenu());\n menubar.add(Box.createHorizontalGlue());\n menubar.add(helpMenu);\n //menu File\n JMenuItem exitMenuItem = new JMenuItem(texts.getString(\"menu.exit\"));\n fileMenu.add(exitMenuItem);\n exitMenuItem.addActionListener(e -> System.exit(1));\n //menu Help\n JMenuItem aboutMenuItem = new JMenuItem(texts.getString(\"menu.about\"));\n helpMenu.add(aboutMenuItem);\n aboutMenuItem.addActionListener(e -> JOptionPane.showMessageDialog(frame, texts.getString(\"menu.about.text\"), texts.getString(\"menu.about\"), JOptionPane.INFORMATION_MESSAGE));\n //allows to select the item using Alt-A while in the menu\n aboutMenuItem.setMnemonic('A');\n //adds shortcut CTRL-A to the whole application\n aboutMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A, InputEvent.CTRL_DOWN_MASK));\n //menu item for displaying system info\n JMenuItem systemMenuItem = new JMenuItem(texts.getString(\"menu.system\"));\n helpMenu.add(systemMenuItem);\n systemMenuItem.addActionListener(e -> JOptionPane.showMessageDialog(frame,\n \"Locale: \" + Locale.getDefault() + \"\\n\"\n + \"JVM: \" + System.getProperty(\"java.vm.name\") + \" \" + System.getProperty(\"java.version\") + \"\\n\"\n + \"OS: \" + System.getProperty(\"os.name\") + \" \" + System.getProperty(\"os.arch\") + \" \" + System.getProperty(\"os.version\") + \"\\n\"\n + \"CPUs: \" + Runtime.getRuntime().availableProcessors(),\n texts.getString(\"menu.system\"),\n JOptionPane.INFORMATION_MESSAGE));\n systemMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_I, InputEvent.CTRL_DOWN_MASK));\n return menubar;\n }", "title": "" }, { "docid": "c1a1e192a1fe6885fe642f9e2067035c", "score": "0.6088969", "text": "private JMenuItem createMenuItem(String label, int mnemonic, char code)\n \t{\n \t\tJMenuItem item;\n \t\tif (code > 0)\n \t\t{\n \t\t\tBufferedImage img = new BufferedImage(16, 16, BufferedImage.TYPE_INT_RGB);\n \t\t\t\n \t\t\tGraphics2D g = img.createGraphics();\n \t\t\tMapCellRenderer.renderCell(g, 0, 0, 15, 15, code);\n \t\t\tg.setColor(Color.black);\n \t\t\tg.drawRect(0, 0, 16, 16);\n \t\t\tg.dispose();\n \t\t\t\n \t\t\titem = new JMenuItem(label, new ImageIcon(img));\n \t\t}\n \t\telse\n \t\t\titem = new JMenuItem(label);\n \t\t\n \t\titem.setMnemonic(mnemonic);\n \t\titem.addActionListener(this);\n \t\t\n \t\treturn item;\n \t}", "title": "" }, { "docid": "10585a36543f3ff136e68a92b83c7585", "score": "0.6082211", "text": "private void createMenu() {\n\t\tJMenuItem item;\n\t\t\n\t\titem = new JMenuItem(\"remove\");\n\t\titem.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\trenderer.deleteSelected();\n\t\t\t}\n\t\t});\n\t\tthis.add(item);\n\t}", "title": "" }, { "docid": "148d60906f7a585c8a68d05cd215b704", "score": "0.60715574", "text": "protected JMenu buildProcessingHelpMenu() {\n JMenu menu = new JMenu(\"Processing\");\n JMenuItem item;\n \n item = new JMenuItem(\"Getting Started\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://processing.org/learning/gettingstarted/\");\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Environment\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.showEnvironment();\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Troubleshooting\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.showTroubleshooting();\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Reference\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.showReference();\n }\n });\n menu.add(item);\n \n item = newJMenuItemShift(\"Find in Reference\", 'F');\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n if (textarea.isSelectionActive()) {\n handleFindReference();\n }\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Frequently Asked Questions\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://processing.org/faq.html\");\n }\n });\n menu.add(item);\n \n item = newJMenuItem(\"Visit Processing.org\", '5');\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://processing.org/\");\n }\n });\n menu.add(item);\n \n return menu;\n }", "title": "" }, { "docid": "e8e8094e574a1e994047e5fac5c59288", "score": "0.6053031", "text": "private JMenu createHelpMenu(){\r\n\t\tmnHelp = new JMenu(\"Help\");\r\n\t\tmnHelp.setMnemonic(KeyEvent.VK_H);\r\n\t\t\r\n\t\tJMenuItem mntmAbout = new JMenuItem(\"About\");\r\n\t\tmntmAbout.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tnew AboutUI();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tdisplayErrorMessage();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnHelp.add(mntmAbout);\r\n\t\t\r\n\t\treturn mnHelp;\r\n\t}", "title": "" }, { "docid": "7d89168b7180da3d8ceb30e200782c99", "score": "0.6029267", "text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\r\n\t\tswitch (item.getItemId()) {\r\n\t\tcase R.id.info:\r\n\t\t\tLayoutInflater inflater = (LayoutInflater) this.getSystemService( Context.LAYOUT_INFLATER_SERVICE );\r\n\r\n\t\t\tView content = inflater.inflate( R.layout.dialog_infography, null );\r\n\t\t\tnew AlertDialog.Builder(this) \r\n\t\t\t.setTitle(\"Info\")\r\n\t\t\t.setView(content)\r\n\t\t\t.setPositiveButton(\"Ok\",null)\r\n\t\t\t.show();\r\n\t\t\tbreak;\r\n\r\n\t\tcase android.R.id.home:\r\n\t\t\tmenu.toggle();\r\n\t\t\tbreak;\r\n\t\tcase R.id.buildings:\r\n\t\t\tb_visible=!b_visible;\r\n\t\t\tmapHelper.setVisible(b_visible);\r\n\t\t\tbreak;\r\n\r\n\r\n\r\n\r\n\t\t}\r\n\t\treturn true;\r\n\r\n\t}", "title": "" }, { "docid": "ca42842c37ab400854241893aa6edf25", "score": "0.602891", "text": "private void setUpMenu() {\n JMenuBar menu = new JMenuBar();\n JMenu fileItem = new JMenu(\"File\");\n JMenuItem saveButton = new CustomMenuItem(\"Save\");\n JMenuItem loadButton = new CustomMenuItem(\"Load\");\n fileItem.add(saveButton);\n fileItem.add(loadButton);\n saveButton.addActionListener(actionListener);\n loadButton.addActionListener(actionListener);\n fileItem.setFont(new Font(DEFAULT_FONT, Font.PLAIN, 20));\n\n JMenu helpItem = new JMenu(\"Help\");\n helpItem.add(new CustomMenuItem(\"Rules\"));\n helpItem.setFont(new Font(DEFAULT_FONT, Font.PLAIN, 20));\n\n menu.add(fileItem);\n menu.add(helpItem);\n this.setJMenuBar(menu);\n }", "title": "" }, { "docid": "c17a45bbfc228405f00580ebd04dbdf1", "score": "0.6011691", "text": "private JMenuItem makeEntryMenu() {\n\n\t\tJMenuItem menuItemExit = new JMenuItem(\"About\", KeyEvent.VK_A);\n\t\tmenuItemExit.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A,\n\t\t\t\tActionEvent.ALT_MASK));\n\t\tmenuItemExit.setActionCommand(\"About\");\n\t\tmenuItemExit.addActionListener(this);\n\t\treturn menuItemExit;\n\n\t}", "title": "" }, { "docid": "12a9d8be3e35682d814b5cb099b73217", "score": "0.5998738", "text": "private void createMenu()\r\n{\r\n\t\tMenuBar mbar = new MenuBar();\r\n\t\tsetMenuBar(mbar);\r\n\t\tMenu file = new Menu(\"File\");\r\n\t\tMenuItem close = new MenuItem(\"Close\");\r\n\t\tfile.add(close);\r\n\t\tmbar.add(file);\r\n\t\tclose.addActionListener(this);\r\n\t\t\r\n}", "title": "" }, { "docid": "a5b2fd1df96045c307cd7e12a1824cfb", "score": "0.59901845", "text": "public FileFinderMenu(){\n menu = new JMenu(\"File\");\n JMenuItem exit = new JMenuItem(new AbstractAction(\"EXIT\") {\n @Override\n public void actionPerformed(ActionEvent e) {\n System.exit(0);\n }\n });\n menu.add(exit);\n this.add(menu);\n }", "title": "" }, { "docid": "85917beb35a01c9ee08f866c42e9484e", "score": "0.59833646", "text": "private void createMenu()\n {\n JMenuItem mItem;\n menuBar = new JMenuBar();\n menuBar.setPreferredSize(new Dimension(mainFrameWidth - sideBarWidth, 50));\n\n menuBar.add(new JMenu(\"Download\"));\n menuBar.add(new JMenu(\"Help\"));\n menuBar.getMenu(0).setMnemonic(KeyEvent.VK_D);\n menuBar.getMenu(1).setMnemonic(KeyEvent.VK_H);\n\n for (int i = 0; i < 7; i++)\n {\n mItem = new JMenuItem(menuItemNames[i]);\n mItem.setName(menuItemNames[i]);\n mItem.addActionListener(events);\n mItem.setMnemonic((int) menuItemNames[i].charAt(0));\n if (i == 4)\n mItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_R, KeyEvent.SHIFT_MASK));\n else\n mItem.setAccelerator(KeyStroke.getKeyStroke((int) menuItemNames[i].charAt(0), KeyEvent.ALT_MASK));\n\n menuBar.getMenu(0).add(mItem);\n }\n\n mItem = new JMenuItem(\"About\");\n mItem.setName(\"About\");\n mItem.addActionListener(events);\n mItem.setMnemonic(KeyEvent.VK_A);\n mItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A, KeyEvent.ALT_MASK));\n menuBar.getMenu(1).add(mItem);\n }", "title": "" }, { "docid": "efdf7e8d0e8e8953a0ae6fd4023fad15", "score": "0.5969885", "text": "public static String menu() {\n\t\tString info;\n\t\tinfo = \"\\n******* MENU *******\\n\\n\" \n\t\t\t\t+ \"1. Find Location of a Number\\n\" \n\t\t\t\t+ \"2. Find all locations of a Number\\n\"\n\t\t\t\t+ \"3. Insert a Number into Array\\n\" \n\t\t\t\t+ \"4. Find Max Value\\n\"\n\t\t\t\t+ \"5. Find Min Value\\n\"\n\t\t\t\t+ \"6. Quit\";\n\t\treturn info;\n\t}", "title": "" }, { "docid": "964214e2f6f38b608a33b8fd57da4cd5", "score": "0.596393", "text": "private JMenuItem makeItem(JMenu menu, String string, \n String actionCommand, char mnemonic) {\n\n JMenuItem menuItem = new JMenuItem(string);\n menuItem.setActionCommand(actionCommand);\n menuItem.addActionListener(trackPanel);\n menuItem.setMnemonic(mnemonic);\n menu.add(menuItem);\n\n return menuItem;\n }", "title": "" }, { "docid": "9c11a4af23a9ffde691e13dd1602cc7f", "score": "0.59638137", "text": "private void createMenu() {\r\n\t\tJMenuBar mbMenu = new JMenuBar();\r\n\t\tthis.setJMenuBar(mbMenu);\r\n\t\tJMenu mDialogs = new JMenu(\"File\");\r\n\t\tmbMenu.add(mDialogs);\r\n\t\tinitializeMenu(mDialogs);\r\n\t}", "title": "" }, { "docid": "9c11a4af23a9ffde691e13dd1602cc7f", "score": "0.59638137", "text": "private void createMenu() {\r\n\t\tJMenuBar mbMenu = new JMenuBar();\r\n\t\tthis.setJMenuBar(mbMenu);\r\n\t\tJMenu mDialogs = new JMenu(\"File\");\r\n\t\tmbMenu.add(mDialogs);\r\n\t\tinitializeMenu(mDialogs);\r\n\t}", "title": "" }, { "docid": "bbf9c65bc68ba359451f7f82b711adb1", "score": "0.5960863", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.panel_info, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "73bf57be4748ef2c3d91a2f658434b71", "score": "0.59414816", "text": "private static void addEditItems() {\n\t\tnewClass = new JMenuItem(\"New Class...\");\n\t\tnewClass.setBorder(BorderFactory.createEmptyBorder(5,20,5,5));\n\t\tnewClass.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, Event.CTRL_MASK));\n\t\t\n\t\timportClass = new JMenuItem(\"Import Class...\");\n\t\timportClass.setBorder(BorderFactory.createEmptyBorder(5,20,5,5));\n\t\timportClass.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_I, Event.CTRL_MASK));\n\t\t\n\t\tremoveClass = new JMenuItem(\"Remove Class\");\n\t\tremoveClass.setBorder(BorderFactory.createEmptyBorder(5,20,5,5));\n\t\tremoveClass.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_D, Event.CTRL_MASK));\n\t\tremoveClass.setEnabled(false); // Disabling the menu item from any events\n\t\t\n\t\tconvertClass = new JMenuItem(\"Convert class to Java\");\n\t\tconvertClass.setBorder(BorderFactory.createEmptyBorder(5,20,5,5));\n\t\tconvertClass.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Y, Event.CTRL_MASK));\n\t\tconvertClass.setEnabled(false); // Disabling the menu item from any events \n\t\t\n\t\tpreferences = new JMenuItem(\"Preferences\");\n\t\tpreferences.setBorder(BorderFactory.createEmptyBorder(5,20,5,5));\n\t\tpreferences.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_COMMA, Event.CTRL_MASK));\n\t\t\n\t\t// Adding the above configured sub menus to Edit menu\n\t\teditMenu.add(newClass);\n\t\teditMenu.add(importClass);\n\t\teditMenu.add(removeClass);\n\t\teditMenu.add(convertClass);\n\t\teditMenu.addSeparator(); // Adding a line of separation between two sub menus to differentiate sub categories\n\t\teditMenu.add(preferences);\n\t\t\n\t\t// Adding Edit menu to the main menubar\n\t\tmenubar.add(editMenu);\n\n\t}", "title": "" }, { "docid": "3b689dd3b140fe90391196f6fcbdf033", "score": "0.5922594", "text": "public AppMenu(AppFrame parent)\r\n\t{\r\n\t\tsuper();\r\n\t\t\r\n\t\tthis.parent = parent;\r\n\t\t\r\n\t\t// Initialise les composants\r\n\t\tthis.fileMenu = new JMenu();\r\n\t\tthis.infoMenu = new JMenu();\r\n\t\tthis.newDrawingItem = new JMenuItem();\r\n\t\tthis.aboutItem = new JMenuItem();\r\n\t\tthis.saveAsItem = new JMenuItem();\r\n\t\tthis.saveItem = new JMenuItem();\r\n\t\tthis.loadItem = new JMenuItem();\r\n\t\tthis.quitItem = new JMenuItem();\r\n\t\t\r\n\t\tthis.fileMenu.setText(\"Fichier\");\r\n\t\tthis.infoMenu.setText(\"?\");\r\n\t\t\r\n\t\tthis.newDrawingItem.setText(\"Nouveau dessin\");\r\n\t\tthis.newDrawingItem.setActionCommand(\"NEW_DRAWING\");\r\n\t\tthis.newDrawingItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, Event.CTRL_MASK));\r\n\t\t\r\n\t\tthis.aboutItem.setText(\"À propos...\");\r\n\t\tthis.aboutItem.setActionCommand(\"ABOUT\");\r\n\t\tthis.aboutItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0));\r\n\t\t\t\t\r\n\t\tthis.saveAsItem.setText(\"Enregistrer sous...\");\r\n\t\tthis.saveAsItem.setActionCommand(\"SAVE_AS\");\r\n\t\tthis.saveAsItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, Event.CTRL_MASK | Event.ALT_MASK));\r\n\t\t\r\n\t\tthis.saveItem.setText(\"Enregistrer\");\r\n\t\tthis.saveItem.setActionCommand(\"SAVE\");\r\n\t\tthis.saveItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, Event.CTRL_MASK));\r\n\t\t\r\n\t\tthis.loadItem.setText(\"Ouvrir...\");\r\n\t\tthis.loadItem.setActionCommand(\"LOAD\");\r\n\t\tthis.loadItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O, Event.CTRL_MASK));\r\n\t\t\r\n\t\tthis.quitItem.setText(\"Quitter\");\r\n\t\tthis.quitItem.setActionCommand(\"QUIT\");\r\n\t\tthis.quitItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, Event.CTRL_MASK));\r\n\r\n\t\tthis.fileMenu.add(this.newDrawingItem);\r\n\t\tthis.fileMenu.add(this.loadItem);\r\n\t\tthis.fileMenu.add(this.saveItem);\r\n\t\tthis.fileMenu.add(this.saveAsItem);\r\n\t\tthis.fileMenu.addSeparator();\r\n\t\tthis.fileMenu.add(this.quitItem);\r\n\t\t\r\n\t\tthis.infoMenu.add(this.aboutItem);\r\n\t\t\r\n\t\tthis.add(this.fileMenu);\r\n\t\tthis.add(this.infoMenu);\r\n\t\t\r\n\t\t// Spécifie les écouteurs pour les menus\r\n\t\tthis.newDrawingItem.addActionListener(this);\r\n\t\tthis.aboutItem.addActionListener(this);\r\n\t\tthis.saveAsItem.addActionListener(this);\r\n\t\tthis.saveItem.addActionListener(this);\r\n\t\tthis.loadItem.addActionListener(this);\r\n\t\tthis.quitItem.addActionListener(this);\r\n\t}", "title": "" }, { "docid": "3a0f03d742beb3fda19a01a3b4efed72", "score": "0.59188217", "text": "public LogoMenu_About(LogoInterface logointerface) {\n\t\tsuper(\"About\");\n\t\tthis.logointerface = logointerface;\n\t\tsetMnemonic(KeyEvent.VK_A);\n\n\t\tJMenuItem menuItem = makeEntryMenu();\n\n\t\tadd(menuItem);\n\t}", "title": "" }, { "docid": "1564598d153dd1c9c4d66dc930cebc20", "score": "0.5916848", "text": "private javax.swing.JMenuItem getMniHelp() {\n\tif (ivjMniHelp == null) {\n\t\ttry {\n\t\t\tivjMniHelp = new javax.swing.JMenuItem();\n\t\t\tivjMniHelp.setName(\"MniHelp\");\n\t\t\tivjMniHelp.setText(\"Hilfe...\");\n\t\t\t// user code begin {1}\n\t\t\tivjMniHelp.setText(CommonUserAccess.getMniHelpText());\n\t\t\t// user code end\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t// user code begin {2}\n\t\t\t// user code end\n\t\t\thandleException(ivjExc);\n\t\t}\n\t}\n\treturn ivjMniHelp;\n}", "title": "" }, { "docid": "20968d6d1fdf0512ad6897e2f7032bce", "score": "0.5914655", "text": "private void initMenu() {\n menueLeiste = new JMenuBar();\n\n file = new JMenu(\"File\");\n\n menueLeiste.add(file);\n\n open = new JMenuItem(\"open SQLFile\");\n open.addActionListener(customActionHandler);\n\n close = new JMenuItem(\"close program\");\n close.addActionListener(customActionHandler);\n\n file.add(open);\n file.addSeparator();\n file.add(close);\n\n }", "title": "" }, { "docid": "fbfed0726901772edd8a2c0dca71caed", "score": "0.591304", "text": "@Override\n\tpublic void onInfoClick(int pos) {\n\t\t\n\t}", "title": "" }, { "docid": "56bed32e38f45a60f42f0db6856c98bd", "score": "0.59103113", "text": "private void createMenu() {\n\t\tJPopupMenu.setDefaultLightWeightPopupEnabled(false);\r\n\r\n\t\tJMenuBar menuBar = new JMenuBar();\r\n\r\n\t\tJMenu menu = new JMenu(\"File\");\r\n\t\tJMenuItem openItem = new JMenuItem(\"Open...\");\r\n\t\tJMenuItem exitItem = new JMenuItem(\"Exit\");\r\n\r\n\t\tmenu.add(openItem);\r\n\t\tmenu.addSeparator();\r\n\t\tmenu.add(exitItem);\r\n\r\n\t\topenItem.addActionListener(new FlashComponent.OpenFileActionListener());\r\n\r\n\t\texitItem.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tdestroyOleObject();\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tmenuBar.add(menu);\r\n\r\n\t\tsetJMenuBar(menuBar);\r\n\t}", "title": "" }, { "docid": "858bd2740b91f1468e51df02f4e196c2", "score": "0.58875203", "text": "@Override\r\n\t\t\t\tpublic void onInfoWindowClick(Marker arg0) {\n\t\t\t\t\ttokenInfo = arg0.getSnippet().split(\"/\");\r\n\t\t\t\t\tinfoItem(tokenInfo[2],tokenInfo[3],tokenInfo[4],tokenInfo[0]);\r\n\t\t\t\t}", "title": "" }, { "docid": "858bd2740b91f1468e51df02f4e196c2", "score": "0.58875203", "text": "@Override\r\n\t\t\t\tpublic void onInfoWindowClick(Marker arg0) {\n\t\t\t\t\ttokenInfo = arg0.getSnippet().split(\"/\");\r\n\t\t\t\t\tinfoItem(tokenInfo[2],tokenInfo[3],tokenInfo[4],tokenInfo[0]);\r\n\t\t\t\t}", "title": "" }, { "docid": "9a02fdb293bacd8bb7e119019f543317", "score": "0.5879175", "text": "private void buildContextMenu(JPopupMenu popup)\n {\n /* MENU ITEM: show codon sequence. */\n JMenuItem menuItem = new JMenuItem(\"<html>View as <b>codon</b> sequences</html>\");\n menuItem.addActionListener(\n new ActionListener()\n {@Override\n public void actionPerformed(ActionEvent e)\n {\n selectedStructureType = BioStructure.Type.mRNAPrimaryStructure;\n fillContentBox();\n } });\n popup.add(menuItem);\n\n /* MENU ITEM: show aminoacid sequence. */\n menuItem = new JMenuItem(\"<html>View as <b>aminoacid</b> sequences</html>\");\n menuItem.addActionListener(\n new ActionListener()\n {@Override\n public void actionPerformed(ActionEvent e)\n {\n selectedStructureType = BioStructure.Type.proteinPrimaryStructure;\n fillContentBox();\n } });\n popup.add(menuItem);\n\n /* MENU ITEM: calculate protein secondary structure*/\n// menuItem = new JMenuItem(\"<html>View as <b>protein secondary structure</b></html>\");\n// final MultiSequencePanel instance = this;\n// menuItem.addActionListener(\n// new ActionListener()\n// {public void actionPerformed(ActionEvent e)\n// {\n// new Psipred(study.getResultingGene().getAminoacidSequence(), instance).start();\n// } });\n// popup.add(menuItem);\n\n //this.addMouseListener(this);\n }", "title": "" }, { "docid": "468608df7f4e6b560dd1d3f4bdb63629", "score": "0.58517694", "text": "private void setMenuSpecifications(){\n JPopupMenu popupMenu = new JPopupMenu();\n\n menuItemAnalyse = new JMenuItem(\"Analyser\");\n menuItemAnalyse.addActionListener(this);\n popupMenu.add(menuItemAnalyse);\n\n // sets the popup menu for the table\n specificationsTable.setComponentPopupMenu(popupMenu);\n }", "title": "" }, { "docid": "79db42d8625e1bb544817dcaa221e383", "score": "0.58436966", "text": "private CoeusMenu buildViewMenu(){\r\n CoeusMenu mnuMedusa = null;\r\n Vector fileChildren = new Vector();\r\n \r\n // For Display menu item\r\n display = new CoeusMenuItem(\"Display...\",null,true,true);\r\n display.setMnemonic('D');\r\n //display.addActionListener(this);\r\n \r\n // for Notepad menu item\r\n notepad = new CoeusMenuItem(\"Notepad...\",null,true,true);\r\n notepad.setMnemonic('t');\r\n //notepad.addActionListener(this);\r\n \r\n // for Negotiation menu item\r\n negotiation = new CoeusMenuItem(\"Negotiation...\",null,true,true);\r\n negotiation.setMnemonic('g');\r\n //negotiation.addActionListener(this);\r\n \r\n // for Award Hierarchy menu item\r\n awardHierarchy = new JCheckBoxMenuItem(\"Award Hierarchy\",null,false);\r\n awardHierarchy.setMnemonic('H');\r\n //awardHierarchy.addActionListener(this);\r\n \r\n // for Summary menu item\r\n summary = new JCheckBoxMenuItem(\"Summary\",null,true);\r\n summary.setMnemonic('S');\r\n //summary.addActionListener(this);\r\n \r\n // for Expand All menu item\r\n expandAll = new CoeusMenuItem(\"Expand All\",null,true,true);\r\n expandAll.setMnemonic('x');\r\n //expandAll.addActionListener(this);\r\n \r\n // for Collapse All menu item\r\n collapseAll = new CoeusMenuItem(\"Collapse All\",null,true,true);\r\n collapseAll.setMnemonic('l');\r\n //collapseAll.addActionListener(this);\r\n\r\n display.addActionListener(this);\r\n notepad.addActionListener(this);\r\n negotiation.addActionListener(this);\r\n awardHierarchy.addActionListener(this);\r\n summary.addActionListener(this);\r\n expandAll.addActionListener(this);\r\n collapseAll.addActionListener(this);\r\n \r\n // Add all the menu items to the vector \r\n fileChildren.add(display);\r\n fileChildren.add(notepad);\r\n fileChildren.add(negotiation);\r\n fileChildren.add(SEPERATOR);\r\n fileChildren.add(awardHierarchy);\r\n fileChildren.add(summary);\r\n fileChildren.add(SEPERATOR);\r\n fileChildren.add(expandAll);\r\n fileChildren.add(collapseAll);\r\n \r\n /* This is the Main View menu which will be added to the main MDIMenu*/\r\n mnuMedusa = new CoeusMenu(\"View\",null,fileChildren,true,true);\r\n mnuMedusa.setMnemonic('V');\r\n return mnuMedusa;\r\n }", "title": "" }, { "docid": "45463abca554c1ca2ba44373cdc37f9f", "score": "0.583834", "text": "private JMenu createAdministrationMenu(){\r\n\t\tmnAdministration = new JMenu(\"Administration\");\r\n\t\tmnAdministration.setMnemonic(KeyEvent.VK_A);\r\n\t\t\r\n\t\tJMenuItem mntmRequestItem = new JMenuItem(\"Request Item\");\r\n\t\tmntmRequestItem.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tnew RequestHandlerUI();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tdisplayErrorMessage();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmRequestItem);\r\n\t\t\r\n\t\tmnAdministration.addSeparator();\r\n\t\t\r\n\t\tJMenuItem mntmBooksAdministration = new JMenuItem(\"Books Administration\");\r\n\t\tmntmBooksAdministration.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_B, ActionEvent.CTRL_MASK));\r\n\t\tmntmBooksAdministration.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tUIDisplayManager.startBooksAdminUI();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmBooksAdministration);\r\n\t\t\r\n\t\tJMenuItem mntmUsersAdministration = new JMenuItem(\"Users Administration\");\r\n\t\tmntmUsersAdministration.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_U, ActionEvent.CTRL_MASK));\r\n\t\tmntmUsersAdministration.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tUIDisplayManager.startUsersAdminUI();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmUsersAdministration);\r\n\t\t\r\n\t\tJMenuItem mntmCardsAdministration = new JMenuItem(\"IDCards Administration\");\r\n\t\tmntmCardsAdministration.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_I, ActionEvent.CTRL_MASK));\r\n\t\tmntmCardsAdministration.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tUIDisplayManager.startIDCardsAdminUI();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmCardsAdministration);\r\n\t\t\r\n\t\tJMenuItem mntmLoansAdministration = new JMenuItem(\"Loans Administration\");\r\n\t\tmntmLoansAdministration.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_L, ActionEvent.CTRL_MASK));\r\n\t\tmntmLoansAdministration.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tUIDisplayManager.startLoansAdminUI();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmLoansAdministration);\r\n\t\t\r\n\t\tJMenuItem mntmFinesAdministration = new JMenuItem(\"Fines Administration\");\r\n\t\tmntmFinesAdministration.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F, ActionEvent.CTRL_MASK));\r\n\t\tmntmFinesAdministration.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tUIDisplayManager.startFinesAdminUI();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmFinesAdministration);\r\n\t\t\r\n\t\tJMenuItem mntmPaymentsAdministration = new JMenuItem(\"Payments Administration\");\r\n\t\tmntmPaymentsAdministration.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, ActionEvent.CTRL_MASK));\r\n\t\tmntmPaymentsAdministration.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tUIDisplayManager.startPaymentsAdminUI();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmPaymentsAdministration);\r\n\t\t\r\n\t\tJMenuItem mntmRequestsAdministration = new JMenuItem(\"Requests Administration\");\r\n\t\tmntmRequestsAdministration.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, ActionEvent.CTRL_MASK));\r\n\t\tmntmRequestsAdministration.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tUIDisplayManager.startRequestsAdminUI();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tdisplayErrorMessage();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmRequestsAdministration);\r\n\t\t\r\n\t\tJMenuItem mntmReservationsAdministration = new JMenuItem(\"Reservations Administration\");\r\n\t\tmntmReservationsAdministration.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_R, ActionEvent.CTRL_MASK));\r\n\t\tmntmReservationsAdministration.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tUIDisplayManager.startReservationsAdminUI();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmnAdministration.add(mntmReservationsAdministration);\r\n\t\t\r\n\t\treturn mnAdministration;\r\n\t}", "title": "" }, { "docid": "7cf2ab25116febd10bf14f5f55c3d053", "score": "0.5826348", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.info, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "5c4ad90a89317c8defea6640030853c2", "score": "0.5823035", "text": "protected abstract List<JMenuItem> createNewMenuItems();", "title": "" }, { "docid": "49d1d8819b79c7667c9df0e2e7561987", "score": "0.58183473", "text": "private JMenuBar createMenu()\n\t// this menu creates and returns a menu bar\n\t{\n\t\tJMenuBar menuBar = new JMenuBar();\n\n\t\t// Create a Menu to go on the MenuBar\n\t\tJMenu fileMenu = new JMenu(\"File\");\n\n\t\t// Add the Menu to the menu bar\n\t\tmenuBar.add(fileMenu);\n\n\t\t// Create a menu item (i.e. appears on list when you click on the menu)\n\t\tJMenuItem openMenuItem = new JMenuItem (\"Open file\");\n\n\t\t// Add the menu item to your menu\n\t\tfileMenu.add(openMenuItem);\n\n\t\t// Return the menubar that you created\n\t\treturn menuBar;\n\t}", "title": "" }, { "docid": "8ed25abc0fb1d7a5eed36a93e5815c3b", "score": "0.5816179", "text": "InfoWindow() {\n this.setTitle(\"Info\");\n text = new JTextArea();\n text.setText(\n \" Programación de Aplicaciones Interactivas.\\n 3º del Grado en \"\n + \"Ingeniería Informática. \\n Práctica 13: El juego de la vida\"\n + \". \\n Autor: Rubén Labrador Páez. \\n Correo Electrónico: \"\n + \"alu0100309553@ull.edu.es\");\n this.add(text);\n this.pack();\n }", "title": "" }, { "docid": "7d515e62f63bf74dbabebae0f83b6aab", "score": "0.5812379", "text": "private JMenuItem createMenuItem(String label, int mnemonic)\n \t{\n \t\treturn createMenuItem(label, mnemonic, (char)0);\n \t}", "title": "" }, { "docid": "ddbfa63a3b4f8b86bc152425b22222c8", "score": "0.5810377", "text": "private VerticalPanel createEventInfoUi ( EventInfo eventInfo ) {\n\n VerticalPanel p = new VerticalPanel ();\n p.addStyleName ( \"eventInfo\" );\n \n String html = \"<h4>\" + eventInfo.getName () + \"</h4>\";\n html += \"When: \" + eventInfo.getStartTime () + \", Where: \" + eventInfo.getLocation () + \"<br/>\";\n responsePanel.add ( new HTML ( html ) );\n \n SimplePanel mPanel = new SimplePanel ();\n\n Anchor mLink = new Anchor ( \"See who's attending\");\n mLink.addClickHandler ( new GetMembersClickHandler ( eventInfo.getEid (), mPanel ) );\n \n p.add ( mLink );\n p.add ( mPanel );\n \n return p;\n }", "title": "" }, { "docid": "b1803c6165ce1dd64b94519a16f8695f", "score": "0.58102334", "text": "public InfoCommand(CollectionManager collectionManager) {\n super(\"info\", \" вывести в стандартный поток вывода информацию о коллекции (тип, дата инициализации, количество элементов и т.д.)\");\n this.collectionManager = collectionManager;\n }", "title": "" }, { "docid": "19e60e3bd190fefed5c796e875441539", "score": "0.5810027", "text": "@Override\n void jMenuItemMetadataActionPerformed(java.awt.event.ActionEvent evt) {\n if (iioImageList == null) {\n JOptionPane.showMessageDialog(this, bundle.getString(\"Please_load_an_image.\"), APP_NAME, JOptionPane.INFORMATION_MESSAGE);\n return;\n }\n\n ImageInfoDialog dialog = new ImageInfoDialog(this, true);\n dialog.setImage(iioImageList.get(imageIndex));\n if (dialog.showDialog() == JOptionPane.OK_OPTION) {\n // Do nothing for now.\n // Initial plan was to implement various image manipulation operations\n // (rotate, flip, sharpen, brighten, threshold, clean up,...) here.\n }\n }", "title": "" }, { "docid": "304e9e3d0e69aba244214ec6f012f4a8", "score": "0.5806261", "text": "private JMenuItem createMenuItem( String menuText,\r\n String buttonText,\r\n ActionListener listener )\r\n {\r\n JMenuItem menuItem = new JMenuItem( buttonText );\r\n menuItem.addActionListener( listener );\r\n menuItem.setActionCommand( menuText + \"|\" + buttonText );\r\n return menuItem;\r\n }", "title": "" }, { "docid": "984c25597c8adde84756c080d10c83da", "score": "0.58058417", "text": "public void addItemInfo(){\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"-------------------------------------\");\r\n\t\tSystem.out.println(\" Product Information\" );\r\n\t\tSystem.out.println(\"-------------------------------------\");\r\n\t\tSystem.out.println(\" I.D.: \" + getpID() );\r\n\t\tSystem.out.println(\" Name: \" + getpName() );\r\n\t\tSystem.out.printf(\" Price: $%.2f/item\\n\", getUnitPrice());\r\n\t\tSystem.out.println(\" Stock Level: \" + stockLvl );\r\n\t\tSystem.out.println(\" Bulk min amount: \" + bulkQty );\r\n\t\tSystem.out.printf(\" Bulk discount: %.0f\", super.getBulkDis()*100);\r\n\t\tSystem.out.println(\"% off\");\r\n\r\n\t\tif(getUnitPrice() > getDisPrice())\t\r\n\t\t\tSystem.out.printf(\" Current Promotion: $%.2f ONLY\\n\", getDisPrice());\r\n\t\tSystem.out.println(\"-------------------------------------\");\r\n\t\tSystem.out.println();\r\n\t}", "title": "" }, { "docid": "6aee6f6bd41434e9ac513976bf07c1f0", "score": "0.58055896", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_item_info, menu);\n return true;\n }", "title": "" }, { "docid": "3d659ff2d93b5cde7ca7cfa5708e8fa2", "score": "0.5801102", "text": "private Menu() {\n\t\tsonidoMenu();\n\t\tsetSeleccionada(0);\n\t\tsetOpciones(new ArrayList<String>());\n\t\tgetOpciones().add(NEW);\n getOpciones().add(LOAD);\n getOpciones().add(HIS);\n\t\tgetOpciones().add(EXIT);\n\t}", "title": "" }, { "docid": "f76b4ad45056d98364fa1b5d3f89e9fd", "score": "0.5801054", "text": "public JMenu buildHelpMenu ()\n {\n JMenu menu = new JMenu(\"Help\");\n JMenuItem item;\n\n\t// TODO switch to \"http://js.processing.org/\"?\n\n item = new JMenuItem(\"QuickStart for Processing Devs\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Platform.openURL(\"http://processingjs.org/articles/p5QuickStart.html\");\n }\n });\n menu.add(item);\n\n item = new JMenuItem(\"QuickStart for JavaScript Devs\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Platform.openURL(\"http://processingjs.org/articles/jsQuickStart.html\");\n }\n });\n menu.add(item);\n\n /* TODO Implement an environment page\n item = new JMenuItem(\"Environment\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n showReference(\"environment\" + File.separator + \"index.html\");\n }\n });\n menu.add(item);\n */\n\n /* TODO Implement a troubleshooting page\n item = new JMenuItem(\"Troubleshooting\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Platform.openURL(\"http://wiki.processing.org/w/Troubleshooting\");\n }\n });\n menu.add(item);\n */\n\n item = new JMenuItem(\"Reference\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n //TODO get offline reference archive corresponding to the release\n // packaged with this mode see: P.js ticket 1146 \"Offline Reference\"\n Platform.openURL(\"http://processingjs.org/reference/\");\n }\n });\n menu.add(item);\n\n item = Toolkit.newJMenuItemShift(\"Find in Reference\", 'F');\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n //handleFindReferenceImpl();\n handleFindReference();\n }\n });\n menu.add(item);\n\n /* TODO FAQ\n item = new JMenuItem(\"Frequently Asked Questions\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Platform.openURL(\"http://wiki.processing.org/w/FAQ\");\n }\n });\n menu.add(item);\n */\n\n item = new JMenuItem(\"Visit Processingjs.org\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Platform.openURL(\"http://processingjs.org/\");\n }\n });\n menu.add(item);\n\n item = new JMenuItem(\"Report a JavaScriptMode bug\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Platform.openURL(\"https://github.com/fjenett/javascript-mode-processing/issues\");\n }\n });\n menu.add(item);\n\n // // OSX has its own about menu\n // if (!Base.isMacOS()) {\n // menu.addSeparator();\n // item = new JMenuItem(\"About Processing\");\n // item.addActionListener( new ActionListener() {\n // public void actionPerformed(ActionEvent e) {\n // base.handleAbout();\n // }\n // });\n // menu.add(item);\n // }\n\n return menu;\n }", "title": "" }, { "docid": "c438a41237660cf58fe6c313d148d7ad", "score": "0.5798791", "text": "private void createPopupMenu() {\n\t\t// Create menu manager\n\t\tMenuManager menuMgr = new MenuManager();\n\t\tmenuMgr.setRemoveAllWhenShown(true);\n\t\tmenuMgr.addMenuListener(new IMenuListener() {\n\t\t\tpublic void menuAboutToShow(IMenuManager mgr) {\n\t\t\t\tfillContextMenu(mgr);\n\t\t\t}\n\t\t});\n\n\t\t// Create menu.\n\t\tMenu menu = menuMgr.createContextMenu(viewer.getControl());\n\t\tviewer.getControl().setMenu(menu);\n\n\t\t// Register menu for extension.\n\t\tgetSite().registerContextMenu(menuMgr, viewer);\n\t}", "title": "" }, { "docid": "62c03cfc92d9ea5bf3c68d309d2d274a", "score": "0.5795016", "text": "private static void addMenu() {\n\t\tscenarioMenu = new JMenu(\"Scenario\");\n\t\teditMenu = new JMenu(\"Edit\");\n\t\tcontrolsMenu = new JMenu(\"Controls\");\n\t\thelpMenu = new JMenu(\"Help\");\n\t}", "title": "" }, { "docid": "fceb9ba9ac2b4fffa5122939c532db14", "score": "0.5793659", "text": "void setInfoDialog(String title, String text);", "title": "" }, { "docid": "7dc8c9b5c65a48b3d410d9ebe460f8e1", "score": "0.5791692", "text": "public void buildMenu() {\n\t\tmenuBar = new JMenuBar();\r\n\t\tfileMenu = new JMenu(\"File\");\r\n\r\n\t\tJMenuItem menuItem = new JMenuItem(\"Reset\");\r\n\t\tfileMenu.add(menuItem);\r\n\t\tmenuItem.addActionListener(phil);\r\n\t\t\r\n\t\tmenuItem = new JMenuItem(\"Save\");\r\n\t\tfileMenu.add(menuItem);\r\n\t\tmenuItem.addActionListener(phil);\r\n\t\t\r\n\t\tsubMenu = new JMenu(\"Read\");\r\n\t\tfileMenu.add(subMenu);\r\n\t\tmenuItem.addActionListener(phil);\r\n\t\t\r\n\t\tJMenuItem subMenuItem = new JMenuItem(\"Easy Puzzle 1\");\r\n\t\tsubMenu.add(subMenuItem);\r\n\t\tsubMenuItem.addActionListener(phil);\r\n\t\t\r\n\t\tsubMenuItem = new JMenuItem(\"Easy Puzzle 2\");\r\n\t\tsubMenu.add(subMenuItem);\r\n\t\tsubMenuItem.addActionListener(phil);\r\n\t\t\r\n\t\tsubMenuItem = new JMenuItem(\"Easy Puzzle 3\");\r\n\t\tsubMenu.add(subMenuItem);\r\n\t\tsubMenuItem.addActionListener(phil);\r\n\t\t\r\n\t\tsubMenuItem = new JMenuItem(\"Saved Puzzle\");\r\n\t\tsubMenu.add(subMenuItem);\r\n\t\tsubMenuItem.addActionListener(phil);\r\n\t\t\r\n\t\t\r\n\t\tmenuItem = new JMenuItem(\"Exit\");\r\n\t\tfileMenu.add(menuItem);\r\n\t\tmenuItem.addActionListener(phil);\r\n\r\n\t\tmenuBar.add(fileMenu);\r\n\r\n\t\tsetJMenuBar(menuBar);\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a4dcbe4c8489f23cf0a4d02f5e9195a7", "score": "0.57905555", "text": "private void buildMenu() {\r\n // setup file menu\r\n JMenuItem exitMenuItem = new JMenuItem();\r\n \r\n // Setup ResourceUtils\r\n ResourceUtils.resButton(connectMenu, \"&\" + Default.getString(Default.APPLICATION_NAME));\r\n ResourceUtils.resButton(contactsMenu, Res.getString(\"menuitem.contacts\"));\r\n ResourceUtils.resButton(actionsMenu, Res.getString(\"menuitem.actions\"));\r\n ResourceUtils.resButton(exitMenuItem, Res.getString(\"menuitem.exit\"));\r\n ResourceUtils.resButton(pluginsMenu, Res.getString(\"menuitem.plugins\"));\r\n \r\n exitMenuItem.setIcon(null);\r\n \r\n mainWindowBar.add(connectMenu);\r\n mainWindowBar.add(contactsMenu);\r\n mainWindowBar.add(actionsMenu);\r\n //mainWindowBar.add(pluginsMenu);\r\n mainWindowBar.add(helpMenu);\r\n \r\n \r\n preferenceMenuItem = new JMenuItem(SparkRes.getImageIcon(SparkRes.PREFERENCES_IMAGE));\r\n preferenceMenuItem.setText(Res.getString(\"title.spark.preferences\"));\r\n preferenceMenuItem.addActionListener(this);\r\n connectMenu.add(preferenceMenuItem);\r\n connectMenu.addSeparator();\r\n \r\n JMenuItem logoutMenuItem = new JMenuItem();\r\n ResourceUtils.resButton(logoutMenuItem, Res.getString(\"menuitem.logout.no.status\"));\r\n logoutMenuItem.addActionListener(new ActionListener() {\r\n public void actionPerformed(ActionEvent e) {\r\n logout(false);\r\n }\r\n });\r\n \r\n JMenuItem logoutWithStatus = new JMenuItem();\r\n ResourceUtils.resButton(logoutWithStatus, Res.getString(\"menuitem.logout.with.status\"));\r\n logoutWithStatus.addActionListener(new ActionListener() {\r\n public void actionPerformed(ActionEvent e) {\r\n logout(true);\r\n }\r\n });\r\n \r\n \r\n if (Spark.isWindows()) {\r\n connectMenu.add(logoutMenuItem);\r\n connectMenu.add(logoutWithStatus);\r\n }\r\n \r\n connectMenu.addSeparator();\r\n \r\n connectMenu.add(exitMenuItem);\r\n \r\n Action showTrafficAction = new AbstractAction() {\r\n public void actionPerformed(ActionEvent actionEvent) {\r\n EnhancedDebuggerWindow window = EnhancedDebuggerWindow.getInstance();\r\n window.setVisible(true);\r\n }\r\n };\r\n showTrafficAction.putValue(Action.NAME, Res.getString(\"menuitem.show.traffic\"));\r\n showTrafficAction.putValue(Action.SMALL_ICON, SparkRes.getImageIcon(SparkRes.TRAFFIC_LIGHT_IMAGE));\r\n \r\n Action updateAction = new AbstractAction() {\r\n public void actionPerformed(ActionEvent actionEvent) {\r\n checkForUpdates(true);\r\n }\r\n };\r\n \r\n updateAction.putValue(Action.NAME, Res.getString(\"menuitem.check.for.updates\"));\r\n updateAction.putValue(Action.SMALL_ICON, SparkRes.getImageIcon(SparkRes.DOWNLOAD_16x16));\r\n \r\n // Build Help Menu\r\n helpMenu.add(helpMenuItem);\r\n helpMenu.add(showTrafficAction);\r\n helpMenu.add(updateAction);\r\n \r\n // Add Error Dialog Viewer\r\n Action viewErrors = new AbstractAction() {\r\n public void actionPerformed(ActionEvent e) {\r\n File logDir = new File(Spark.getLogDirectory(), \"errors.log\");\r\n if (!logDir.exists()) {\r\n JOptionPane.showMessageDialog(SparkManager.getMainWindow(), \"No error logs found.\", \"Error Log\", JOptionPane.INFORMATION_MESSAGE);\r\n }\r\n else {\r\n showErrorLog();\r\n }\r\n }\r\n };\r\n \r\n viewErrors.putValue(Action.NAME, \"View Logs\");\r\n \r\n helpMenu.add(viewErrors);\r\n \r\n helpMenu.addSeparator();\r\n helpMenu.add(menuAbout);\r\n \r\n // ResourceUtils - Adds mnemonics\r\n ResourceUtils.resButton(preferenceMenuItem, Res.getString(\"menuitem.preferences\"));\r\n ResourceUtils.resButton(helpMenu, Res.getString(\"menuitem.help\"));\r\n ResourceUtils.resButton(menuAbout, Res.getString(\"menuitem.about\"));\r\n ResourceUtils.resButton(helpMenuItem, Res.getString(\"menuitem.online.help\"));\r\n \r\n // Register shutdown with the exit menu.\r\n exitMenuItem.addActionListener(new AbstractAction() {\r\n public void actionPerformed(ActionEvent e) {\r\n shutdown();\r\n }\r\n });\r\n \r\n helpMenuItem.addActionListener(new AbstractAction() {\r\n public void actionPerformed(ActionEvent e) {\r\n try {\r\n BrowserLauncher.openURL(\"http://www.jivesoftware.org/community/forum.jspa?forumID=49\");\r\n }\r\n catch (Exception browserException) {\r\n Log.error(\"Error launching browser:\", browserException);\r\n }\r\n }\r\n });\r\n \r\n // Show About Box\r\n menuAbout.addActionListener(new AbstractAction() {\r\n public void actionPerformed(ActionEvent e) {\r\n showAboutBox();\r\n }\r\n });\r\n \r\n int delay = 15000; // 15 sec\r\n Date timeToRun = new Date(System.currentTimeMillis() + delay);\r\n Timer timer = new Timer();\r\n \r\n timer.schedule(new TimerTask() {\r\n public void run() {\r\n checkForUpdates(false);\r\n }\r\n }, timeToRun);\r\n \r\n }", "title": "" }, { "docid": "6a02f94784783bdde03f0c57b5e72ca1", "score": "0.57887995", "text": "private javax.swing.JMenuItem getMniNewFile() {\n\tif (ivjMniNewFile == null) {\n\t\ttry {\n\t\t\tivjMniNewFile = new javax.swing.JMenuItem();\n\t\t\tivjMniNewFile.setName(\"MniNewFile\");\n\t\t\tivjMniNewFile.setText(\"Neu\");\n\t\t\tivjMniNewFile.setActionCommand(\"MniNewFile\");\n\t\t\t// user code begin {1}\n\t\t\tivjMniNewFile.setText(CommonUserAccess.getMniFileNewText());\n\t\t\t// user code end\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t// user code begin {2}\n\t\t\t// user code end\n\t\t\thandleException(ivjExc);\n\t\t}\n\t}\n\treturn ivjMniNewFile;\n}", "title": "" }, { "docid": "8c05711b6bb0d2a59ddd67eec6b1a83b", "score": "0.5788707", "text": "protected JMenu newHelpMenu(final ActionListener listener)\n\t{\n\t\t// Help menu\n\t\tfinal JMenu menuHelp = new JMenu(newLabelTextHelp());\n\t\tmenuHelp.setMnemonic('H');\n\n\t\t// Help JMenuItems\n\t\t// Help content\n\t\tfinal JMenuItem mihHelpContent = JComponentFactory.newJMenuItem(newLabelTextContent(), 'c',\n\t\t\t'H');\n\t\tmenuHelp.add(mihHelpContent);\n\n\t\t// 2. assign help to components\n\t\tCSH.setHelpIDString(mihHelpContent, newLabelTextOverview());\n\t\t// 3. handle events\n\t\tfinal CSH.DisplayHelpFromSource displayHelpFromSource = new CSH.DisplayHelpFromSource(\n\t\t\thelpBroker);\n\t\tmihHelpContent.addActionListener(displayHelpFromSource);\n\t\t// Donate\n\t\tfinal JMenuItem mihDonate = new JMenuItem(newLabelTextDonate());\n\t\tmihDonate.addActionListener(\n\t\t\tnewOpenBrowserToDonateAction(newLabelTextDonate(), applicationFrame));\n\t\tmenuHelp.add(mihDonate);\n\t\t// Licence\n\t\tfinal JMenuItem mihLicence = new JMenuItem(newLabelTextLicence());\n\t\tmihLicence.addActionListener(\n\t\t\tnewShowLicenseFrameAction(newLabelTextLicence() + \"Action\", newLabelTextLicence()));\n\t\tmenuHelp.add(mihLicence);\n\t\t// Info\n\t\tfinal JMenuItem mihInfo = new JMenuItem(newLabelTextInfo(), 'i'); // $NON-NLS-1$\n\t\tMenuExtensions.setCtrlAccelerator(mihInfo, 'I');\n\n\t\tmihInfo.addActionListener(newShowInfoDialogAction(newLabelTextInfo(),\n\t\t\t(Frame)applicationFrame, newLabelTextInfo()));\n\t\tmenuHelp.add(mihInfo);\n\n\t\treturn menuHelp;\n\t}", "title": "" }, { "docid": "0d59beb901dc591deed4d4a7696a12a9", "score": "0.57836705", "text": "void jMenuHelpAbout_actionPerformed(ActionEvent actionEvent) {\n OOGLViewerFrame_AboutBox dlg = new OOGLViewerFrame_AboutBox(this);\n Dimension dlgSize = dlg.getPreferredSize();\n Dimension frmSize = getSize();\n Point loc = getLocation();\n dlg.setLocation( (frmSize.width - dlgSize.width) / 2 + loc.x, (frmSize.height - dlgSize.height) / 2 + loc.y);\n dlg.setModal(true);\n dlg.pack();\n dlg.setVisible(true);\n }", "title": "" }, { "docid": "6b3214ce6598f006b0e741765629247f", "score": "0.57824475", "text": "private void addComponents() {\n menuFile.setFont(menuFont);\n menuFile.setIconTextGap(10);\n menuTools.setFont(menuFont);\n menuTools.setIconTextGap(10);\n menuSettings.setFont(menuFont);\n menuSettings.setIconTextGap(10);\n menuPreferences.setFont(menuFont);\n menuPreferences.setIconTextGap(10);\n menuAbout.setFont(menuFont);\n menuAbout.setIconTextGap(10);\n itemAbout.setFont(itemFont);\n itemExitProgram.setFont(itemFont);\n itemExitProgram.setToolTipText(\"Click here to exit the program\");\n itemExitProgram.setIconTextGap(10);\n itemSaveImageAs.setFont(itemFont);\n itemImportImage.setFont(itemFont);\n itemImportImage.setIconTextGap(10);\n itemImportImage.setToolTipText(\"Import image\");\n itemSaveImageAs.setIconTextGap(10);\n itemSaveImageAs.setToolTipText(\"Save image as\");\n itemAbout.setToolTipText(\"Click here to view information about this program\");\n itemAbout.setIconTextGap(10);\n itemExitProgram.setIconTextGap(10);\n itemChangePaintColor.setFont(itemFont);\n itemChangePaintColor.setToolTipText(\"Click here to change paint color\");\n itemChangePaintColor.setIconTextGap(10);\n itemErasePaint.setFont(itemFont);\n itemErasePaint.setToolTipText(\"Click here to start erasing paint\");\n itemErasePaint.setIconTextGap(10);\n itemChangePaintSize.setFont(itemFont);\n itemChangePaintSize.setToolTipText(\"Click here to change paint size\");\n itemChangePaintSize.setIconTextGap(10);\n itemSaveToConfig.setToolTipText(\"Click here to save current variables to config\");\n itemSaveToConfig.setIconTextGap(10);\n itemSaveToConfig.setFont(itemFont);\n itemResetConfigOverride.setFont(itemFont);\n itemResetConfigOverride.setIconTextGap(10);\n itemResetConfigOverride.setToolTipText(\"Click here to reset current config\");\n itemCreateNewDrawboard.setFont(itemFont);\n itemCreateNewDrawboard.setIconTextGap(10);\n itemCreateNewDrawboard.setToolTipText(\"Click here to create a new draw board\");\n itemChangeScale.setFont(itemFont);\n itemChangeScale.setIconTextGap(10);\n itemChangeScale.setToolTipText(\"Click here to change the scale\");\n itemChangeFPS.setFont(itemFont);\n itemChangeFPS.setIconTextGap(10);\n itemChangeFPS.setToolTipText(\"Click here to change the fps\");\n itemChangeUpdates.setFont(itemFont);\n itemChangeUpdates.setIconTextGap(10);\n itemChangeUpdates.setToolTipText(\"Click here to change the ups\");\n itemChangeBackgroundColor.setFont(itemFont);\n itemChangeBackgroundColor.setIconTextGap(10);\n itemChangeBackgroundColor.setToolTipText(\"Click here to change the background color\");\n itemUndoLastPaint.setFont(itemFont);\n itemUndoLastPaint.setIconTextGap(10);\n itemUndoLastPaint.setToolTipText(\"Click here to undo last paint operation\");\n menuFile.add(itemExitProgram);\n menuFile.add(itemCreateNewDrawboard);\n menuFile.add(itemImportImage);\n menuFile.add(itemSaveImageAs);\n menuFile.add(itemSaveToConfig);\n menuFile.add(itemResetConfigOverride);\n menuSettings.add(itemChangePaintColor);\n menuSettings.add(itemErasePaint);\n menuSettings.add(itemChangePaintSize);\n menuSettings.add(itemChangeScale);\n menuSettings.add(itemChangeFPS);\n menuSettings.add(itemChangeUpdates);\n menuSettings.add(itemChangeBackgroundColor);\n //menuSettings.add(itemUndoLastPaint);\n menuAbout.add(itemAbout);\n mainMenuBar.add(menuFile);\n mainMenuBar.add(menuTools);\n mainMenuBar.add(menuSettings);\n mainMenuBar.add(menuPreferences);\n mainMenuBar.add(menuAbout);\n }", "title": "" }, { "docid": "b91eef444e5b0743cc74acc5c62a74fc", "score": "0.5778438", "text": "public JMenuItem registerJMenuItem()\n\t{\n\t\t// our menu item is a Menu (thus it will be a submenu)\n\t\tJMenu subMenu = new JMenu(\"Inspector\");\n\t\tJMenuItem item = null;\n\t\t\n\t\titem = new JMenuItem(\"Make Testcase\");\n\t\tsubMenu.add(item);\n\t\titem.addActionListener(new ActionListener()\n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tif(clientFrame.getWorld() != null)\n\t\t\t\t{\n\t\t\t\t\tString s = makeTestCase();\n\t\t\t\t\tdisplayText(s);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\titem = new JMenuItem(\"Show all orders\");\n\t\tsubMenu.add(item);\n\t\titem.addActionListener(new ActionListener()\n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tif(clientFrame.getWorld() != null)\n\t\t\t\t{\n\t\t\t\t\tStringBuffer sb = new StringBuffer(1024);\n\t\t\t\t\t\n\t\t\t\t\tTurnState ts = clientFrame.getTurnState();\n\t\t\t\t\tappendTSInfo(sb, ts);\n\t\t\t\t\t\n\t\t\t\t\tList orders = ts.getAllOrders();\n\t\t\t\t\tIterator iter = orders.iterator();\n\t\t\t\t\twhile(iter.hasNext())\n\t\t\t\t\t{\n\t\t\t\t\t\tObject obj = iter.next();\n\t\t\t\t\t\tif(obj instanceof Orderable)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tOrderable o = (Orderable) obj;\n\t\t\t\t\t\t\tsb.append(o.toFormattedString(OFO));\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\t// this shouldn't happen....\n\t\t\t\t\t\t\tsb.append(\"** ERROR: NON-ORDERABLE ** \");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tsb.append(\" [\");\n\t\t\t\t\t\tsb.append(obj.getClass().getName());\n\t\t\t\t\t\tsb.append(\"]\\n\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tdisplayText(sb.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t\titem = new JMenuItem(\"Show all results\");\n\t\tsubMenu.add(item);\n\t\titem.addActionListener(new ActionListener()\n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tif(clientFrame.getWorld() != null)\n\t\t\t\t{\n\t\t\t\t\tStringBuffer sb = new StringBuffer(1024);\n\t\t\t\t\t\n\t\t\t\t\tTurnState ts = clientFrame.getTurnState();\n\t\t\t\t\tappendTSInfo(sb, ts);\n\t\t\t\t\tList results = ts.getResultList();\n\t\t\t\t\tIterator iter = results.iterator();\n\t\t\t\t\twhile(iter.hasNext())\n\t\t\t\t\t{\n\t\t\t\t\t\tObject obj = iter.next();\n\t\t\t\t\t\tsb.append(obj);\n\t\t\t\t\t\tsb.append(\" [\");\n\t\t\t\t\t\tsb.append(obj.getClass().getName());\n\t\t\t\t\t\tsb.append(\"]\\n\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tdisplayText(sb.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\titem = new JMenuItem(\"Show positions\");\n\t\tsubMenu.add(item);\n\t\titem.addActionListener(new ActionListener()\n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tif(clientFrame.getWorld() != null)\n\t\t\t\t{\n\t\t\t\t\tStringBuffer sb = new StringBuffer(1024);\n\t\t\t\t\t\n\t\t\t\t\tTurnState ts = clientFrame.getTurnState();\n\t\t\t\t\tappendTSInfo(sb, ts);\n\t\t\t\t\t\n\t\t\t\t\t// we print\n\t\t\t\t\t// POWER: UNIT PROVINCE/COAST (DISLODGED)\n\t\t\t\t\t// coasts are always forced\n\t\t\t\t\tfinal Position pos = ts.getPosition();\n\t\t\t\t\tfinal Province[] allProvinces = pos.getProvinces();\n\t\t\t\t\tfor(int i=0; i<allProvinces.length; i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tUnit unit = pos.getUnit(allProvinces[i]);\n\t\t\t\t\t\tif(unit != null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsb.append(allProvinces[i].getShortName());\n\t\t\t\t\t\t\tsb.append(\"/\");\n\t\t\t\t\t\t\tsb.append(unit.getCoast().getAbbreviation());\n\t\t\t\t\t\t\tsb.append(\": \");\n\t\t\t\t\t\t\tsb.append(unit.getType().getShortName());\n\t\t\t\t\t\t\tsb.append(\" \");\n\t\t\t\t\t\t\tsb.append(unit.getPower().getName());\n\t\t\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tunit = pos.getDislodgedUnit(allProvinces[i]);\n\t\t\t\t\t\tif(unit != null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsb.append(allProvinces[i].getShortName());\n\t\t\t\t\t\t\tsb.append(\"/\");\n\t\t\t\t\t\t\tsb.append(unit.getCoast().getAbbreviation());\n\t\t\t\t\t\t\tsb.append(\": \");\n\t\t\t\t\t\t\tsb.append(unit.getType().getShortName());\n\t\t\t\t\t\t\tsb.append(\" \");\n\t\t\t\t\t\t\tsb.append(unit.getPower().getName());\n\t\t\t\t\t\t\tsb.append(\" *DISLODGED*\\n\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tdisplayText(sb.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\titem = new JMenuItem(\"Show mode and groups\");\n\t\tsubMenu.add(item);\n\t\titem.addActionListener(new ActionListener()\n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tStringBuffer sb = new StringBuffer(512);\n\t\t\t\tsb.append(\"Current Mode: \");\n\t\t\t\tsb.append(clientFrame.getMode());\n\t\t\t\tsb.append(\"\\n\\n\");\n\t\t\t\tsb.append(\"Orderable Powers:\\n\");\n\t\t\t\tsb.append( Arrays.asList(clientFrame.getOrderablePowers()) );\n\t\t\t\tsb.append(\"\\n\\n\");\n\t\t\t\tsb.append(\"Displayable Powers:\\n\");\n\t\t\t\tsb.append( Arrays.asList(clientFrame.getDisplayablePowers()) );\n\t\t\t\tsb.append(\"\\n\\n\");\n\t\t\t\t\n\t\t\t\tdisplayText(sb.toString());\n\t\t\t}\n\t\t});\n\t\t\n\t\titem = new JMenuItem(\"Print listeners (stdout)\");\n\t\tsubMenu.add(item);\n\t\titem.addActionListener(new ActionListener()\n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tclientFrame.dbgPrintListeners();\n\t\t\t}\n\t\t});\n\t\t\n\t\t/*\n\t\titem = new JMenuItem(\"Misc....\");\n\t\tsubMenu.add(item);\n\t\titem.addActionListener(new ActionListener()\n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tif(clientFrame.getWorld() != null)\n\t\t\t\t{\n\t\t\t\t\t// do stuff here\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t*/\n\t\t\n\t\treturn subMenu;\n\t}", "title": "" }, { "docid": "5959d9cf07845f7ae826dbf27e506904", "score": "0.577555", "text": "private void addMenu(){\n JPopupMenu popupMenu = new JPopupMenu();\n\n menuItemMakeACounterRFP = new JMenuItem(\"Faire une contre-proposition\");\n menuItemMakeACounterRFP.addActionListener(this);\n popupMenu.add(menuItemMakeACounterRFP);\n\n // sets the popup menu for the table\n specificationsTable.setComponentPopupMenu(popupMenu);\n }", "title": "" }, { "docid": "c40b4affb518203fc6ac1d681d5e6f22", "score": "0.5774796", "text": "private void aboutAction() {\n\n JOptionPane.showMessageDialog(\n this,\n Resources.SUITE_ABOUT_TEXT,\n Resources.SUITE_TITLE,\n JOptionPane.INFORMATION_MESSAGE,\n SensibleToolkit.createImageIcon(Resources.IMG_DEORS));\n }", "title": "" }, { "docid": "b97896b7516856369d7e9dcdaf5a9f90", "score": "0.57727", "text": "public void createAndAssemble() {\r\n\t\tthis.add(this.getMenuItemImageInfo());\r\n\t\tthis.add(this.getMenuItemImageHeader());\r\n\t\tthis.add(this.getMenuItemDeleteCurrROI());\r\n\t\tthis.add(this.getMenuItemDeleteAllROI());\r\n\t\tthis.addSeparator();\r\n\t\tthis.add(this.getMenuItemDeleteROIAllLayers());\r\n\t}", "title": "" }, { "docid": "b18f2d3d93db6967a652514c196cd78d", "score": "0.5770833", "text": "public void MenuItem(JPanel panel) throws FileNotFoundException{\r\n \r\n MenuItem createItems = new MenuItem();\r\n \r\n createItems.setItem(panel);\r\n\r\n \r\n}", "title": "" }, { "docid": "bcb661582fdc2a9552519d0cd54672a7", "score": "0.57682055", "text": "protected JMenu buildKaleidoHelpMenu() {\n // To deal with a Mac OS X 10.5 bug, add an extra space after the name\n // so that the OS doesn't try to insert its slow help menu.\n JMenu menu = new JMenu(\"Kaleido\");\n JMenuItem item;\n \n item = new JMenuItem(\"Report Bugs\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://kaleido.media.mit.edu/forum/4\");\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Getting Started\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://kaleido.media.mit.edu/gettingstarted\");\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Interface Guide\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://kaleido.media.mit.edu/gettingstarted#associations\");\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Hotkeys Reference\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://kaleido.media.mit.edu/gettingstarted#hotkeys\");\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Frequently Asked Questions\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://kaleido.media.mit.edu/faq\");\n }\n });\n menu.add(item);\n \n item = new JMenuItem(\"Visit Kaleido Homepage\");\n item.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n Base.openURL(\"http://kaleido.media.mit.edu/\");\n }\n });\n menu.add(item);\n \n return menu;\n }", "title": "" }, { "docid": "9fa1d611168f47ae4ca808686c33efa4", "score": "0.5764074", "text": "private Menu(String d){\n\t this.description = d; \n\t }", "title": "" }, { "docid": "62d410f346b805005f9dc97bd156afeb", "score": "0.57620883", "text": "public AppPopMenu2(\n\t\t\tString name )\n\t{\n\t\tsuper( name );\n\t\t//xiatian start\t////New AppList Popmenu\n\t\t//xiatian del start\n\t\t//\t\titemWidth = Utils3D.getScreenWidth()*13/15;\n\t\t//\t\titemHeight = Tools.dip2px(iLoongLauncher.getInstance(), 48);\n\t\t//xiatian del end\n\t\t//xiatian add start\n\t\titemWidth = Utils3D.getScreenWidth() * 5 / 9;\n\t\titemHeight = Tools.dip2px( iLoongLauncher.getInstance() , 45 );\n\t\titemTitlePaddingLeft = Utils3D.getScreenWidth() * 3 / 80f;\n\t\t//xiatian add end\n\t\t//xiatian end\n\t\t//\t\taddItem(R3D.findRegion(\"app-uninstall-button\"),\n\t\t//\t\t\t\tR3D.getString(RR.string.uninstall_app));\n\t\t//\t\taddItem(R3D.findRegion(\"app-hide-button\"),\n\t\t//\t\t\t\tR3D.getString(RR.string.hide_icon));\n\t\t//\t\taddItem(R3D.findRegion(\"app-sort-button\"),\n\t\t//\t\t\t\tR3D.getString(RR.string.sort_icon));\n\t\t//xiatian start\t////New AppList Popmenu\n\t\t//xiatian del start\n\t\t//\t\taddItem(new TextureRegion(new BitmapTexture(ThemeManager.getInstance().getBitmap(\"theme/pack_source/app-uninstall-button.png\"))),\n\t\t//\t\t\t\tR3D.getString(RR.string.uninstall_app));\n\t\t//\t\taddItem(new TextureRegion(new BitmapTexture(ThemeManager.getInstance().getBitmap(\"theme/pack_source/app-hide-button.png\"))),\n\t\t//\t\t\t\tR3D.getString(RR.string.hide_icon));\n\t\t//\t\taddItem(new TextureRegion(new BitmapTexture(ThemeManager.getInstance().getBitmap(\"theme/pack_source/app-sort-button.png\"))),\n\t\t//\t\t\t\tR3D.getString(RR.string.sort_icon));\n\t\t//\t\taddItem(new TextureRegion(new BitmapTexture(ThemeManager.getInstance().getBitmap(\"theme/pack_source/app-effect-button.png\"))),\n\t\t//\t\t\t\tR3D.getString(RR.string.effect_icon));\n\t\t//xiatian del end\n\t\t//xiatian add start\n\t\t//teapotXu add start for Folder in Mainmenu\n\t\tif( DefaultLayout.mainmenu_folder_function == true )\n\t\t{\n\t\t\taddItem( R3D.getString( RR.string.edit_mode ) );\n\t\t}\n\t\telse\n\t\t{\n\t\t\taddItem( R3D.getString( RR.string.uninstall_app ) );\n\t\t}\n\t\t//addItem(R3D.getString(RR.string.uninstall_app));\n\t\t//teapotXu add end for Folder in Mainmenu\t\t\n\t\taddItem( R3D.getString( RR.string.hide_icon ) );\n\t\taddItem( R3D.getString( RR.string.sort_icon ) );\n\t\taddItem( R3D.getString( RR.string.effect_icon ) );\n\t\t//xiatian add end\n\t\t//xiatian end\n\t\twidth = itemWidth;\n\t\t//xiatian start\t////New AppList Popmenu\n\t\t//xiatian del start\t\t\n\t\t//\t\theight = this.getChildCount() * itemHeight;\n\t\t//\t\tx = Utils3D.getScreenWidth()/15f;\n\t\t//xiatian del end\n\t\t//xiatian add start\t\t\n\t\theight = this.getChildCount() * itemHeight + R3D.applist_menu_padding_top;\n\t\tx = Utils3D.getScreenWidth() * 2 / 9f;\n\t\t//xiatian add end\n\t\t//xiatian end\t\t\n\t\ty = -height;\n\t\tthis.originX = width;\n\t\tthis.originY = height;\n\t\tthis.transform = true;\n\t\t//\t\tFileHandle file = ThemeManager.getInstance().getGdxTextureResource(\"setupmenu_android4/bg_frame.png\");\n\t\t//\t\tBitmap bm = BitmapFactory.decodeStream(file.read());\n\t\tBitmap bm = ThemeManager.getInstance().getBitmap( \"launcher/setupmenu_android4/bg_frame.png\" );\n\t\tTexture t = new BitmapTexture( bm );\n\t\tif( appItemBgFrame == null )\n\t\t\t//\t\t\tappItemBgFrame = new NinePatch(new TextureRegion(t),6,6,6,6);\t//xiatian del\t//New AppList Popmenu\n\t\t\tappItemBgFrame = new NinePatch( new TextureRegion( t ) , 20 , 20 , 20 , 20 ); //xiatian add\t//New AppList Popmenu\n\t\tbm.recycle();\n\t\t//\t\tfile = ThemeManager.getInstance().getGdxTextureResource(\"setupmenu_android4/bg-2.png\");\n\t\t//\t\tbm = BitmapFactory.decodeStream(file.read());\n\t\tbm = ThemeManager.getInstance().getBitmap( \"launcher/setupmenu_android4/bg-2.png\" );\n\t\tif( appItemBgLine == null )\n\t\t\tappItemBgLine = new TextureRegion( new BitmapTexture( bm ) );\n\t\tbm.recycle();\n\t\tfocusItem = ( getChildCount() - 1 );//zqh\n\t}", "title": "" }, { "docid": "cd62107146b6b51d35871ec36af202d9", "score": "0.5762039", "text": "@Override\n\tpublic void onCreateContextMenu(ContextMenu menu, View v,\n\t\t\tContextMenuInfo menuInfo) {\n\t\tsuper.onCreateContextMenu(menu, v, menuInfo);\n\t\tmenu.setHeaderTitle(\"Select Material Part Number\"); \n\t\tArrayList<String> menuItems = new ArrayList<String>(mMaterialDetailsList);\n\t\tfor (int i = 0; i<menuItems.size(); i++) {\n\t\t\tmenu.add(Menu.NONE, i, i, menuItems.get(i));\n\t\t}\n\t}", "title": "" }, { "docid": "953b1f164f988d477710bba138c8fd1e", "score": "0.57602286", "text": "private void createBaseMenu(){\r\n\t\tbaseMenu.add(buttonNumeracy);\r\n\t\tbaseMenu.add(buttonSearch);\r\n\t\tbaseMenu.add(buttonExit);\r\n\t\tbaseMenu.setBackground(Color.WHITE);\r\n\t\tbuttonNumeracy.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0){\r\n\t\t\t\tcl.show(panelCont, \"2\");\r\n\t\t\t}\r\n\t\t});\t\t\r\n\t\tbuttonSearch.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0){\r\n\t\t\t\tcl.show(panelCont, \"3\");\r\n\t\t\t}\r\n\t\t});\t\t\r\n\t\tbuttonExit.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0){\r\n\t\t\t\tframe.dispose();\r\n\t\t\t}\r\n\t\t});\t\r\n\t}", "title": "" }, { "docid": "8092b4c7d3a90330a123f00c327a4980", "score": "0.57542676", "text": "public MenuBar(Manager m) {\r\n\t\tfileMenu = new JMenu(\"File\");\r\n\t\tadministrationMenu = new JMenu(\"Administration\");\r\n\t\t\r\n\t\tmanager = m;\r\n\t\t\r\n\t\tthis.populateFile();\r\n\t\tthis.populateAdministration();\r\n\t\t\r\n\t\tthis.add(fileMenu);\r\n\t\tthis.add(administrationMenu);\r\n\t}", "title": "" }, { "docid": "4516ca44fa5ed3187ff6ad000f665faf", "score": "0.5752919", "text": "private void buildUploadHistoryDetail() {\n\t\tContentMenuPanel detailPanel = new ContentMenuPanel();\n\t\tdetailPanel.setTitle(\"로그분석\");\n\t\tdetailPanel.setLayoutPosition(Position.ABSOLUTE);\n\t\tdetailPanel.setWidth(\"900px\");\n\t\tdetailPanel.setHeight(385);\n\t\tdetailPanel.setRight(40);\n\t\tdetailPanel.setTop(245);\n\t\t\n\t\tthis.add(detailPanel);\n\t}", "title": "" }, { "docid": "14aa7910d4e80ada5e77d5879e21627a", "score": "0.5747705", "text": "void jMenuHelpAbout_actionPerformed(ActionEvent actionEvent) {\r\n Editor_AboutBox dlg = new Editor_AboutBox(this);\r\n Dimension dlgSize = dlg.getPreferredSize();\r\n Dimension frmSize = getSize();\r\n Point loc = getLocation();\r\n dlg.setLocation((frmSize.width - dlgSize.width) / 2 + loc.x,\r\n (frmSize.height - dlgSize.height) / 2 + loc.y);\r\n dlg.setModal(true);\r\n dlg.pack();\r\n dlg.setVisible(true);\r\n }", "title": "" }, { "docid": "63af653a817de5c7825880ea454d352c", "score": "0.5741182", "text": "private void buildInformationControlMenu(final MethodBoxEditPart methodEP, \r\n\t\t\tfinal MethodBoxModel methodModel, final MenuButton button) {\n\t\tmethodModel.getCallsMade(new UIJob(\"Opening menu of calls \") {\r\n\t\t\tprivate RSEOutlineInformationControl popup;\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic IStatus runInUIThread(IProgressMonitor monitor) {\r\n\t\t\t\t// Find calls made directly by the selected method, which will appear\r\n\t\t\t\t// at level 0 in the menu tree, and also populate the subtree mapping\r\n\t\t\t\t// from declared anonymous classes to the calls they make, which will\r\n\t\t\t\t// appear at level 1+ in the menu tree\r\n\t\t\t\tMap<Object, List<MultiAddCommandAction>> subTreeMap = new HashMap<Object, List<MultiAddCommandAction>>();\r\n\t\t\t\tList<Object> hasOverridenSubTree = new ArrayList<Object>();\r\n\t\t\t\tList<MultiAddCommandAction> callActions = getCallsMenuActions((MethodBoxModel)methodEP.getModel(), subTreeMap, hasOverridenSubTree);\r\n\r\n\t\t\t\t// Give menu a title label of \"Calls from foo():\"\r\n\t\t\t\t// unless no calls will appear in the menu, in which case make \r\n\t\t\t\t// the title label say that so that the menu isn't just empty\r\n\t\t\t\tString labelNoReturnType = getMethodNameNoReturnType(methodModel);\r\n\t\t\t\tString titleText = (callActions.size()!=0) ? \r\n\t\t\t\t\t\t\"Calls from \"+labelNoReturnType+\":\" \r\n\t\t\t\t\t\t: \"Sorry, no more calls from \"+labelNoReturnType;\r\n\r\n\t\t\t\t// All the calls will be of kind \"Method\", so don't want filters for member kind\r\n\t\t\t\t// because seeing check boxes for Class or Field can be confusing here since some \r\n\t\t\t\t// calls do involve anonymous classes or field accesses\r\n\t\t\t\tString[] filters = new String[] {RSEOutlineInformationControl.FILTERS_ACCESS_LEVEL, \r\n\t\t\t\t\t\tRSEOutlineInformationControl.FILTERS_LIBRARY_CODE};\r\n\r\n\t\t\t\tif (popup!=null && popup.active) \r\n\t\t\t\t\treturn Status.OK_STATUS;\r\n\t\t\t\tpopup = new RSEOutlineInformationControl(StoreUtil.getDefaultStoreRepository(), titleText, subTreeMap, hasOverridenSubTree, filters);\r\n\t\t\t\tpopup.setInput(callActions);\r\n\t\t\t\t\r\n\t\t\t\t// Get the actions for the buttons that add multiple calls at once\r\n\t\t\t\tList<IAction> addButtonsActions = getAddButtonsActions(\r\n\t\t\t\t\t\tcallActions, methodEP, methodModel, popup);\r\n\t\t\t\tpopup.setButtonInput(addButtonsActions);\r\n\r\n\t\t\t\t// menu should open along the right hand side of the nav aid button\r\n\t\t\t\tEditPartViewer parentViewer = getHost().getViewer();\r\n\t\t\t\tControl parent = parentViewer.getControl();\r\n\t\t\t\tRectangle figBounds = button.getBounds().getCopy();\r\n\t\t\t\tbutton.translateToAbsolute(figBounds);\r\n\t\t\t\torg.eclipse.swt.graphics.Point menuLocation = parent.toDisplay(figBounds.getTopRight().x+1, figBounds.getTopRight().y-1);\r\n\t\t\t\tpopup.setLocation(menuLocation);\r\n\r\n\t\t\t\t// make sure menu is proper size to show all components but not stretch too wide\r\n\t\t\t\tpopup.pack();\r\n\t\t\t\tpopup.setInitSize();\r\n\r\n\t\t\t\tpopup.open();\r\n\r\n\t\t\t\treturn Status.OK_STATUS;\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "cab1e1d6c710925f7d15330d4e79d142", "score": "0.57310104", "text": "private BorderPane initialiseInfoPane() {\n infoPane = new BorderPane();\n infoContainer = new BorderPane();\n scoreDisplay = new Label();\n timeDisplay = new Label(\"00 : 00\");\n face = new Label();\n\n scoreDisplay.setPrefSize(130, 55);\n timeDisplay.setPrefSize(130, 55);\n\n face.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);\n face.setOnMouseClicked(e -> {\n ouch = new MediaPlayer(oof);\n ouch.play();\n });\n\n infoPane.setRight(timeDisplay);\n infoPane.setCenter(face);\n infoPane.setLeft(scoreDisplay);\n infoPane.setId(\"InfoArea\");\n\n infoContainer.setTop(createMenu());\n infoContainer.setCenter(infoPane);\n\n return infoContainer;\n }", "title": "" }, { "docid": "dc95e0f471b52235b47a2a79bd155253", "score": "0.5723003", "text": "@Override\n protected void addPopupMenuActions() {\n\n }", "title": "" }, { "docid": "403322c37d43c37355fcdb123aa81d39", "score": "0.5719653", "text": "@Override\r\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tMessageBox mb = new MessageBox(shell,SWT.ICON_QUESTION | SWT.OK);\r\n mb.setText(\"Info\");\r\n mb.setMessage(\"The button [mntmHelp_About] is clicked\");\r\n mb.open();\r\n \r\n // TODO show about inf window\r\n\t\t\t}", "title": "" }, { "docid": "72122e60566422dd5cb336a36ee0f5cb", "score": "0.5717498", "text": "public MoreMenuItem(String label, ToolbarItemIntf toolbarItem)\n {\n super(label); // toolbarElement.getIcon()\n toolbarItem_ = toolbarItem;\n addActionListener(this);\n }", "title": "" }, { "docid": "8d5368c1a2a1a7c9b1a02355e3995be3", "score": "0.5714164", "text": "@Override\n protected void addInfoTitolo() {\n this.add(\"Lista biografie di \" + text.format(numVoci) + \" persone di nome \" + nome.nome + A_CAPO);\n super.addInfoTitolo();\n }", "title": "" }, { "docid": "b88f06dd71da76c4b47f1945b004ecd7", "score": "0.57121253", "text": "private javax.swing.JMenuItem getMniOptions() {\n\tif (ivjMniOptions == null) {\n\t\ttry {\n\t\t\tivjMniOptions = new javax.swing.JMenuItem();\n\t\t\tivjMniOptions.setName(\"MniOptions\");\n\t\t\tivjMniOptions.setText(\"Optionen...\");\n\t\t\t// user code begin {1}\n\t\t\tivjMniOptions.setText(CommonUserAccess.getMniExtrasOptionsWindowsText());\n\t\t\t// user code end\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t// user code begin {2}\n\t\t\t// user code end\n\t\t\thandleException(ivjExc);\n\t\t}\n\t}\n\treturn ivjMniOptions;\n}", "title": "" }, { "docid": "982941e92c03fac09e0b8c7949aec0c3", "score": "0.5711898", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.building_info, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "9a57a9d4fc1d28c70866b150fcb9443c", "score": "0.5702156", "text": "@Override\n\t\t\tpublic ContextMenuInfo getMenuInfo() {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "34bc85c876b4375719109dc094bc3b77", "score": "0.5699618", "text": "private javax.swing.JMenuItem getMniObjectCatalog() {\n\tif (ivjMniObjectCatalog == null) {\n\t\ttry {\n\t\t\tivjMniObjectCatalog = new javax.swing.JMenuItem();\n\t\t\tivjMniObjectCatalog.setName(\"MniObjectCatalog\");\n\t\t\tivjMniObjectCatalog.setText(\"Objektkatalog...\");\n\t\t\t// user code begin {1}\n\t\t\tivjMniObjectCatalog.setText(getResourceString(\"MniObjectCatalog_text\"));\n\t\t\t// user code end\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t// user code begin {2}\n\t\t\t// user code end\n\t\t\thandleException(ivjExc);\n\t\t}\n\t}\n\treturn ivjMniObjectCatalog;\n}", "title": "" }, { "docid": "d5e538f3eb58f38dd57f48dd175b1ba5", "score": "0.5696508", "text": "public void infochanger() {\r\n int i = imageAlbum.photos.indexOf(mainphoto);\r\n infoList.get(i).setText(\"Caption: \" + mainphoto.getCaption() +\"\\n\" + \"Date: \" + mainphoto.getDateTaken() + \"\\n\" + \"Rating: \"+ mainphoto.getRating());\r\n panelList.get(i).add(infoList.get(i));\r\n }", "title": "" }, { "docid": "b207566d9d94f47e5134ee5fc0c9a070", "score": "0.5690669", "text": "public void statusInfo(){\n mainPanel.setVisible(false); // close recent items in current page\r\n choiceButtonPanel.setVisible(false);\r\n mainPanel2 = new JPanel();\r\n mainPanel2.setBounds(100, 100, 600, 250);\r\n mainPanel2.setBackground(Color.black);\r\n con.add(mainPanel2);\r\n \r\n mainTextArea = new JTextArea(\"INFO\\nTrainer Name: \" + this.trainer.getName()); // show player info\r\n mainTextArea.setBounds(100,100,600,150);\r\n mainTextArea.setBackground(Color.black); \r\n mainTextArea.setForeground(Color.white);\r\n mainTextArea.setFont(normalFont);\r\n mainTextArea.setLineWrap(true);\r\n mainPanel2.add(mainTextArea);\r\n\r\n statButton = new JButton(\"STAT\"); //create start button\r\n statButton.setBackground(Color.black);\r\n statButton.setForeground(Color.white);\r\n statButton.setFont(normalFont);\r\n statButton.addActionListener(tsHandler);\r\n statButton.setFocusPainted(false);\r\n statButton.addActionListener(new ActionListener(){\r\n \r\n public void actionPerformed(ActionEvent e){\r\n PokemonStatus ps = new PokemonStatus(trainer.getBag().get(0)); //call pokemonstatus to display \r\n IconImage ic = new IconImage(); //call icon image to display\r\n ic.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n ic.setVisible(true);\r\n ic.setSize(180, 180);;\r\n }\r\n });\r\n\r\n String pName = \"Pokemon: \";\r\n for(Pokemon p: trainer.getBag()){\r\n pName += p.getName() + \", \";\r\n }\r\n\r\n pokemonNameLabel.setText(pName);\r\n mainPanel2.add(statButton);\r\n\r\n }", "title": "" }, { "docid": "cff0d96f456947c78b65c877c026556c", "score": "0.56902593", "text": "public static void drawInfoLayout() {\n\t\tbtnS[4] = new Button.ButtonStyle();\n\t\tbtnS[4].up = MenuScreen.s.getDrawable(\"btnClose\");\n\t\tbtn[4] = new Button(btnS[4]);\n\t\tbtn[4].addListener(new ClickListener()\n\t\t{\n\t\t\tpublic void clicked(InputEvent event, float x, float y)\n\t\t\t{\n\t\t\t\tinfo = false;\n\t\t\t\tDataManagement manager = new DataManagement();\n\t\t\t\tif(MenuScreen.getStatusOfGame().equals(GameState.LEVEL1)) {\n\t\t\t\t\tmanager.saveHowToPlay1();\n\t\t\t\t} else {\n\t\t\t\t\tmanager.saveHowToPlay2();\n\t\t\t\t}\n\t\t\t\tiLayout.setVisible(false);\n\t\t\t}\n\t\t});\n\n\t\tscale[72] = (W/24f) / btn[4].getWidth();\n\n\t\tiLayout.add(btn[4]).size(btn[4].getWidth()*scale[72], btn[4].getHeight()*scale[72]).expand();\n\t\tstage.addActor(iLayout);\n\t}", "title": "" }, { "docid": "8dfa7aca0a19111dcce7761aa301f09f", "score": "0.5688914", "text": "public PanelInfo(PersonnelDetails pDetails, ArrayList<FamilyDetails> familyList, ArrayList<HealthStatus> healthList,\n ArrayList<Education> eduList, ArrayList<Skill> skillList, ArrayList<Experience> expList,\n ArrayList<DocumentsDetails> docList) {\n\n initComponents();\n loadComboBox();\n setPopupMenu(pnPicture);\n setArray();\n\n setInfoTab(pDetails);\n loadHealthStatusTable(healthList);\n loadFamilyInfoTable(familyList);\n loadEducationTable(eduList);\n loadSkillTable(skillList);\n loadExpTable(expList);\n loadDocTable(docList);\n setMode(2); //mode for InfoPanel\n setComboboxListener();\n }", "title": "" }, { "docid": "3e6e84cd15ad7269014601fd2046dae1", "score": "0.56864643", "text": "private void createNumeracyMenu(){\r\n\t\tnumeracyMenu.add(buttonHomeNumeracy);\r\n\t\tnumeracyMenu.setBackground(Color.GREEN);\t\r\n\t\tbuttonHomeNumeracy.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0){\r\n\t\t\t\tcl.show(panelCont, \"1\");\r\n\t\t\t}\r\n\t\t});\t\r\n\t}", "title": "" } ]
bb01fedb53bd15204a50a3b077013d25
Returns the kind of event
[ { "docid": "f316fb0a7ea5a6ea749da6b1cec7035a", "score": "0.0", "text": "public Kind getKind() {\n return kind;\n }", "title": "" } ]
[ { "docid": "24a095c10375c299281ea5000ecb7e82", "score": "0.7838895", "text": "java.lang.String getEventType();", "title": "" }, { "docid": "24a095c10375c299281ea5000ecb7e82", "score": "0.7838895", "text": "java.lang.String getEventType();", "title": "" }, { "docid": "d77ebd71e7d1bff75ab97b50ef68a024", "score": "0.7699103", "text": "public EventType getType() { return type; }", "title": "" }, { "docid": "935ddcf89554f0ad2c65974c5c6deffa", "score": "0.7666034", "text": "public String getEventType() {\n return eventType;\n }", "title": "" }, { "docid": "935ddcf89554f0ad2c65974c5c6deffa", "score": "0.7666034", "text": "public String getEventType() {\n return eventType;\n }", "title": "" }, { "docid": "935ddcf89554f0ad2c65974c5c6deffa", "score": "0.7666034", "text": "public String getEventType() {\n return eventType;\n }", "title": "" }, { "docid": "4eba36c5f22eee59cde5358cb54f3e5c", "score": "0.76175195", "text": "@Override\n public String getType() {\n return eventType;\n }", "title": "" }, { "docid": "79750c79ca29aa7905249bb7e6672425", "score": "0.75411147", "text": "@Override\n\tpublic int getEventType() {\n\t\treturn eventType;\n\t}", "title": "" }, { "docid": "676a07f114c4d1f34f0d9e220d6d7288", "score": "0.7516635", "text": "@Override\n public int getType() {\n return TYPE_EVENT;\n }", "title": "" }, { "docid": "8d78b59801118357162a7d9979e3049d", "score": "0.74011266", "text": "public EventType getEventType(){\r\n\t\t\r\n\t\treturn eventType;\r\n\t}", "title": "" }, { "docid": "7631075b5c4a5a54db9d7b1e0ad0dbdb", "score": "0.736334", "text": "public GameEventType getType() {\n return type;\n }", "title": "" }, { "docid": "f122d266a06b13a23e6186f495c26451", "score": "0.7292138", "text": "Channels.NewEvent.NewEventType getType();", "title": "" }, { "docid": "ad0844681922527499dbf329224f794a", "score": "0.7282643", "text": "public String getEventType()\n\t{\n\t\treturn getPropertyName();\n\t}", "title": "" }, { "docid": "1986358b8def2c7984b3e00ae5bb260e", "score": "0.70938843", "text": "public String getEventTypeName() {\n return eventTypeName;\n }", "title": "" }, { "docid": "c6cf4692326c157f9ec7639718cfc4c2", "score": "0.70419395", "text": "public java.lang.String getEventType() {\n java.lang.Object ref = eventType_;\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 eventType_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "c6cf4692326c157f9ec7639718cfc4c2", "score": "0.70419395", "text": "public java.lang.String getEventType() {\n java.lang.Object ref = eventType_;\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 eventType_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "27e4f5b78928a54be96fb46f2f20e073", "score": "0.70232266", "text": "public EventType getEventType() {\n return mEventType;\n }", "title": "" }, { "docid": "a65494ea7895ceb22daf71f759f82811", "score": "0.69881266", "text": "public AcsEventTypeInternal getType() {\n return this.type;\n }", "title": "" }, { "docid": "fa6597dcbc656a4fa3c3166babb3b6ed", "score": "0.6970752", "text": "@java.lang.Override\n public java.lang.String getEventType() {\n java.lang.Object ref = eventType_;\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 eventType_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "fa6597dcbc656a4fa3c3166babb3b6ed", "score": "0.6970752", "text": "@java.lang.Override\n public java.lang.String getEventType() {\n java.lang.Object ref = eventType_;\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 eventType_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "1ce4a494f58b2ce5fc44184c39303d87", "score": "0.69598836", "text": "int geteventtype(int x) {\n\t\tint type = -1;\n\n\t\ttype = EV.events.get(x).eventtype;\n\n\t\treturn type;\n\t}", "title": "" }, { "docid": "0df0228fd2e6429a0ec86a68d8491b51", "score": "0.67819107", "text": "public GalleryEventType getEventType()\n {\n\treturn _eventType;\n }", "title": "" }, { "docid": "424ed94f5da5a0abcd45badddf3ba868", "score": "0.6757523", "text": "RecordType getEventType(String eventTypeName);", "title": "" }, { "docid": "3dd25d0e12473f486ca37cd1b02d9971", "score": "0.6713428", "text": "public String getEventName() {\n if (name == null) {\n name = getClass().getSimpleName();\n }\n return name;\n }", "title": "" }, { "docid": "aa661d7975023c45b05a3ae3566217cf", "score": "0.66894895", "text": "public StateModelEventType getEventType() {\n return eventType;\n }", "title": "" }, { "docid": "702c4f8bf552484834fc84979948d665", "score": "0.667531", "text": "@java.lang.Override public Channels.NewEvent.NewEventType getType() {\n @SuppressWarnings(\"deprecation\")\n Channels.NewEvent.NewEventType result = Channels.NewEvent.NewEventType.valueOf(type_);\n return result == null ? Channels.NewEvent.NewEventType.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "bf33b5746576029b7060239dd6e12d10", "score": "0.6664724", "text": "public EventTypeObject getEventType(int event_type_id) throws AppException;", "title": "" }, { "docid": "cf6390ee5653e155c1ba319fed658b64", "score": "0.6660074", "text": "String getEventTypeFieldKey();", "title": "" }, { "docid": "f6642a857660aa96e9acdba7641024f7", "score": "0.66431916", "text": "public DynamicItemEventTypes getEventType() {\r\n\r\n\t\treturn eventType;\r\n\t}", "title": "" }, { "docid": "53bfceedbcadd7b08e0d63042454b598", "score": "0.6626933", "text": "@java.lang.Override\n public Channels.NewEvent.NewEventType getType() {\n @SuppressWarnings(\"deprecation\")\n Channels.NewEvent.NewEventType result = Channels.NewEvent.NewEventType.valueOf(type_);\n return result == null ? Channels.NewEvent.NewEventType.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "08345eab5664357f8cef00b9cdee0ec1", "score": "0.65962714", "text": "java.lang.String getEventName();", "title": "" }, { "docid": "98e4d5186da0471de7de8f763c7276fe", "score": "0.65144545", "text": "public DataManagerEventType getEventType()\n {\n return eventType;\n }", "title": "" }, { "docid": "e0126f29fccbd549def3ef98d51f81d9", "score": "0.65093964", "text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getEventTypeBytes() {\n java.lang.Object ref = eventType_;\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 eventType_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "e0126f29fccbd549def3ef98d51f81d9", "score": "0.65093964", "text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getEventTypeBytes() {\n java.lang.Object ref = eventType_;\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 eventType_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "9bba0f7af9f7c1646902c49a425bfe0f", "score": "0.6509315", "text": "public String getEventName();", "title": "" }, { "docid": "3fdcb5223298483dec624dbe4268aeaa", "score": "0.64939165", "text": "com.google.protobuf.ByteString\n getEventTypeBytes();", "title": "" }, { "docid": "3fdcb5223298483dec624dbe4268aeaa", "score": "0.64939165", "text": "com.google.protobuf.ByteString\n getEventTypeBytes();", "title": "" }, { "docid": "3bea687d16e72d3adec8acef4404b271", "score": "0.64700055", "text": "public com.google.protobuf.ByteString\n getEventTypeBytes() {\n java.lang.Object ref = eventType_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n eventType_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "3bea687d16e72d3adec8acef4404b271", "score": "0.64700055", "text": "public com.google.protobuf.ByteString\n getEventTypeBytes() {\n java.lang.Object ref = eventType_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n eventType_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "89b924b3dd5d32fa924fc56b24bd61d9", "score": "0.6459461", "text": "public int getType() {\n\treturn swigQuitEvent.getType();\n }", "title": "" }, { "docid": "b0d14ccb06432f4fcfdbefe2f0c71997", "score": "0.6394304", "text": "@Schema(description = \"Type of related activity\")\n public String getEvent() {\n return event;\n }", "title": "" }, { "docid": "4c12dd17f26b5e6ddc0f521061ba61fe", "score": "0.6380177", "text": "AuditableEventType getAuditableEvent();", "title": "" }, { "docid": "5d46876670cac7140a7807bad1d4a295", "score": "0.6373034", "text": "public abstract String getEventName();", "title": "" }, { "docid": "4b8188cc9ffb40ef4f66e7fea3cd95a4", "score": "0.63467944", "text": "public java.lang.String getEventTypeCode() {\n return eventTypeCode;\n }", "title": "" }, { "docid": "665c2dce9e37ebc2693b201ead79944f", "score": "0.6331708", "text": "public int getEventTypeId() {\n return eventTypeId;\n }", "title": "" }, { "docid": "491be66e4248d9177c292fae9e3d0cd7", "score": "0.6292784", "text": "public java.lang.String getEventTypeCode() {\n return eventTypeCode;\n }", "title": "" }, { "docid": "91c55fd0beb92377116ecaa347532922", "score": "0.62487614", "text": "@Nullable\n String event();", "title": "" }, { "docid": "4bc2b7d394a94ade7fb2ae2c105c0d11", "score": "0.6246841", "text": "@Override\n public int getType() {\n return PANE_OPEN_EVENT;\n }", "title": "" }, { "docid": "f700def0e6be03b9d510ddb9922169e4", "score": "0.6238353", "text": "protected static String getFrameworkEventTypeName(int type) {\n \t\tswitch (type) {\n \t\t\tcase FrameworkEvent.ERROR :\n \t\t\t\treturn (\"FrameworkEvent ERROR\"); //$NON-NLS-1$\n \n \t\t\tcase FrameworkEvent.INFO :\n \t\t\t\treturn (\"FrameworkEvent INFO\"); //$NON-NLS-1$\n \n \t\t\tcase FrameworkEvent.PACKAGES_REFRESHED :\n \t\t\t\treturn (\"FrameworkEvent PACKAGES REFRESHED\"); //$NON-NLS-1$\n \n \t\t\tcase FrameworkEvent.STARTED :\n \t\t\t\treturn (\"FrameworkEvent STARTED\"); //$NON-NLS-1$\n \n \t\t\tcase FrameworkEvent.STARTLEVEL_CHANGED :\n \t\t\t\treturn (\"FrameworkEvent STARTLEVEL CHANGED\"); //$NON-NLS-1$\n \n \t\t\tcase FrameworkEvent.WARNING :\n \t\t\t\treturn (\"FrameworkEvent WARNING\"); //$NON-NLS-1$\n \n \t\t\tdefault :\n \t\t\t\treturn (\"FrameworkEvent \" + Integer.toHexString(type)); //$NON-NLS-1$\n \t\t}\n \t}", "title": "" }, { "docid": "2ed50e484105db701b9f34468e27b70b", "score": "0.6205855", "text": "com.google.cloud.dialogflow.v2.ConversationEvent.Type getType();", "title": "" }, { "docid": "8146af72135602b5a2ec43b8bc3ffbb4", "score": "0.6195678", "text": "public MarkUpMarkDownEventTypeCodeType getType() {\n\t return this.type;\n\t}", "title": "" }, { "docid": "2cfc265d40238bf19851f20945cbcf4c", "score": "0.6185727", "text": "public boolean testEventtriggertype(EIfceventtype type) throws SdaiException;", "title": "" }, { "docid": "125163ab2eaf793907bb3e402aa88227", "score": "0.61642057", "text": "@Override\n\tpublic GwtEvent.Type<Handler> getAssociatedType() {\n\t\treturn TYPE;\n\t}", "title": "" }, { "docid": "96bc186a6bf21a379a9dfa79e4349b61", "score": "0.6158024", "text": "String getEventQualifier();", "title": "" }, { "docid": "7cd4adffe867ae177b2ed5a4c1b3077e", "score": "0.61416256", "text": "@Override\r\n public String getEventType() {\r\n return \"MEETING\";\r\n }", "title": "" }, { "docid": "4eb46943a70fe1fd31e9232d3524fcb8", "score": "0.61398995", "text": "public final InteractionEventType getInteractionEventType()\n\t{\n\t\treturn eInteractionEventType;\n\t}", "title": "" }, { "docid": "8eef856a8ef193d8bbf12921fdf66bf0", "score": "0.6131777", "text": "public String getEiffelType(JsonObject eiffelEvent) {\n return service.getEventType(eiffelEvent);\n }", "title": "" }, { "docid": "eff966cf0c318b9bc627ae00c8baa63a", "score": "0.6108541", "text": "protected final String getEventLogName() {\n\t\treturn m_logType;\n\t}", "title": "" }, { "docid": "a94aec57e8e8027d0418cc2c4e626ed5", "score": "0.60547477", "text": "@Override\n\tpublic Type<TimeLineEntrySelectedEventHandler> getAssociatedType() {\n\t\treturn TYPE;\n\t}", "title": "" }, { "docid": "bba974d06c07b1a2e39b36e1ff357bb8", "score": "0.60543716", "text": "public void setEventType(String eventType) {\n this.eventType = eventType;\n }", "title": "" }, { "docid": "bba974d06c07b1a2e39b36e1ff357bb8", "score": "0.60543716", "text": "public void setEventType(String eventType) {\n this.eventType = eventType;\n }", "title": "" }, { "docid": "df101e479fb5875cee9608d932f0e80f", "score": "0.6034349", "text": "String kind();", "title": "" }, { "docid": "df101e479fb5875cee9608d932f0e80f", "score": "0.6034349", "text": "String kind();", "title": "" }, { "docid": "df101e479fb5875cee9608d932f0e80f", "score": "0.6034349", "text": "String kind();", "title": "" }, { "docid": "020cbbbdf83f1be51be89576dc5031a1", "score": "0.6017441", "text": "String getKind();", "title": "" }, { "docid": "020cbbbdf83f1be51be89576dc5031a1", "score": "0.6017441", "text": "String getKind();", "title": "" }, { "docid": "020cbbbdf83f1be51be89576dc5031a1", "score": "0.6017441", "text": "String getKind();", "title": "" }, { "docid": "020cbbbdf83f1be51be89576dc5031a1", "score": "0.6017441", "text": "String getKind();", "title": "" }, { "docid": "23fdb41759fba472692eecedc3e85b1c", "score": "0.60142606", "text": "public String getEventName() {\r\n return eventName;\r\n }", "title": "" }, { "docid": "87116168b72ef9d887d0b328c97892f4", "score": "0.6006681", "text": "E getEventEnum();", "title": "" }, { "docid": "f03db4dcb95e0a1ffea75df2b2fe7672", "score": "0.5997393", "text": "public String getEventName() {\r\n return this.name;\r\n }", "title": "" }, { "docid": "9bbaf11ae1b69993818ae50ed830a89a", "score": "0.59861577", "text": "java.lang.String getEventId();", "title": "" }, { "docid": "f0c2520f254178aee992ee601a903b76", "score": "0.59694", "text": "private LinkEventTypeProto getProtoType(LinkEvent event) {\n LinkEventTypeProto generatedEventType = null;\n LinkEventTypeProto[] kafkaEvents = LinkEventTypeProto.values();\n for (LinkEventTypeProto linkEventType : kafkaEvents) {\n if (linkEventType.name().equals(event.type().name())) {\n generatedEventType = linkEventType;\n }\n }\n\n return generatedEventType;\n }", "title": "" }, { "docid": "0ded221f6c7bb496330eeec72742674e", "score": "0.5949177", "text": "@NotNull\n Collection<EventType> getEventTypes();", "title": "" }, { "docid": "3240bb3e75bc55f9ae68d34f846fa2bf", "score": "0.59290576", "text": "OutputEventType getOpEventType();", "title": "" }, { "docid": "0f63fa0a716b25b54b652886c4d03206", "score": "0.5917348", "text": "public java.lang.String getEventName() {\n java.lang.Object ref = eventName_;\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 if (bs.isValidUtf8()) {\n eventName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "6bc1c04ff1cb31ac187d4d6468e803e9", "score": "0.591038", "text": "public java.lang.String getEventName() {\n java.lang.Object ref = eventName_;\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 eventName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "bb01e9963c5ea4ffc59d25127f7d4f43", "score": "0.5910121", "text": "public final String getEvent() {\r\n return event;\r\n }", "title": "" }, { "docid": "30e8f89317ef783c9abcc28e45f9ca05", "score": "0.58953947", "text": "public String getKind() {\n return kind;\n }", "title": "" }, { "docid": "c10cba815ed9bd98c6633a8f415d2b99", "score": "0.5886055", "text": "public String kind() {\n return this.kind;\n }", "title": "" }, { "docid": "87319a4306260e1ddad80648e968057a", "score": "0.5878178", "text": "public String getEventName() {\r\n\t\t return this.eventName;\r\n\t}", "title": "" }, { "docid": "f97807a711d4ad059a29f80779e9991c", "score": "0.58781457", "text": "@JsonProperty(\"type\")\n public EventStatusInformation.Type getType() {\n return type;\n }", "title": "" }, { "docid": "bfc7c386aa1eb50960a5235a1088dae1", "score": "0.58616465", "text": "Event getEvent();", "title": "" }, { "docid": "bfc7c386aa1eb50960a5235a1088dae1", "score": "0.58616465", "text": "Event getEvent();", "title": "" }, { "docid": "3dbbb1e13ef7eb824d83083260a9a7f6", "score": "0.58540785", "text": "public String getKind() {\n return kind;\n }", "title": "" }, { "docid": "6eb619ce6020226ab883bfeaeb448ec5", "score": "0.5851358", "text": "public URI getEventTypeResolutionURI() {\n return eventTypeResolutionURI;\n }", "title": "" }, { "docid": "512adac0eb7c3c0d13adf17716b2b95b", "score": "0.5850552", "text": "public MemberEventType getMembershipEventType() {\n return type;\n }", "title": "" }, { "docid": "e6de2db56af916ac7e9e4f952da9c627", "score": "0.5832403", "text": "@Override\n public Class<UfEventMetaRecord> getRecordType() {\n return UfEventMetaRecord.class;\n }", "title": "" }, { "docid": "0f5f0145cf091f476865652574d4b79d", "score": "0.582838", "text": "public String getEvent() {\n return event;\n }", "title": "" }, { "docid": "0f5f0145cf091f476865652574d4b79d", "score": "0.582838", "text": "public String getEvent() {\n return event;\n }", "title": "" }, { "docid": "0f5f0145cf091f476865652574d4b79d", "score": "0.582838", "text": "public String getEvent() {\n return event;\n }", "title": "" }, { "docid": "09afc9466bd5f93067ee4f1acfaed8cf", "score": "0.5814748", "text": "public EventType getEventType() {\n // Note that the task type can be setup/map/reduce/cleanup but the \n // attempt-type can only be map/reduce.\n return getTaskId().getTaskType() == TaskType.MAP \n ? EventType.MAP_ATTEMPT_STARTED \n : EventType.REDUCE_ATTEMPT_STARTED;\n }", "title": "" }, { "docid": "14285fc0131ac793c97e7e7f309d6d3b", "score": "0.5813102", "text": "public EventTypeObject[] getAllEventTypes() throws AppException;", "title": "" }, { "docid": "9662040a1fb2eb0cf72ecb6e11e277ff", "score": "0.5795242", "text": "protected static String getServiceEventTypeName(int type) {\n \t\tswitch (type) {\n \t\t\tcase ServiceEvent.REGISTERED :\n \t\t\t\treturn (\"ServiceEvent REGISTERED\"); //$NON-NLS-1$\n \n \t\t\tcase ServiceEvent.MODIFIED :\n \t\t\t\treturn (\"ServiceEvent MODIFIED\"); //$NON-NLS-1$\n \n \t\t\tcase ServiceEvent.UNREGISTERING :\n \t\t\t\treturn (\"ServiceEvent UNREGISTERING\"); //$NON-NLS-1$\n \n \t\t\tdefault :\n \t\t\t\treturn (\"ServiceEvent \" + Integer.toHexString(type)); //$NON-NLS-1$\n \t\t}\n \t}", "title": "" }, { "docid": "8f6fd18f7070ccf47ed780dc1210fcb4", "score": "0.579186", "text": "public java.lang.String getKind() {\n return kind;\n }", "title": "" }, { "docid": "8f6fd18f7070ccf47ed780dc1210fcb4", "score": "0.579186", "text": "public java.lang.String getKind() {\n return kind;\n }", "title": "" }, { "docid": "8f6fd18f7070ccf47ed780dc1210fcb4", "score": "0.579186", "text": "public java.lang.String getKind() {\n return kind;\n }", "title": "" }, { "docid": "8f6fd18f7070ccf47ed780dc1210fcb4", "score": "0.579186", "text": "public java.lang.String getKind() {\n return kind;\n }", "title": "" }, { "docid": "8f6fd18f7070ccf47ed780dc1210fcb4", "score": "0.579186", "text": "public java.lang.String getKind() {\n return kind;\n }", "title": "" }, { "docid": "7685682f8e06e1b5681ae4802329db01", "score": "0.5782241", "text": "public java.lang.String getKind() {\n return kind;\n }", "title": "" }, { "docid": "7685682f8e06e1b5681ae4802329db01", "score": "0.5782241", "text": "public java.lang.String getKind() {\n return kind;\n }", "title": "" } ]
79ec6f69fd426b93fc9f9befd0e15435
protect the data coherence
[ { "docid": "a5cad4684630bacb4bce916a56de72a7", "score": "0.0", "text": "@Override\r\n\tpublic boolean containsKey(K key) {\n\t\tif (DEBUG_LOCK) LogManager.getLogger().i(TAG, this+\" lock containsKey\");\r\n\t\tmDataLock.lock();\r\n\t\ttry {\r\n\t\t\treturn super.containsKey(key);\r\n\t\t} finally {\r\n\t\t\tif (DEBUG_LOCK) LogManager.getLogger().i(TAG, this+\" unlock containsKey\");\r\n\t\t\tmDataLock.unlock();\r\n\t\t}\r\n\t}", "title": "" } ]
[ { "docid": "253e68591bc4b8d3d94d71a8fa6f603a", "score": "0.5974248", "text": "@Override\n public boolean isProtected() {\n return false;\n }", "title": "" }, { "docid": "200400c6dd4820b73f96cc36f642ae6a", "score": "0.588618", "text": "@Override\n\tprotected boolean checkData() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "8affd48a620d005b19962355320ce363", "score": "0.5761342", "text": "protected void beforeAnySet() throws Exception {\n\tif ( DO.isReadOnly() )\n\t throw new DataObjectException( DO + \" is read-only.\" ); \n }", "title": "" }, { "docid": "3272ff8450a2704f0c411847b5acb582", "score": "0.5663991", "text": "protected void checkData() {\n LOG.info(\"No data checks.\");\n }", "title": "" }, { "docid": "37d05b129e9f7db167c0d08b19ef2931", "score": "0.5660462", "text": "public void verifyDataAware() {\n boolean verificationResult = false;\n\n // TODO Implement data aware verification\n\n System.out.printf(\"Data-Aware Verification %s\\n\", verificationResult ? \"Succeeded\" : \"Failed\");\n }", "title": "" }, { "docid": "7cd40240d73b7d34be3057b8a8e4806e", "score": "0.5623103", "text": "public boolean isConfidential() {\n\t\t\t\t\treturn false;\n\t\t\t\t}", "title": "" }, { "docid": "acc3f8bdb03da744df3b2f2100e68998", "score": "0.5606864", "text": "private AuthorizeNetSimData()\n {\n }", "title": "" }, { "docid": "e3de720440d1a369014213d2751ff651", "score": "0.5536727", "text": "private boolean checkUserData() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "79fe0c061c77da7d9a0be58a01f4a857", "score": "0.55347466", "text": "@Override\n\tpublic boolean getEnableDataPerm() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "79fe0c061c77da7d9a0be58a01f4a857", "score": "0.55347466", "text": "@Override\n\tpublic boolean getEnableDataPerm() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "1dfdcc39139ca544a0b8391fc6c8049e", "score": "0.5507413", "text": "@Override\n public void disallowChanges() {\n }", "title": "" }, { "docid": "05582322a9e31847d6e6747b82950be0", "score": "0.5485074", "text": "@Override\n public void disallowUnsafeRead() {\n }", "title": "" }, { "docid": "653dcf34e0f38623ddfaae39e1ae2d3a", "score": "0.54835045", "text": "@Override\n\tprotected void requestProtectedResource() {\n\t\tsuper.requestProtectedResource();\n\t}", "title": "" }, { "docid": "88cf7cc32714c3c0ccd061d48198aa28", "score": "0.5462907", "text": "public void setWriteProtect() {\n\t\tchangeable = false;\n\t\t\n\t\tif (enclosedPacket != null) {\n\t\t\tenclosedPacket.setWriteProtect();\n\t\t}\n\t}", "title": "" }, { "docid": "95dc5dca5c2807bd70109c49aced2229", "score": "0.54413724", "text": "public boolean isProtected();", "title": "" }, { "docid": "95dc5dca5c2807bd70109c49aced2229", "score": "0.54413724", "text": "public boolean isProtected();", "title": "" }, { "docid": "12df8a92093722ef5a60c42e69eb14c0", "score": "0.5435984", "text": "@Test\n\tpublic void testProtect() {\n\t\tHashResource hash = new HashResource();\n\t\tElement p = hash.protect();\n\t\tassertFalse(hash == p);\n\t\tassertFalse(hash.isProtected());\n\t\tassertTrue(p.isProtected());\n\t}", "title": "" }, { "docid": "3eae388ee525cf7d0f7e54f3ae544540", "score": "0.54153687", "text": "void providerPrivateData(Serializable data, int cause);", "title": "" }, { "docid": "3cd530964892f1240a369ab2859950c3", "score": "0.54141825", "text": "@Override\n\tpublic void beforeData() throws Exception {\n\n\t}", "title": "" }, { "docid": "5591eb664cb3af3136d3b61b17e4de88", "score": "0.54071015", "text": "protected abstract boolean CheckDataIntegrity();", "title": "" }, { "docid": "45fcf1db7a68f8a63772c9039c8befd7", "score": "0.5364075", "text": "@Override\r\n\tpublic boolean isSafe() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "689591638b4e54f9e2ccb6d9c4e8df4e", "score": "0.53301626", "text": "protected void guard() {\n\t}", "title": "" }, { "docid": "3a7b7982c35ead7ba07e2ab22e859367", "score": "0.52985525", "text": "protected SecureMessageData() {}", "title": "" }, { "docid": "9cb3a983955531536ce0553172157f16", "score": "0.52800024", "text": "public void checkUserData() {\n if (AppData.getInstance().isMale() && AppData.getInstance().selfUserData == null) {\n executeDownloadUserMeasurements();\n } else {\n executeDownloadHistogramDataFromGroup(SliceRange.SliceRangeAll);\n }\n }", "title": "" }, { "docid": "e5a032305ed83dbb0f1584c7d7008a7b", "score": "0.5261182", "text": "@Override\n public boolean disableDataConnectivity() {\n enforceModifyPermission();\n\n final long identity = Binder.clearCallingIdentity();\n try {\n int subId = mSubscriptionController.getDefaultDataSubId();\n final Phone phone = getPhone(subId);\n if (phone != null) {\n phone.getDataEnabledSettings().setUserDataEnabled(false);\n return true;\n } else {\n return false;\n }\n } finally {\n Binder.restoreCallingIdentity(identity);\n }\n }", "title": "" }, { "docid": "8e0c1011c18e3709558af3d27ca61693", "score": "0.52368027", "text": "@Override\n\t\tprotected void discardData() {\n\t\t}", "title": "" }, { "docid": "b54346d7520a63c83f6876f28f1f5722", "score": "0.5230874", "text": "@Override\n public boolean canModifyCustomData() {\n return false;\n }", "title": "" }, { "docid": "471d29d2d0bc48875a2f4b73a0c0e81c", "score": "0.52303547", "text": "@Override\n public void passivate() {\n }", "title": "" }, { "docid": "985cfd2e7d904b89bad6b8c1045fa0a4", "score": "0.5220339", "text": "@Override\n\tprotected void guard() {\n\n\t}", "title": "" }, { "docid": "bf21cdea22666ddb8bf356a83eb9b59c", "score": "0.521883", "text": "private void checkIntegrity() {\n\t\tif (!integrityOK)\n\t\t\tthrow new SecurityException(\"AList object is corrupt.\");\n\t}", "title": "" }, { "docid": "70d3a11918d1fac295ee2ac4e24f6f02", "score": "0.5207702", "text": "public void readOnly() {\n\t\t\n\t}", "title": "" }, { "docid": "b3a9fb5477294c6edc549c6e76bc3c21", "score": "0.520431", "text": "public CopyProtection getCopyProtection();", "title": "" }, { "docid": "315980d402e3908ad11d62cda9232e37", "score": "0.51985836", "text": "public void autonomousDisabled() {\n\t\t\r\n\t}", "title": "" }, { "docid": "085d23d3deef553141c8550c7bc0d8b1", "score": "0.51897305", "text": "CE withConfidentialityCode();", "title": "" }, { "docid": "9091841d4bf0be98bd7a638101942ed9", "score": "0.5187613", "text": "void update( Security security, BaseData data );", "title": "" }, { "docid": "8b56c659ecdf9bbc2240865bb1262de7", "score": "0.51660025", "text": "@Override public boolean isLegal()\n {\n return true;\n }", "title": "" }, { "docid": "29e653de74aa1338049138f72f58c17d", "score": "0.5164533", "text": "public void doDiscardData()\n\t{\n try {\n \t\tcrjni.doDiscardData();\n } catch (Exception e) {\n //System.out.println(e.printStackTrace());\n }\n\t}", "title": "" }, { "docid": "866057770b2aea41dfe9c316932e1ba1", "score": "0.5155814", "text": "public Element protect();", "title": "" }, { "docid": "187ff890ae5746918bcd015a584c92fc", "score": "0.5102371", "text": "@Override\r\n public boolean isObtentionAllowed(Algorithm algo) {\n return !(algo instanceof CDATA);\r\n }", "title": "" }, { "docid": "0ac3d2df37d015d5b286a4204d3ac9fc", "score": "0.50965524", "text": "@Override\r\n public boolean isRestricted() {\r\n return this.restricted;\r\n }", "title": "" }, { "docid": "a96bf1b762446bf8e7ec92ee9c5ebb32", "score": "0.50947386", "text": "public boolean requiresSecurity();", "title": "" }, { "docid": "332cfd2392f9aeee2409dc392dabacfa", "score": "0.5092518", "text": "@Override\r\n\tpublic void tightenOrLoosenSecurity(HelperClass helpc) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\thc=helpc;\r\n int avg_traffic_per_day=hc.avgTrafficPerDay();\r\n\t\tint avg_prohibited_items_per_day=hc.avgProhibitedItemsPerDay();\r\n \r\n r=astate.getResult();\r\n if((avg_traffic_per_day>=8)||(avg_prohibited_items_per_day>=2))\r\n {\r\n MyLogger.writeMessage(\"2 4 6 8 10\", MyLogger.DebugLevel.IN_RUN);\r\n r.storeNewResult(\"2 4 6 8 10\");\r\n astate.gethighrisk();\r\n }\r\n else if((avg_traffic_per_day>=4)&&(avg_traffic_per_day<8)||\r\n (avg_prohibited_items_per_day>=1)&&(avg_prohibited_items_per_day<2))\r\n {\r\n MyLogger.writeMessage(\"2 3 5 8 9\", MyLogger.DebugLevel.IN_RUN);\r\n r.storeNewResult(\"2 3 5 8 9\");\r\n astate.getmoderaterisk();\r\n }\r\n \r\n else if ((avg_traffic_per_day>=0)&&(avg_traffic_per_day<4)||\r\n (avg_prohibited_items_per_day>=0)&&(avg_prohibited_items_per_day<1))\r\n { \r\n MyLogger.writeMessage(\"1 3 5 7 9\", MyLogger.DebugLevel.IN_RUN);\r\n r.storeNewResult(\"1 3 5 7 9\");\r\n astate.getlowrisk();\r\n }\r\n\r\n\t}", "title": "" }, { "docid": "29a60063087d0264dbe238a5e67c9014", "score": "0.5091531", "text": "@Override\n\tprotected boolean otherCheck() {\n\t\treturn false ;\n\t}", "title": "" }, { "docid": "6187c1d922a5d18096e777e04b16684c", "score": "0.5068694", "text": "@Override\n public String getAuthorizationMechanism() {\n return \"bypass\";\n }", "title": "" }, { "docid": "4f966f272dc272bf85027257f9051e3f", "score": "0.50570756", "text": "boolean isOomProtected() {\n return mConnection != null ?\n mConnection.isOomProtectedOrWasWhenDied() : mWasOomProtected;\n }", "title": "" }, { "docid": "772346bdfed13c30bacd200d74ee075e", "score": "0.50534856", "text": "public float getProtection() {\n return mProtection;\n }", "title": "" }, { "docid": "61c73d53cef3e9153cc6d5d1a0261ee6", "score": "0.5044651", "text": "@Override\n\tpublic void onClientSecured(TCPSocket s) {\n\t\t\n\t}", "title": "" }, { "docid": "e0199d876516540db414d7b613318571", "score": "0.5043352", "text": "DataMaskingPoliciesClient getDataMaskingPolicies();", "title": "" }, { "docid": "c67357b105a73713e7bc6fdd4a33b92f", "score": "0.50203246", "text": "private void simulateLoadWithWritePolicies(Instruction instruction, boolean isData) throws IllegalActionException {\r\n\t\tif(memory.load(instruction.address, isData)) {\r\n\t\t\t// Cached line flagged as data was overwritten, if we use write back now it is time to persist to main memory the cached data about to be overwritten \r\n\t\t\tif(Integer.parseInt(writeHitPolicy.getValueAsString()) == WRITE_BACK) { \r\n\t\t\t\t// Write back transfers cache content before it is overwritten\r\n\t\t\t\tincrement(\"write-to-main\");\r\n\t\t\t}\r\n\t\t};\r\n\t\tincrement(\"read-from-main\");\r\n\t}", "title": "" }, { "docid": "741c91135607dc0c854645d265138787", "score": "0.49855912", "text": "public void checkIntegrity()\r\n\t{\r\n\t\tif (!integrityOK)\r\n\t throw new SecurityException (\"ArrayStack object is corrupt.\");\t\r\n\t}", "title": "" }, { "docid": "de1e0a25d403cc71f7c67dc957c310c2", "score": "0.49819177", "text": "public void preventCommit() {\n preventCommit(new UnknownOperationResult());\n }", "title": "" }, { "docid": "6f35bd2ff45495480cad1dbb99e5c2eb", "score": "0.4974767", "text": "public void checkDataReadOnly() {\n\n if (dataSource.length() == 0) {\n String name = getName().getSchemaQualifiedStatementName();\n\n throw Error.error(ErrorCode.TEXT_TABLE_UNKNOWN_DATA_SOURCE, name);\n }\n\n if (isDataReadOnly()) {\n throw Error.error(ErrorCode.DATA_IS_READONLY);\n }\n }", "title": "" }, { "docid": "0e15b2a2f9acbc4a0dcb6b2faf7d0ff6", "score": "0.49633875", "text": "public void allow() {\n\t\tthis.cancelled = false;\n\t\tthis.reason = null;\n\t}", "title": "" }, { "docid": "9341e18f399ab2b744d70c2867cf8380", "score": "0.49522626", "text": "@Override\n public boolean isOomProtected(int pid) {\n ManagedConnection managedConnection;\n synchronized (mManagedConnections) {\n managedConnection = mManagedConnections.get(pid);\n }\n return managedConnection != null ? managedConnection.isOomProtected() : false;\n }", "title": "" }, { "docid": "d4d0940a2bc693f93d369afef55477c6", "score": "0.49330086", "text": "public void threadSafety()\r\n\t{\r\n\t\tSystem.out.println(\"BMW -- Thread Safety\");\r\n\t}", "title": "" }, { "docid": "a688a5b416292dc390477b1cb01bb704", "score": "0.49305925", "text": "public void denyPermission() {\n if(recv != null) {\n Bundle b = new Bundle();\n b.putBoolean(PEANDROID_PERM_KEY, false);\n recv.send(0, b);\n }\n }", "title": "" }, { "docid": "2719d09508db250c69228cefca5c6d4c", "score": "0.492571", "text": "public void setDecrypted() {\n/* 297 */ this.isDecrypted = true;\n/* */ }", "title": "" }, { "docid": "1239058f65ab418a9537ad2efeb1bdd3", "score": "0.49171567", "text": "public boolean denyRequireAccountFromChild() {\n return true;\n }", "title": "" }, { "docid": "de8565d0ffb5f66707df3f467c364a11", "score": "0.491542", "text": "private Boolean checkImpersonation(HashMap<String, Object> data) {\n if (impersonationMode || data.get(\"impersonationMode\") != null) {\n print(\"Impersonation mode is on - will not track event\");\n return Boolean.FALSE;\n }\n return Boolean.TRUE;\n }", "title": "" }, { "docid": "241a3e9521fbbc7ad68ee21cdf7bf3d4", "score": "0.49122837", "text": "public void setProtected(final Mesh meshToProtect) {\n if (!_protectedList.contains(meshToProtect)) {\n _protectedList.add(meshToProtect);\n }\n }", "title": "" }, { "docid": "e06eebe973feeabbf1595a041a3c9c5a", "score": "0.4903338", "text": "void lockSupplierCodeField();", "title": "" }, { "docid": "1997a51460cf3080784f20bba3345f08", "score": "0.4886527", "text": "@Override\n protected synchronized void rollSecret() {\n }", "title": "" }, { "docid": "ca1253f1815dad14ce7fd36ee97ee656", "score": "0.4882005", "text": "boolean getDeny();", "title": "" }, { "docid": "f4e3ac021265a79133608ca78443f024", "score": "0.48705038", "text": "public VerificationSecurity() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "556a64bcc98712481117285393bfbd2e", "score": "0.48698288", "text": "@Override\n public boolean isSecureConnection() {\n return false;\n }", "title": "" }, { "docid": "7bfc03380c3a7c0bcda1ce56e2a6d375", "score": "0.48507443", "text": "public boolean readOnlyData() {\n return _readOnlyData;\n }", "title": "" }, { "docid": "b4e7f29ccd4468ab428211efc64298c0", "score": "0.4849915", "text": "public void NOTData() {\n for (int i = 0; i < size(); i++) {\n int notValue = ~get(i);\n setData(i, notValue);\n }\n }", "title": "" }, { "docid": "d7c075fc1daa6fb2e3ad8b1be2029d48", "score": "0.48281726", "text": "public boolean isDataEnabled() {\n/* 1057 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "18845bbcd95bc620dedb51df488c3a50", "score": "0.4827648", "text": "boolean isWeakenedLookup() {\n\t\t\treturn PRIVATE != (accessMode & PRIVATE);\n\t\t}", "title": "" }, { "docid": "1eba557d1fdd53a9874e18bab98001cf", "score": "0.4797737", "text": "@Override public FilterResult check(Class<?> rawClass) {\n return FilterResult.BLOCK_INACCESSIBLE;\n }", "title": "" }, { "docid": "0ce07a3c11e1ec3080385d6ef083216f", "score": "0.47853765", "text": "@Override\n public boolean allowAuthorization() {\n return false;\n }", "title": "" }, { "docid": "c66163d53782dafe220230ff746b191a", "score": "0.477811", "text": "protected abstract void cry();", "title": "" }, { "docid": "3de0afed71747f66214e887187de34e1", "score": "0.4773895", "text": "public void setProtectMode(String [] ProtectMode) {\n this.ProtectMode = ProtectMode;\n }", "title": "" }, { "docid": "ee82fc4e572b321bc78b1b62f246b9af", "score": "0.47723317", "text": "protected abstract void maintain();", "title": "" }, { "docid": "4274b035366b57f0a7e01b645a935e44", "score": "0.47721666", "text": "@Override\n\tprotected void doSecurity(HttpServletRequest request) throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "55cf67e1f9418e8e47cb55efb1148785", "score": "0.47674078", "text": "public void disableChestProtectAddon() {\n\n /*\n Disable chestProtectAddon if you want.\n You need the received key.\n */\n chestProtectAddon.disable(key);\n }", "title": "" }, { "docid": "3fad80360d07d97f5ddd63d45503b8bb", "score": "0.47651753", "text": "public void handleSecureSetup() {\n if (Config.<Boolean> getValue(ConfigValues.EncryptHostCommunication)\n && !EngineEncryptionUtils.haveKey()) {\n if (cachedVds.getStatus() != VDSStatus.Maintenance && cachedVds.getStatus() != VDSStatus.InstallFailed) {\n setStatus(VDSStatus.NonResponsive, cachedVds);\n updateDynamicData(cachedVds.getDynamicData());\n }\n log.error(\"Could not find VDC Certificate file.\");\n AuditLogableBase logable = new AuditLogableBase(vdsId);\n auditLogDirector.log(logable, AuditLogType.CERTIFICATE_FILE_NOT_FOUND);\n }\n }", "title": "" }, { "docid": "482d92acda26fc41523278bb982ed7e9", "score": "0.47635865", "text": "@Override\n\tpublic void platesteContactless() {\n\t\t\n\t}", "title": "" }, { "docid": "faaf1b1733f2d66c5828be34f892d833", "score": "0.47616115", "text": "public void setDataSigned(boolean[] datasigned) {\r\n\t DATASIGNED=datasigned;\r\n\t}", "title": "" }, { "docid": "79fb1882cf2066775c856a3499968a71", "score": "0.4760913", "text": "boolean hasDeny();", "title": "" }, { "docid": "23f0f389302a036d25bcc510aac1d2bc", "score": "0.4755321", "text": "public void passivate () \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "bfc4811d2139952b37b153f8d1beff05", "score": "0.47532678", "text": "default void beforeDataDelete(Container c, User user, List<? extends ExpData> data)\r\n { }", "title": "" }, { "docid": "98673920ce542d61d9037e2887b35927", "score": "0.475217", "text": "@Override\r\n\tpublic void beforeLoadingData() {\n\t}", "title": "" }, { "docid": "093e656215fb10b1e5e3b94ea1bd7f14", "score": "0.4749522", "text": "public void notManager() {\n\t\taAuthenticate.setEnabled(true);\n\t\taDeauthenticate.setEnabled(false);\n\t}", "title": "" }, { "docid": "b5396f747c551f9593f9b2448e68926e", "score": "0.47477975", "text": "@Override\n protected void loadData() {\n }", "title": "" }, { "docid": "dc0109503ecd36fc048712984fc5da30", "score": "0.47418186", "text": "public static void onEngineGetCertificateChain() {\n if (isCallerSafetyNet() || sIsFinsky) {\n Log.i(TAG, \"Blocked key attestation sIsGms=\" + sIsGms + \" sIsFinsky=\" + sIsFinsky);\n throw new UnsupportedOperationException();\n }\n }", "title": "" }, { "docid": "09aa9d028c74e7229297da38454f14a7", "score": "0.47404534", "text": "@Override\n public boolean enableDataConnectivity() {\n enforceModifyPermission();\n\n final long identity = Binder.clearCallingIdentity();\n try {\n int subId = mSubscriptionController.getDefaultDataSubId();\n final Phone phone = getPhone(subId);\n if (phone != null) {\n phone.getDataEnabledSettings().setUserDataEnabled(true);\n return true;\n } else {\n return false;\n }\n } finally {\n Binder.restoreCallingIdentity(identity);\n }\n }", "title": "" }, { "docid": "0b1e229f0dbbd8e9daa0a655357ee120", "score": "0.4737001", "text": "@Override\n\tpublic void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "1beeafb9f805a09d5410dc3f2fce76c9", "score": "0.4734986", "text": "@Override\r\n\tpublic void switchPatient() {\n\t\trefleash();\r\n\t}", "title": "" }, { "docid": "827f211c8e70a74e97eab015b72f61ac", "score": "0.47326747", "text": "void setAppUnauthorized();", "title": "" }, { "docid": "52932bf091d5965d3eaa023b690c1858", "score": "0.4728625", "text": "@Override\n\tpublic void defense() {\n\t\tSystem.out.println(name+\"加强防守\");\n\t}", "title": "" }, { "docid": "598285ce8be04283bb2a189c91d01397", "score": "0.47221053", "text": "@Override\r\n @RequiresLock(\"SeaLock\")\r\n void proofInitialize() {\r\n super.proofInitialize();\r\n\r\n f_provedConsistent = isConsistent() || isVouched();\r\n }", "title": "" }, { "docid": "7b8e39dcfe9571014fff01a762660da2", "score": "0.47216305", "text": "private void lockInfo() {\n fabGuardar.hide();\n btnFecha.setEnabled(false);\n btnHoraEntrada.setEnabled(false);\n btnHoraSalida.setEnabled(false);\n btnFirma.setEnabled(false);\n\n etContacto.setEnabled(false);\n chkUtilPlataColoidal.setEnabled(false);\n chkUtilHipoclorito.setEnabled(false);\n chkUtilDesincrustante.setEnabled(false);\n chkApliAsperjado.setEnabled(false);\n chkApliRodillo.setEnabled(false);\n chkApliDirecto.setEnabled(false);\n chkMatPvc.setEnabled(false);\n chkMatFibrocemento.setEnabled(false);\n chkMatOtro.setEnabled(false);\n etMatOtro.setEnabled(false);\n etObservaciones.setEnabled(false);\n spModoPago.setEnabled(false);\n chkLiquidado.setEnabled(false);\n etDineroRecibido.setEnabled(false);\n }", "title": "" }, { "docid": "5e2e8dba7f70a779a470223ba4f4c5da", "score": "0.47215864", "text": "void externalsReadUnlock();", "title": "" }, { "docid": "bb7c5cbb25d9c68c30178fe9b176a0f1", "score": "0.47148153", "text": "public boolean isRowProtected(int rowNumber) {\n return false;\n }", "title": "" }, { "docid": "7f86a26a20baf6ac9ec44e3276629b9d", "score": "0.47104588", "text": "public void setCritical() {\n\t\tnextTimeSinceLastSeen = 1000;\n\t}", "title": "" }, { "docid": "8f60282929a60fe058bc802a44eafc7d", "score": "0.4708332", "text": "@Override\n public synchronized void persit() {\n\n }", "title": "" }, { "docid": "a3b615f7ca3abefc75afa6097be9e35d", "score": "0.47075307", "text": "public void setInconsistent() {\r\n synchronized (f_seaLock) {\r\n f_consistent = false;\r\n }\r\n }", "title": "" }, { "docid": "ce5cbd6389cb1b594f88c7e4020456e5", "score": "0.47049466", "text": "public interface ContainerProtection extends Protection {\n\n}", "title": "" }, { "docid": "2bbfbaab38f5c6032f77890add765ce2", "score": "0.47013924", "text": "void rejectTraceabilityDataEntry(TraceabilityData traceabilityData) throws IncosistentInfoFoundOnDB, ReferenceToNonexistentEntity\n {\n EntireSimulationPerformanceMetrics.registerInvalidatedEntry(traceabilityData);\n removeTraceabilityDataFromDB();\n\n EntityReputationManager entityReputationManager = new EntityReputationManager(api);\n unStakeCreatorAndVotersReputation(traceabilityData, entityReputationManager);\n\n Double value = traceabilityData.getValue();\n Double penaltyForCreating = ChaincodeConfigs.reputationChangeCalculator.calculatePenaltyRatioForCreatingIncorrectTraceabilityData(value);\n Double penaltyForApprovers = ChaincodeConfigs.reputationChangeCalculator.calculatePenaltyRatioForUpVotingIncorrectTraceabilityData(value);\n Double rewardForRejecters = ChaincodeConfigs.reputationChangeCalculator.calculateRewardRatioForDownVotingIncorrectTraceabilityData(value);\n try\n {\n entityReputationManager.rewardEntity(traceabilityData.getCreatorID(), penaltyForCreating);\n entityReputationManager.penalizeEntities(traceabilityData.getApprovers(), penaltyForApprovers);\n entityReputationManager.rewardEntities(traceabilityData.getRejecters(), rewardForRejecters);\n\n } catch (EntityDoesNotHaveEnoughReputationToPerformAction entityDoesNotHaveEnoughReputationToPerformAction)\n {\n throw new InternalError(\"Internal error occurred on processing by the state machine: got not enough reputation error on trying to reward entity. This means that a number was going to be made negative when adding a positive factor to it. Something went really wrong...\");\n } catch (ReferenceToNonexistentEntity referenceToNonexistentEntity)\n {\n referenceToNonexistentEntity.printStackTrace();\n }\n }", "title": "" }, { "docid": "ce0d2ebf0e59a88968a259e13eef49bd", "score": "0.46968246", "text": "public boolean guard() {\n return false;\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "09d43f872f5b1e769a4d2a0727001365", "score": "0.0", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tsetContentView(R.layout.activity_message_manage);\r\n\t\tinitView();\r\n\t\tloadData();\r\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "962e2aa1efc1eb9e8f7e2b38da8566b6", "score": "0.6441175", "text": "@Override\r\n\tprotected void method4() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.63254577", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b4764437fc96bd523380203d0a714e9f", "score": "0.63064295", "text": "@Override\r\n\tpublic void calistir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ded15aaeb71ec68606fe2fb94e86fd30", "score": "0.62976253", "text": "@Override\n\tpublic void festlegen() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.622455", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "5cf6e7275cb8d34bdacabdb57b1297ed", "score": "0.61845726", "text": "public void mo74847b() {\n }", "title": "" }, { "docid": "1121ee7f7fb44c1a82d76b74dfca36ce", "score": "0.61822534", "text": "@Override\r\n\tprotected void vivir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50501dd87f1998a502196290135921d9", "score": "0.61727506", "text": "@Override\r\n\tpublic void bewegeNachUnten() {\n\r\n\t}", "title": "" }, { "docid": "fb712911683b694cdce8a0591533827a", "score": "0.6169982", "text": "public void attaquer() {\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": "d782462e898859cd8f1a6e804776230b", "score": "0.6119481", "text": "@Override\n\tpublic void kahvalti() {\n\t\t\n\t}", "title": "" }, { "docid": "5188ca7aad5f258e672f0989f34a3f46", "score": "0.61062694", "text": "public void mo80636c() {\n }", "title": "" }, { "docid": "320da35135786dc4505079f4a9a73c36", "score": "0.6103035", "text": "@Override\r\n\tpublic void preen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "24da068fbc02f8b8b3aa9cab24026941", "score": "0.60865915", "text": "@Override\n\tpublic void atacar() {\n\t\t\n\t}", "title": "" }, { "docid": "06d440269c184993ff4f11d933a81aed", "score": "0.60860294", "text": "public void mo11421d() {\n }", "title": "" }, { "docid": "06d440269c184993ff4f11d933a81aed", "score": "0.60860294", "text": "public void mo11421d() {\n }", "title": "" }, { "docid": "10d92a66c246261fe6e471d744e9a556", "score": "0.6085701", "text": "@Override\n\tpublic void rysuje() {\n\t\t\n\t}", "title": "" }, { "docid": "7c007022c54a0806ff9bd5438ae3e2ec", "score": "0.60739225", "text": "public void mo74769c() {\n }", "title": "" }, { "docid": "6fd2749106ffef4cb03e557457ef432e", "score": "0.60392183", "text": "@Override\n public void alpulsarNO() {\n\n\n }", "title": "" }, { "docid": "df5a58b776d79955ce4bf7e18e9ddfc4", "score": "0.6021335", "text": "public void mo9214a() {\n }", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.601073", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "cc0ab1c285fd2b1a0f1742f44327869d", "score": "0.59759116", "text": "@Override\r\n\tpublic void kasitteleSyote() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ced4b47c7129b2184e6a77b2a8798fd1", "score": "0.5946297", "text": "@Override\n public void annuler() {\n\n }", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59291553", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "3334d3b302fd55029e7bd247c823c639", "score": "0.5911117", "text": "@Override\n\tvoid accerlate() {\n\t\t\n\t}", "title": "" }, { "docid": "3d63ba02955ffee95b4ac1b66c98f160", "score": "0.59105057", "text": "@Override\n protected boolean Rol() {\n return true;\n }", "title": "" }, { "docid": "fee1a18ceca61748f93149cd393850fc", "score": "0.5909857", "text": "public void mo74768d() {\n }", "title": "" }, { "docid": "ba348d037fde33ef982a79632d7adf5e", "score": "0.59073913", "text": "@Override\n\tpublic void bouger()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "c16fc3362f80f1c0559c76bf68be5792", "score": "0.58831", "text": "@Override\n\tpublic void affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "1351a596cfde79c7fcbaa0c0ac90ed14", "score": "0.5865934", "text": "@Override\n public boolean Aapninger() {\n return true;\n }", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "adbbc233cf07504fdedfcdf74afa4901", "score": "0.583616", "text": "@Override\n\tpublic void prnt() {\n\n\t}", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "27e0c12332a0f3b9fe854aa8beb3bad6", "score": "0.5825081", "text": "@Override\n\tpublic void OffersOfTheDay() {\n\t\t\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810343", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "79d198822ce7c98fbe391cfdeb33e3f6", "score": "0.58049023", "text": "@Override\r\n\tprotected void acelerar() {\n\r\n\t}", "title": "" }, { "docid": "2d17f675c4797d1489ccbc9d83c3ec33", "score": "0.5801597", "text": "@Override\n\tpublic void umm() {\n\t\t\n\t}", "title": "" }, { "docid": "c9d7a19ad712ece23e6218c1bbd97e1b", "score": "0.57992023", "text": "@Override\n\tpublic void creap() {\n\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "d5b930411834332d013e7e45ca7412e4", "score": "0.57919663", "text": "public void getAadhar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5791661", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c990ce3c0c4e578d5c2e065a437f8c3", "score": "0.5790907", "text": "public void inverte() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2988fe45f681712faab63cb0e862874c", "score": "0.57805216", "text": "@Override\r\n protected void poDolaczeniu() {\n\r\n }", "title": "" }, { "docid": "3a0aa7f30eee7a869c7fd2960b14db07", "score": "0.5778643", "text": "@Override\n public void destoty() {\n }", "title": "" }, { "docid": "10d40e9b81b4ba39c3ab6d779f3b2692", "score": "0.577812", "text": "public void mo31237c() {\n }", "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": "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": "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": "8843ebe8d692b94536f16d5f07fdff4f", "score": "0.57587487", "text": "@Override\n public void update() {\n // TODO Auto-generated method stub\n }", "title": "" }, { "docid": "c379949c43d334b2a73a78b63ebac3c1", "score": "0.5757493", "text": "@Override public int getAtaque(){\n return 0;\n\n }", "title": "" }, { "docid": "535ccad74dc29933b6b48fea680ba27c", "score": "0.5753717", "text": "@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a65f81fad538053c05dc35d7be360588", "score": "0.5752461", "text": "@Override public int getDefensa(){\n return 0;\n\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\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": "c4fa257f1d9c8e55ec00612334f57e8b", "score": "0.5742544", "text": "@Override\n public void init() {\n\t\n }", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5739092", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a624b89db95eebb0d7e745f8301395c1", "score": "0.57344353", "text": "public void method() {\n\t\t\t\t\n\t\t\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": "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": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.5732929", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "cadfa07fe44678e9617053752fa5f43d", "score": "0.57283473", "text": "@Override\r\n \tpublic String toString() {\r\n \t\treturn super.toString();\r\n \t}", "title": "" }, { "docid": "c303699d6c9f8d3a2b316125e204825c", "score": "0.57273126", "text": "@Override\n\tpublic void verTop10() {\n\t\t\n\t}", "title": "" }, { "docid": "c74f29111dd26487e1359eb6abdacbec", "score": "0.57206607", "text": "public void mo74767a() {\n }", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "1756ef4d0803e995be285c55c28e3b84", "score": "0.57156587", "text": "@Override\r\n\tpublic void bewegeNachRechts() {\n\r\n\t}", "title": "" }, { "docid": "62af35269754b8acb72204c12f622caf", "score": "0.5703817", "text": "protected void mo1291L() {\n }", "title": "" }, { "docid": "b07546ce140f2f3bb5b718f3bf303b9a", "score": "0.5702189", "text": "public void mo5721a() {\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "94016f621198b25fa3341ef2382c6876", "score": "0.5689651", "text": "@Override\n\tpublic void grandir() {\n\t\t\n\t}", "title": "" }, { "docid": "abb78a58451e05c6ba3dd938b5c036e0", "score": "0.5684533", "text": "@Override\r\n public void usunZarejestrowaneObiekty() {\n\r\n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "02b2c6e51ebb5faf78f05c34c734f88d", "score": "0.5676809", "text": "@Override\n\tprotected void adjust() {\n\t\t\n\t}", "title": "" }, { "docid": "9c052331388a2c5e4c1a01dac5b28c41", "score": "0.56740385", "text": "public void verAssist() {\n\t\t\n\n\t}", "title": "" }, { "docid": "3e2b070c1404c777aafba0cbacea02f1", "score": "0.5663756", "text": "@Override\n\tprotected void initializeData() {\n\t\t\n\t}", "title": "" } ]
2273291b3067c165cb86554372730909
Constructor for creating a new credit card and saving in database
[ { "docid": "c0bd2d9f4ab03fef14b4bbbcf65724f0", "score": "0.82767856", "text": "public CreditCard() {\n\n this.number = generateCardNumber();\n this.pin = generatePin();\n this.balance = 0;\n ControlDB.insertNewCard(this);\n System.out.println(\"Your card has been created\");\n System.out.printf(\"Your card number: %s%n\", number);\n System.out.printf(\"Your card PIN: %s%n\", pin);\n }", "title": "" } ]
[ { "docid": "49e131051d3f5d79860fa292e125ec50", "score": "0.74783635", "text": "public CreditCard() {\n this(\"\", \"\");\n }", "title": "" }, { "docid": "6118658f799cb61b2d6608f361837450", "score": "0.74562705", "text": "public CreditCard(String creditCardNumber){\n\t\t this.creditCardNumber = creditCardNumber;\n\t\t errorCode = 0;\n\t\t cardValidity = true;\n\t\t \n\t}", "title": "" }, { "docid": "b25722126cca0536b1eb81611ee5aae3", "score": "0.7152055", "text": "public Card(final CardCreateForm form) {\n this.bankAccountIban = form.getBankAccountIban();\n this.cardHolderName = form.getCardHolderName();\n this.pinCode = hashPinCode(form.getPinCode());\n this.cardNumber = generateCardNumber();\n this.expiryDate = generateExpiryDate();\n this.secureCode = generateSecureCode();\n this.blockedCard = false;\n }", "title": "" }, { "docid": "9d11ea7425e84f9678d660fca40322cb", "score": "0.6869914", "text": "public void createCard (Card card) {\n\t\tCard newCard = cardRepository.save(card);\n\t\tSystem.out.println(\"Card created\");\n\t}", "title": "" }, { "docid": "eda60d1465fcc893b2db2558630121cb", "score": "0.68526286", "text": "public abstract CreditCard creditCardFactory(String creditCardType, Long cardNumber);", "title": "" }, { "docid": "048392669dbda8f1389a250e54c9c155", "score": "0.6746601", "text": "public CreditCard(String memberID, String cardNumber, Calendar expirationDate) {\r\n this.memberID = memberID;\r\n this.cardNumber = cardNumber;\r\n this.expirationDate = expirationDate;\r\n }", "title": "" }, { "docid": "a1a7241d86c53cd0da992fb63bac51e3", "score": "0.6690974", "text": "public CustomerMakeCreditCardRepayment() {\n }", "title": "" }, { "docid": "f2886bc8470d537726757df4c2ae2629", "score": "0.6679866", "text": "public Card(final LinkCardToAccountForm form) {\n this.bankAccountIban = form.getBankAccountIban();\n this.cardHolderName = form.getCardHolderName();\n this.pinCode = hashPinCode(form.getPinCode());\n this.cardNumber = generateCardNumber();\n this.expiryDate = generateExpiryDate();\n this.secureCode = generateSecureCode();\n this.blockedCard = false;\n }", "title": "" }, { "docid": "a32434aea62fa96cd78fec9391182360", "score": "0.6654218", "text": "public void saveCreditCard(String cardNumber, String cvc, int expMonth, int expYear) {\n\n Card card = new Card(\n cardNumber,\n expMonth,\n expYear,\n cvc);\n\n boolean validation = card.validateCard();\n if (validation) {\n showProgressHUD();\n new Stripe().createToken(\n card,\n PUBLISHABLE_KEY,\n new TokenCallback() {\n public void onSuccess(Token token) {\n // Send token to your server\n saveCreditCardSuccess(token);\n dismissProgressHUD();\n }\n\n public void onError(Exception error) {\n showToast(error.getLocalizedMessage());\n dismissProgressHUD();\n }\n });\n } else if (!card.validateNumber()) {\n showToast(\"The card number that you entered is invalid\");\n } else if (!card.validateExpiryDate()) {\n showToast(\"The expiration date that you entered is invalid\");\n } else if (!card.validateCVC()) {\n showToast(\"The CVC code that you entered is invalid\");\n } else {\n showToast(\"The card details that you entered are invalid\");\n }\n }", "title": "" }, { "docid": "6713f984b1a098baef3ed639bf49114c", "score": "0.6610151", "text": "public PersonalCustomer(String name, String address, String creditCardNumber) {\r\n super(name, address);\r\n this.creditCardNumber = creditCardNumber;\r\n }", "title": "" }, { "docid": "831957c10a6dff2248bc1265ca38471b", "score": "0.6573912", "text": "public Card() {\r\n\r\n\t}", "title": "" }, { "docid": "071dfd4754d557a0dc9f79dfc4ec480c", "score": "0.6556203", "text": "public Card() {\t\t\n\t}", "title": "" }, { "docid": "af0b561e0311a0641ad5005543a7ceef", "score": "0.6531482", "text": "@Override\r\n\tpublic int createCard(BankCard card) {\n\t\treturn BankCardService.createCard(card);\r\n\t}", "title": "" }, { "docid": "e48853ebbb20ed294a96147375c9f8be", "score": "0.6509192", "text": "public void saveCreditCardDetail(CreditCard creaditcard) throws Exception {\r\n creaditcard.setCardNumber(generateCreditCardNo());\r\n creaditcard.setSecurityCode(generateSecurityCode());\r\n String encCreditCardSec = encryptSecurityCode(creaditcard.getSecurityCode());\r\n //String encSecCode = encryptSecurityCode();\r\n \r\n //encrypt the security code \r\n creaditcard.setSecurityCode(encCreditCardSec);\r\n creaditcard.setExpiryDate(\"01-01-2020\");\r\n creditCardService.saveCeditCard(creaditcard);\r\n }", "title": "" }, { "docid": "903d09c0ff1e4b6e6cb6cb94243a243a", "score": "0.65027076", "text": "public CreditChainRecord() {\n super(CreditChain.CREDIT_CHAIN);\n }", "title": "" }, { "docid": "e3cd512ea0734a10c1b87dee49d24977", "score": "0.6495049", "text": "public Postcard() {\n }", "title": "" }, { "docid": "a3f77499b01f0573c77e4a1dd7a0dbeb", "score": "0.64801013", "text": "public Card(){\n\n }", "title": "" }, { "docid": "df87680c82d7e56931c37f72cd8e5404", "score": "0.6453619", "text": "Long createCard(Card card);", "title": "" }, { "docid": "7e47ed7e181c2de34d6d711d6eff8e6b", "score": "0.645277", "text": "public CreditCard(String cardNumber, String pin, int balance) {\n\n this.number = cardNumber;\n this.pin = pin;\n this.balance = balance;\n }", "title": "" }, { "docid": "3eb8b4d44b2a519d8eb24da5a57bc1a9", "score": "0.64354134", "text": "public Card() {}", "title": "" }, { "docid": "e951fd1f754899d4669b6b4c5a286e5b", "score": "0.6351755", "text": "public Card() { //default constructor (wont be used, but figured I might as well add this.\n\t\t\n\t\tthis.value = 2; //initialize value with first possible value\n\t\tthis.name = new StringBuilder(); // instantiate StringBuilder\n\t\t\n\t}", "title": "" }, { "docid": "8ac8c6a4ea42a95abe760db87670a4ac", "score": "0.6349091", "text": "Card(String name, int price){\n// this.name = name;\n this.name = name;\n this.price = price; \n }", "title": "" }, { "docid": "b15162d8ade106f05e971b4987a39310", "score": "0.63424313", "text": "public Card()\n {\n\tthis(ACE,SPADES);\n }", "title": "" }, { "docid": "c388dd26c7f5ed10abf5d8e92f47fe23", "score": "0.63410175", "text": "@PostMapping(\"/addCard\")\n public Cards addCard(@RequestBody Cards card){\n card.setId(0);\n flashcardDao.createCard(card);\n\n return card;\n }", "title": "" }, { "docid": "6ebf513aad9267be1b6b0959d171a8db", "score": "0.6324256", "text": "public BaccaratCard(String code)\n {\n super(code);\n }", "title": "" }, { "docid": "fb8fea4155422d81cf6fa971cdcf0e93", "score": "0.6311503", "text": "TrainCard() {\r\n \t\r\n }", "title": "" }, { "docid": "e87119b58dd85190144e14a60c66c50a", "score": "0.6272383", "text": "public Card(String cardNum, String cardColor, String cardSuit) {\n\n this.cardNum = cardNum;\n this.cardColor = cardColor;\n this.cardSuit = cardSuit;\n\n }", "title": "" }, { "docid": "4d485e8d00bf25a125ba118992ef064f", "score": "0.62386286", "text": "public Card(Card card){\n\t\tthis.value = card.value;\n\t\tthis.suit = card.suit;\n\t}", "title": "" }, { "docid": "249031d4b656dc7085ab475feaf2b0ab", "score": "0.62228954", "text": "@Override\r\n\tpublic int createCard(BusinessCardVo vo) throws SQLException {\n\t\treturn client.insert(\"business.addCard\", vo);\r\n\t}", "title": "" }, { "docid": "70dd1d0e597eb4c2f74d9437df15aa34", "score": "0.6207831", "text": "public void addCreditCard() {\n\t\tString memberID = getToken(\"Enter the ID of the member with the new card\");\n\t\tif (MemberList.getInstance().findMemberById(memberID) == null) {\n\t\t\tSystem.err.println(Response.NO_MEMBER_ERR_MSG);\n\t\t\treturn;\n\t\t}\n\t\tint cardNumber = getNumber(\"Enter the credit card number\");\n\t\tCalendar expirationDate = getDate(\"Enter the expiration date of the card\");\n\t\tif (theater.addMemberCreditCard(memberID, cardNumber, expirationDate)) {\n\t\t\tSystem.out.println(\"Added Credit Card\");\n\t\t} else {\n\t\t\tSystem.err.println(\"Could not add credit card\");\n\t\t}\n\t}", "title": "" }, { "docid": "6de3629fd5d397e80e9ede5d0c4143ec", "score": "0.620416", "text": "Bank() {\n name = \"no name\";\n address = \"no address\";\n phone = \"no phone number\";\n }", "title": "" }, { "docid": "2869fa882a08f8d94fc892ee3b582a87", "score": "0.6198673", "text": "public Card() {\t\r\n\t\trank = 1;\r\n\t\tsuit = Suits.spade;\r\n\t}", "title": "" }, { "docid": "8cac2a3809386f2c0ff6e21d9e35fcf4", "score": "0.6196891", "text": "public MagicCardData()\r\n\t{\r\n\t\t// needed for ORMLite\r\n\t}", "title": "" }, { "docid": "4b723a736075ff28a1659e57d35b9e83", "score": "0.6184683", "text": "public Card(int userId, String cardNumber, String date, String firstName, String lastName){\n\t\tthis.cardNumber = cardNumber;\n\t\tthis.userId = userId;\n\t\tthis.date = date;\n\t\tthis.firstName = firstName;\n\t\tthis.lastName = lastName;\n\t}", "title": "" }, { "docid": "b0dff4622cc4c3da9e70493b08bb46b0", "score": "0.6167718", "text": "public AbstractCreditCard(CardType cardType, String number) throws IllegalArgumentException {\r\n\t\t/*Checking if the passed values are null. If they are, throwing an\r\n\t\t * illegal argument exception.\r\n\t\t */\r\n\t\tif (number.equals(null))\r\n\t\t\tthrow new IllegalArgumentException(\"Number cannot be null!\");\r\n\r\n\t\tif (cardType.equals(null))\r\n\t\t\tthrow new IllegalArgumentException(\"Card Type cannot be null!\");\r\n\t\r\n\t\t// Assigning each passed arguments to the class's fields value.\r\n\t\tthis.number = validateLuhnAlgorithm(number);\r\n\t\tthis.cardType = cardType;\r\n\r\n\t}", "title": "" }, { "docid": "4c53cfd063ebc977bf8d218e7df646f1", "score": "0.6154214", "text": "public JCard() {\n\t\tsuper();\n\t\tinit(card);\n\t}", "title": "" }, { "docid": "ff0ed4cdd5fc5d8e3c2b82c5f75a9dc9", "score": "0.61460334", "text": "void saveCard(Card card);", "title": "" }, { "docid": "782c690c1db443fe11797f5d21b272e6", "score": "0.6131959", "text": "void setPaymentCard(String cardNumber, String cardType,String cardDeduct);", "title": "" }, { "docid": "146590dfd28d402ce6b0948b88a595c4", "score": "0.6113", "text": "public Card(int rank, int suit) {\r\n rank1=rank; \r\n suit1=suit;\r\n \r\n \r\n }", "title": "" }, { "docid": "4b01ddd0b272b803a0a7f4a6157d53b0", "score": "0.6107219", "text": "public Account() {\n super(\"Create Account\");\n initComponents();\n // conn=javaconnect.ConnecrDb();\n RandomAcc();\n RandomMICR();\n RandomPIN();\n }", "title": "" }, { "docid": "c27bf492d8f1077da04cfed2e412ecea", "score": "0.6095035", "text": "private CreditMoney(){\r\n this.bankCredit=0;\r\n this.creditUnit=0;\r\n this.creditMoney=0;\r\n this.rateDebt=0;\r\n }", "title": "" }, { "docid": "c0f37132cb791264e484c8fcc493d584", "score": "0.6072411", "text": "public Card(String cardText) {\r\n this.cardText = cardText;\r\n }", "title": "" }, { "docid": "7949af518219ee2c3f24f9e66c57a749", "score": "0.60642755", "text": "public BankAccount(Customer newCustomer) {\n customer = newCustomer;\n }", "title": "" }, { "docid": "cdafeed5740c3ff057fbe1eaab7bbae8", "score": "0.6055137", "text": "void insert(AcREmployeeCard record);", "title": "" }, { "docid": "fc807728323895a211c80d1c27afe665", "score": "0.6045385", "text": "public Card(String name, String cardNumber, int month, int year) {\n\t\tthis.name = name;\n\t\tthis.month = month;\n\t\tthis.year = year;\n\t\tthis.cardNumber = cardNumber;\n\t\t\n\t}", "title": "" }, { "docid": "1f3e00cf76e879eaf38fec16150e6a92", "score": "0.6045122", "text": "public admit() {\n super(\"ADMIT CARD\");\n initComponents();\n insert_show_data();\n insert_show_data3();\n }", "title": "" }, { "docid": "030efb527e7963bab7bfed3e75b87932", "score": "0.60447687", "text": "public Account() {\n super(\"Create Account\");\n initComponents(); \n RandomAcc();\n RandomPIN();\n }", "title": "" }, { "docid": "5af4f00b4ae4a8244a19247c7a804b06", "score": "0.6042735", "text": "public ATM(Bank id)\r\n\t{\r\n\t\tbankID = id;\r\n\t}", "title": "" }, { "docid": "38d350e8e8911fdb9bbdcef38effc634", "score": "0.6030869", "text": "public void setCardNumber(String cardNumber);", "title": "" }, { "docid": "423c91ac93c83f95ccfbc9bbe14f9d2a", "score": "0.6009235", "text": "public Card() {\n\t\trank = 1;\n\t\tsuit = Suits.spade;\n\t}", "title": "" }, { "docid": "f17f50cb3764f6d8b40fbcd0a6335ca7", "score": "0.59992504", "text": "public Account_holder(String Account_Holder_Name_of_constructer_parameter,String Account_Type_of_constructer_parameter){//parameters\n this.Account_Holder_Name = Account_Holder_Name_of_constructer_parameter;\n this.Account_Type = Account_Type_of_constructer_parameter;\n }", "title": "" }, { "docid": "f27a227dd7f9d9ef1878c37f9d9ca225", "score": "0.59941363", "text": "BankAccount(String cname,String cid){\n\t\t\tCustomerName=cname;\n\t\t\tCustomerId=cid;\n\t\t}", "title": "" }, { "docid": "a148575566e4215d086d479d4af0a1b4", "score": "0.597836", "text": "public BankAccount() {\n }", "title": "" }, { "docid": "e6ded6d79e3cbd0a1c3d82c084fb2442", "score": "0.5969122", "text": "Card()//constructor incase other games need to modify class\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "f9a6eac5d981ba124546875947e4a10b", "score": "0.5967798", "text": "@Inject\n CreditCardController(GenericCreditCardRepository creditCardRepository) {\n creditCards = creditCardRepository;\n\n log.info(\"CreditCardController > construct\");\n\n if (creditCards.count() > 0) {\n return;\n }\n\n log.info(\"creditCardController > construct > adding default credit cards\");\n\n final CreditCard defaultCreditCard1 = new CreditCard();\n defaultCreditCard1.setCardNumber(1234123412341234L);\n defaultCreditCard1.setUserName(\"Jay\");\n defaultCreditCard1.setExpirationYear(2022);\n defaultCreditCard1.setExpirationMonth(12);\n\n final CreditCard defaultCreditCard2 = new CreditCard();\n defaultCreditCard2.setCardNumber(5432543254325432L);\n defaultCreditCard2.setUserName(\"Yam\");\n defaultCreditCard2.setExpirationYear(2022);\n defaultCreditCard2.setExpirationMonth(12);\n\n try {\n addCreditCard(defaultCreditCard1);\n addCreditCard(defaultCreditCard2);\n } catch (Exception e) {\n log.error(\"DeliveryController > construct > adding default deliverys > failure?\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "1dfba02e3f77a9054beee0195272cfcc", "score": "0.5952833", "text": "public void CCDetails() {\n\t\tCCnumber.sendKeys(Constants.Credit_card_number);\n\t\tCCexpiration.sendKeys(Constants.Credit_card_expiration);\n\t\tCVV.sendKeys(Constants.Credit_card_cvv);\n\t\tCCzip.sendKeys(Constants.Credit_card_zip);\n\t}", "title": "" }, { "docid": "bd454cec1954da4d9bfa6057bbf1db68", "score": "0.59488976", "text": "BankAccount(){\n\t\t\n\t\tSystem.out.println(\"NEW ACCOUNT CREATED\");\n\t}", "title": "" }, { "docid": "f77cbd986b2bc07c8523c42a0c245d5a", "score": "0.59032637", "text": "public Person(Bank holdingBank, String firstName, String lastName, String SS, String add, int zC, Date bD, long pN, UserLogin userLogin) {\r\n\tthis.firstName = firstName;\r\n\tthis.lastName = lastName;\r\n\tthis.socialSecurityNumber = SS;\r\n\tthis.address = add;\r\n\tthis.zipCode = zC;\r\n\tthis.birthday = bD;\r\n\tthis.phoneNumber = pN;\r\n\tthis.holdingBank = holdingBank;\r\n\tthis.login = userLogin;\r\n}", "title": "" }, { "docid": "c778652d664b02c567bcda9785be025e", "score": "0.5902338", "text": "public Card(){\n this.rank = 0;\n this.suit = \"N/A\";\n this.faceCard = \"N/A\";\n }", "title": "" }, { "docid": "4c9258200da9a48f704df44e54fa6baf", "score": "0.5874407", "text": "void addCard(C card);", "title": "" }, { "docid": "b4e3427c4341bafa46957080243c1c8f", "score": "0.58612895", "text": "public Card(int num, String suit)\n {\n this.num = num;\n this.suit = suit;\n }", "title": "" }, { "docid": "60a26265f1e494f81523e2065884c2c3", "score": "0.58566225", "text": "public CashPayment(Amount paidAmt) {\n this.paidAmt = paidAmt;\n }", "title": "" }, { "docid": "5b9e5acf6c926847d94fb6989de6815a", "score": "0.5851989", "text": "public Bank()\n {\n cards = new HashMap<String, Card>();\n }", "title": "" }, { "docid": "490bb1c4f1678156f123cabeb7f1dbb1", "score": "0.584723", "text": "public CardGameFramework()\n {\n this(1, 0, 0, null, 4, 13);\n }", "title": "" }, { "docid": "5c9188f0b5b9f0c78bc5e61be0253e31", "score": "0.58408767", "text": "public Card() {\r\n this.cardText = \"\";\r\n }", "title": "" }, { "docid": "4ea82f269b016017389b54644a3ecf48", "score": "0.5833658", "text": "public Card(String cardFace, String cardSuit)\r\n\t{\r\n\t\tface = cardFace;\r\n\t\tsuit = cardSuit;\r\n\t}", "title": "" }, { "docid": "a0bdf0a4564b5040ad0ba1452111b21c", "score": "0.58312243", "text": "private void addCreditCard(CreditCard card,ConnectionToClient client)\r\n\t{\r\n\t\tStatement stmt;\r\n\t\ttry {\r\n\t\t\tstmt = conn.createStatement();\r\n\t\t\tstmt.executeUpdate(\"Update readers set creditcardnum = '\" + card.getCardNum() + \"',expdate = '\" + card.getExpDate() + \"',securitycode='\" + card.getSecCode() +\"' where readerID=\"+ card.getId()+\";\");\r\n\t\t\tclient.sendToClient(card);\r\n\t\t} catch (SQLException | IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\r\n\t}", "title": "" }, { "docid": "317968eb7177cee1df88109d2de11dbf", "score": "0.5830421", "text": "BankAccount(){\r\n\t\r\n\t}", "title": "" }, { "docid": "2d80e641fb321e9669a5afb1748da778", "score": "0.58198935", "text": "public Card(int cardNumber, int suit){\n \n this.cardNumber = cardNumber;\n \n this.suit = suit;\n \n inPlay = false;\n \n getNameFromNumber();\n \n calculateRank();\n \n }", "title": "" }, { "docid": "31e4cae2e673713fe890103a3e36d402", "score": "0.58178306", "text": "public Card(int face, int suit)\n {\n\n }", "title": "" }, { "docid": "62bd6922f8dba63ba4ce6657b4c2d782", "score": "0.58033395", "text": "public BankAccount() {\n\t\tname = \"??\";\n\t\tbalance = 0;\n\t}", "title": "" }, { "docid": "e5d8a1079df6f9c574f43ff63b13a458", "score": "0.5794407", "text": "public BankAccount() {\n this(0);\n }", "title": "" }, { "docid": "c5764f8f67620ac1745bda98b7207ee0", "score": "0.5778202", "text": "Account create();", "title": "" }, { "docid": "3b6c5312c3b758ee7524535b00448fb0", "score": "0.57710034", "text": "public MykiCard(int id) {\n this(id, 0);\n }", "title": "" }, { "docid": "82cce53de9388396bf79dd1e9c472633", "score": "0.5765579", "text": "public Card(@NonNull Context context) {\n super(context);\n init(context, null, 0, 0);\n }", "title": "" }, { "docid": "92f22b23f44cabbf5836318a06184f29", "score": "0.57506925", "text": "public NewAccountForm() {\n super(\"Create Account\");\n initComponents();\n conn=javaconnect.ConnecrDb();\n }", "title": "" }, { "docid": "aab8f63ef0dd81bc0fcfb4f744b31352", "score": "0.573794", "text": "public solution.model.Card.Builder setCard(java.lang.CharSequence value) {\n validate(fields()[4], value);\n this.card = value;\n fieldSetFlags()[4] = true;\n return this; \n }", "title": "" }, { "docid": "ed2f59337d819dd2ae70319ff3e9fd88", "score": "0.5736028", "text": "public Payment populateCardPaymentToDb(String number) throws Exception {\n StatusHistory statusHistory = StatusHistory.statusHistoryWith().status(\"Success\").externalStatus(\"success\").build();\n Payment payment = Payment.paymentWith()\n .amount(new BigDecimal(\"99.99\"))\n .caseReference(\"Reference\" + number)\n .ccdCaseNumber(\"ccdCaseNumber\" + number)\n .description(\"Test payments statuses for \" + number)\n .serviceType(\"PROBATE\")\n .currency(\"GBP\")\n .siteId(\"AA0\" + number)\n .userId(USER_ID)\n .paymentChannel(PaymentChannel.paymentChannelWith().name(\"online\").build())\n .paymentMethod(PaymentMethod.paymentMethodWith().name(\"card\").build())\n .paymentProvider(PaymentProvider.paymentProviderWith().name(\"gov pay\").build())\n .paymentStatus(PaymentStatus.paymentStatusWith().name(\"success\").build())\n .externalReference(\"e2kkddts5215h9qqoeuth5c0v\" + number)\n .reference(\"RC-1519-9028-2432-000\" + number)\n .statusHistories(Arrays.asList(statusHistory))\n .build();\n\n PaymentFee fee = feeWith().calculatedAmount(new BigDecimal(\"99.99\"))\n .version(\"1\")\n .code(\"FEE000\" + number)\n .volume(1)\n .feeAmount(new BigDecimal(\"99.99\"))\n .build();\n\n PaymentFeeLink paymentFeeLink = db.create(paymentFeeLinkWith()\n .paymentReference(\"2018-0000000000\" + number)\n .caseReference(\"Reference\" + number)\n .ccdCaseNumber(\"ccdCaseNumber\" + number)\n .enterpriseServiceName(\"Probate\")\n .orgId(\"AA0\" + number)\n .payments(Arrays.asList(payment)).fees(Arrays.asList(fee)));\n payment.setPaymentLink(paymentFeeLink);\n return payment;\n }", "title": "" }, { "docid": "7a006a6c47e29f479076d9358202cbc6", "score": "0.572077", "text": "public CreateAccount() {\n initComponents();\n init();\n }", "title": "" }, { "docid": "c80ab7231a9cd49f9e1d1f5c10aab16e", "score": "0.5714454", "text": "public Card(String value)\n {\n this.value = value;\n }", "title": "" }, { "docid": "12700d2ff87d2b72738306047892b0e1", "score": "0.57083404", "text": "public Course(Course crse){\n this.id = crse.id;\n this.name = crse.name;\n this.credits = crse.credits;\n this.careerId = crse.careerId; \n }", "title": "" }, { "docid": "a1c2f85f0107a5626eadc625d76556b7", "score": "0.57010317", "text": "public Account createNewAccount(int studentId);", "title": "" }, { "docid": "782afa31c8312783fb77f8836a96c647", "score": "0.569917", "text": "Customer createCustomer(Customer customer);", "title": "" }, { "docid": "136ae65e0008e9cf543a3ce6d78cd5b8", "score": "0.5687956", "text": "public BaccaratCard(char rank, char suit)\n {\n super(rank, suit);\n }", "title": "" }, { "docid": "4b54ccc277503d11b769333e35f78386", "score": "0.5682364", "text": "public Card(int value){\n\t\t\n\t\tthis.value = value;\n\t\t\n\t}", "title": "" }, { "docid": "ce5a61227be1a02fb4092eb54c2a44ab", "score": "0.56804097", "text": "public GetCardResponse createCard(\r\n final String customerId,\r\n final CreateCardRequest request,\r\n final String idempotencyKey\r\n ) throws Throwable {\r\n\r\n HttpRequest _request = _buildCreateCardRequest(customerId, request, idempotencyKey);\r\n HttpResponse _response = getClientInstance().executeAsString(_request);\r\n HttpContext _context = new HttpContext(_request, _response);\r\n\r\n return _handleCreateCardResponse(_context);\r\n }", "title": "" }, { "docid": "0168d757e37acc47f80f3f094ec9e63a", "score": "0.5678998", "text": "public CreditCard(String customer, String bank, String account, int limit, double balance) {\n mCustomer = customer;\n mBank = bank;\n mAccount = account;\n mLimit = limit;\n mBalance = balance;\n }", "title": "" }, { "docid": "8169970f6728a14c15bd1215322a3049", "score": "0.5678273", "text": "public ReportCard() {\n mName = \"\";\n mBiologyGrade = 0;\n mEnglishGrade = 0;\n mHistoryGrade = 0;\n mMathGrade = 0;\n }", "title": "" }, { "docid": "e3d76a144e85497530ec572d5661f3c0", "score": "0.56646717", "text": "public Card(Rank rank, Suit suit) {\r\n this.rank = rank;\r\n this.suit = suit;\r\n }", "title": "" }, { "docid": "faf50a8e4e0dbcf24d58d2ad80d2dbaa", "score": "0.5663974", "text": "public PaymentCard(double openingBalance) {\r\n this.balance = openingBalance;\r\n this.affordable = 2.6;\r\n this.hearty = 4.6;\r\n }", "title": "" }, { "docid": "f0486a06014e586378a981245128b535", "score": "0.566268", "text": "Payment create(String customerGuid, Payment payment, Integer cvv);", "title": "" }, { "docid": "ea920e56d686eef80eb2c66a7ab2138d", "score": "0.5657214", "text": "public DeckOfCards()\n {\n newDeck();\n }", "title": "" }, { "docid": "14e9df115690bf958149e2689a5ee7a3", "score": "0.5653069", "text": "public SpreedlyTransactionResponse create(final SpreedlyCreditCard creditCard) {\n\t\tSpreedlyPaymentMethodCreateRequest request = new SpreedlyPaymentMethodCreateRequest();\n\t\trequest.creditCard = creditCard;\n\t\trequest.data = creditCard.data;\n\t\trequest.email = creditCard.email;\n\t\treturn util.post(\"https://core.spreedly.com/v1/payment_methods.xml\", request, SpreedlyTransactionResponse.class);\n\t}", "title": "" }, { "docid": "67e5ad3f82664c261bf14d7a06f4f52f", "score": "0.5633108", "text": "public BankaccountRecord() {\n\t\tsuper(ru.amazing.bank.jooq.tables.Bankaccount.BANKACCOUNT);\n\t}", "title": "" }, { "docid": "affff518864511e81e593a09a86740b5", "score": "0.56321317", "text": "public BankAccount() {\n\t\tthis.balance = 0.0;\n\t\tthis.accountNumber = \"1111\";\n\t\n\t}", "title": "" }, { "docid": "f8a76759ce490dbcd3379f74a62ba27a", "score": "0.5630403", "text": "public Card(Suit suit, int value){\n this.value = value;\n\t this.suit = suit;\n\t}", "title": "" }, { "docid": "3f02d857de222fb4416ff6ef79a89bea", "score": "0.5628656", "text": "public TCPurhcaseOrderPaymentData() {\r\n\r\n }", "title": "" }, { "docid": "a234ed64f4d0c3ce7eceb9859c3679c9", "score": "0.562071", "text": "public Card(int suit, int rank)\n {\n this.suit = suit;\n this.rank = rank;\n }", "title": "" }, { "docid": "ef0ce2de6e00e9430543e17c9821d431", "score": "0.5614683", "text": "Customer()\r\n{\r\nname = \"Not Entered\";\r\naddress = \"Not available\";\r\ndeposit = 0.00;\r\ninterest_rate = 0.00;\r\nmonths = 0;\r\n\r\n}", "title": "" }, { "docid": "64c776d8e6ca004fa748ac83c7017f9f", "score": "0.5610926", "text": "public Card(String rawCardData)\n\t{\n\t\tcardId = name = type = text = race =\n\t\t\t\timgGold = img = cardSet = playerClass = \"\"; \t\t// setting all to default values\n\t\tcost = attack = health = durability = -1;\t\t\t\t\t// -1 is flag for no value\n\t\t\n\t\tint startIndex;\n\t\tint endIndex;\n\t\t\n\t\t// finding cardId\n\t\tint currentIndex = rawCardData.indexOf(\"\\\"cardId\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 10;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\tcardId = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// finding name of card\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"name\\\"\");\n\t\tif (currentIndex != -1)\t\t\t\t\t\t\t\n\t\t{\n\t\t\tstartIndex = currentIndex + 8;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\tname = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// finding card type\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"type\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 8;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\ttype = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t//finding text of card\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"text\\\"\");\t\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 8;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\ttext = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// getting flavor text\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"flavor\\\"\");\t\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 10;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\tflavor = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// finding gold image url\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"imgGold\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 11;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\timgGold = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// finding image url\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"img\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 7;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\timg = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// finding the set the card belongs to\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"cardSet\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 11;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\tcardSet = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// finding class of card\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"playerClass\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 15;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\tplayerClass = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// finding race of card\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"race\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 8;\n\t\t\tendIndex = rawCardData.indexOf(\"\\\"\", startIndex);\n\t\t\trace = rawCardData.substring(startIndex, endIndex);\n\t\t}\n\t\t\n\t\t// finding mana cost of card\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"cost\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 7;\n\t\t\tendIndex = startIndex;\n\t\t\twhile (Character.isDigit(rawCardData.charAt(endIndex)))\n\t\t\t{\n\t\t\t\tendIndex++;\n\t\t\t}\n\t\t\tcost = Integer.parseInt(rawCardData.substring(startIndex, endIndex));\n\t\t}\n\t\t\n\t\t// finding attack of card\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"attack\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 9;\n\t\t\tendIndex = startIndex + 1;\n\t\t\twhile (Character.isDigit(rawCardData.charAt(endIndex)))\n\t\t\t{\n\t\t\t\tendIndex++;\n\t\t\t}\n\t\t\tattack = Integer.parseInt(rawCardData.substring(startIndex, endIndex));\n\t\t}\n\t\t\n\t\t// finding health of card\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"health\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 9;\n\t\t\tendIndex = startIndex + 1;\n\t\t\twhile (Character.isDigit(rawCardData.charAt(endIndex)))\n\t\t\t{\n\t\t\t\tendIndex++;\n\t\t\t}\n\t\t\thealth = Integer.parseInt(rawCardData.substring(startIndex, endIndex));\n\t\t}\n\t\t\n\t\t// finding durability of a weapon\n\t\tcurrentIndex = rawCardData.indexOf(\"\\\"durability\\\"\");\n\t\tif (currentIndex != -1)\n\t\t{\n\t\t\tstartIndex = currentIndex + 13;\n\t\t\tendIndex = startIndex;\n\t\t\twhile (Character.isDigit(rawCardData.charAt(endIndex)))\n\t\t\t{\n\t\t\t\tendIndex++;\n\t\t\t}\n\t\t\tdurability = Integer.parseInt(rawCardData.substring(startIndex, endIndex));\n\t\t}\n\t\t\n\t}", "title": "" } ]
47e321b1a0e76c50860172804ba20838
Called when a menu item is selected.
[ { "docid": "06da1cd16353fd75ef72cffb6ac64351", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n super.onOptionsItemSelected(item);\n switch (item.getItemId()) {\n case MENU_ZOOM_IN: {\n zoomIn();\n break;\n }\n case MENU_ZOOM_OUT: {\n zoomOut();\n break;\n }\n case MENU_BACK: {\n finish();\n break;\n }\n case MENU_CLEANUP: {\n HardReference.cleanup();\n break;\n }\n case MENU_SIGNATURE:{\n\n selectSignature();\n break;\n }\n case MENU_Share:{\n shareDocument();\n break;\n }\n }\n return true;\n }", "title": "" } ]
[ { "docid": "3826315a9b7d0beb8c7d2a16383ee930", "score": "0.8020801", "text": "@Override\n public void menuSelected(MenuBar.MenuItem menuItem) {\n }", "title": "" }, { "docid": "ce418bae84d8f364290c38088e6b8a55", "score": "0.791935", "text": "protected abstract boolean onMenuItemSelected(MenuItem item);", "title": "" }, { "docid": "a1f0261f2a87f300806013f80b5c03f9", "score": "0.78638434", "text": "@Override\n\t\t\t\tpublic void menuSelected(MenuEvent e) {\n\t\t\t\t}", "title": "" }, { "docid": "10fe429aeb07b8b481ed27cef02b3112", "score": "0.78595144", "text": "@Override\n\tpublic void menuSelected(MenuEvent arg0) {\n\n\t}", "title": "" }, { "docid": "d91959aa1e955758debdc7d69bfdee9e", "score": "0.7738125", "text": "void onMenuSelected(int menuId);", "title": "" }, { "docid": "fc92e3c20fc084ea83b484b9966d0e9c", "score": "0.7473865", "text": "@Override\n \tpublic boolean onMenuItemSelected(int featureId, MenuItem item) {\n \t\treturn super.onMenuItemSelected(featureId, item);\n \t}", "title": "" }, { "docid": "d7aee75619bb0899814541c4b119810d", "score": "0.7426308", "text": "@Override\r\n\tpublic boolean onMenuItemSelected(int featureId, MenuItem item) {\n\t\treturn super.onMenuItemSelected(featureId, item);\r\n\t}", "title": "" }, { "docid": "fdbe134b8b6b12dd79cac539ca8b193f", "score": "0.7119345", "text": "public void itemSelected() {\n LOOGER.info(\"itemSelected init\");\n if (getSelectedItem() instanceof JCheckBox) {\n selected = (JCheckBox) getSelectedItem();\n selected.setSelected(!selected.isSelected());\n\n }\n LOOGER.info(\"itemSelected end\");\n }", "title": "" }, { "docid": "f4cf3ae06bb4fb03c124cf7d62dd7b5c", "score": "0.7073314", "text": "void onItemSelected(int selectedItem);", "title": "" }, { "docid": "123894305bf92a1391db266d9c982bb8", "score": "0.7063731", "text": "void onSelectItem(String selectionName);", "title": "" }, { "docid": "92069a2d82e96d2d0ff6dd86e710d82d", "score": "0.705745", "text": "public void menuItemClick() {\n\t\tTVP.EventManager.postInputEvent(new WindowEvents.OnMenuItemClickInputEvent(this), 0 );\n\t}", "title": "" }, { "docid": "4802eabd5033d8efbd9982d833a5f547", "score": "0.70273924", "text": "@Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n // call function to handle switching\n itemSelected(id);\n return true;\n }", "title": "" }, { "docid": "7dd4a1eb7e8175ac2af5aa5939d9b85a", "score": "0.70034015", "text": "@Override\r\n\tpublic boolean onContextItemSelected(MenuItem item) {\n\t\tboolean result = choiceItem(item);\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "437e7013f728241f87982784dfc5bb8e", "score": "0.699601", "text": "public void itemSelected(MenuPage page, PageItem oldItem, PageItem newItem);", "title": "" }, { "docid": "ebbca2b2babda30c23b5994d753e93a7", "score": "0.69538695", "text": "public void toggleItemSelectedActionListener() {\n\t\t // LOGGER.debug(\"toggleItemSelectedActionListener() - click : [\" + selectedItem.getModel() + \"]\");\n\t}", "title": "" }, { "docid": "48775a88f43951aed4b895dc609ec9ff", "score": "0.69493", "text": "@Override\n public boolean onContextItemSelected(MenuItem item)\n {\n //Log.d(this.getClass().getName(), \"Seleccionado menu \"+item.getTitle()+\", sobre producto \"+this.currentItem.getName());\n switch (item.getItemId()) {\n case R.id.cntxProductHistory:\n \t //showDialog(R.layout.product_history);\n\t\t\tIntent intent = new Intent(\"ProductHistory.intent.action.Launch\");\n\t\t\tintent.putExtra(\"PRODUCTID\", this.currentItem.getId());\n startActivityForResult(intent, 0);\n \t return true;\n default:\n return super.onContextItemSelected(item);\n }\n }", "title": "" }, { "docid": "72a6f9ea02708a7092852a5b4827396f", "score": "0.69122267", "text": "void onSelected();", "title": "" }, { "docid": "1f67e208f786897460e4849174f02c12", "score": "0.6908451", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id = item.getItemId();\n //calling the method displayselectedscreen and passing the id of selected menu\n displaySelectedScreen(id);\n return true;\n }", "title": "" }, { "docid": "38e9a1bb1e723b0b39c727e2d98e88fc", "score": "0.6877852", "text": "public void onItemSelected(String title);", "title": "" }, { "docid": "b402fb7575a2ae7a098b6804e43cc312", "score": "0.6842148", "text": "@Override\n\t\t\tpublic void onItemSelected(AdapterView<?> arg0, View arg1,\n\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "3d2056cee43859f96d850a8fdd704f60", "score": "0.6811234", "text": "@Override\n\tpublic boolean onMenuItemSelected(int featureId, MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase R.id.action_switch_to_plan:\n\t\t\tswitch_to_weeklyPlan();\n\t\t\treturn true;\n\t\tcase R.id.action_switch_to_selection:\n\t\t\tswitch_to_selection();\n\t\t\treturn true;\n\t\tcase R.id.action_export:\n\t\t\tgenerateRegistration();\n\t\t\treturn true;\n\t\tcase R.id.action_about:\n\t\t\tshowAbout();\n\t\t\treturn true;\n\t\tcase R.id.action_settings:\n\t\t\teditSettings();\n\t\t\treturn true;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}", "title": "" }, { "docid": "2bb53cb5db1dd80d3086d26cda6f38a7", "score": "0.67968905", "text": "@Override\n\t\tpublic void onItemSelected(AdapterView<?> parent, View arg1, int pos,long arg3) {\n\t\t}", "title": "" }, { "docid": "42bc4cdbb673ceba84c554f5b50ff449", "score": "0.67960006", "text": "@Override\n public boolean onContextItemSelected(MenuItem item) {\n // Get context menu info so we can original list item clicked (item.position)\n AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo)item.getMenuInfo();\n\n // Get menu item clicked\n int menuItemIndex = item.getItemId();\n\n // Get menu items value (action string), by using the menuitemindex as an array key\n String listItemAction = actionArray[info.position].optString(actionArray[info.position].names().optString(menuItemIndex));\n\n // Navigate there\n startNavigating(listItemAction);\n return true;\n }", "title": "" }, { "docid": "9dba7f1997f46ba965e30701ee76c08d", "score": "0.67891836", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view,\n int position, long id) {\n }", "title": "" }, { "docid": "9f62293e34c9a9382c11beac394815ca", "score": "0.6787654", "text": "@Override\n\tpublic void onItemSelected(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\tlong arg3) {\n\t\t\n\t}", "title": "" }, { "docid": "9f62293e34c9a9382c11beac394815ca", "score": "0.6787654", "text": "@Override\n\tpublic void onItemSelected(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\tlong arg3) {\n\t\t\n\t}", "title": "" }, { "docid": "35451b7009611ad99bf2c1e5ed7cfaa1", "score": "0.6783749", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view,\n int position, long id) {\n }", "title": "" }, { "docid": "fd852b030921f5f92bc6e8c8fe0de6d0", "score": "0.67808235", "text": "@Override\r\n\tpublic void onItemSelected(AdapterView<?> parent, View view, int position,\r\n\t\t\tlong id) {\n\t\t\r\n\t}", "title": "" }, { "docid": "07e14d89cac19034dcc8ed06c4de1eaa", "score": "0.67616343", "text": "@Override\n\t\t\tpublic void onItemSelected(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "07e14d89cac19034dcc8ed06c4de1eaa", "score": "0.67616343", "text": "@Override\n\t\t\tpublic void onItemSelected(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "474306a1142cd4684ce2928de6a28030", "score": "0.67593545", "text": "@Override\n\tpublic boolean onContextItemSelected(MenuItem item) {\n\t\treturn super.onContextItemSelected(item);\n\t}", "title": "" }, { "docid": "0862d7e8d008d6b2e652935143b7f69e", "score": "0.6753013", "text": "@Override\n\tpublic void onItemSelected(AdapterView<?> arg0, View arg1, int arg2, long arg3)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "6085972d9b5ef88510b8df953301e202", "score": "0.67500216", "text": "boolean onItemSelected(int itemIndex);", "title": "" }, { "docid": "b141ebf81bdaba01e71e6777b9f4207f", "score": "0.6748848", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id)\n {\n }", "title": "" }, { "docid": "686c67eefab34c450658570db351a0ed", "score": "0.6734336", "text": "@Override\n\tpublic boolean onMenuItemSelected(int featureId, MenuItem item) {\n\t\tswitch(item.getItemId()) {\n\t\tcase ID_CREATE_ANNOTATION:\n\t\t\tshowAnnotation(mPhoto, this);\n\t\t\t//return true;\n\t\t}\n\n\t\treturn super.onMenuItemSelected(featureId, item);\n\t}", "title": "" }, { "docid": "46f3a2bf15e7fd49ffb0f5fc76d33794", "score": "0.671734", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "title": "" }, { "docid": "19c03b2a06807c22cc08b389974df26b", "score": "0.6712663", "text": "void onItemSelected(int position);", "title": "" }, { "docid": "e1f1184673421447082e679edc31aea3", "score": "0.66964465", "text": "@Override\r\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "title": "" }, { "docid": "6a4a597fa788f14a516b63994c295038", "score": "0.6696074", "text": "@Override\n\tpublic void onItemSelected(AdapterView<?> parent, View v, int position,long id) {\n\t\t\n\t}", "title": "" }, { "docid": "48c9afde5d0c0cb04eeb1008fc880f69", "score": "0.6689748", "text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\treturn menuChoice(item);\r\n\t}", "title": "" }, { "docid": "aee739f36148b83ae4cc249872c87273", "score": "0.66864467", "text": "@Override\n public boolean onContextItemSelected(MenuItem item) {\n \tint id = item.getItemId();\n \tint index = getIntent().getIntExtra(\"index\", 0);\n\n \tif (id == R.id.context_menu_list_pedido_activity_action_detail) {\n \t\topenDetailSelectedItem(index);\n \t\treturn true;\n \t}\n \tif (id == R.id.context_menu_list_pedido_activity_action_edit) {\n \t\topenEditSelectedItem(index);\n \t\treturn true;\n \t}\n \tif (id == R.id.context_menu_list_pedido_activity_action_delete) {\n \t\topenDeleteSelectedItem(index);\n \t\treturn true;\n \t}\n \tif (id == R.id.context_menu_select_list_pedido_activity_action_select) {\n \t\topenSelectionItem(index);\n \t\treturn true;\n \t}\n \treturn super.onContextItemSelected(item);\n }", "title": "" }, { "docid": "4fda0b37403fc8214efc41df4c0491c1", "score": "0.6678201", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "title": "" }, { "docid": "9442699e1c231528cf065b4d7e9122d8", "score": "0.667616", "text": "public void onItemSelected(String id);", "title": "" }, { "docid": "9442699e1c231528cf065b4d7e9122d8", "score": "0.667616", "text": "public void onItemSelected(String id);", "title": "" }, { "docid": "2f32b80cf1038da8fca41e8913e67c4d", "score": "0.6673348", "text": "public void onItemSelected(AdapterView<?> parent, View view, \n int pos, long id) {\n }", "title": "" }, { "docid": "044935d0a13394304946c86f664f7230", "score": "0.66673404", "text": "@Override\n \tpublic boolean onContextItemSelected(MenuItem item) {\n \t\tAdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();\n \t\tmSelectedPosition = info.position;\n \t\tswitch (item.getItemId()) {\n \t\tcase R.id.menu_item_list_view_delete:\n \t\t\tshowDialog(DELETE_QUOTE_DIALOG_ID);\n \t\t\treturn true;\n \t\tcase R.id.menu_item_list_view_edit:\n \t\t\tshowDialog(INSERT_QUOTE_DIALOG_ID);\n \t\t\treturn true;\n \t\t}\n \t\treturn super.onContextItemSelected(item);\n \t}", "title": "" }, { "docid": "0ede65477179a436d591810476906bbf", "score": "0.6661126", "text": "@Override\n public void menuDeselected(MenuEvent me)\n {\n }", "title": "" }, { "docid": "1011621e4a81e3df2beb55d1dc7b9d74", "score": "0.6651015", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "title": "" }, { "docid": "1011621e4a81e3df2beb55d1dc7b9d74", "score": "0.6651015", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "title": "" }, { "docid": "48cf14178b3d8c5ad2bc83cc228c2f32", "score": "0.6648965", "text": "@Override\n\tpublic boolean onMenuItemSelected(int featureId, MenuItem item)\n\t{\n\t\tif (toggle.onOptionsItemSelected(item)){\n\t\t\treturn true;\n\t\t}\n\t\tswitch (item.getItemId()){\n\t\t\tcase R.id.action_create_delivery:\n\t\t\t\tIntent create_delivery = new Intent(this, CreateDeliveryActivity.class);\n\t\t\t\tstartActivity(create_delivery);\n\t\t\t\treturn true;\n\t\t\tdefault:\n\t\t\t\treturn super.onMenuItemSelected(featureId, item);\n\t\t}\n\t}", "title": "" }, { "docid": "918a33ea7bd1af91f94dd44dc71a04b0", "score": "0.66388065", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n\n }", "title": "" }, { "docid": "918a33ea7bd1af91f94dd44dc71a04b0", "score": "0.66388065", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n\n }", "title": "" }, { "docid": "918a33ea7bd1af91f94dd44dc71a04b0", "score": "0.66388065", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n\n }", "title": "" }, { "docid": "918a33ea7bd1af91f94dd44dc71a04b0", "score": "0.66388065", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n\n }", "title": "" }, { "docid": "69aa335b12f39b5b2d44fd33654e8c65", "score": "0.66375816", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n displaySelectedScreen(id);\n\n return true;\n }", "title": "" }, { "docid": "8119ba5db72496af01bb9e023d4aaaec", "score": "0.6635838", "text": "@Override\n public boolean onContextItemSelected(MenuItem item) {\n\n // Toast Selected Menu Item Title on Click.\n Toast.makeText(this, item.getTitle() + \" Menu Item Clicked\", Toast.LENGTH_SHORT).show();\n\n return true;\n }", "title": "" }, { "docid": "15e7e424f0d3ac429e84c1eaec975660", "score": "0.6625612", "text": "public void onItemSelected(AdapterView<?> parent, View view, \n int pos, long id) {\n\t\t\n }", "title": "" }, { "docid": "8ac8a93738990a657c5c7d334386b423", "score": "0.66213095", "text": "@Override\n public void onFromItemSelected(View view, int row, int col) {\n }", "title": "" }, { "docid": "67caace746fcf5f837947cb3d234c3f5", "score": "0.66101223", "text": "public void onItemSelected(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t}", "title": "" }, { "docid": "3196068cdc5e8ded014de803b5b286b3", "score": "0.65937185", "text": "@Override\n public boolean onMenuItemClick(MenuItem item) {\n switch (item.getItemId()) {\n }\n return true;\n }", "title": "" }, { "docid": "2c637c6cc16d3823d2ad6e7282ff960c", "score": "0.65768456", "text": "@Override\n\tpublic void menuDeselected(MenuEvent arg0) {\n\n\t}", "title": "" }, { "docid": "61602ddae39be89203f86de18033fc91", "score": "0.65767294", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n displaySelectedScreen(item.getItemId());\n return true;\n }", "title": "" }, { "docid": "a15014515a4a2483bc586e20f6e6f632", "score": "0.6573924", "text": "public abstract void itemSelected(AdapterView<?> parent, View view, int position, long id);", "title": "" }, { "docid": "8a6bef6bfaf96d9831d4c0b06ad03227", "score": "0.6569926", "text": "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n\t\t\t\tToast.makeText(getApplicationContext(), \"you selected \" + menu.get(position) + \" .\", Toast.LENGTH_SHORT)\n\t\t\t\t\t\t.show();\n\n\t\t\t\tmLayout.toggleMenu();\n\t\t\t\tif (position == 1) {\n\t\t\t\t\tIntent intent = new Intent(mcontext, ProfileActivity.class);\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "32a54ccbcd1f8f72c5f3485e702fb1de", "score": "0.65587926", "text": "@Override\n public void onSelected() {\n\n }", "title": "" }, { "docid": "11502609168d778a0cdb7abc88a3970e", "score": "0.6552414", "text": "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1, int position, long id) {\n // TODO Auto-generated method stub\n\n }", "title": "" }, { "docid": "be8949e125fa62e16cd1b6eb3a2a07d6", "score": "0.654648", "text": "public void onOrderMenuClick(MenuItem item){\n\t}", "title": "" }, { "docid": "025d29d59808329069e5a4ef4c7e1bbb", "score": "0.65406495", "text": "public void onItemSelected(Long id);", "title": "" }, { "docid": "09a2eae499b5edcd04d34334ea2b7795", "score": "0.6540285", "text": "public void select() { \r\n\t\t\tselectionFunctions.onSelected(gameObject);\r\n\t\t}", "title": "" }, { "docid": "445fe86f8567ae89b7edb80056d8c569", "score": "0.65368843", "text": "@FXML\n\tvoid itemSelected() {\n\t\t\n\t\tString selectedItemName = itemNameCombo.getValue();\n\t\t\n\t\tif (selectedItemName != null) {\n\t\t\t// Set the quantityLabel to the default\n\t\t\tquantityLabel.setText(\"Quantity\");\n\t\t\t\n\t\t\t// Update the itemNameLabel\n\t\t\titemNameLabel.setText(selectedItemName);\n\t\t\t\n\t\t\t// Load the required possible quantities in the quantity combobox.\n\t\t\tint maxAmount = marketManager.getInventoryAmountForItem(\n\t\t\t\t\tselectedItemName);\n\t\t\t\n\t\t\t// Clear the contents of the quantity combobox.\n\t\t\tquantityCombo.getItems().clear();\n\t\t\t\n\t\t\tfor (int i = 1; i <= maxAmount; i++) {\n\t\t\t\tquantityCombo.getItems().add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "2148e8abf1f50f97bf13c248af9c1403", "score": "0.6525527", "text": "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n selectItem(position);\n\n }", "title": "" }, { "docid": "e1c178273e070ccd327b53ec78431b8d", "score": "0.65083206", "text": "@Override\n\tpublic void onListItemSelected(int index, String tag, long id) {\n\t}", "title": "" }, { "docid": "b599593bf8db3dc2aaff5b754fe8221d", "score": "0.65063304", "text": "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n return super.onOptionsItemSelected(item);\r\n }", "title": "" }, { "docid": "5cea86ff0991af2f2a89b4a1dcb26764", "score": "0.6504029", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n\n }", "title": "" }, { "docid": "ffbaf12ee0850cff3b22f864a0fa3260", "score": "0.6499041", "text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "title": "" }, { "docid": "bbf61ed5a36049a248861f584f3c1ce2", "score": "0.6496611", "text": "@Override\r\n\t\t\tpublic void onPageSelected(int arg0) {\n\t\t\t\taction_bar.setSelectedNavigationItem(arg0);\r\n\t\t\t}", "title": "" }, { "docid": "db415831981c0bda1153bcf33aea20cc", "score": "0.64935493", "text": "@Override\n\t\t\tpublic void menuDeselected(MenuEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "6208605a6ea18ddb9e50e9b58692eb0a", "score": "0.649246", "text": "@Override\n public boolean onMenuItemSelected(int featureId, MenuItem item) {\n \tswitch (item.getItemId()) {\n case R.id.settings:\n \tIntent i = new Intent(this, Preferences.class);\n \tstartActivity(i);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }", "title": "" }, { "docid": "dec6c8ba7cff9327b8b6d64a1aa08426", "score": "0.6491989", "text": "@Override\n public void input(int selection)\n {\n try\n {\n menu.select(selection);\n }\n catch (NoSuchOptionException e) \n {\n this.handler.notifyError(e); \n }\n }", "title": "" }, { "docid": "f90c0a8c31a394b5a7a273505284f3c4", "score": "0.64918715", "text": "@Override\r\n\tpublic void onCategorySelected(int position) {\n\r\n\t\tMenuItemsFragment menuFrag = (MenuItemsFragment) getFragmentManager()\r\n\t\t\t\t.findFragmentById(R.id.menu_pane);\r\n\r\n\t\tif (menuFrag != null) {\r\n\t\t\t// If menu frag is available, we're in two-pane layout...\r\n\r\n\t\t\t// Call a method in the MenuItemsFragment to update its content\r\n\t\t\tmenuFrag.updateMenuView(position);\r\n\t\t} else {\r\n\t\t\t// Otherwise, we're in the one-pane layout and must swap frags...\r\n\r\n\t\t\t// Create fragment and give it an argument for the selected article\r\n\t\t\tMenuItemsFragment newFragment = new MenuItemsFragment();\r\n\t\t\tBundle args = new Bundle();\r\n\t\t\targs.putInt(MenuItemsFragment.ARG_POSITION, position);\r\n\t\t\tnewFragment.setArguments(args);\r\n\r\n\t\t\tFragmentTransaction transaction = getFragmentManager()\r\n\t\t\t\t\t.beginTransaction();\r\n\r\n\t\t\t// Replace whatever is in the fragment_container view with this\r\n\t\t\t// fragment,\r\n\t\t\t// and add the transaction to the back stack so the user can\r\n\t\t\t// navigate back\r\n\t\t\ttransaction.replace(R.id.main_container, newFragment);\r\n\t\t\ttransaction.addToBackStack(null);\r\n\r\n\t\t\t// Commit the transaction\r\n\t\t\ttransaction.commit();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2a38435ca6df3fefbec6d22958f2f1ea", "score": "0.6490728", "text": "public abstract void handleItemSelected(BoxItem boxItem, boolean wasSelected, MultiSelectHandler handler);", "title": "" }, { "docid": "0ab81a7d021b4f8bf5d15f0201f96fe5", "score": "0.64831567", "text": "@Override\n public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n long arg3) {\n machineAdapter.setSelected(true, arg2);\n choosedMachine = dispatchedMachines.get(arg2);\n\n }", "title": "" }, { "docid": "3f740bd2d4084c2539ed2a472488d93d", "score": "0.64830446", "text": "@Override\n\tpublic boolean onMenuItemClicked(MenuScene pMenuScene, IMenuItem pMenuItem,\n\t\t\tfloat pMenuItemLocalX, float pMenuItemLocalY) {\n\t\tswitch(pMenuItem.getID()) {\n case MENU_NEWGAME:\n return true;\n case MENU_HINT:\n return true;\n case MENU_DEAL:\n return true;\n\t\tcase MENU_OPTIONS:\n\t\t\treturn true;\n case MENU_EXIT:\n return true;\n\t\t\tdefault:\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "0c77c4de29c3996ef506abd1747825b1", "score": "0.6482183", "text": "@Override\r\n\t\t\tpublic void menuDeselected(MenuEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "00e8297479d1ebc41d1dba773a0d4905", "score": "0.64742", "text": "private void selected(MaterialTreeItem item) {\n\t\tif (item.getTreeItems().size() == 0) {\n\t\t\tString id = item.getText();\n\t\t\tchosen.catagoryChosen(mapping.get(id), item);\n\t\t\tclose();\n\t\t} else {\n\t\t\titem.expand();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "dacc2d647a76b97d27f57bdad6012312", "score": "0.647392", "text": "void onItemSelect(int position);", "title": "" }, { "docid": "9968a0ad857199fc30fda4abf06881e4", "score": "0.64736426", "text": "@Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n menuItem.setChecked(true);\n // close drawer when item is tapped\n mDrawerLayout.closeDrawers();\n\n // Add code here to update the UI based on the item selected\n // For example, swap UI fragments here\n\n return true;\n }", "title": "" }, { "docid": "9968a0ad857199fc30fda4abf06881e4", "score": "0.64736426", "text": "@Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n menuItem.setChecked(true);\n // close drawer when item is tapped\n mDrawerLayout.closeDrawers();\n\n // Add code here to update the UI based on the item selected\n // For example, swap UI fragments here\n\n return true;\n }", "title": "" }, { "docid": "9968a0ad857199fc30fda4abf06881e4", "score": "0.64736426", "text": "@Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n menuItem.setChecked(true);\n // close drawer when item is tapped\n mDrawerLayout.closeDrawers();\n\n // Add code here to update the UI based on the item selected\n // For example, swap UI fragments here\n\n return true;\n }", "title": "" }, { "docid": "23a6fc7a4a7af9ceb6fbbbfcf97a5cda", "score": "0.6470984", "text": "public void onItemSelected(AdapterView<?> parent, View view,\n int pos, long id) {\n // An item was selected. You can retrieve the selected item using parent.getItemAtPosition(pos)\n // For the prototype, don't actually handle this. Maybe implement it later.\n }", "title": "" }, { "docid": "df2ccd83f4a4c6d45610c38159380217", "score": "0.64693236", "text": "public void onItemSelected(long l);", "title": "" }, { "docid": "28a50acd5ae7fa02a8a761784964420e", "score": "0.64638233", "text": "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long l) {\n\n }", "title": "" }, { "docid": "780b107e61787172a02ea6b967c28001", "score": "0.64599216", "text": "@Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n }", "title": "" }, { "docid": "1a3517b9558169362a9c846e5562e2ed", "score": "0.6459691", "text": "protected void onSelect(Object selected) {\n\t\t// overwrite in subclasses\n\t}", "title": "" }, { "docid": "acb63d92801fd6b06a64d7fc53123fe0", "score": "0.64587915", "text": "@Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n menuItem.setChecked(true);\n // close drawer when item is tapped\n drawerLayout.closeDrawers();\n\n // Add code here to update the UI based on the item selected\n // For example, swap UI fragments here\n\n return true;\n }", "title": "" }, { "docid": "9d5c86056008e902fb2d48ef07627e37", "score": "0.64488876", "text": "@Override\n public void selected(SelectEvent event)\n {\n }", "title": "" }, { "docid": "d041fef81afc22bba15a1e4abeee0938", "score": "0.644872", "text": "@Override\r\n\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\tcurrentChooseValue=byAdrress.getSelectedItem()+\"\";\r\n\t\t}", "title": "" }, { "docid": "42263e4bcddd47e76a8213e70f7e398d", "score": "0.64471585", "text": "@Override\r\n\t\tpublic void onItemSelected(AdapterView<?> arg0, View arg1,\r\n\t\t\t\tint arg2, long arg3) {\n\t\t\tlong selected_id = arg0.getItemIdAtPosition(arg2);\r\n\t\t\tnSelectedPushMethodIndex = (int)selected_id;\r\n\t\t\t//String selected_str = arg0.getItemAtPosition(arg2).toString();\r\n\t\t\t//System.out.println(selected_id + \" \" + selected_str);\r\n\t\t}", "title": "" }, { "docid": "f1a7093ba41014866606fbc4a24e54f1", "score": "0.6440466", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n displaySelectedScreen(item.getItemId());\n //make this method blank\n return true;\n }", "title": "" }, { "docid": "a2d9bd8949f1d2bb09193de6b69e2f4d", "score": "0.6437592", "text": "public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n\t\t\t}", "title": "" }, { "docid": "56f773d83474fa855d0e785d3abb95c0", "score": "0.64287376", "text": "public void onItemSelected(int position) {\n if (mListener != null) {\n mListener.onItemSelect(position);\n }\n }", "title": "" } ]
6470a46cb8daf30cc9ea06d2f442c03f
/ access modifiers changed from: packageprivate
[ { "docid": "615bc46a568bbd6e392ea80288e78bf6", "score": "0.0", "text": "public final /* synthetic */ void lambda$onInputClicked$0$InputsPanelActivity(int inputIndex) {\n InputsPanelFragment inputsPanelFragment2 = this.inputsPanelFragment;\n if (inputsPanelFragment2 != null) {\n inputsPanelFragment2.launchInputActivity(inputIndex);\n }\n super.finish();\n }", "title": "" } ]
[ { "docid": "8e44716b5ee10b9661605afb83ad4dc2", "score": "0.6991612", "text": "private void priv() {}", "title": "" }, { "docid": "bc3a08c64e443ee86473be048cb9738a", "score": "0.6778093", "text": "private void smth() {\n\n\t\t}", "title": "" }, { "docid": "f0705d77863f0fa7c516a99a8eca8134", "score": "0.67189693", "text": "private void zbudujSciezkeiRozpocznij() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d93c74d91cdd5fd7d5ba828e7409b39e", "score": "0.6515621", "text": "private AccessPrivate() {\n }", "title": "" }, { "docid": "86cc7a250573cf92b9c0ec2841f0a3b1", "score": "0.6416217", "text": "private void boof() {}", "title": "" }, { "docid": "bc7d3c901cf5e7cfe613184da88f97df", "score": "0.64073443", "text": "protected abstract void mo6852a();", "title": "" }, { "docid": "ec2afced68195dab79cf8503e6907338", "score": "0.6368194", "text": "protected void mo1628b() {\n }", "title": "" }, { "docid": "ff86c3e5dba10aeeb57d62c4db80a220", "score": "0.6340625", "text": "protected abstract Object m8602a();", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.63319325", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "title": "" }, { "docid": "7c6fed8e399de380b119d83c6b7dec38", "score": "0.6292996", "text": "private MoreEmperor(){\n\n\t}", "title": "" }, { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6272537", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.62662125", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80510a7a2fbd76948fe3608208e1c8df", "score": "0.6236978", "text": "public static void insane() {\n\t\t\n\t}", "title": "" }, { "docid": "a8e650984d750fb08d1202441a469d81", "score": "0.6235662", "text": "private Ap() \r\n\t{ \r\n\t}", "title": "" }, { "docid": "9a00431eee28b38391cb5dfa243729d9", "score": "0.6221521", "text": "public void mo4643a() {\n }", "title": "" }, { "docid": "e0088beb8016a0d5d45512bb98253199", "score": "0.62175256", "text": "private MetadataHelper() {\n\t\t//empty\n\t}", "title": "" }, { "docid": "77bd5c647ba86d1dbf915a5a9f765e00", "score": "0.62144715", "text": "private SHERPAUtils() {}", "title": "" }, { "docid": "d9eebf36f84c2aebf32d48fcbd592353", "score": "0.6185747", "text": "private GerenciadorImpressao() {\n\t\t\n\t}", "title": "" }, { "docid": "2cc97f340071c93ab12395f2981731ee", "score": "0.61676645", "text": "public void mo25307b() {\n }", "title": "" }, { "docid": "064ee3ef6457780e0304b610f7248e62", "score": "0.6166048", "text": "private Utilities(){}", "title": "" }, { "docid": "bde791cb78ce1d6d2a0745225e0176b8", "score": "0.6150626", "text": "public abstract void mo72306j();", "title": "" }, { "docid": "df8a8b96bc759c7b35f1091da9a1db36", "score": "0.61350566", "text": "public abstract void m22895d();", "title": "" }, { "docid": "b4ecae6e31b41ead72d093495b46455a", "score": "0.6130613", "text": "public void mo1410b() {\n }", "title": "" }, { "docid": "4c9e25ea6f293e2f67da562cd4a0b657", "score": "0.6117876", "text": "public final void mo8553EA() {\n }", "title": "" }, { "docid": "3c67133d704b7188883ee60fd0de7ceb", "score": "0.61127794", "text": "public abstract void mo42336d();", "title": "" }, { "docid": "c22e85d8c293c23e5270f1fbdb677ea4", "score": "0.60977906", "text": "@Override\r\n protected void doo_()\r\n {\n }", "title": "" }, { "docid": "d95a081a1e6e3117f8617a3fbbbe16fd", "score": "0.60960203", "text": "public void mo3871b() {\n }", "title": "" }, { "docid": "a1483cb59e81616cafe07934cf2a28f5", "score": "0.6084612", "text": "protected void mo1960i() {\n }", "title": "" }, { "docid": "9c78dfd9e1a470b1bd008504d19d9197", "score": "0.6073303", "text": "protected void mo1958j() {\n }", "title": "" }, { "docid": "7da9ad3ab650b64b3e75012a99c0e238", "score": "0.60593176", "text": "public void mo3866a() {\n }", "title": "" }, { "docid": "4f13ed0c150f36ca81b91638bd82d268", "score": "0.60570836", "text": "private Util() { }", "title": "" }, { "docid": "36e400a516499204257ae497b7df4f8f", "score": "0.60403585", "text": "private Util() {}", "title": "" }, { "docid": "36e400a516499204257ae497b7df4f8f", "score": "0.60403585", "text": "private Util() {}", "title": "" }, { "docid": "88ee8c883c37d46adbe05cd9d34c0ef7", "score": "0.60321146", "text": "public abstract void mo92555p();", "title": "" }, { "docid": "657d87f4ac2918ce5fce84e83ea3855b", "score": "0.6029308", "text": "@Override\n\tpublic void arreglar() {\n\n\t}", "title": "" }, { "docid": "2d0824e923a5d66806b3bad0940abbd3", "score": "0.6024398", "text": "private Utils() {}", "title": "" }, { "docid": "4afa01a4b454e63c281ef04c9ae86fef", "score": "0.6022436", "text": "void mo12463P();", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.60196805", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "381454d78257eeedd56c5a3b2049ee33", "score": "0.60146487", "text": "public abstract void mo2655c();", "title": "" }, { "docid": "3ac4fe8cdbfc0af06e670b46237d593b", "score": "0.60146457", "text": "private static void init() {\n\t\t\n\t}", "title": "" }, { "docid": "74989fa464f0a254ac64c487dfda45d9", "score": "0.6005343", "text": "private OPHelper()\r\n {\r\n }", "title": "" }, { "docid": "571003ac9a448073df8a023792518814", "score": "0.60045516", "text": "public void mo4586b() {\n }", "title": "" }, { "docid": "f5921b753008361f551852a6c45bd4f1", "score": "0.60043514", "text": "private Packages() {\n\t\tDBC.UNREACHABLE_CODE();\n\t}", "title": "" }, { "docid": "c4c08be67e308d00143da6ffbea33d15", "score": "0.6003623", "text": "private FunctionContextHelper() {\n\t\tthrow new IllegalAccessError();\n\t}", "title": "" }, { "docid": "61fb897a2a2b27318913445067a7c070", "score": "0.60001004", "text": "public void mo92534b() {\n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.59807545", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "32622792c46b5467c2ad8a7f3d285f9e", "score": "0.5974165", "text": "public void mo4579b() {\n }", "title": "" }, { "docid": "6353e85b2aac21fff7db354568309139", "score": "0.5965239", "text": "public abstract void mo1608c();", "title": "" }, { "docid": "9b9787eedaf8ab2866634795354c59ac", "score": "0.59585536", "text": "@Override\n\tprotected void special() {\n\n\t}", "title": "" }, { "docid": "b55fee510b247cdd8066e542381d90cd", "score": "0.5958433", "text": "public abstract void mo41381a();", "title": "" }, { "docid": "e1a0b052f9bf285524d3ec5a4736fcfc", "score": "0.59531885", "text": "public void mo92528a() {\n }", "title": "" }, { "docid": "90e9be10c2c69543036119c8db74189e", "score": "0.59403396", "text": "public void mo6944a() {\n }", "title": "" }, { "docid": "afe4974c1bb08d001eb247949dc197ba", "score": "0.59387094", "text": "public void publicar() {\n throw new UnsupportedOperationException(\"Not implemented yet.\");\r\n }", "title": "" }, { "docid": "767e59894354c09bec55bebb5f362733", "score": "0.5937249", "text": "public abstract void mo30456a();", "title": "" }, { "docid": "daa7ba2dc52a6b5da9d678c92ac81115", "score": "0.5925903", "text": "private Consola() {\r\n\t}", "title": "" }, { "docid": "16c30d73c1df796c0e31e93eb0f6e02e", "score": "0.5925185", "text": "@Override\r\n\tpublic void atacar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6df18bf87e94283ff1dc9e42da6f5d7f", "score": "0.59112334", "text": "protected abstract void beschreiben();", "title": "" }, { "docid": "2c0b2df7dc1d1ec9f0a6f90a1c4c7281", "score": "0.59099793", "text": "private // Defeat instantiation\n YdxfGetEntMtext()\n {\n }", "title": "" }, { "docid": "ed687b93ccfbe065fa46566c0c473f1a", "score": "0.5909338", "text": "private Television() {\n\n\t}", "title": "" }, { "docid": "18f07d69021f798ebf980f38f2da8e22", "score": "0.58978283", "text": "public abstract void mo72305i();", "title": "" }, { "docid": "b041fae3e4139a3b81006825864cff81", "score": "0.5894377", "text": "private static void init() {}", "title": "" }, { "docid": "02b3de6ca15467e0126e12d8898d430d", "score": "0.58921033", "text": "public void mo1408a() {\n }", "title": "" }, { "docid": "a3def2258601d63c48bf6eff66c59697", "score": "0.5882918", "text": "public void mo12628c() {\n }", "title": "" }, { "docid": "8e584d0bc25283bd075aa6f6ebc8ba60", "score": "0.58791125", "text": "private Subtask04() {\n\t\tthrow new UnsupportedOperationException();\n\t}", "title": "" }, { "docid": "dd52b07b3b08ed17e2904774fedab9f5", "score": "0.58781433", "text": "public abstract String mo118446b();", "title": "" }, { "docid": "7c095c57d10901c0fda3f8584611b8a8", "score": "0.58678937", "text": "@Override\n protected void init () {\n }", "title": "" }, { "docid": "1a0e5ed7432f278f3f68a25243b611a4", "score": "0.5864711", "text": "@Override\n\tpublic void aaa03() {\n\t\t\n\t}", "title": "" }, { "docid": "b2ff0e2b134cf598d8ed9c09410bdfcd", "score": "0.5863484", "text": "private Abc() { // private constructor it means I cannot call Abc\n\n\t}", "title": "" }, { "docid": "8c70c8f1aca8a11274b5874a58e03612", "score": "0.586054", "text": "public void mo10774j() {\n }", "title": "" }, { "docid": "4c3b3d975dd112cd0977aeae3ca50081", "score": "0.58575124", "text": "public void mo12930a() {\n }", "title": "" }, { "docid": "d23fb23d3c0722c59701671632b6fd42", "score": "0.58561045", "text": "private Main ()\n {\n throw new UnsupportedOperationException ();\n }", "title": "" }, { "docid": "2e593e5d7fe20e2a9581e3322460d946", "score": "0.58543175", "text": "public abstract void mo2038d();", "title": "" }, { "docid": "d669982f986e31efddf8fc7bfa3182a3", "score": "0.58493924", "text": "private final void zzakf() {\n }", "title": "" }, { "docid": "aa82f6d8543313919e2ed721b176099a", "score": "0.5841582", "text": "public void mo23307a() {\n }", "title": "" }, { "docid": "aa82f6d8543313919e2ed721b176099a", "score": "0.5841582", "text": "public void mo23307a() {\n }", "title": "" }, { "docid": "1dec873733b9eb80952439f3b3e2032a", "score": "0.58389914", "text": "private TestingFormater() {\n\t}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.5838699", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "320eb02e53a68cf01d71d58068a6417c", "score": "0.58385646", "text": "void mo50527a();", "title": "" }, { "docid": "3e7569441400c3ffc6f28860f13c6867", "score": "0.5837241", "text": "public abstract void mo2042g();", "title": "" }, { "docid": "e9d850bb9eb68fae7e9c6737bf48eeed", "score": "0.58298355", "text": "protected void special() {\n\t}", "title": "" }, { "docid": "0fdf77ce8a765329ac2f3b43e687113f", "score": "0.5829298", "text": "private void getter() {\n\n\t}", "title": "" }, { "docid": "bdc985831077c1f01c74fbcf52967024", "score": "0.58284056", "text": "public abstract void mo4674i();", "title": "" }, { "docid": "f2b4364bed0aba00d89e3078fa30fe52", "score": "0.5827183", "text": "@DSBan(DSCat.PRIVATE_METHOD)\n\n\n @DSComment(\"Private Method\")\n\n\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-09-05 09:35:18.577 -0400\", hash_original_method = \"59A9A08DBA9982417E5608D955218D51\", hash_generated_method = \"152D45A4BA4B0F1C312D94AAB908E950\")\n \n private static void clinit(){\n }", "title": "" }, { "docid": "f5c942ea92788e0cb46fdef84ca4acf6", "score": "0.5823225", "text": "void mo71702b();", "title": "" }, { "docid": "3e329c8586e25a9d4c4d2dd37a6d8f9f", "score": "0.58156806", "text": "public void mo32535b() {\n }", "title": "" }, { "docid": "a53811d6e6ab6aa1f17818f005ece92a", "score": "0.5813201", "text": "public static void easy() {\n\t\t\n\t}", "title": "" }, { "docid": "8a73ad91ec40e2452fa421d5de2a05be", "score": "0.58067364", "text": "private StructAccess()\r\n {\r\n // Private constructor to prevent instantiation\r\n }", "title": "" }, { "docid": "61fb5581ecf602a70e6981318459e7e2", "score": "0.5805289", "text": "public void mo91720e() {\n }", "title": "" }, { "docid": "ecb43b43dd341fa1f1a1570be69f8bd7", "score": "0.579897", "text": "public final void mo37729c() {\n }", "title": "" }, { "docid": "9725d97f1d6af5db196c2a114efe8a16", "score": "0.5790179", "text": "public void mo1088a() {\n }", "title": "" }, { "docid": "81b496afb7540bb13bd5a754c31378b7", "score": "0.5789256", "text": "public final void mo62159d() {\n }", "title": "" }, { "docid": "8e3f0f5870cd8a1c6726f1bfbfda85f1", "score": "0.5785396", "text": "protected abstract String mo842m();", "title": "" }, { "docid": "f52241b0aff9cc519280806d07f619e6", "score": "0.57839483", "text": "protected boolean isAccessible() { return true; }", "title": "" }, { "docid": "aac3b8d398cff105c6e8b6e095a79501", "score": "0.57831514", "text": "public void mo8412a() {\n }", "title": "" }, { "docid": "383a81a66e5cc3dd59d9847a27df050b", "score": "0.5782165", "text": "private Streams() {\n\t\t// Does nothing\n\t}", "title": "" }, { "docid": "d9ca64027c6cd974245af0a42b7237c7", "score": "0.5780782", "text": "private MetaDataManagerIdp() {\r\n\t}", "title": "" }, { "docid": "9ce75e891f4a6132d9837c33a86f11f3", "score": "0.57782567", "text": "@Override\n\tpublic void getchieurong() {\n\t\t\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.5778193", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "e0a8b8fcb0db9d80021a355149d8b7cf", "score": "0.5777669", "text": "public void mo92546l() {\n }", "title": "" }, { "docid": "b47584148aaec6cbc53bccbff915f72c", "score": "0.57765293", "text": "public void mo1913a() {\n }", "title": "" }, { "docid": "4ef3b31dd1bb58b124f5abff0a677778", "score": "0.57714677", "text": "private RiskUtils() {}", "title": "" } ]
5c85f44655d6e05c84b25b71d20630e9
Gets the server for the connection.
[ { "docid": "c1d7a207d6bc30ba86e3549faecc7b41", "score": "0.61010176", "text": "public final String getSCMServer() {\n return this.dmServer;\n }", "title": "" } ]
[ { "docid": "917c7109358931d311d4028f7b52b456", "score": "0.7331916", "text": "public Server getServer() {\n if (this.typeConexion == SERVER) {\n return this.server;\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "a67ae0070410a0ce2dc0ca4781eaf3e2", "score": "0.7231273", "text": "public Server getServer() {\r\n return server;\r\n }", "title": "" }, { "docid": "2640b2a0517b77a75dc0b29025b5b92d", "score": "0.72220445", "text": "public Server getServer() {\n\t\t\treturn server;\n\t\t}", "title": "" }, { "docid": "cc928ac7bb2601893d004eab57863bb8", "score": "0.7194831", "text": "public JaffreServer getServer()\n\t{\n\t\treturn m_server;\n\t}", "title": "" }, { "docid": "d00dccb9f938e9ce44d18b74d20699ee", "score": "0.7040526", "text": "protected ServerSocket getServerSocket() {\n SocketConnector socketconn = getSocketConnector();\n if (socketconn == null) {\n return null;\n }\n Object connInstance = socketconn.getConnection();\n return (ServerSocket) connInstance;\n }", "title": "" }, { "docid": "2c874cdfd07e9cce75a0a755e861fdf9", "score": "0.70291287", "text": "public String getServer() {\n\t\treturn this.server;\n\t}", "title": "" }, { "docid": "2c874cdfd07e9cce75a0a755e861fdf9", "score": "0.70291287", "text": "public String getServer() {\n\t\treturn this.server;\n\t}", "title": "" }, { "docid": "5abcb1d024fa783c4cada615b8044fea", "score": "0.69888276", "text": "public String getServer() {\n\n\t\treturn this.server;\n\t}", "title": "" }, { "docid": "aaf3da6980f69c4147629da8562f540e", "score": "0.69802254", "text": "public String getServer() { return server; }", "title": "" }, { "docid": "0ca8ffc5ab5b5e5d5924e03a7323956f", "score": "0.69502926", "text": "public MainServer server() {\n return mServer;\n }", "title": "" }, { "docid": "fe670b1c3699438cf5788b287654c416", "score": "0.6949252", "text": "public Server getServerConnectingTo() {\n\n return serverConnectingTo;\n\n }", "title": "" }, { "docid": "7d47ed93a5192f5ae01fb710a2348758", "score": "0.69087756", "text": "public ServerSocket getServerSocket() {\n return serverSocket;\n }", "title": "" }, { "docid": "44f4a19edfbfab2f705ace21d434148a", "score": "0.6888155", "text": "RemotingServer getRemotingServer();", "title": "" }, { "docid": "f2b3bd5b6edb514e78a07ac5fd706fa1", "score": "0.6832984", "text": "@Override\r\n public Server getServer() {\r\n return server;\r\n }", "title": "" }, { "docid": "1c13cbc0685a513f4485dbb3407fc8e6", "score": "0.67392045", "text": "public static CometServer getServer() {\n return server;\n }", "title": "" }, { "docid": "856061fe08f8d8abf40657ff37fd5ec4", "score": "0.66338557", "text": "public Socket getSocket() {\n if (_socket == null) {\n try {\n _socket = new Socket(_serverAddress, _serverPort);\n } catch (IOException e) {\n e.printStackTrace();\n System.exit(1);\n }\n }\n\n return _socket;\n }", "title": "" }, { "docid": "61d8f7c1430e42f5dee84d0d29aabbba", "score": "0.66275895", "text": "public String getServerName() {\n return serverName;\n }", "title": "" }, { "docid": "61d8f7c1430e42f5dee84d0d29aabbba", "score": "0.66275895", "text": "public String getServerName() {\n return serverName;\n }", "title": "" }, { "docid": "26e75bf623dabf92b870d397776de80e", "score": "0.65834063", "text": "java.lang.String getServerName();", "title": "" }, { "docid": "a44938d29f973ddba9aad8f2109e3d05", "score": "0.6567161", "text": "protected ConnectionToServer getConnection() {\n\t\treturn connection;\n\t}", "title": "" }, { "docid": "097898c789edf39c46d5ba0faec49fd4", "score": "0.654152", "text": "public String getServerName();", "title": "" }, { "docid": "a102748a1b119021e6df16c6472b9853", "score": "0.6519126", "text": "public ZoneServer getServer() {\n\t\treturn server;\n\t}", "title": "" }, { "docid": "379df393c346d62f33081c3d4a0cecaf", "score": "0.64921826", "text": "public String getHost() {\n return serverHost;\n }", "title": "" }, { "docid": "173a3bc2df82c437921ee24a938e6445", "score": "0.6479087", "text": "public SearchServer getSearchServer() {\n return getSearchServer(true, true, null, null, null);\n }", "title": "" }, { "docid": "a78e5b1592ff8c80c0a2a0e7be5e661f", "score": "0.6467433", "text": "public byte[] getServer() {\n return server;\n }", "title": "" }, { "docid": "0e96cf455d044da8989bc53144acd58f", "score": "0.6431042", "text": "public String getServer();", "title": "" }, { "docid": "7a68fef21f518802ac268993bada0290", "score": "0.6426307", "text": "IIncomingServer getIncomingServer();", "title": "" }, { "docid": "a16c4f64be05ceee323cca5052e259de", "score": "0.64111406", "text": "final protected ServerSocket getServerSocket() {\r\n\t\treturn mServerSocket;\r\n\t}", "title": "" }, { "docid": "74a2a5f5e0b1a86389f6cc859d6f4f63", "score": "0.6397587", "text": "public Server getServer() {\n return parent.getServer();\n }", "title": "" }, { "docid": "b1ded6452ce47add940eebfc8b3cd2b3", "score": "0.63964003", "text": "public String getServerHost()\n {\n return SERVER_HOST;\n }", "title": "" }, { "docid": "ce4ea22390b80f14464269ac0d24b495", "score": "0.6386339", "text": "public String getHost() {\n\t\treturn this.delegate.getServerName();\n\t}", "title": "" }, { "docid": "7de87587ee38ada23f71b0fecdcaeaf4", "score": "0.63775486", "text": "public String getServerAddress() {\n return serverAddress;\n }", "title": "" }, { "docid": "71dfe13f60538c49e1cd591bb3248e3a", "score": "0.63310266", "text": "public static RedisServer getRedisServer() {\n init();\n return redisServer;\n }", "title": "" }, { "docid": "fd33511859d62f7c742d444d8c85466e", "score": "0.6329771", "text": "JMXServerConnection getMBeanServer();", "title": "" }, { "docid": "a1a61395e2d771d0216e08e95d6862c4", "score": "0.62979275", "text": "public static Object getCraftServer() {\n\t\ttry {\n\t\t\treturn CRAFT_SERVER_CLASS.getMethod(\"getHandle\").invoke(Bukkit.getServer());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "81532e36325859562c6f87abb4fcdba2", "score": "0.62773335", "text": "public ServerConfiguration getServerConfiguration() {\n return serverConfiguration;\n }", "title": "" }, { "docid": "14fc16ba063165316617ec0dbde60e9a", "score": "0.62579906", "text": "public String getServerName()\n\t{\n\ttry\n\t {\n\t return InetAddress.getLocalHost().getHostName();\n\t }\n\tcatch ( UnknownHostException e )\n\t {\n\t return null;\n\t }\n\t}", "title": "" }, { "docid": "5027a198969a54e2dfd73dc51e6f213b", "score": "0.624502", "text": "public RpcServer getRpcServer() {\n return this.rpcServer;\n }", "title": "" }, { "docid": "dadb9af5344a6c69acd6b253e93a000c", "score": "0.62442654", "text": "public String getServerName() {\n return this.serverName;\n }", "title": "" }, { "docid": "1cc78bc5faba9247e6fb1a1f90037b1f", "score": "0.6237089", "text": "public InetAddress getServerAddress(){\n return this.server.getInetAddress();\n }", "title": "" }, { "docid": "04ad8a4c82d3027dee0f0a81a0af6ea3", "score": "0.6234163", "text": "final public String getServerName() {\r\n\t\treturn mName;\r\n\t}", "title": "" }, { "docid": "af12bf80c5fcab031db6175b9fb029d3", "score": "0.6216797", "text": "public static ApplicationServer getApplicationServer() {\n\treturn _server;\n }", "title": "" }, { "docid": "11d8a8d8796fa97535444c1d0f1cd586", "score": "0.62042075", "text": "public static HttpFSServerWebApp get() {\n return SERVER;\n }", "title": "" }, { "docid": "364a7d2daa24c9d2f84fab79620fbca0", "score": "0.6191405", "text": "String getServer();", "title": "" }, { "docid": "5ba64f2ebde5a9d4f2959b31c4136c05", "score": "0.61758316", "text": "public int getServerPort() {\r\n return m_serverPort;\r\n }", "title": "" }, { "docid": "44d1f5791b2ec890c92cf1a55f206806", "score": "0.61681134", "text": "@Override\n\tpublic ServerHttpConnection getConnection() {\n\t\treturn this.connection;\n\t}", "title": "" }, { "docid": "152eba8f1ae4db3e80b8b2c9c285fa95", "score": "0.6143378", "text": "public String getServerName() {\r\n return m_serverName;\r\n }", "title": "" }, { "docid": "0cf91aaa63289721c64a96d2bad9bf60", "score": "0.6141663", "text": "public String getServerAddress() {\n\t\treturn serverAddress;\n\t}", "title": "" }, { "docid": "3740d740c5068a1c9652b91df060e90d", "score": "0.6140347", "text": "public int getServerPort() {\n return serverPort;\n }", "title": "" }, { "docid": "b5e700123eee546aad5e28772b2fc911", "score": "0.6118145", "text": "public String getServerName() {\r\n\t\t\r\n\t\treturn name;\r\n\t}", "title": "" }, { "docid": "b5948b44b9db302cb7c4f40c2aba4dd9", "score": "0.6060982", "text": "public InetAddress getServerHost();", "title": "" }, { "docid": "272cd8695cdb13f78d8d7a51d769511c", "score": "0.60604286", "text": "public java.lang.String getServerName() {\n java.lang.Object ref = serverName_;\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 serverName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "d71e84d4f7870b90697eb7ce37401f88", "score": "0.60513836", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "d71e84d4f7870b90697eb7ce37401f88", "score": "0.60513836", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "d71e84d4f7870b90697eb7ce37401f88", "score": "0.60513836", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "d71e84d4f7870b90697eb7ce37401f88", "score": "0.60513836", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "2187e851a4221ae970d9093595c04e21", "score": "0.6049016", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "2187e851a4221ae970d9093595c04e21", "score": "0.6049016", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "2187e851a4221ae970d9093595c04e21", "score": "0.6049016", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "2187e851a4221ae970d9093595c04e21", "score": "0.6049016", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "cfe4a5f3820ce1c1695e9d86486817fd", "score": "0.60417527", "text": "public int getServerAddr() {\n return serverAddr_;\n }", "title": "" }, { "docid": "cfe4a5f3820ce1c1695e9d86486817fd", "score": "0.60417527", "text": "public int getServerAddr() {\n return serverAddr_;\n }", "title": "" }, { "docid": "0e52438cc39635d5808f8bc0a2dd01ec", "score": "0.60401505", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "090c3cfbcd34b37268d9cb9593488adb", "score": "0.6038055", "text": "public int getServerPort() {\n return serverPort_;\n }", "title": "" }, { "docid": "3a73792d3c818a01fdcb6a2cdac2e507", "score": "0.603534", "text": "public int getServerAddr() {\n return serverAddr_;\n }", "title": "" }, { "docid": "3a73792d3c818a01fdcb6a2cdac2e507", "score": "0.603534", "text": "public int getServerAddr() {\n return serverAddr_;\n }", "title": "" }, { "docid": "7753ba9e02250416246f721d39aeeeb3", "score": "0.60233194", "text": "public static String getServerName()\n {\n return DCServerFactory.OPENDMTP_NAME;\n }", "title": "" }, { "docid": "5ff6d24976ef1d611cee2a9ab76c281b", "score": "0.6019567", "text": "public Server getServerByName(String serverName) {\n return this.serverMap.getOrDefault(serverName.toLowerCase(), null);\n }", "title": "" }, { "docid": "477c0daab342e6ae2f538e3511c80e54", "score": "0.6013398", "text": "public static Server getInstance() {\n\t\t// use local variable, don't issue 2 reads (memory fences) to 'INSTANCE'\n\t\tServer s = INSTANCE;\n\t\tif (s == null) {\n\t\t\t// check under lock; move creation logic to a separate method to\n\t\t\t// allow inlining of getInstance()\n\t\t\ts = tryCreateInstance();\n\t\t}\n\t\treturn s;\n\t}", "title": "" }, { "docid": "be667226f9318df805510edb14aee4fc", "score": "0.60102534", "text": "public int getServerPort(){\r\n return this.serverPort;\r\n }", "title": "" }, { "docid": "0dd2720ad4290a29e0ca8557b9392371", "score": "0.60051286", "text": "public java.lang.String getServerName() {\n java.lang.Object ref = serverName_;\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 if (bs.isValidUtf8()) {\n serverName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "1c86ea9fd183164508bb7edd1ef1002e", "score": "0.59909326", "text": "public static Connection getConnection() {\r\n\t\treturn connections.get();\r\n\t}", "title": "" }, { "docid": "8af3d781742bcdd178dd35f27ea5ebd5", "score": "0.5982012", "text": "public Server getPreferredServer() {\n if(mSelectedServer != null) {\n return mSelectedServer;\n }\n\n synchronized (mManualServers) {\n if(!mManualServers.isEmpty()) {\n return mManualServers.get(0);\n }\n }\n\n NsdServiceInfo bestNsd = null;\n synchronized (mLocalServers) {\n for(NsdServiceInfo check : mLocalServers) {\n if(check.getServiceType().equals(DEFAULT_SERVICE_TYPE) &&\n check.getServiceName().startsWith(DEFAULT_SERVICE_NAME)) {\n bestNsd = check;\n }\n else if(bestNsd == null && check.getServiceType().equals(DEFAULT_SERVICE_TYPE)) {\n bestNsd = check;\n }\n }\n }\n\n if(bestNsd != null) {\n return new Server(1000, bestNsd.getServiceName(), bestNsd.getHost().toString(), bestNsd.getPort(), \"babymonitor\", \"\");\n }\n else\n return null;\n }", "title": "" }, { "docid": "2fcec8f08454241d887e29012a7cf451", "score": "0.5979955", "text": "io.grpc.channelz.v1.Server getServer();", "title": "" }, { "docid": "75281fc30957ad3f823e765f059d8af5", "score": "0.59797543", "text": "public int getServerPort() {\n\t\treturn serverPort;\n\t}", "title": "" }, { "docid": "82c73aa232f4870d6fc303b2633abac4", "score": "0.5974126", "text": "public int getServerport() {\n return serverport_;\n }", "title": "" }, { "docid": "4d67317fd5e6ec6dabe1aaf47c138104", "score": "0.59704393", "text": "public int getPort() {\n return serverPort;\n }", "title": "" }, { "docid": "7f2e8bdee8638422534dd9da528a8371", "score": "0.5969419", "text": "public SequencingServer getSequencingServer() {\n return getSequencingHome().getSequencingServer();\n }", "title": "" }, { "docid": "65a302b9db1a5ed165704d7700ff81fa", "score": "0.596921", "text": "private Connection getConnection() {\n if ((connection == null) || (connection.getStatus() == Connection.Status.DISCONNECTED)) {\n\n Options.Builder connectionBuilder = new Options.Builder().connectionListener(this);\n\n /* iterate over the array of servers and add them to the connection builder.\n */\n for (String server : servers) {\n String natsServer = \"nats://\" + server;\n log.info(\"adding nats server:\" + natsServer);\n connectionBuilder.server(natsServer).maxReconnects(-1);\n }\n\n try {\n connection = Nats.connect(connectionBuilder.build());\n } catch (IOException | InterruptedException ex) {\n log.error(ex.getMessage());\n }\n }\n log.info(\"return connection:\" + connection);\n return connection;\n }", "title": "" }, { "docid": "b9c38ef27ae3768bd666710af32eb9d1", "score": "0.596902", "text": "public int getServerport() {\n return serverport_;\n }", "title": "" }, { "docid": "a6b61835921fede16635fbe42b6726de", "score": "0.5949665", "text": "public static MemberIdServer instance() {\n if (server == null) {\n return (server = new MemberIdServer());\n } else {\n return server;\n }\n }", "title": "" }, { "docid": "23c32a07598f5bbb9c547981f047d12a", "score": "0.5943534", "text": "public Connection getConnection() {\n if (ConnectServer.isServer) {\n return ConnectServer.server.getConnection(this);\n }\n if (ConnectClient.isClient) {\n return ConnectClient.get().getConnection();\n }\n return null;\n }", "title": "" }, { "docid": "edbccac9d2d986236e22f8b68d74d477", "score": "0.59414524", "text": "public ServerConfig getConfig() {\n return config;\n }", "title": "" }, { "docid": "3d98bd0e0c00cd6ca3e9d16b5987d0d0", "score": "0.59350747", "text": "public final NetworkServer getServer(int idx) {\n\t\t\n\t\t//\tRange check the index\n\t\t\n\t\tif ( idx < 0 || idx >= m_servers.size())\n\t\t\treturn null;\n\t\treturn m_servers.get(idx);\n\t}", "title": "" }, { "docid": "5dabf8715606d31f248c7d4bb22c9014", "score": "0.59326047", "text": "public String getNTPServer()\n {\n return this.m_NTPServer;\n }", "title": "" }, { "docid": "e28893b4709a4873647e0b4f8e0fa433", "score": "0.59196764", "text": "private MBeanServer findMBeanServer() {\n MBeanServer server = null;\n ArrayList servers = MBeanServerFactory.findMBeanServer(null);\n if(!servers.isEmpty()){\n server = (MBeanServer)servers.get(0);\n }\n return server;\n }", "title": "" }, { "docid": "78d10e3e4f008622a9979fa0be90ea7f", "score": "0.5918295", "text": "public int getServerPort()\n\t{\n\treturn socket.getLocalPort();\n\t}", "title": "" }, { "docid": "e914697a4fc5c5439359c5ce09a442d1", "score": "0.5916399", "text": "public WorldServer getMinecraftServer()\n {\n return field_72701_a;\n }", "title": "" }, { "docid": "30e2232b44db5de6c961d985fcb777a6", "score": "0.59097546", "text": "IOutgoingServer getOutgoingServer();", "title": "" }, { "docid": "f817361cf7135f94b3a5abb1642c1605", "score": "0.59063995", "text": "public int getPort() {\n\t\treturn this.delegate.getServerPort();\n\t}", "title": "" }, { "docid": "ad85a8392a8ede83b46a6b7dca54c967", "score": "0.58932555", "text": "public static Connection getConnection() {\n\t\treturn connection;\n\t}", "title": "" }, { "docid": "ec4ae5ac780227b6a9d980adcfa7b05e", "score": "0.58904034", "text": "public static Connection getConnection() {\r\n\t\treturn connection;\r\n\t}", "title": "" }, { "docid": "8c2b0451cfc583c29afc1537f6c827f9", "score": "0.58843416", "text": "public SimulatorConfiguration getServerConfiguration() {\n\t\treturn this.config;\n\t}", "title": "" }, { "docid": "d7ea3499498fac4088668ea6e036cd01", "score": "0.5880901", "text": "private ServerInterface getProxy(){\n\t\treturn localServerStub;\n\t}", "title": "" }, { "docid": "c92eb68f754f8ad23c7a5b06dcff594d", "score": "0.58654976", "text": "public Optional<MyPlexDevice> server(String name) {\n return servers().filter(device -> device.getName().equals(name)).findFirst();\n }", "title": "" }, { "docid": "bd3ffafe3ef99e3cb9fa3d8e3ec0edfa", "score": "0.5849264", "text": "public String get_servername() throws Exception {\n\t\treturn this.servername;\n\t}", "title": "" }, { "docid": "049d51b0504bb5f1b9031cedbf8af6b6", "score": "0.58358926", "text": "public String getServerId() {\n return this.serverId;\n }", "title": "" }, { "docid": "69808554c35759f45e008e812744b3d1", "score": "0.58252794", "text": "public String getConnectString() {\n return server.getConnectString();\n }", "title": "" }, { "docid": "2c5f323608dcdf08471a5624c76049fd", "score": "0.58234286", "text": "public IRCConnectionManager getConnectionManager();", "title": "" }, { "docid": "b24c9471201660d9afe5e28786d23527", "score": "0.5816877", "text": "public static Connection getConnection() {\n return conn;\n }", "title": "" } ]
ec126c3999e289194c7b067f12993ac8
Find the _Fields constant that matches fieldId, or null if its not found.
[ { "docid": "656c8d9572632241bf6c50d5f01bd185", "score": "0.0", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // VERIFIER\n return VERIFIER;\n case 2: // DEVICE_SECRET\n return DEVICE_SECRET;\n default:\n return null;\n }\n }", "title": "" } ]
[ { "docid": "1b823037f3433b9f70f37c7b6b0595ca", "score": "0.79325026", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // FIND_EXAMINATION_INFO_PARAMS\n return FIND_EXAMINATION_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "04f4669af68e3f32cbf1a55c9bf48821", "score": "0.79292417", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // FIND_PERSONAL_INFO_PARAMS\n return FIND_PERSONAL_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "6eee04eef76ceccf8b782b486df64a22", "score": "0.7908199", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // FIND_EMPLOY_INFO_PARAMS\n return FIND_EMPLOY_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "2afe182738b06ab4d19f80a6e1bcadab", "score": "0.789706", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // FIND_APPLICATION_INFO_PARAMS\n return FIND_APPLICATION_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78818446", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "91e807aa976a0fe83410b8425c317bed", "score": "0.7876717", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // FIND_COMPANY_INFO_PARAMS\n return FIND_COMPANY_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "b4337cb58f35320c4a7fcebfacb2b726", "score": "0.7869011", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // ITEM_REVISION\n return ITEM_REVISION;\n case 2: // TAG_REVISIONS\n return TAG_REVISIONS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "77560b515cbbcf2dacb6121ee54d89e7", "score": "0.7826267", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // FIND_INTERVIEW_INFO_PARAMS\n return FIND_INTERVIEW_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "51a1a442404e2625170f2b4eff77621d", "score": "0.7819241", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // FIND_USER_INFO_PARAMS\n return FIND_USER_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "841fb5a38ebbfdbda8f4b6b57c670913", "score": "0.7785386", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // LOOKUP_ID\n return LOOKUP_ID;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "ac9e6d8c86999d900c05b17bc3ccd2d6", "score": "0.7774901", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // FIND_TEACHIN_INFO_PARAMS\n return FIND_TEACHIN_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "d70aad348b629369f28b05ff14792f5b", "score": "0.77409065", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // LIST_EXAMINATION_INFO_PARAMS\n return LIST_EXAMINATION_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "c97585d9d4a6c3eff045e2cf10a47cdc", "score": "0.7728554", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // CREATED_PENDING_DOCUMENTS\n return CREATED_PENDING_DOCUMENTS;\n case 2: // EXISTING_DOCUMENTS\n return EXISTING_DOCUMENTS;\n case 3: // FAILED_DOCUMENTS\n return FAILED_DOCUMENTS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "e2d4f573963fd59fcbc5a1f402450f7b", "score": "0.77237433", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // ONE\n return ONE;\n case 2: // TWO\n return TWO;\n case 3: // THREE\n return THREE;\n case 4: // FOUR\n return FOUR;\n case 5: // FIVE\n return FIVE;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "a8ed49bb8e264a25cf50ba40edf137ea", "score": "0.77206683", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // EMPLOYEE_IDS\n return EMPLOYEE_IDS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "dd092c40a83bf6283a290e0b2e5ea72c", "score": "0.7704893", "text": "public static _Fields findByThriftId(int fieldId) {\r\n\t\t\t\tswitch (fieldId) {\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "dd092c40a83bf6283a290e0b2e5ea72c", "score": "0.7704893", "text": "public static _Fields findByThriftId(int fieldId) {\r\n\t\t\t\tswitch (fieldId) {\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "dd092c40a83bf6283a290e0b2e5ea72c", "score": "0.7704893", "text": "public static _Fields findByThriftId(int fieldId) {\r\n\t\t\t\tswitch (fieldId) {\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "46e652ee1b26f7c53da77c619245e968", "score": "0.76916873", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // LIST_EMPLOY_INFO_PARAMS\n return LIST_EMPLOY_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "6e0534e5676ea40c1174d7c7be235e2b", "score": "0.76879495", "text": "public static _Fields findByThriftId(int fieldId) {\r\n switch(fieldId) {\r\n case 1: // ORG_STRUCTURE_ID\r\n return ORG_STRUCTURE_ID;\r\n case 2: // ATTACHED\r\n return ATTACHED;\r\n case 3: // MATCH_REG_ADDRESS\r\n return MATCH_REG_ADDRESS;\r\n case 4: // MATCH_LOC_ADDRESS\r\n return MATCH_LOC_ADDRESS;\r\n default:\r\n return null;\r\n }\r\n }", "title": "" }, { "docid": "7e835e5c67aac3a7052309c50df3d5d9", "score": "0.76771873", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7e835e5c67aac3a7052309c50df3d5d9", "score": "0.76771873", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7e835e5c67aac3a7052309c50df3d5d9", "score": "0.76771873", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7e835e5c67aac3a7052309c50df3d5d9", "score": "0.76771873", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7e835e5c67aac3a7052309c50df3d5d9", "score": "0.76771873", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7e835e5c67aac3a7052309c50df3d5d9", "score": "0.76771873", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7e835e5c67aac3a7052309c50df3d5d9", "score": "0.76771873", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7343073c171b8c50619dd53e275ff39f", "score": "0.7673438", "text": "public static _Fields findByThriftId(int fieldId) {\r\n switch(fieldId) {\r\n default:\r\n return null;\r\n }\r\n }", "title": "" }, { "docid": "0cec3f4486358e030c1f126a3c8ed40b", "score": "0.7671513", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // CURRENT\n return CURRENT;\n case 2: // GOAL\n return GOAL;\n case 3: // SCENE_OBJECT\n return SCENE_OBJECT;\n case 4: // PROPERTIES\n return PROPERTIES;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "aaafed48fbfe0833bf632d9309c97add", "score": "0.76677376", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // LIST_COMPANY_INFO_PARAMS\n return LIST_COMPANY_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7979ca5d119058a8992f9eb7f9a479ff", "score": "0.7664975", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // RESERVATION_ID\n return RESERVATION_ID;\n case 2: // CLIENT_RESOURCE_ID\n return CLIENT_RESOURCE_ID;\n case 3: // RM_RESOURCE_ID\n return RM_RESOURCE_ID;\n case 4: // V_CPU_CORES\n return V_CPU_CORES;\n case 5: // MEMORY_MB\n return MEMORY_MB;\n case 6: // LOCATION\n return LOCATION;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "1375135833329b2bec485473bc019be5", "score": "0.7663795", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // E\n return E;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "1375135833329b2bec485473bc019be5", "score": "0.7663795", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // E\n return E;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "1375135833329b2bec485473bc019be5", "score": "0.7663795", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // E\n return E;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "1375135833329b2bec485473bc019be5", "score": "0.7663795", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // E\n return E;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "e0994ec4d44c98404b0f45171e27bfdd", "score": "0.7660624", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // LIST_PERSONAL_INFO_PARAMS\n return LIST_PERSONAL_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "8aefc92e278747d97a9a66bf9a13a7bd", "score": "0.7645867", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // RIDE\n return RIDE;\n case 2: // BOOKING\n return BOOKING;\n case 3: // EMPLOYEE\n return EMPLOYEE;\n case 4: // PERSON\n return PERSON;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "d1920ec17b5fe0c5cbbe52e57323919c", "score": "0.7645574", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // NODES\n return NODES;\n case 2: // SOURCE_NODES\n return SOURCE_NODES;\n case 3: // SINK_NODES\n return SINK_NODES;\n case 16: // OTHERS\n return OTHERS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "79cd19b475e1d9a246bfd65193094fb6", "score": "0.7643551", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // GAME_ID\n return GAME_ID;\n case 2: // ISSUE\n return ISSUE;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "56b690a96174f1691433c119c6d4c417", "score": "0.7639528", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // QUERY\n\t\t\t\t\treturn QUERY;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "d0f2d04ae4901ae05c105589204c9635", "score": "0.7630333", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // LAST_CARDS\n return LAST_CARDS;\n case 2: // PLAY_CARDS\n return PLAY_CARDS;\n case 3: // LAST_PLACE\n return LAST_PLACE;\n case 4: // NOW_PLACE\n return NOW_PLACE;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "633a6a922a1618f6822c8ff9921e6cc3", "score": "0.7624557", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // TEMPLATE_SET_ID\n return TEMPLATE_SET_ID;\n case 2: // ADDED\n return ADDED;\n case 3: // REMOVED_TAG_IDS\n return REMOVED_TAG_IDS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "e03a5eb3090dfe6341960bc104970978", "score": "0.7616893", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // EMPLOYEE\n return EMPLOYEE;\n case 2: // ENDPOINT\n return ENDPOINT;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "cf065da0e26e6c9ea9192216b40c1b4f", "score": "0.7615685", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // SCENE_OBJECTS\n return SCENE_OBJECTS;\n case 2: // TARGET\n return TARGET;\n case 3: // AMOUNT\n return AMOUNT;\n case 4: // PROPERTIES\n return PROPERTIES;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "858769aa82053a8bcac7546d52465880", "score": "0.7611846", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // ID\n return ID;\n case 2: // ACCESS_ID\n return ACCESS_ID;\n case 5: // TITLE\n return TITLE;\n case 10: // CATEGORY_IDS\n return CATEGORY_IDS;\n case 11: // CATEGORY_WITH\n return CATEGORY_WITH;\n case 20: // WITH_TAG_IDS\n return WITH_TAG_IDS;\n case 21: // WITHOUT_TAG_IDS\n return WITHOUT_TAG_IDS;\n case 30: // KINDS\n return KINDS;\n case 31: // KINDS_WITH\n return KINDS_WITH;\n case 40: // SPLIT_DATE\n return SPLIT_DATE;\n case 51: // UNREAD_ONLY\n return UNREAD_ONLY;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "c7f7c1fee48855e1d856c1e33aa32806", "score": "0.76084197", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // CHANNEL_ID\n return CHANNEL_ID;\n case 2: // SHOP_ORDER_ID\n return SHOP_ORDER_ID;\n case 3: // APP_STORE_CODE\n return APP_STORE_CODE;\n case 4: // ITEMS\n return ITEMS;\n case 5: // COUNTRY\n return COUNTRY;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "a99560519743f5f8b355592175c56ca3", "score": "0.7608102", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // MEDIA_TYPE\n return MEDIA_TYPE;\n case 2: // MEDIA_SOURCE\n return MEDIA_SOURCE;\n case 3: // MEDIA_IMAGE\n return MEDIA_IMAGE;\n case 4: // LARGE_MEDIA_IMAGE\n return LARGE_MEDIA_IMAGE;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "83ecd52d29c2200a5f433e8206b0c582", "score": "0.7607764", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // LIST_INTERVIEW_INFO_PARAMS\n return LIST_INTERVIEW_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "99d845dd291b9d06c7a26101af8c2881", "score": "0.760353", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // EXCEL_ID\n return EXCEL_ID;\n case 2: // URL\n return URL;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "e4f104021907364c2063584a3cb62386", "score": "0.7603408", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // BLOCKLOCATIONS\n return BLOCKLOCATIONS;\n case 2: // STATUS\n return STATUS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "4154b5e0c2ed8d3dd9e2fe29045037c7", "score": "0.76005816", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // GAME_ID\n return GAME_ID;\n case 2: // CURRENT_PAGE\n return CURRENT_PAGE;\n case 3: // PAGE_SIZE\n return PAGE_SIZE;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "92d584949ef36232162aed956485e78e", "score": "0.76003414", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // EMPLOYEE_ID\n return EMPLOYEE_ID;\n case 2: // EMPLOYEE_CODE\n return EMPLOYEE_CODE;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "7d6f897fe6233c3e35b6893de7cc38c1", "score": "0.75991666", "text": "@org.apache.thrift.annotation.Nullable\n\t\t\tpublic static _Fields findByThriftId(int fieldId) {\n\t\t\t\tswitch (fieldId) {\n\t\t\t\tcase 1: // FORM\n\t\t\t\t\treturn FORM;\n\t\t\t\tdefault:\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "9903a110f38d3f08e1a87ee849de3f36", "score": "0.7598888", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // UFS_URI\n return UFS_URI;\n case 2: // UFS_TYPE\n return UFS_TYPE;\n case 3: // UFS_CAPACITY_BYTES\n return UFS_CAPACITY_BYTES;\n case 4: // UFS_USED_BYTES\n return UFS_USED_BYTES;\n case 5: // READ_ONLY\n return READ_ONLY;\n case 6: // PROPERTIES\n return PROPERTIES;\n case 7: // SHARED\n return SHARED;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "be95311b05de22a045ae626c7bdff471", "score": "0.7596409", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 2: // LOGIN_REQUEST\n return LOGIN_REQUEST;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "dcef5db366b8211b5ba235ff30d8e38a", "score": "0.75936556", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // ROUTE\n return ROUTE;\n case 2: // FARE_TYPE\n return FARE_TYPE;\n case 3: // KEY\n return KEY;\n case 4: // TICKETING_CARRIER\n return TICKETING_CARRIER;\n case 5: // OTHER_TKT_CARRIER\n return OTHER_TKT_CARRIER;\n case 6: // PASSENGER_PRICES\n return PASSENGER_PRICES;\n case 7: // CONTACTS\n return CONTACTS;\n case 8: // PASSENGERS\n return PASSENGERS;\n case 9: // CUSTOMER_ORDER_NO\n return CUSTOMER_ORDER_NO;\n case 10: // AFTER_TICKET_URL\n return AFTER_TICKET_URL;\n case 11: // AFTER_PAY_URL\n return AFTER_PAY_URL;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "90e51cfeb60529112c30b865d43d5db8", "score": "0.75917953", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // LIST_APPLICATION_INFO_PARAMS\n return LIST_APPLICATION_INFO_PARAMS;\n default:\n return null;\n }\n }", "title": "" }, { "docid": "6ec9c0f0711071c69388a118b60f7ac8", "score": "0.7587646", "text": "public Field getFieldById(String fieldId)\n {\n\t\tField field = null;\n\t\tif (fields != null) \n\t\t{\n\t\t\tfield = fields.get(fieldId);\n\t\t}\n\t\treturn field;\n\t}", "title": "" }, { "docid": "a684d3be2a872c48420f04f6f0473bab", "score": "0.7582815", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // RECOM_PUSH_ID\n return RECOM_PUSH_ID;\n case 2: // COMPANY_ID\n return COMPANY_ID;\n case 3: // TYPE\n return TYPE;\n case 4: // PAGE_NUM\n return PAGE_NUM;\n case 5: // PAGE_SIZE\n return PAGE_SIZE;\n default:\n return null;\n }\n }", "title": "" } ]
c26fe454d443c83827fe1617589b1341
Use Image location (imageInserterInput) to specify the Amazon S3 location of the image to be inserted into the output. Use a 32 bit BMP, PNG, or TGA file that fits inside the video frame.
[ { "docid": "93f106d86f8aba94f4696cfdbcc1c3c1", "score": "0.6242485", "text": "public void setImageInserterInput(String imageInserterInput) {\n this.imageInserterInput = imageInserterInput;\n }", "title": "" } ]
[ { "docid": "7fe104d361fdb5f5381875b60d96b23e", "score": "0.607403", "text": "public InsertableImage withImageInserterInput(String imageInserterInput) {\n setImageInserterInput(imageInserterInput);\n return this;\n }", "title": "" }, { "docid": "6f52c817f97fe7b5e448f66d5951f499", "score": "0.5467556", "text": "public String getImageInserterInput() {\n return this.imageInserterInput;\n }", "title": "" }, { "docid": "6366fd9de1cd0cab66c5838800ac6b7d", "score": "0.52590406", "text": "public Save()\r\n/* 23: */ {\r\n/* 24: 30 */ this.inputFields = \"inputImage,filename\";\r\n/* 25: 31 */ this.outputFields = \"\";\r\n/* 26: */ }", "title": "" }, { "docid": "2bb24c5920478c69e6a6d8b60bc5766e", "score": "0.51790816", "text": "public void setInputImage(ModelImage inputImage) {\r\n recordingInputImage = inputImage;\r\n }", "title": "" }, { "docid": "69281dfa5a82b0bda782635c20ae938c", "score": "0.51786536", "text": "private void createImage(String fileLocation) {\r\n\t\ttry {\r\n\t\t\tFileOutputStream fos = new FileOutputStream(fileLocation);\r\n\t\t\tBufferedOutputStream bos = new BufferedOutputStream(fos);\r\n\t\t\tImageIO.write(image, \"png\", bos);\r\n\t\t\t// com.sun.image.codec.jpeg.JPEGImageEncoder encoder =\r\n\t\t\t// com.sun.image.codec.jpeg.JPEGCodec.createJPEGEncoder(bos);\r\n\t\t\t// encoder.encode(image);\r\n\t\t\tbos.flush();\r\n\t\t\tbos.close();\r\n\t\t\tLogUtils.debug(\"@2 %s 图片生成输出成功\", fileLocation);\r\n\t\t} catch (Exception e) {\r\n\t\t\tLogUtils.warn(\"@2 %s 图片生成输出失败\", fileLocation);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b6918aaeeb0a3830f9a17c5cb713532d", "score": "0.48858494", "text": "ImageType(String location){\n\t\tthis.location = location;\n\t}", "title": "" }, { "docid": "1bee732ca7fb284f738644ff53a63eee", "score": "0.48753724", "text": "private void saveThumbnail(File inputFile, Photo inputPhoto) {\n try {\n // Buffer the photo image from the uploaded inputFile\n BufferedImage uploadedPhoto = ImageIO.read(inputFile);\n\n // Scale the uploaded photo image to the THUMBNAIL_SIZE using imgscalr \n BufferedImage thumbnailPhoto = Scalr.resize(uploadedPhoto, Constants.THUMBNAIL_SIZE);\n\n // Create the thumbnail photo file in the ROOT_DIRECTORY\n File thumbnailPhotoFile = new File(Constants.ROOT_DIRECTORY, inputPhoto.getThumbnailName());\n\n // Write the thumbnailPhoto into thumbnailPhotoFile with the file extension\n ImageIO.write(thumbnailPhoto, inputPhoto.getExtension(), thumbnailPhotoFile);\n\n } catch (IOException ex) {\n Logger.getLogger(FileManager.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "405e742739cffc42fe7a5438da722e5b", "score": "0.4867446", "text": "private void insertImage() {\n String initialDir = System.getProperty(\"user.dir\");\n FileChooser fileChooser = new FileChooser();\n fileChooser.setTitle(\"Insert image\");\n fileChooser.setInitialDirectory(new File(initialDir));\n File selectedFile = fileChooser.showOpenDialog(workbench.getScene().getWindow());\n if (selectedFile != null) {\n String imagePath = selectedFile.getAbsolutePath();\n imagePath = imagePath.replace('\\\\', '/');\n ReadOnlyStyledDocument<ParStyle, Either<String, LinkedImage>, TextStyle> ros =\n ReadOnlyStyledDocument.fromSegment(Either.right(new RealLinkedImage(imagePath)),\n ParStyle.EMPTY, TextStyle.EMPTY, area.getSegOps());\n area.replaceSelection(ros);\n }\n }", "title": "" }, { "docid": "5e09fe3a2c92eedb18dd1f191d6a81bb", "score": "0.48264095", "text": "public static void main(String[] args) {\n\t\tString resourceRoot = \"\";\n\t\tString bucketName = \"shareknowledgeprototype\";\n\t\tS3OperationService service = new S3OperationService();\n\n\t\tSystem.out.println(\"uploading an image to S3....\");\n\t\tPutObjectInfo response = service.putObject(bucketName, resourceRoot + \"_D714459.jpg\");\n\t\tSystem.out.println(\"image uploaded \" + response);\n\n\t\tSystem.out.println(\"uloading more items.......\");\n\t\tresponse = service.mapToBucket(bucketName, resourceRoot + \"items\");\n\t\tSystem.out.println(\"uploaded items \" + response);\n\n\t}", "title": "" }, { "docid": "c4b9598d4d718f414b05c8d0228cc677", "score": "0.47789198", "text": "public String migrateProfileImage(String wechatImageUrl) {\n try {\n URL url = new URL(wechatImageUrl);\n HttpURLConnection httpConn = (HttpURLConnection) url.openConnection();\n\n return s3Client.uploadImage(\n httpConn.getInputStream(),\n httpConn.getContentLengthLong(),\n \"profile\",\n profileImageFolder,\n CannedAccessControlList.PublicRead\n );\n } catch (Exception e) {\n //TODO: make exception handling more fine-grained\n //IOException, etc\n return wechatImageUrl;\n }\n }", "title": "" }, { "docid": "5b0ca1b9dc1346e66a1f3f131c3ef85e", "score": "0.47749197", "text": "@Substitute\n public static ImageInputStream createImageInputStream(Object input) {\n AwtImageIO.LOGGER.error(AwtImageIO.AWT_EXTENSION_HINT);\n return null;\n }", "title": "" }, { "docid": "4454b1aa300949fa985460ce9ef07ce6", "score": "0.4745375", "text": "public static void createVignette(String path, String folder,String inputExt) {\n\t\tString output = rename(path, folder, \"images\", inputExt, \"png\");\n\t\ttry {\n\t\t\tString cmd = \"ffmpeg -y -i \" + path + \" -r 1 -t 00:00:01 -ss 00:00:02 -f image2 \"\n\t\t\t\t\t+ output;\n\t\t\tString[] b = new String[] {\"/bin/sh\", \"-c\", cmd};\n\t\t\tRuntime.getRuntime().exec(b);\n\t\t\tSystem.out.println(cmd);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "f7f3228a1a4a3d905f27cc7a534d685e", "score": "0.4683486", "text": "public Addition()\r\n/* 16: */ {\r\n/* 17:22 */ this.inputFields = \"inputImage1,inputImage2\";\r\n/* 18:23 */ this.outputFields = \"output\";\r\n/* 19: */ }", "title": "" }, { "docid": "c3a957ce30118171dd82df2be42c2e8c", "score": "0.4672218", "text": "public void addImages(int activityID, InputStream img){\r\n \tPreparedStatement statement = null;\r\n\t\tString sql = \"INSERT INTO activityimages (actImgID, activityID, image) values(\"\r\n\t\t\t\t+ \"?,?,?);\";\r\n\t\ttry {\r\n\t\t\tstatement = Database.dbConnection.prepareStatement(sql);\r\n\t\t\tint id = Database.getMaxID(\"activityimages\", \"actImgID\");\r\n\t\t\tstatement = Database.dbConnection.prepareStatement(sql);\r\n\t\t\tstatement.setInt(1, id);\r\n\t\t\tstatement.setInt(2, activityID);\r\n\t\t\tif (img != null) {\r\n//\t\t\t\tInputStream binImg = new BufferedReader(new FileInputStream(img))\r\n\t\t\t\tstatement.setBinaryStream(3, img);\r\n\t\t\t\tstatement.execute();\r\n\t\t\t}\r\n\t\t}catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t}\r\n\r\n }", "title": "" }, { "docid": "30f5069986ec23f16f74f2f4b3fb74f0", "score": "0.4634999", "text": "public Response uploadImage(MultipartFile multipartFile){\n File file = convertMultiPartFileToFile(multipartFile);\n String fileName = multipartFile.getOriginalFilename();\n\n System.out.println(\"S3service.uploadImage\");\n // no longer have the username here so adjusted pathName - Trevor\n String pathName = \"users/images/\" + fileName;\n return uploadFile(file, pathName);\n }", "title": "" }, { "docid": "f89ecabe0443d7febcec038c844fd11d", "score": "0.4620822", "text": "private void uploadImg() {\n Path targetDir = Paths.get(Value.BASE_DIR + Value.IMAGE_SOURCE_DIR);\n if (Files.exists(targetDir) && Files.isDirectory(targetDir)) {\n JFileChooser fileChooser = new JFileChooser();\n FileNameExtensionFilter filter =\n new FileNameExtensionFilter(\"Image only\", \"jpg\", \"png\", \"gif\");\n fileChooser.setFileFilter(filter);\n fileChooser.setAcceptAllFileFilterUsed(false);\n int returnValue = fileChooser.showOpenDialog(null);\n if (returnValue == JFileChooser.APPROVE_OPTION) {\n File selectedFile = fileChooser.getSelectedFile();\n Path copyTo = Paths.get(targetDir.toString() + \"/\" + selectedFile.getName());\n if (Files.exists(copyTo)) {\n Error error = new Error();\n error.initErrorFrame(selectedFile.getName() + \" already exists.\");\n } else {\n try {\n Files.copy(selectedFile.toPath(), copyTo);\n } catch (IOException e) {\n Error error = new Error();\n error.initErrorFrame(\"Exception copying file: \" + e.toString());\n }\n }\n }\n } else {\n Error error = new Error();\n error.initErrorFrame(targetDir.toString() + \" does not exists.\");\n }\n }", "title": "" }, { "docid": "b579e99013a12bf6466a8f7be67e40ef", "score": "0.46182284", "text": "public void addToBucket(String bucketName, String keyName, InputStream inputStream, String mimeType) throws IOException {\n\t\t\n\t\tlog.debug(\"Uploading a new object to S3 from a inputstream\\n\");\n\t\tlog.debug(\"bucketName: \" + bucketName);\n\t\tlog.debug(\"key: \" + keyName);\n\t\tObjectMetadata metadata = new ObjectMetadata();\n\t\tbyte[] contentBytes = IOUtils.toByteArray(inputStream);\n\t\tmetadata.setContentLength(contentBytes.length);\n\t\tmetadata.setContentType(mimeType);\n\t\ttry {\n\t\t\tPutObjectResult result = client.putObject(new PutObjectRequest(bucketName, keyName, inputStream, metadata));\n\t\t\tlog.debug(\"result.getETag(): \" + result.getETag());\n\t\t\tlog.debug(\"result.getExpirationTimeRuleId(): \" + result.getExpirationTimeRuleId());\n\t\t\tlog.debug(\"result.getVersionId(): \" + result.getVersionId());\n\t\t\tlog.debug(\"result.getExpirationTime(): \" + result.getExpirationTime());\n\t\t} finally {\n\t\t\tIOUtils.closeQuietly(inputStream);\n\t\t}\n\t}", "title": "" }, { "docid": "80bd7ff84217c82287eb15b902522add", "score": "0.46059203", "text": "public void uploadImage() {\r\n\t\t// gets fileName from dogFilePath\r\n\t\tString fileName = dogFilePath.getText();\r\n\r\n\t\t// upload image using UploadImage.saveAsPicture method, uses ImageResizer,\r\n\t\t// ImageFileReactor and ImageFilter\r\n\t\tUploadImage upi = new UploadImage();\r\n\t\tsetOri(upi.uploadProcedure(fileName));\r\n\t}", "title": "" }, { "docid": "033a45e6a059a3274daa4a959cae9ac6", "score": "0.4573472", "text": "public void PlacePicture(final ImageView placeholder, String location){\n StorageReference mStorageRef = FirebaseStorage.getInstance().getReference().child(location.toLowerCase());\n mStorageRef.getDownloadUrl().addOnSuccessListener(new OnSuccessListener<Uri>() {\n @Override\n public void onSuccess(Uri uri) {\n String imageURL = uri.toString();\n Glide.with(getContext()).load(imageURL).into(placeholder);\n }\n }).addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n // Handle any errors\n }\n });\n }", "title": "" }, { "docid": "555a16cb4b521ac4484a2be10ccdcbcf", "score": "0.4564099", "text": "public Image transform(TransformationRequest transformationRequest) {\n Image originalImage;\n try {\n originalImage = loadImage(transformationRequest.getImageId());\n } catch (Throwable ex) {\n ex.printStackTrace();\n LOGGER.error(\"Failed loading image with id {} from imageholder\", transformationRequest.getImageId());\n return null;\n }\n\n final Image transformedImage = transformationService.transform(originalImage, transformationRequest.getTransformations());\n\n metricsService.imageTransformed(transformedImage.getMimeType());\n\n imageHolderUploadClient.upload(transformedImage);\n\n return transformedImage;\n }", "title": "" }, { "docid": "cffea8082a87e0a38b5af660dfeec7fd", "score": "0.45526892", "text": "protected void uploadMapSnapshotFile(HttpServletRequest request, HttpServletResponse response) throws IOException\n {\n \ttry{\n \t\tOutputStream os = response.getOutputStream();\n \t\t\n \t\tresponse.setContentType(\"image/png\"); // Set up mime type\n\t\t\tresponse.setHeader(\"Content-Disposition\", \"attachment; filename=map_image.png\");\n\t\n \t\t\n \t\tString mapSnapshotString = request.getParameter(\"imagestring\");\n\t\t\t\n \t\tbyte[] imagedata = DatatypeConverter.parseBase64Binary(mapSnapshotString.substring(mapSnapshotString.indexOf(\",\") + 1));\n \t\tBufferedImage bufferedImage = ImageIO.read(new ByteArrayInputStream(imagedata));\n \t\tImageIO.write(bufferedImage, \"png\", os);\n \t\t\n \t\t\n \t\tos.flush();\n\t os.close();\n \t}\n \tcatch (Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n }", "title": "" }, { "docid": "e778e92e6ec5081ba1286f90b3da9c03", "score": "0.45378014", "text": "public interface AmazonUploadListener {\n\n void imageUploaded(String url);\n}", "title": "" }, { "docid": "6caca5b0ccf9378f1d0360e282c89e5e", "score": "0.4533679", "text": "void embedImage(Rectangle2D rect, URL image);", "title": "" }, { "docid": "b4f3b43bae4a4fa73f698cfb117b8fe9", "score": "0.45244887", "text": "private void btnUploadImageActionPerformed(java.awt.event.ActionEvent evt) {\n \n JFileChooser fileChooser = new JFileChooser();\n fileChooser.showOpenDialog(null);\n File sourceFile = fileChooser.getSelectedFile();\n fitImg(sourceFile);\n// imagePath = sourceFile.getAbsolutePath();\n try {\n retrieveText(imagePath);\n } catch (Exception ex) {\n Logger.getLogger(MediScanByImage.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n }", "title": "" }, { "docid": "cdc7168dc1385ea314a4129580a996b8", "score": "0.45161197", "text": "@Test\n void testGetImage_WhenPutRequestFailed_ThenNotFound() throws Exception {\n // given\n final String imageName = \"abc/def.jpg\";\n final String typeName = ImageType.THUMBNAIL.getName();\n byte[] sourceImage = TestImageHandler.readTestImageFromSource(TEST_IMAGE);\n byte[] resizedImage =\n TestImageHandler.readTestImageFromSource(\n TestImageHandler.resolveImageNewName(TEST_IMAGE, typeName));\n // when\n final String fileLocationInS3 = \"/\" + bucketName + \"/\" + typeName + \"/abc_/abc_def.jpg\";\n final String fileOriginalLocationInS3 = \"/\" + bucketName + \"/\" + ORIGINAL + \"/abc_/abc_def.jpg\";\n stubGetRequestFailed(fileLocationInS3, HttpStatus.NOT_FOUND);\n stubGetRequestReturnData(fileOriginalLocationInS3, sourceImage, MediaType.IMAGE_JPEG_VALUE);\n stubForPutRequestFailed(fileLocationInS3, resizedImage, HttpStatus.INTERNAL_SERVER_ERROR);\n\n final ResponseEntity<Resource> response =\n testRestTemplate.getForEntity(\n \"/image/show/{type}/?reference={imageName}\", Resource.class, typeName, imageName);\n assertThat(response.getStatusCode(), equalTo(HttpStatus.NOT_FOUND));\n }", "title": "" }, { "docid": "1514ab3e889135a6a8704ea1018d3d54", "score": "0.45080367", "text": "@Substitute\n public static ImageOutputStream createImageOutputStream(Object output) {\n AwtImageIO.LOGGER.error(AwtImageIO.AWT_EXTENSION_HINT);\n return null;\n }", "title": "" }, { "docid": "2e86a878eb782c9a3929bcfaa905e32c", "score": "0.44859698", "text": "public Object put(String path, InputStream fileInputStream, Long contentLenght) {\n try {\n ByteArrayOutputStream buffer = bufferInputStream(fileInputStream);\n\n // TODO make it parallel\n uploadThumbnail(path, buffer, 480, 360);\n \n // TODO make it parallel\n return super.put(path, new ByteArrayInputStream(buffer.toByteArray()), Long.valueOf(buffer.size()));\n } catch (IOException e) {\n // TODO handle and log\n e.printStackTrace();\n\n throw new InternalServerErrorException(\"Error uploading image\");\n }\n }", "title": "" }, { "docid": "30511e58d01eaacb45269ed2dc6e180f", "score": "0.44750234", "text": "@Generated\n @Selector(\"encodeToCommandBuffer:primaryImage:secondaryImage:destinationImage:\")\n public native void encodeToCommandBufferPrimaryImageSecondaryImageDestinationImage(\n @NotNull @Mapped(ObjCObjectMapper.class) MTLCommandBuffer commandBuffer, @NotNull MPSImage primaryImage,\n @NotNull MPSImage secondaryImage, @NotNull MPSImage destinationImage);", "title": "" }, { "docid": "feb3c9f9b2328daa0f97842be276542f", "score": "0.44728097", "text": "public S3File inputStreamUpload(InputStream inputStream, String name, Map<String, Object> cls) throws S3ServiceException {\n S3Object s3Object = buildS3Object(new S3Object(), name, cls);\r\n s3Object.setDataInputStream(inputStream);\r\n s3Object.setContentType(Mimetypes.getInstance().getMimetype(name));\r\n //upload\r\n return new S3File(s3Service.putObject(bucket, s3Object));\r\n }", "title": "" }, { "docid": "910f6087d32387da590bea58185b57ac", "score": "0.44708616", "text": "public void start() {\n AmazonS3 amazonS3 = AmazonS3ClientBuilder.standard().withCredentials(new EnvironmentVariableCredentialsProvider())\n // Sets the region to us-east-1 which is where the s3 is located\n .withRegion(Regions.US_EAST_1).build();\n\n /*\n * Take a byte string and convert it to a ByteArrayInputStream\n */\n String byteString = \"iVBORw0KGgoAAAANSUhEUgAAAHgAAABACAIAAABeLyRFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIOSURBVHhe7ZXhccMgDEYzVwbyPJnGy2SYVFJwkBDGvpp+be++9ycIgZBec+ntRSBQNAiKBkHRICgaBEWDoGgQFA2CokFQNAiKBkHRICgaBEWDoGgQFA2CokFQNAiKBkHRICgaBEWDoGgQFA0CIXpdbrdlzevfZdzJ9D7PiZZn749nCT48H/fedoKiBYruQ9HT+M+idWPDdTkUrRsfuqPpCfeMPVIPxiZ2q5Vj77ydbztxzct2m73MPNFBQAh802EADdw4dqnzThzaLtVTEpZgWM0in45V412LwuHrnBa9wzaJDhIcuTn8SG6drhQdeb6mwLLUv7vesNRBtVx52Ek+fpVJ3+h+q2Wn8VTW+YrQ3fTv22qVU7WIrY6q5fy4E9/zFCaK7vBu1Tc9Hu/wJVnop8ZWRY6fq5bz405qdhI/9o12+KbH4+3W0X25Jh/vbFnUvo6q5fy4E9/zFGb9M+wOWvBNu3Xnyn4VzSzrumxZ60h+Qj6nD6rltOtElzn5N0XnbtelIzesLXDjNGFEHhPCXd0IDw6qDUVbtqYtGrTyLeaJFmy2jTjyFvm1sg1ldN6oWHF3tY2V/Wqp17YTf1W22z4vc040uQxFg6BoEBQNgqJBUDQIigZB0SAoGgRFg6BoEBQNgqJBUDQIigZB0SAoGgRFg6BoEBQNgqJBUDQIigZB0SAoGgRFg6BoCK/XF4C0vgY0hZPwAAAAAElFTkSuQmCC\";\n byte[] bytes = Base64.getDecoder().decode(byteString);\n\n ByteArrayInputStream in = new ByteArrayInputStream(bytes);\n\n /*\n * Create and set metadata\n */\n ObjectMetadata meta = new ObjectMetadata();\n meta.setContentEncoding(\"base64\");\n meta.setContentType(\"image/png\");\n meta.setContentLength(bytes.length);\n meta.setLastModified(DateTime.now().toDate());\n\n /* Put a file into the bucket.\n * The first variable is the bucket name, this will always be reverse-social-media for us\n * The second name is key/file name, this must be unique within a folder of the bucket\n * The third argument is the input stream\n * The fourth is the metadata\n */\n\n amazonS3.putObject(\"reverse-social-media\", \"test.png\", in, meta);\n\n /* Get the url of a file.\n * The first argument is the bucket name\n * The second argument is the key/file name\n */\n System.out.println(amazonS3.getUrl(\"reverse-social-media\", \"test.png\").toString());\n\n }", "title": "" }, { "docid": "4fb7429e7d12856ee4d8f1916679bd3c", "score": "0.44693533", "text": "@Override\n\tpublic Image createImage(Image image) throws IOException {\n\t\t String filename = storageFile(image.getImage());\n\t\t image.setImageFileName(filename);\n\t\treturn imageRepository.save(image);\n\t}", "title": "" }, { "docid": "1897fe446f0b048c169e71fe9fb57ef6", "score": "0.44687518", "text": "void onImageSaved(@NonNull OutputFileResults outputFileResults);", "title": "" }, { "docid": "6adbe42d19b3c30e4c867cdea249b007", "score": "0.44607574", "text": "@Override\n\tpublic int insertImage(long userId, String imagePath) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "e80fc15544509e0499216d6728803561", "score": "0.44537446", "text": "public void insertPointCloud(PointCloud scan, Point3DReadOnly sensorOrigin, Transform frameOrigin)\n {\n // performs transformation to data and sensor origin first\n PointCloud transformedScan = new PointCloud(scan);\n transformedScan.transform(frameOrigin);\n Point3D transformedSensorOrigin = new Point3D(sensorOrigin);\n frameOrigin.transform(transformedSensorOrigin);\n insertPointCloud(transformedScan, transformedSensorOrigin);\n }", "title": "" }, { "docid": "928a8deee9e4446be1d80808b9843168", "score": "0.44459283", "text": "public interface IImageInputItem extends IChainItem {\n String getImagePath();\n void setImagePath(String imgPath);\n}", "title": "" }, { "docid": "0721566e44c61094e5ddf1b541af7029", "score": "0.44417343", "text": "private void captureImage() {\r\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\r\n\r\n File file = CameraUtils.getOutputMediaFile(MEDIA_TYPE_IMAGE);\r\n if (file != null) {\r\n videoStoragePath = file.getAbsolutePath();\r\n }\r\n\r\n Uri fileUri = CameraUtils.getOutputMediaFileUri(getApplicationContext(), file);\r\n\r\n intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);\r\n\r\n // start the image capture Intent\r\n startActivityForResult(intent, CAMERA_CAPTURE_IMAGE_REQUEST_CODE);\r\n }", "title": "" }, { "docid": "ab05fef4b6b93b322f3ff94744274b2a", "score": "0.444102", "text": "private static S3Output createS3Output(String bucketName, String accessKey, String secretKey)\n throws BitmovinException {\n S3Output s3Output = new S3Output();\n s3Output.setBucketName(bucketName);\n s3Output.setAccessKey(accessKey);\n s3Output.setSecretKey(secretKey);\n\n return bitmovinApi.encoding.outputs.s3.create(s3Output);\n }", "title": "" }, { "docid": "08667fd082554dd66bdc06d12bd40e75", "score": "0.4405714", "text": "private void doPutImage(TailoredImage code, int index) {\n\t\t// Compression primary block image.\n\t\t// byte[] compressData = code.compress();\n\n\t\t// Storage to cache.\n\t\timgCache.mapPut(new CacheKey(toBytes(valueOf(index)), config.getJigsaw().getPoolImgExpireSec()), code);\n\t\tlog.debug(\"Puts jigsaw image, index {}, jigsawImage(x:{}, y:{})\", index, code.getX(), code.getY());\n\t}", "title": "" }, { "docid": "b145f83487ce6c1ba6faf5580d0625b0", "score": "0.4386432", "text": "public static String uploadCapture(String localFile, String location) {\r\n\t\treturn \"save capture local \" + localFile + \" \" + location\r\n\t\t\t\t+ AH_CLI_SUFFIX;\r\n\t}", "title": "" }, { "docid": "7993a8fbdec90a084013bb043ad47181", "score": "0.43795106", "text": "public abstract void copyFileOnVirtualMachine(ImageCopy image,String destinationRoute, File sourceFile) throws HypervisorOperationException;", "title": "" }, { "docid": "97763e67b83054b9754477825880d5b8", "score": "0.43702552", "text": "public static void setImageStreams() {\n TestConfiguration.printDivider(\"Setting up image streams\");\n log.info(\"Deploying image stream \" + TestConfiguration.templateImageStreamUrl());\n\n // Fishing out imagestream for apicurito-ui\n Optional<JSONObject> imageStream = Optional.empty();\n boolean error = false;\n try {\n JSONArray imagestreams =\n new JSONObject(HttpUtils.doGetRequest(TestConfiguration.templateImageStreamUrl()).body().string()).getJSONArray(\"items\");\n for (int i = 0; i < imagestreams.length(); i++) {\n if (\"apicurito-ui\".equals(imagestreams.getJSONObject(i).getJSONObject(\"metadata\").getString(\"name\"))){\n imageStream = Optional.of(imagestreams.getJSONObject(i));\n break;\n }\n }\n } catch (IOException ex) {\n log.error(\"Couldn't fetch imagestream, applying whole url to specified ocp\");\n error = true;\n }\n\n if (imageStream.isPresent()) {\n // create temp file with the is\n try {\n File imageStreamFile = File.createTempFile(\"imagestream\", \".json\");\n imageStreamFile.deleteOnExit();\n final BufferedWriter bw = new BufferedWriter(new FileWriter(imageStreamFile));\n bw.write(imageStream.get().toString());\n bw.close();\n OpenShiftUtils.binary().execute(\n \"apply\",\n \"-n\", TestConfiguration.openShiftNamespace(),\n \"-f\", imageStreamFile.getPath()\n );\n } catch (IOException ex) {\n log.error(\"Couldn't create imagestream file, using original list of imagestreams\");\n error = true;\n }\n }\n\n if (!imageStream.isPresent() || error) {\n final String output = OpenShiftUtils.binary().execute(\n \"apply\",\n \"-n\", TestConfiguration.openShiftNamespace(),\n \"-f\", TestConfiguration.templateImageStreamUrl()\n );\n }\n\n if (TestConfiguration.apicuritoUiImageUrl() != null) {\n log.info(\"UI image specified, updating image stream with {}\", TestConfiguration.apicuritoUiImageUrl());\n OpenShiftUtils.binary().execute(\n \"tag\",\n TestConfiguration.apicuritoUiImageUrl(),\n \"apicurito-ui:\" + TestConfiguration.APICURITO_IMAGE_VERSION\n );\n }\n }", "title": "" }, { "docid": "653cd83d145079372163164ee8cbb7f9", "score": "0.4365227", "text": "private void createImageFile() throws IOException {\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = cuenta.getText().toString() + \"_\" + timeStamp;\n foto = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) + \"/Portoaguas/\" + imageFileName + \".jpg\";\n File storageDir2 = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), \"Portoaguas\");\n /*File imageZipperFile=new ImageZipper(this)\n .setQuality(10)\n .setMaxWidth(200)\n .setMaxHeight(200)\n .compressToFile(foto);*/\n\n storageDir = new File(foto);\n if (!storageDir2.exists()) {\n if (!storageDir2.mkdirs()) {\n Log.d(\"Portoaguas\", \"failed to create directory\");\n }\n }\n Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n output = Uri.fromFile(storageDir);\n intent.putExtra(MediaStore.EXTRA_OUTPUT, output);\n startActivityForResult(intent, 1);\n }", "title": "" }, { "docid": "ebf1307b5d32be5765f4395e70f10c40", "score": "0.4358052", "text": "public ImgBuff(File input) {\r\n\t\ttry {\r\n\t\t\timage = ImageIO.read(input);\r\n\t\t\twidth = image.getWidth();\r\n\t\t\theight = image.getHeight();\r\n\t\t\t//System.out.println(\"original\" + image.getRGB(0, 0));\r\n\t\t\tBufferedImage img2 = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\r\n\t\t\timg2.getGraphics().drawImage(image, 0, 0, null);\r\n\t\t\timage = img2;\r\n\t\t\t//System.out.println(\"RGB\" + image.getRGB(0, 0));\r\n\t\t} catch (IOException 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": "cba4bd9e4ab18603aa32108054f2dd5e", "score": "0.43568012", "text": "public Image save(Image img);", "title": "" }, { "docid": "e995dbadec11ba3dbe7a947aa0ab695c", "score": "0.435211", "text": "public void setImageLocation(String imageLocation) {\n\t\tthis.imageLocation = imageLocation;\n\t}", "title": "" }, { "docid": "7ed83629057e2a114c9979cf56ab0c4a", "score": "0.4346208", "text": "@Override public void setConsumedImage(ImageStreamImage img) {\r\n\t}", "title": "" }, { "docid": "1720eff540e3ccf1427513c5a891fb86", "score": "0.4343305", "text": "public static String upload(String tempURL, String Folder, String userEPPN, String ResourceType)\n throws DMCServiceException {\n\n if (null == tempURL) {\n ServiceLogger.log(LOGTAG, \"User\" + userEPPN + \" - no item to upload, returning\");\n return null;\n }\n ServiceLogger.log(LOGTAG,\n \"User\" + userEPPN + \"uploading object from \" + sourceBucket + \" to S3 bucket \" + destBucket);\n\n final AmazonS3 s3client = getAmazonS3Client();\n\n final String sourceKey = createSourceKey(tempURL);\n final String destKey = createDestKey(tempURL, Folder, userEPPN, ResourceType);\n\n try {\n // Copying object, AWS takes care of all implementation of this.\n final CopyObjectRequest copyObjRequest = new CopyObjectRequest(sourceBucket, sourceKey, destBucket, destKey);\n ServiceLogger.log(LOGTAG, \"Copying object to s3 bucket.\");\n s3client.copyObject(copyObjRequest);\n ServiceLogger.log(LOGTAG, \"Generating pre-signed URL.\");\n final String preSignedURL = refreshURL(destKey);\n return preSignedURL;\n\n } catch (AmazonServiceException ase) {\n logDetailsOfAmazonServiceException(\"Caught an AmazonServiceException, which means your request made it \"\n + \"to Amazon S3, but was rejected with an error response for some reason.\", ase);\n throw new DMCServiceException(DMCError.AWSError,\n \"AWS Upload Request from \" + userEPPN + \" made it, rejected do to: \" + ase.getMessage());\n } catch (AmazonClientException ace) {\n logAmazonClientException(\"Caught an AmazonClientException, which means the client encountered an internal error\"\n + \" while trying to communicate with S3, such as not being able to access the network.\", ace);\n throw new DMCServiceException(DMCError.AWSError, \"AWS Upload Request from \" + userEPPN\n + \" encountered internal error with \" + \"S3 and rejected do to: \" + ace.getMessage());\n }\n }", "title": "" }, { "docid": "680e40ed8bae622822afaff1013a5b38", "score": "0.4342857", "text": "protected File createThumbnail(File imageIn, Dimension outSize) throws IOException\r\n\t{\r\n\t\ttry {\r\n\t\t\t// Get the image from a file.\r\n\t\t\tBufferedImage inImage = ImageIO.read(imageIn);\r\n\t\t\t// Determine the scale.\r\n\r\n\t\t\twhile(inImage.getHeight() > outSize.height*stepFactor || inImage.getWidth() > outSize.width*stepFactor)\r\n\t\t\t{\r\n\t\t\t\tinImage = halfImage(inImage);\r\n\t\t\t}\r\n\r\n\r\n\t\t\t// Create an image buffer in which to paint on.\r\n\t\t\tint imageType = (inImage.getTransparency() == Transparency.OPAQUE) ? \r\n\t\t\t\t\tBufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB;\r\n\t\t\tBufferedImage outImage = new BufferedImage(outSize.width, outSize.height, imageType);\r\n\r\n\t\t\t// Paint image.\r\n\t\t\tGraphics2D g2d = outImage.createGraphics();\r\n\t\t\tg2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,\r\n\t\t\t\t\tRenderingHints.VALUE_INTERPOLATION_BICUBIC);\r\n\t\t\tg2d.drawImage(inImage, 0, 0, outSize.width, outSize.height, null);\r\n\t\t\tg2d.dispose();\r\n\r\n\t\t\tIterator<ImageWriter> iter = ImageIO.getImageWritersByFormatName(imageFormat);\r\n\t\t\tImageWriter iw = iter.next(); \r\n\t\t\tImageWriteParam iwp = iw.getDefaultWriteParam();\r\n\t\t\tiwp.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);\r\n\r\n\t\t\tiwp.setCompressionQuality(compression); \r\n\r\n\t\t\tString newFilePath = tempdir + \"/\" + outSize.width+\"_\"+outSize.height+\"_\"+ imageIn.getName();\r\n\t\t\tFile outFile = new File(newFilePath);\r\n\t\t\tFileOutputStream outstream = new FileOutputStream(outFile);\r\n\t\t\tMemoryCacheImageOutputStream mcios = new MemoryCacheImageOutputStream(outstream);\r\n\t\t\tiw.setOutput(mcios); \r\n\r\n\t\t\tiw.write(null, new IIOImage(outImage, new ArrayList<BufferedImage>(), null), iwp); \r\n\r\n\t\t\toutstream.flush();\r\n\t\t\treturn outFile;\r\n\t\t}\r\n\t\tcatch (IOException e) {\r\n\t\t\tlog.error(\"Could not create thumbnail \" + e.getMessage(), e);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "a1c61691c9f0ccadbb3c3a8b25661756", "score": "0.43410227", "text": "void saveImage(String name);", "title": "" }, { "docid": "7851d5f5c8d8e41d1104451ffd48182a", "score": "0.433978", "text": "public void save(String destinationFile, String format)\n \t\t\tthrows SlickException {\n \t\tImage tilesetImage = new Image(MAX_WIDTH, MAX_HEIGHT);\n \t\tGraphics g = tilesetImage.getGraphics();\n \t\tg.setColor(Color.magenta);\n \t\tg.fillRect(0, 0, MAX_WIDTH, MAX_HEIGHT);\n \t\tg.setAntiAlias(true);\n \t\tfor (int i = 0; i < tiles.size(); i++) {\n \t\t\tTile tile = tiles.get(i);\n \n \t\t\tif (tile != null) {\n\t\t\t\tint y = i / (MAX_WIDTH / (Tile.WIDTH + (Tile.PADDING * 2)));\n\t\t\t\tint x = i\n\t\t\t\t\t\t- (y * (MAX_WIDTH / (Tile.WIDTH + (Tile.PADDING * 2))));\n \n\t\t\t\tg.drawImage(\n\t\t\t\t\t\ttile.getTileImage(),\n\t\t\t\t\t\t((x * (Tile.WIDTH + (Tile.PADDING * 2))) + Tile.PADDING),\n\t\t\t\t\t\t((y * (Tile.HEIGHT + (Tile.PADDING * 2))) + Tile.PADDING));\n \t\t\t}\n \t\t}\n \t\tg.flush();\n \t\tImageOut.write(tilesetImage, format, destinationFile);\n \t}", "title": "" }, { "docid": "22551be3c2294a604ced39119cf058ff", "score": "0.43387717", "text": "private byte[] createModifiedJpegPostRequestInvoker(byte[] imageData, String outPath) throws Exception\n {\n createModifiedJpegRequest.imageData = imageData;\n createModifiedJpegRequest.outPath = outPath;\n return ImagingApi.createModifiedJpeg(createModifiedJpegRequest);\n }", "title": "" }, { "docid": "130138a3456c6195ac2e81e7010c3e79", "score": "0.43280262", "text": "@Test\n public void testProcessor() {\n// \ttestRunner.setProperty(\"url\", \"https://api.imgur.com/3/upload\");\n// \ttestRunner.setProperty(\"fieldname\", \"image\");\n// \ttestRunner.setProperty(\"imagename\", \"IMG_2596.jpg\");\n// \ttestRunner.setProperty(\"imagetype\", \"image/jpeg\");\n//\t\ttestRunner.setProperty(\"headername\", \"Authorization\");\n//\t\ttestRunner.setProperty(\"headervalue\", \"Client-ID abc\");\n\n //\ttestRunner.enqueue(this.getClass().getClassLoader().getResourceAsStream(\"IMG_2596.jpg\"));\n\n //\trunAndAssertHappy();\n }", "title": "" }, { "docid": "121cb0f5d3c1a0aa87b0514ed4130170", "score": "0.43249822", "text": "public static void saveFotoToFileSystem(InputStream in, String category, String name, String num) throws IOException{\n Path p = Paths.get(\"/foto/\"+category+\"/\"+name);\n Files.createDirectories(p);\n Path res = p.resolve(\"file\"+num+\".jpg\");\n if(in.available()>0)\n Files.copy(in,res, StandardCopyOption.REPLACE_EXISTING);\n }", "title": "" }, { "docid": "ddf7916609e3c7b68f76abb341030ab4", "score": "0.43211314", "text": "public void getImageFromBucket(String fileName);", "title": "" }, { "docid": "fb311fb13c8b0e614eeb6050e4bd0c71", "score": "0.43125457", "text": "void setImage(String imageURL, int imageWidth, int imageHeight);", "title": "" }, { "docid": "01c33e7b1c8f2767d1e838cbbb23597c", "score": "0.43098298", "text": "public void onSaveAsJpeg() {\r\n \r\n \t\tUIViewFrame frame = getCurrentFrame();\r\n \r\n \t\tif (frame instanceof UIMapViewFrame) {\r\n \t\t\ttry {\r\n \t\t\t\tUIFileFilter jpgFilter = new UIFileFilter(new String[] {\"jpg\"}, \"JPEG Image Files\"); //$NON-NLS-1$ //$NON-NLS-2$\r\n \r\n \t\t\t\tUIFileChooser fileDialog = new UIFileChooser();\r\n \t\t\t\tfileDialog.setDialogTitle(LanguageProperties.getString(LanguageProperties.UI_GENERAL_BUNDLE, \"ProjectCompendiumFrame.enterFileName2\")); //$NON-NLS-1$\r\n \t\t\t\tfileDialog.setFileFilter(jpgFilter);\r\n \t\t\t\tfileDialog.setDialogType(JFileChooser.SAVE_DIALOG);\r\n \t\t\t\tfileDialog.setRequiredExtension(\".jpg\"); //$NON-NLS-1$\r\n \r\n \t \t\t// FIX FOR MAC - NEEDS '/' ON END TO DENOTE A FOLDER\r\n \t \t\t// AND MUST USE ABSOLUTE PATH, AS RELATIVE PATH REMOVES THE '/'\r\n \t \t\tFile filepath = new File(\"\"); //$NON-NLS-1$\r\n \t \t\tString sPath = filepath.getAbsolutePath();\r\n \t \t\tFile file = new File(sPath+ProjectCompendium.sFS+\"Exports\"+ProjectCompendium.sFS); //$NON-NLS-1$\r\n \t \t\tif (file.exists()) {\r\n \t\t\t\t\tfileDialog.setCurrentDirectory(file);\r\n \t\t\t\t}\r\n \r\n \t\t\t\tString fileName = \"\"; //$NON-NLS-1$\r\n \t\t\t\tUIUtilities.centerComponent(fileDialog, this);\r\n \t\t\t\tint retval = fileDialog.showDialog(this, null);\r\n \r\n \t \t\tif (retval == JFileChooser.APPROVE_OPTION) {\r\n \tif ((fileDialog.getSelectedFile()) != null) {\r\n \r\n \tfileName = fileDialog.getSelectedFile().getAbsolutePath();\r\n \r\n \t\t\t\t\t\tif (fileName != null) {\r\n \t\t\t\t\t\t\tif ( !fileName.toLowerCase().endsWith(\".jpg\") ) { //$NON-NLS-1$\r\n \t\t\t\t\t\t\t\tfileName += \".jpg\"; //$NON-NLS-1$\r\n \t\t\t\t\t\t\t}\r\n \t\t\t\t\t\t}\r\n \r\n \t\t\t\t\t\tUIViewPane pane = ((UIMapViewFrame)frame).getViewPane();\r\n \t\t\t\t\t\tDimension size = pane.calculateSize();\r\n \r\n \t\t\t\t\t\tBufferedImage img = (pane.getGraphicsConfiguration()).createCompatibleImage(size.width, size.height, Transparency.OPAQUE);\r\n \t\t\t\t\t\tGraphics2D graphics = img.createGraphics();\r\n \t\t\t\t\t\tpane.paint(graphics);\r\n \r\n \t\t\t\t\t\tif (ProjectCompendium.isLinux) {\r\n \t\t\t\t\t\t\tIterator iter = ImageIO.getImageWritersByFormatName(\"JPG\"); //$NON-NLS-1$\r\n \t\t\t\t\t\t\tif (iter.hasNext()) {\r\n \t\t\t\t\t\t\t\tImageWriter writer = (ImageWriter)iter.next();\r\n \t\t\t\t\t\t\t\tImageWriteParam iwp = writer.getDefaultWriteParam();\r\n \t\t\t\t\t\t\t\tiwp.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);\r\n \t\t\t\t\t\t\t\tiwp.setCompressionQuality(1);\r\n \t\t\t\t\t\t\t\tFile outFile = new File(fileName);\r\n \t\t\t\t\t\t\t\tFileImageOutputStream output = new FileImageOutputStream(outFile);\r\n \t\t\t\t\t\t\t\twriter.setOutput(output);\r\n \t\t\t\t\t\t\t\tIIOImage image = new IIOImage(img, null, null);\r\n \t\t\t\t\t\t\t\twriter.write(null, image, iwp);\r\n \t\t\t\t\t\t\t}\r\n \t\t\t\t\t\t}\r\n \t\t\t\t\t\telse {\r\n \r\n \t\t\t\t\t\t\tBufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(fileName));\r\n \t\t\t\t\t\t\tImageIO.write(img, \"jpeg\", out);\r\n \t\t\t\t\t\t\tout.close();\r\n \t\t\t\t\t\t}\r\n \t}\r\n \t}\r\n \t\t\t}\r\n \t\t\tcatch(Exception ex) {\r\n \t\t\t\tlog.error(\"Exception...\", ex);\r\n \t\t\t\tlog.error(\"Exception creating map image = \", ex);\r\n \t\t\t}\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "2776f6744fffad93f276d93369c0a6e3", "score": "0.43022293", "text": "@Override\n public void execute() {\n try {\n writeImage.writeImage(image, fileName, extension);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n }", "title": "" }, { "docid": "30d0baf71a6a3788e64ae4d43be9b320", "score": "0.43016452", "text": "public void scaleImage(InputStream in, OutputStream out, String formatName) \n throws IOException {\n Assert.notNull(in, \"InputStream can not be null.\");\n Assert.notNull(out, \"OutStream can not be null.\");\n Assert.hasText(formatName, \"Format name can not be blank.\");\n \n BufferedImage image = ImageIO.read(in);\n \n BufferedImage destImage = processImageScaling(image);\n\n ImageIO.write(destImage, formatName, out);\n \n logger.debug(\"Created scaled from orginal file.\");\n }", "title": "" }, { "docid": "ed9d5af6040389a9a35d3c46385c7191", "score": "0.42965296", "text": "@Override\n protected ImageWriter createImageWriter(String formatName,\n final Object output, final RenderedImage image) throws IOException\n {\n if (formatName == null) {\n formatName = format;\n }\n return super.createImageWriter(formatName, output, image);\n }", "title": "" }, { "docid": "1524fd522415c01188fc952b73730b4d", "score": "0.42811725", "text": "int insert(Image record);", "title": "" }, { "docid": "b86320103bd7294200cbdbe228caf9c2", "score": "0.42802384", "text": "@POST\n @Path(\"/AddImage\")\n @Consumes(MediaType.MULTIPART_FORM_DATA)\n\n public Response addimage(@FormDataParam(\"file_upload\") InputStream uploadedInputStream,\n @FormDataParam(\"file_upload\") FormDataContentDisposition fileDetail) throws Exception {\n VendorServiceImpl daoimpl=new VendorServiceImpl();\n if (uploadedInputStream == null || fileDetail == null)\n return Response.status(200).entity(\"Empty Image data\").build();\n \n \n String uploadedFileLocation = fileDetail.getFileName();\n try {\n daoimpl.saveToFile(uploadedInputStream, uploadedFileLocation);\n } catch (IOException e) {\n return Response.status(500).entity(\"Can not save file\").build();\n }\n return Response.status(200).entity(\"File saved to \" + uploadedFileLocation).build();\n }", "title": "" }, { "docid": "afc2813c21e67583064805d973fc0cb2", "score": "0.42728233", "text": "public Response uploadProfileImage(MultipartFile multipartFile){\n File file = convertMultiPartFileToFile(multipartFile);\n String fileName = multipartFile.getOriginalFilename();\n\n System.out.println(\"S3service.uploadProfileImage\");\n String pathName = \"users/images/profile/\" + fileName;\n return uploadFile(file, pathName);\n }", "title": "" }, { "docid": "ac39bc17bd50a22e4435460a4e80ff07", "score": "0.42724204", "text": "@Override\n public void saveAs(String filename) {\n String s = filename.toLowerCase();\n String tmpFile = filename + \".TMP\";\n\n // under windows, an existing file must first be deleted?\n File tf = new File(tmpFile);\n if (tf.exists() && !tf.delete()) {\n DialogUtil.error(\"Can't delete temp file: \" + tmpFile);\n return;\n }\n\n\n if (s.endsWith(\".jpeg\") || s.endsWith(\".jpg\")) {\n JAI.create(\"filestore\", getDisplayImage(), tmpFile, \"JPEG\", new JPEGEncodeParam());\n } else if (s.endsWith(\".png\")) {\n JAI.create(\"filestore\", getImage(), tmpFile, \"PNG\", new PNGEncodeParam.Gray());\n } else if (s.endsWith(\".pnm\")) {\n JAI.create(\"filestore\", getImage(), tmpFile, \"PNM\", new PNMEncodeParam());\n } else if (s.endsWith(\".tiff\") || s.endsWith(\".tif\")) {\n JAI.create(\"filestore\", getImage(), tmpFile, \"TIFF\", new TIFFEncodeParam());\n } else if (s.endsWith(\".bmp\")) {\n JAI.create(\"filestore\", getDisplayImage(), tmpFile, \"BMP\", new BMPEncodeParam());\n } else {\n // assume FITS format\n FITSImage fitsImage = getFitsImage();\n if (fitsImage != null && _url != null) {\n try {\n BufferedFile bf = new BufferedFile(tmpFile, \"rw\");\n fitsImage.getFits().write(bf);\n bf.close();\n\n // under Windows, this is necessary to avoid an error\n fitsImage.getFits().getStream().close();\n } catch (Exception e) {\n DialogUtil.error(e);\n }\n } else {\n // XXX the FITS codec code for the call below is not implemented yet...\n // XXX wait for new Image I/O package\n //JAI.create(\"filestore\", getImage(), tmpFile, \"FITS\", new FITSEncodeParam());\n\n DialogUtil.error(\"Can't determine image format for: \" + filename);\n }\n }\n\n // backup file if it exists\n File file = new File(filename);\n if (file.exists()) {\n File backup = new File(filename + \".BAK\");\n if (backup.exists() && !backup.delete()) {\n DialogUtil.error(\"Can't delete backup file: \" + backup);\n return;\n }\n\n if (!file.renameTo(backup)) {\n DialogUtil.error(\"Rename \" + file + \" to \" + backup + \" failed\");\n return;\n }\n }\n\n // Rename tmpFile to filename\n if (!new File(tmpFile).renameTo(file)) {\n DialogUtil.error(\"Rename \" + tmpFile + \" to \" + file + \" failed\");\n return;\n }\n\n setSaveNeeded(false);\n\n // make sure we are viewing the new file\n _noStack = true;\n try {\n setFilename(filename, true);\n } catch (Exception e) {\n DialogUtil.error(e);\n }\n _noStack = false;\n }", "title": "" }, { "docid": "3c5581ecf3d5a69b3de656db92690701", "score": "0.4270379", "text": "@Test\n public void testCopyingPNGContainingXMP() throws IOException {\n File file = new File(\"src/test/resources/png/XMP-Logo-with-XMP_Metadata.png\");\n Image origin = new Image(file);\n File out = new File(dir, \"testCopyingPNGContainingXMP.png\");\n origin.write(out);\n \n Image copy = new Image(out);\n assertNotNull(copy.getMetadata().getXmp());\n // Bad manipulation when inserting the metadata, only one keyword...\n assertTrue(copy.getMetadata().getKeywords().contains(\"XMP,logo\"));\n assertEquals(\"XMP\", copy.getMetadata().getExtendedMetadata().getAuthor());\n }", "title": "" }, { "docid": "7406c584366ca644dd4c9114c638f1b8", "score": "0.42670104", "text": "public void generateThumbnail(File input, File output, String mimeType) throws IOException, ThumbnailerException {\n String ext = FilenameUtils.getExtension(input.getName());\n if (!mimeTypeDetector.doesExtensionMatchMimeType(ext, mimeType)) {\n String newExt;\n if (\"application/zip\".equals(mimeType))\n newExt = getStandardZipExtension();\n else if (\"application/vnd.ms-office\".equals(mimeType))\n newExt = getStandardOfficeExtension();\n else\n newExt = mimeTypeDetector.getStandardExtensionForMimeType(mimeType);\n\n input = temporaryFilesManager.createTempfileCopy(input, newExt);\n }\n\n generateThumbnail(input, output);\n }", "title": "" }, { "docid": "5222865a42bcd78b37cbb65233a6e03e", "score": "0.42656553", "text": "public Image createImage(URL url)\n {\n ImageProducer ip = new URLImageSource(url);\n Image newImage = createImage(ip);\n\n return newImage;\n }", "title": "" }, { "docid": "c81c2604157b74f3ef96ceca11c83db5", "score": "0.42603245", "text": "private byte[] createUpdatedImagePostRequestInvoker(byte[] imageData, String outPath) throws Exception\n {\n createUpdatedImageRequest.imageData = imageData;\n createUpdatedImageRequest.outPath = outPath;\n return ImagingApi.createUpdatedImage(createUpdatedImageRequest);\n }", "title": "" }, { "docid": "f57678a65b3ef6f0db7facc14712ade1", "score": "0.4236629", "text": "public String addImage(ImageData data);", "title": "" }, { "docid": "f17976ce4a87b90c4398d42d7f301853", "score": "0.4226732", "text": "public interface FileTransferStrategy {\n\n\n\t/**\n\t * Transfer a file from the given InputStream to S3.\n\t * @param request The parameters of the request.\n\t * @return\n\t * @throws ServiceUnavailableException - This should be thrown if the strategy cannot be executed.\n\t * @throws IOException \n\t */\n\tpublic S3FileHandle transferToS3(TransferRequest request) throws ServiceUnavailableException, IOException ;\n}", "title": "" }, { "docid": "5a6af19388b3f2eae46ba8549b0403a0", "score": "0.42184663", "text": "@Override\n @Transactional\n public String uploadAvatar(MultipartFile multipartFile, String ownerUsername) throws IOException {\n Long userId = this.userRepo.getUserIdByUsername(ownerUsername)\n .orElseThrow(() -> new RuntimeException(\"Username not found\"));\n\n String uploadDir = \"avatar/users/\" + userId;\n ExpectedSizeImage sizeImage = new ExpectedSizeImage(200, 200);\n ExpectedSizeImage sizeImageThumbnail = new ExpectedSizeImage(50, 50);\n String dirAndFileName = this.uploadService.save(multipartFile, uploadDir, true, sizeImage, sizeImageThumbnail);\n\n this.userRepo.updateAvatar(userId, uploadDir, this.endpointUrl);\n\n return genUploadImageUrl(dirAndFileName);\n }", "title": "" }, { "docid": "c293d821e375809d968db2e416b39a57", "score": "0.42141333", "text": "void combineImage(String picName) throws IOException{\n\t\t\n\n\t try{\n\t System.loadLibrary( Core.NATIVE_LIBRARY_NAME );\n\t \n\t Mat source = Imgcodecs.imread(picName, Imgcodecs.CV_LOAD_IMAGE_COLOR);\n\t Mat waterMark = Imgcodecs.imread(\"watermark.png\", Imgcodecs.CV_LOAD_IMAGE_COLOR);\n\t Rect ROI = new Rect(waterMark.rows() * 4,waterMark.cols(), waterMark.cols(),waterMark.rows());\n\t \n\t Core.addWeighted(source.submat(ROI), 0.8, waterMark, 0.2, 1, source.submat(ROI));\n\t Imgcodecs.imwrite(\"watermarkedImage.jpg\", source);\n\t \n\t } catch (Exception e) {\n\t System.out.println(\"Error: \" + e.getMessage());\n\t }\n\n\t\t\n\t}", "title": "" }, { "docid": "4e4db868105b70d3c45a011bd4013f8c", "score": "0.4213502", "text": "@EntryPoint(tag=\"2#_CsBWQ29SEeqa34g-QYI2IQ#_CsFAo29SEeqa34g-QYI2IQ\") \r\n\t@EntryPoint(tag=\"2#_CsBWQ29SEeqa34g-QYI2IQ#_CsGOwG9SEeqa34g-QYI2IQ\") \r\n\t@Source(tags={\"2#_CsBWQ29SEeqa34g-QYI2IQ#_CsFAo29SEeqa34g-QYI2IQ\", \"2#_CsBWQ29SEeqa34g-QYI2IQ#_CsGOwG9SEeqa34g-QYI2IQ\"})\r\n\tpublic void uploadingVideo(){\n\t\tthrow new UnsupportedOperationException(\"TODO: auto-generated method stub\");\r\n\t}", "title": "" }, { "docid": "7374b677188fc8e186b6630c1898fd53", "score": "0.42068088", "text": "@JsonCreator\n public ImageAnalysisSkill(\n @JsonProperty(value = \"inputs\", required = true) List<InputFieldMappingEntry> inputs,\n @JsonProperty(value = \"outputs\", required = true) List<OutputFieldMappingEntry> outputs) {\n super(inputs, outputs);\n }", "title": "" }, { "docid": "6b7e0c928638d5053be2a860c669fadd", "score": "0.42066", "text": "@Test\n public void testRewritingJPEGFileWithoutMetadata() throws IOException {\n File file = new File(\"src/test/resources/jpg/keepout-security-restricted-access.jpg\");\n Image originA = new Image(file);\n String xmp = originA.getMetadata().getXmp();\n assertEquals(0, originA.getMetadata().getIPTCMetadata().getOriginalIPTCMetadata().getRecords().size());\n File out = new File(dir, \"testRewritingJPEGFileWithoutMetadata-A.jpg\");\n originA.write(out);\n Image a = new Image(out);\n \n assertNotNull(a.getMetadata().getExifMetadata());\n assertEquals(xmp, a.getMetadata().getXmp());\n assertEquals(0, a.getMetadata().getIPTCMetadata().getOriginalIPTCMetadata().getRecords().size());\n \n file = new File(\"src/test/resources/jpg/IMG_0467.jpg\");\n Image originB = new Image(file);\n out = new File(dir, \"testRewritingJPEGFileWithoutMetadata-B.jpg\");\n originB.write(out);\n Image b = new Image(out);\n \n assertFalse(b.getMetadata().getIPTCMetadata().getOriginalIPTCMetadata().getRecords().isEmpty());\n assertNotNull(b.getMetadata().getXmp());\n assertNotNull(b.getMetadata().getExifMetadata());\n }", "title": "" }, { "docid": "c1edbd32d31fc2f954433d2dbb1d3b71", "score": "0.42016053", "text": "@Override\n\t\t\t\t\t\tpublic void onPictureTaken(byte[] data,\n\t\t\t\t\t\t\t\tCamera camera) {\n\t\t\t\t\t\t\tContentResolver contentResolver = getContext().getContentResolver();\n\t\t\t\t\t\t\tBitmap bm = BitmapFactory.decodeByteArray(data, 0, data.length);\n\t\t\t\t\t\t\tString title = \"ShakenPicture\";\n\t\t\t\t\t\t\tString description = \"Picture taken by shaking\";\n\t\t\t\t\t\t\tString uri = MediaStore.Images.Media.insertImage(contentResolver, bm, title, description);\n\t\t\t\t\t\t\tif (uri==null) {\n\t\t\t\t\t\t\t\tToast.makeText(getContext(), \"Failed to save picture.\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tToast.makeText(getContext(), \"Picture saved! Shake again to take another one.\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmCamera.startPreviewAsync();\n\t\t\t\t\t\t}", "title": "" }, { "docid": "11c478623ee8f506647eecd9dc64b592", "score": "0.42011037", "text": "@Test\n public void run() {\n AmazonS3 c = createConnection();\n // getcl(c);\n // c.putObject(BUCKET_NAME, fileName, \"\");\n // c.putObject(BUCKET_NAME,\"h666\",new File(\"G:\\\\test\\\\s3\\\\hello666.txt\"));\n // getUrl(c,BUCKET_NAME,fileName);\n\n // downObject(c, BUCKET_NAME);\n // getUrl(c, BUCKET_NAME, \"msp.mp4\");\n\n // uploadFile(\"G:\\\\test\\\\s3\\\\hello666.txt\",BUCKET_NAME,null,true,c);\n //\n // createObject(c, BUCKET_NAME, new File(\"\"));\n // listBucketContent(c, BUCKET_NAME);\n // createBucket(\"bobdevlvup\", c);\n List<Bucket> l = listBuckets(c);\n for (Bucket b : l) {\n System.out.println(b);\n }\n }", "title": "" }, { "docid": "2cecb875361732d757ea7ec06340c9c8", "score": "0.41961378", "text": "public void captureAsImage();", "title": "" }, { "docid": "b4e2971c25d4d5853ee608331c72bc5a", "score": "0.4191868", "text": "URI put(String mediaPackageID, String mediaPackageElementID, String filename, InputStream in) throws IOException,\n IllegalArgumentException;", "title": "" }, { "docid": "5e5d4b2bfe4737ff988bab6a659918b7", "score": "0.41876006", "text": "public boolean StoreByteImage(byte[] imageData, int quality, String expName) {\n\n\t Log. d(TAG, \"StoreByteImage++ expName = \" + expName);\n\n File sdImageMainDirectory = new File(\"/sdcard/Test\"); // FIXME: Don't hardcode a path\n File imageFilePath = new File(sdImageMainDirectory.getPath() + \"/Images/\");\n String strDateTimeStamp = (DateFormat.format(\"ddMMyyyy_hhmmss\", new java.util.Date()).toString());\n Log. d(TAG, \"timeStamp = \" + strDateTimeStamp);\n\n \timageFilePath.mkdirs();\n FileOutputStream fileOutputStream1 = null;\n BufferedOutputStream bos = null;\n String nameFile = \"\";\n String shortNameFile = \"lastImage_\" + strDateTimeStamp;\n try {\n BitmapFactory.Options options=new BitmapFactory.Options();\n options.inSampleSize = 1;\n\n int width = 0;\n int height = 0;\n if(expName.equals(\"raw\")){//if(expName == \"raw\"){\n width = g_nImageWidth;\n height = g_nImageHeight;\n //Deal with the Delivery task if it is running\n //nameFile = imageFilePath.toString() +\"/\" + \"RawImage_\"+rawPicCount + \".raw\";\n nameFile = imageFilePath.toString() +\"/\" + shortNameFile + \".raw\";\n fileOutputStream1 = new FileOutputStream(nameFile);\n bos = new BufferedOutputStream(fileOutputStream1);\n bos.write(imageData);\n Log.d(TAG, \"RAW file save success\");\n Toast.makeText(getApplicationContext(), shortNameFile + \".raw saved\", Toast.LENGTH_LONG).show();\n }\n else if(expName.equals(\"pgm\")){//else if(expName == \"pgm\"){\n width = g_nImageWidth;\n height = g_nImageHeight;\n //Deal with the Delivery task if it is running\n //nameFile = imageFilePath.toString() +\"/\" + \"PgmImage_\"+pgmPicCount+\".pgm\";\n nameFile = imageFilePath.toString() +\"/\" + shortNameFile + \".pgm\";\n\n fileOutputStream1 = new FileOutputStream(nameFile);\n bos = new BufferedOutputStream(fileOutputStream1);\n //bufferedOutput.write(\"Line one\".getBytes());\n\n bos.write(\"P5\".getBytes()); \t\t\t\t\t\t// P5\n bos.write(\"\\n\".getBytes());\t\t\t\t\t\t// [CR]\n bos.write(\"# last image sent to decoder\".getBytes());\t\t// comment\n bos.write(\"\\n\".getBytes());\t\t\t\t\t\t// [CR]\n bos.write(Integer.toString(width).getBytes()); \t// width\n bos.write(\" \".getBytes());\t\t\t\t\t\t\t// (space)\n bos.write(Integer.toString(height).getBytes()); \t// height\n bos.write(\"\\n\".getBytes());\t\t\t\t\t\t// [CR]\n bos.write(\"255\".getBytes()); \t\t// 255\n bos.write(\"\\n\".getBytes());\t\t\t\t\t\t// [CR]\n\n // Data:\n bos.write(imageData);\n Log.d(TAG, \"PGM file save success\");\n Toast.makeText(getApplicationContext(), shortNameFile + \".pgm saved\", Toast.LENGTH_LONG).show();\n }\n else if(expName.equals(\"png\")){//else if(expName == \"png\"){\n width = g_nImageWidth;\n height = g_nImageHeight;\n\n Bitmap myBitMap;\n myBitMap = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565);\n byte[] buffer = new byte[m_Decoder.getImageHeight() * m_Decoder.getImageWidth()];\n ImageAttributes attr = new ImageAttributes();\n buffer = m_Decoder.getLastImage(attr);\n // FIXME:\n \t\tint[] array = new int[width*height*2];\n \t\tint cnt = 0;\n \t\tfor(int h = 0; h < height; h++)\n \t\t{\n \t\t\tfor(int w = 0; w < width; w++)\n \t\t\t{\n \t\t\t\tarray[cnt] = buffer[width*h + w] * 0x00010101;\n \t\t\t\tcnt += 1;\n\n \t\t\t}\n \t\t}\n \t\tLog.d(TAG, \"setPixels to myBitMap\");\n myBitMap.setPixels(array, 0, width, 0, 0, width, height);\n\n\n //myImage = renderCroppedGreyscaleBitmap(imageData, 0, 0, width, height, width);\n Log.d(TAG, \"imageData length \" + imageData.length);\n Log.d(TAG, \"Preview width: \" + width +\n \" Preview height: \" + height);\n //nameFile = \"Image_\";\n\n// if(myImage.isMutable())\n// Log.d(TAG, \"Image is mutable\");\n\n //String myNameFile = imageFilePath.toString() +\"/\" + nameFile + pngPicCount + \".png\";\n String myNameFile = imageFilePath.toString() +\"/\" + shortNameFile + \".png\";\n fileOutputStream1 = new FileOutputStream(myNameFile);\n bos = new BufferedOutputStream(fileOutputStream1);\n myBitMap.compress(Bitmap.CompressFormat.PNG, quality, bos);\n Log.d(TAG, \"PNG file save success\");\n //Toast.makeText(getApplicationContext(), \"Image_\"+pngPicCount+\".png saved\", Toast.LENGTH_LONG).show();\n Toast.makeText(getApplicationContext(), shortNameFile + \".png saved\", Toast.LENGTH_LONG).show();\n }\n else\n {\n \t Log.d(TAG, \"!! invalid image save type !!\");\n \t return false;\n }\n bos.flush();\n bos.close();\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n Log.d(TAG,\"Image save was unsuccessful\");\n e.printStackTrace();\n } catch (DecoderException e) {\n \t Log.d(TAG, \"getLastImage error \" + e.getErrorCode() + \" - \" + e.getMessage());\n \t\t\treturn false;\n\t\t}\n return true;\n }", "title": "" }, { "docid": "9d0ff1b5d374cd43423a5e374abd65b6", "score": "0.41794378", "text": "public void saveImage (ImageType type)\r\n{\r\n String fileName = \"\";\r\n\r\n\r\n // Create the path the images will be saved in. If the path already\r\n // exists, do nothing.\r\n\r\n try\r\n {\r\n // system command that creates the path the image will be saved in\r\n Runtime.getRuntime()\r\n .exec(\"mkdir -p \" + SAVE_IMAGE_PATH + timeStamp);\r\n Runtime.getRuntime()\r\n .exec(\"ls -ld \" + IMAGE_BASIC_PATH + \"; sleep 30\");\r\n\r\n\r\n } // end try\r\n catch (IOException e)\r\n {\r\n e.printStackTrace();\r\n } // catch\r\n\r\n\r\n // grab the image\r\n Mat tempImage = new Mat();\r\n\r\n // TODO this is Cole's problem line\r\n // maybe check to see if we have an image first before using this\r\n // test if we are getting an image, and then try putting it in a loop\r\n // until we get one\r\n CameraServer.getInstance().getVideo(\"Vision Camera\")\r\n .grabFrame(tempImage);\r\n\r\n if (tempImage.empty() == true)\r\n {\r\n // redo taking photo\r\n CameraServer.getInstance().getVideo(\"Vision Camera\")\r\n .grabFrame(tempImage);\r\n // this is a temporary test {Craig}\r\n\r\n if (tempImage.empty() == true)\r\n {\r\n System.out.println(\"this photo is empty\");\r\n }\r\n\r\n else\r\n {\r\n System.out.println(\"Photo taken\");\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n // Choses which type of image will be saved: raw or processed.\r\n switch (type)\r\n {\r\n case RAW:\r\n // Creating the file name. Only 26 images will be saved before\r\n // overwrite.\r\n if (rawImageNum > this.maxRawImagesAllowedToCollect)\r\n rawImageNum = 0;\r\n fileName = \"raw_image_\" + rawImageNum++ + \".png\";\r\n break;\r\n case PROCESSED:\r\n // Creating the file name. Only 26 images will be saved before\r\n // overwrite.\r\n if (processedImageNum > this.maxProcessedImagesAllowedToCollect)\r\n processedImageNum = 0;\r\n fileName = \"proc_image_\" + processedImageNum++ + \".png\";\r\n // Only process the image if it is chosen as the image type.\r\n super.process(tempImage);\r\n tempImage = super.rgbThresholdOutput();\r\n break;\r\n default:\r\n // Should not run, but will if another imageType is added and\r\n // chosen.\r\n System.out.println(\r\n \"Failed to save image: Image type not recognized.\");\r\n break;\r\n } // switch\r\n // Save the image to the folder specified with the name specified\r\n\r\n // TODO this is what is printing Cole's problem\r\n\r\n Imgcodecs.imwrite(SAVE_IMAGE_PATH + timeStamp + \"/\" + fileName,\r\n tempImage);\r\n System.out.println(\"Image: \" + SAVE_IMAGE_PATH + timeStamp + \"/\");\r\n // else\r\n // System.out.println(\"saveImage: Image was empty; was not saved\");\r\n}", "title": "" }, { "docid": "f77a0132625eace4084bdca81ea7432e", "score": "0.417776", "text": "public interface RobotImageInputFilter extends InputFilter<RobotImage>\n{\n /**\n * @return the input length.\n */\n int computeInputLength();\n\n /**\n * @return the maxHeight\n */\n int getMaxHeight();\n\n /**\n * @return the maxWidth\n */\n int getMaxWidth();\n}", "title": "" }, { "docid": "6f5afb29b5ac77ebe2565c170f881a49", "score": "0.41773042", "text": "public int uploadImage(InputStream file) {\n\t\tint row=0;\n\t\ttry {\n\t\t\tcurrentCon = ConnectionManager.getConnection();\n \t\tps=currentCon.prepareStatement(\"INSERT INTO TESTIMG (img) values (?)\");\n \t\tps.setBlob(1, file);\n \t\t\n \t\t// sends the statement to the database server\n row = ps.executeUpdate();\n\n\t\t}catch(SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn row;\n\t}", "title": "" }, { "docid": "743ef0aceafd5f2ed20b185c431e7fac", "score": "0.41750243", "text": "Image storeImage(MultipartFile file, String type, User user)\n throws NoSuchAlgorithmException, IOException, ImageProcessingException;", "title": "" }, { "docid": "57b3d8d564fdf6bdfdade89b2d1b0d14", "score": "0.4174832", "text": "public static Uri addImage(ContentResolver resolver, String title,\n long date, Location location, int orientation,\n File file) {\n\n String filePath = file.getPath();\n String filename = file.getName();\n long jpegLength = file.length();\n\n Log.i(TAG, \"Add image:\" + date);\n // Insert into MediaStore.\n ContentValues values = new ContentValues(9);\n values.put(MediaStore.Images.ImageColumns.TITLE, title);\n values.put(MediaStore.Images.ImageColumns.DISPLAY_NAME, filename);\n values.put(MediaStore.Images.ImageColumns.DATE_TAKEN, date);\n values.put(MediaStore.Images.ImageColumns.MIME_TYPE, \"image/jpeg\");\n // Clockwise rotation in degrees. 0, 90, 180, or 270.\n values.put(MediaStore.Images.ImageColumns.ORIENTATION, orientation);\n values.put(MediaStore.Images.ImageColumns.DATA, filePath);\n values.put(MediaStore.Images.ImageColumns.SIZE, jpegLength);\n if (location != null) {\n values.put(MediaStore.Images.ImageColumns.LATITUDE, location.getLatitude());\n values.put(MediaStore.Images.ImageColumns.LONGITUDE, location.getLongitude());\n }\n\n try {\n return resolver.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);\n } catch (Throwable th) {\n // This can happen when the external volume is already mounted, but\n // MediaScanner has not notify MediaProvider to add that volume.\n // The picture is still safe and MediaScanner will find it and\n // insert it into MediaProvider. The only problem is that the user\n // cannot click the thumbnail to review the picture.\n Log.e(TAG, \"Failed to write MediaStore\" + th);\n return null;\n }\n }", "title": "" }, { "docid": "f8dbe040fbef71fc6f552aa85a1a1c50", "score": "0.41711366", "text": "public String upload(String imageName, InputStream in, UploadMetaData metaData) throws IOException, FlickrException, SAXException {\r\n List<Parameter> parameters = new ArrayList<Parameter>();\r\n parameters.add(new Parameter(OAuthInterface.PARAM_OAUTH_CONSUMER_KEY, this.apiKey));\r\n\r\n String title = metaData.getTitle();\r\n if (title != null)\r\n parameters.add(new Parameter(\"title\", title));\r\n\r\n String description = metaData.getDescription();\r\n if (description != null)\r\n parameters.add(new Parameter(\"description\", description));\r\n\r\n Collection<String> tags = metaData.getTags();\r\n if (tags != null) {\r\n parameters.add(new Parameter(\"tags\", StringUtilities.join(tags, \" \")));\r\n }\r\n\r\n parameters.add(new Parameter(\"is_public\", metaData.isPublicFlag() ? \"1\" : \"0\"));\r\n parameters.add(new Parameter(\"is_family\", metaData.isFamilyFlag() ? \"1\" : \"0\"));\r\n parameters.add(new Parameter(\"is_friend\", metaData.isFriendFlag() ? \"1\" : \"0\"));\r\n parameters.add(new Parameter(\"async\", metaData.isAsync() ? \"1\" : \"0\"));\r\n if (metaData.getSafetyLevel() != null) {\r\n parameters.add(new Parameter(\"safety_level\", metaData.getSafetyLevel()));\r\n }\r\n if (metaData.getContentType() != null) {\r\n parameters.add(new Parameter(\"content_type\", metaData.getContentType()));\r\n }\r\n\r\n parameters.add(new ImageParameter(imageName, in));\r\n OAuthUtils.addOAuthToken(parameters);\r\n\r\n UploaderResponse response = (UploaderResponse) transport.upload(sharedSecret, parameters);\r\n if (response.isError()) {\r\n throw new FlickrException(response.getErrorCode(), response.getErrorMessage());\r\n }\r\n String id = \"\";\r\n if (metaData.isAsync()) {\r\n id = response.getTicketId();\r\n } else {\r\n id = response.getPhotoId();\r\n }\r\n return id;\r\n }", "title": "" }, { "docid": "7a4d4fb37faa2fb6c8ef684754267a3c", "score": "0.41709012", "text": "private VmImage createNewImage(JsonWorkpoolRequest request, VmSource vmSource)\n throws WpException\n {\n // Create the new vmImage\n VmImage image = new VmImage();\n image.setName(String.format(\"%s Image %05x\", request.getName(),\n randomGen.nextInt(0xfffff)));\n image.setVmSource(vmSource);\n\n Long newImageId = _wpClient.createVmImage(image);\n _log.debug(\"New vmImage created, id: \" + newImageId);\n image.setId(newImageId);\n\n return image;\n }", "title": "" }, { "docid": "666a300eaa2bbe8f37eee8cb8294d989", "score": "0.41702422", "text": "@Override\n public String getType() {\n return \"amazon-s3\";\n }", "title": "" }, { "docid": "5bf123f8d2951640be5177f0e1a4bf26", "score": "0.4165977", "text": "private void cameraIntent(){\n ContentValues values = new ContentValues();\n values.put(MediaStore.Images.Media.TITLE, \"New Picture\");\n values.put(MediaStore.Images.Media.DESCRIPTION, \"From the Camera\");\n imageUri = getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);\n Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, imageUri);\n startActivityForResult(cameraIntent, REQUEST_IMAGE_CAPTURE);\n }", "title": "" }, { "docid": "ef02fc803cba19470264e2f6a9359e44", "score": "0.4156227", "text": "@Override\n public void addImageUrl(String url, int width, int height) {\n \n }", "title": "" }, { "docid": "450230df9c811363b0c2d2f1f077c4a8", "score": "0.4153133", "text": "void reupload(final String resUrl, final ImageView imageView, final ProgressBar progressBar){\n AmazonS3Client s3Client = new AmazonS3Client(new BasicAWSCredentials(GV.ACCESS_KEY_ID, GV.SECRET_KEY));\n List<String> tempList = Arrays.asList(resUrl.split(\"/\"));\n String pictureName = tempList.get(tempList.size() - 1);\n if (pictureName.contains(\".\")) {\n List<String> tempList2 = Arrays.asList(pictureName.split(\"\\\\.\"));\n pictureName = tempList2.get(0);\n }\n Uri uri = Uri.parse(resUrl);\n new S3PutObjectTask(mCtx, s3Client, null, pictureName, false).execute(uri);\n }", "title": "" }, { "docid": "96fc39039274d0a28f286a8134c01c49", "score": "0.41504884", "text": "public void saveImage(File destinationFile, Bitmap image) throws IOException {\n FileOutputStream out = new FileOutputStream(destinationFile);\n image.compress(Bitmap.CompressFormat.JPEG, 100, out); //todo: switched from png..\n out.flush();\n out.close();\n }", "title": "" }, { "docid": "7b589ba982b6ca61c014cb8e2a27128b", "score": "0.41475686", "text": "@RequestMapping(value = \"/stillImage\", method = RequestMethod.PUT)\n public String generateStillImage(@RequestParam(\"videoId\") final String videoId,\n @RequestParam(\"position\") final long position,\n @RequestParam(\"resolution\") final String resolution,\n @RequestHeader(\"authorization\") final String authorizationToken) {\n\n return stillImageService.generateStillImage(videoId, position, resolution, authorizationToken).toString();\n }", "title": "" }, { "docid": "5f789279699c9aa6711832abdbf0fbd5", "score": "0.414707", "text": "public void putObject(byte[] data, String bucketName, String objectKey) {\n s3 = getClient();\n try {\n s3.putObject(PutObjectRequest.builder()\n .bucket(bucketName)\n .key(objectKey)\n .build(),\n RequestBody.fromBytes(data));\n\n } catch (S3Exception e) {\n System.err.println(e.getMessage());\n System.exit(1);\n }\n }", "title": "" }, { "docid": "d2a63a967910b6fbddfd943ecd26bbd6", "score": "0.41449738", "text": "private void render() throws FileTransformException {\n\n InputStream stream = null;\n\n try {\n\n stream = this.source.getInputStream();\n\n ImageAsciiReader reader = new ImageAsciiReader(ImageIO.createImageInputStream(stream));\n\n AsciiImageRenderer renderer = new AsciiImageRenderer(reader);\n\n renderer.setBackground(Color.decode(this.options.getBackground()));\n renderer.setForeground(Color.decode(this.options.getForeground()));\n\n\n int height = reader.calcAspectCorrectHeight(config.getResultWidth());\n\n\n BufferedImage img = renderer.render(new Point(config.getResultWidth(), height));\n BufferedImage thumb = new BufferedImage(config.getThumbWidth(), config.getThumbHeight(), BufferedImage.TYPE_INT_RGB);\n\n Graphics graphics = thumb.createGraphics();\n graphics.drawImage(img, 0, 0, config.getThumbWidth(), config.getThumbHeight(), null);\n graphics.dispose();\n\n\n String thumbFileName = this.save(thumb);\n String imageFileName = this.save(img);\n\n this.options.setThumbFileName(thumbFileName);\n this.options.setImageFileName(imageFileName);\n\n this.messages.add(config.getMsgSuccess());\n\n\n } catch (IOException e) {\n this.error = true;\n this.messages.add(config.getMsgFail());\n throw new FileTransformException();\n } catch (InvalidImageDataException e) {\n this.error = true;\n this.messages.add(config.getMsgFail());\n throw new FileTransformException();\n } finally {\n if (stream != null) {\n try {\n stream.close();\n } catch (IOException e) {\n\n this.error = true;\n this.messages.add(config.getMsgFail());\n throw new FileTransformException();\n }\n }\n }\n\n }", "title": "" }, { "docid": "79e74730873f43704d238bf03b057ba4", "score": "0.41394818", "text": "void writeFrame( BufferedImage image , int timestamp ) throws IOException;", "title": "" }, { "docid": "9a1673a41ab2d3a7b3923f63f867b0c1", "score": "0.41383675", "text": "@Test\n public void _02_uploadResourceTest() throws ApiException {\n File resource = resource(\"/logo.png\");\n imageStreamLocation = configApi.uploadResource(configId, resource);\n\n Assert.assertNotNull(imageStreamLocation);\n Assert.assertNotNull(imageStreamLocation.getContainerId());\n Assert.assertNotNull(\"logo.png\", imageStreamLocation.getFilename());\n }", "title": "" }, { "docid": "f70f88bdeac30412f37e26f8f31e15d4", "score": "0.41379008", "text": "private File createImageFile() throws IOException {\n /** Citation: Class contains code adapted from\n * https://www.nigeapptuts.com/camera-intent-android-nougat-support/\n * Permission: MIT Licence Retrieved on:26th Ddecember 2017 */\n\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"IMAGE_\" + timeStamp + \"_\";\n File storageDirectory = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);\n\n File image = File.createTempFile(imageFileName,\".jpg\", storageDirectory);\n mImageFileLocation = image.getAbsolutePath();\n\n return image;\n\n }", "title": "" }, { "docid": "362f0d5b7595b8fb34ae4de0ffc73c55", "score": "0.41376203", "text": "public S3File inputStreamUpload(InputStream inputStream, String name) throws S3ServiceException {\r\n return inputStreamUpload(inputStream, name, null);\r\n }", "title": "" }, { "docid": "1b7460febc9f3c5cf55e83ccac02f730", "score": "0.41374916", "text": "@Test\n public void fromUrl() throws Exception {\n Document doc = new Document();\n DocumentBuilder builder = new DocumentBuilder(doc);\n\n // Below are two locations where the document builder's \"InsertShape\" method\n // can source the image that the shape will display.\n // 1 - Pass a local file system filename of an image file:\n builder.write(\"Image from local file: \");\n builder.insertImage(getImageDir() + \"Logo.jpg\");\n builder.writeln();\n\n // 2 - Pass a URL which points to an image.\n builder.write(\"Image from a URL: \");\n builder.insertImage(getAsposelogoUri().toURL().openStream());\n builder.writeln();\n\n doc.save(getArtifactsDir() + \"Image.FromUrl.docx\");\n //ExEnd\n\n doc = new Document(getArtifactsDir() + \"Image.FromUrl.docx\");\n NodeCollection shapes = doc.getChildNodes(NodeType.SHAPE, true);\n\n Assert.assertEquals(2, shapes.getCount());\n TestUtil.verifyImageInShape(400, 400, ImageType.JPEG, (Shape) shapes.get(0));\n TestUtil.verifyImageInShape(320, 320, ImageType.PNG, (Shape) shapes.get(1));\n }", "title": "" }, { "docid": "9285180aa221b61c6a0355e62e18dec1", "score": "0.41355294", "text": "@Override\n public void addArtifact( Path sourceFile, Artifact destination ) throws IllegalArgumentException, ContentAccessException\n {\n try\n {\n StorageAsset asset = destination.getAsset( );\n if (!asset.exists()) {\n asset.create();\n }\n asset.replaceDataFromFile( sourceFile );\n }\n catch ( IOException e )\n {\n log.error( \"Could not push data to asset source={} destination={}. {}\", sourceFile, destination.getAsset().getFilePath(), e.getMessage( ) );\n throw new ContentAccessException( e.getMessage( ), e );\n }\n }", "title": "" } ]
7caeaa7cf6d30269cfaf63dd847f7e9d
set txtMember right after registration
[ { "docid": "8cf1c6fb5f87ffa65f9c5e89830af34e", "score": "0.715567", "text": "public static void setTxtMember(String UID, String name) {\n\t\ttxtMember.requestFocus();\n\t\ttxtMember.setText(UID);\n\t\tmntmAddNewMember.setEnabled(false);\n\t\t//simulate space to update name\n\t\ttry {\n\t\t\tRobot robot = new Robot();\n\t\t\trobot.keyPress(KeyEvent.VK_SPACE);\n\t\t\trobot.keyRelease(KeyEvent.VK_SPACE);\n\t\t\trobot.keyPress(KeyEvent.VK_BACK_SPACE);\n\t\t\trobot.keyRelease(KeyEvent.VK_BACK_SPACE);\n\t\t} catch (Exception e) {};\n\t}", "title": "" } ]
[ { "docid": "5bec6f31b6d59f3a9ce6fb046157190a", "score": "0.6656678", "text": "public void saveMemberToText(Member member){\n \n Database.getInstance().addNewMember(payment);\n \n }", "title": "" }, { "docid": "430ed68b4c10b6372c9b12c7fc6d0478", "score": "0.6632167", "text": "public void setPayee(MemberList memberList, JTextField txtPayee, JTextField txtForenamePayee, JTextField txtEmailPayee, JTextField txtSurnamePayee, JTextField txtContactPayee, JTextField txtAddrLine1Payee,\n JTextField txtAddrLine2Payee, JTextField txtPostcodePayee, JTextField txtCityPayee, Transaction selectedTransaction)\n {\n Member payee = memberList.findMemberByID(selectedTransaction.getPayeeNo());\n txtPayee.setText(payee.getFullName());\n txtForenamePayee.setText(payee.getForename());\n txtEmailPayee.setText(payee.getEmail());\n txtSurnamePayee.setText(payee.getSurname());\n txtContactPayee.setText(payee.getContactNo());\n Address payeeAddress = payee.getMemberAddress();\n txtAddrLine1Payee.setText(payeeAddress.getAddress_1());\n txtAddrLine2Payee.setText(payeeAddress.getAddress_2());\n txtPostcodePayee.setText(payeeAddress.getPostcode());\n txtCityPayee.setText(payeeAddress.getCity()); \n }", "title": "" }, { "docid": "efcc8e6d3ccbfba1a24b58416f1e4fff", "score": "0.66252786", "text": "public void inflateUI(Member member) {\n isEditable = Boolean.TRUE;\n\n textFieldID.setText(member.getId());\n textFieldName.setText(member.getName());\n textFieldPhone.setText(member.getPhone());\n textFieldEmail.setText(member.getEmail());\n\n textFieldID.setEditable(false);\n }", "title": "" }, { "docid": "71e569109e5902ac4b0fac9976ab52de", "score": "0.6510869", "text": "public void setName(){\n UpdateUserName(Integer.parseInt(userIdLocal),1,nameBox.getText().toString());\n\n\n }", "title": "" }, { "docid": "1e2a7d7aab86167deb03f88466c8147c", "score": "0.6483322", "text": "private void addMember() {\n if (textFieldID.getText().isEmpty() || textFieldName.getText().isEmpty() || textFieldEmail.getText().isEmpty() || textFieldPhone.getText().isEmpty()) {\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setTitle(\"Error\");\n alert.setHeaderText(\"Please enter in all fields\");\n alert.showAndWait();\n return;\n } else if (isEditable) {\n editMemberHandler();\n } else {\n String query = \"INSERT INTO members VALUES (\"\n + textFieldID.getText() + \",'\"\n + textFieldName.getText() + \"','\"\n + textFieldPhone.getText() + \"','\"\n + textFieldEmail.getText() + \"')\";\n database.executeQuery(query);\n\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\n alert.setTitle(\"Sucess\");\n alert.setHeaderText(\"Member added successfully\");\n alert.showAndWait();\n }\n }", "title": "" }, { "docid": "e505b72261562ef491c3564a1434d953", "score": "0.648263", "text": "private void setFirstName(){\n firstName.setText(loggedInUser.getFirstname());\n }", "title": "" }, { "docid": "716cee254a03c7a4836a937869f41a0b", "score": "0.6396557", "text": "private void setInformation(){\r\n EditText userNameText = (EditText) findViewById(R.id.userName);\r\n EditText nameText = (EditText) findViewById(R.id.name);\r\n EditText passwordText = (EditText) findViewById(R.id.password);\r\n Spinner year = (Spinner) findViewById(R.id.classes);\r\n Spinner instrument = (Spinner) findViewById(R.id.section);\r\n EditText passwordText2 = (EditText) findViewById(R.id.passwordCheck);\r\n Switch adminCheck = (Switch) findViewById(R.id.adminCheck);\r\n\r\n adminCheck.setChecked(user.getAdmin());\r\n nameText.setText(user.getName());\r\n userNameText.setText(user.getUserName());\r\n passwordText.setText(user.getPassword());\r\n passwordText2.setText(user.getPassword());\r\n String userSection = user.getInstrument();\r\n String userYear = user.getYear();\r\n switch(userSection){\r\n case \"saxophone\" :\r\n instrument.setSelection(0);\r\n break;\r\n case \"trumpet\" :\r\n instrument.setSelection(1);\r\n break;\r\n case \"percussion\" :\r\n instrument.setSelection(2);\r\n break;\r\n case \"flute\" :\r\n instrument.setSelection(3);\r\n break;\r\n case \"clarinet\" :\r\n instrument.setSelection(4);\r\n break;\r\n case \"trombone\" :\r\n instrument.setSelection(5);\r\n break;\r\n case \"bass\" :\r\n instrument.setSelection(6);\r\n break;\r\n case \"sousaphone\" :\r\n instrument.setSelection(7);\r\n break;\r\n default:\r\n Log.e(TAG, \"addMember: invalid entry\");\r\n break;\r\n }\r\n\r\n switch(userYear){\r\n case \"freshman\":\r\n year.setSelection(0);\r\n break;\r\n case \"sophomore\":\r\n year.setSelection(1);\r\n break;\r\n case \"junior\":\r\n year.setSelection(2);\r\n break;\r\n case \"senior\":\r\n year.setSelection(3);\r\n break;\r\n case \"director\":\r\n year.setSelection(4);\r\n break;\r\n default:\r\n year.setSelection(0);\r\n break;\r\n }\r\n }", "title": "" }, { "docid": "6cda3d6ac206779bbf5eb9dd64ef2f32", "score": "0.6327931", "text": "private void setLastName(){\n lastName.setText(loggedInUser.getLastname());\n }", "title": "" }, { "docid": "8b5eab86c46cb28700c97ffe4cd61dd3", "score": "0.6248164", "text": "public void setPayer(MemberList memberList, JTextField txtPayer, JTextField txtForenamePayer, JTextField txtEmailPayer, JTextField txtSurnamePayer, JTextField txtContactPayer, JTextField txtAddrLine1Payer,\n JTextField txtAddrLine2Payer, JTextField txtPostcodePayer, JTextField txtCityPayer, Transaction selectedTransaction)\n {\n Member payer = memberList.findMemberByID(selectedTransaction.getPayerNo());\n txtPayer.setText(payer.getFullName());\n txtForenamePayer.setText(payer.getForename());\n txtEmailPayer.setText(payer.getEmail());\n txtSurnamePayer.setText(payer.getSurname());\n txtContactPayer.setText(payer.getContactNo());\n Address payerAddress = payer.getMemberAddress();\n txtAddrLine1Payer.setText(payerAddress.getAddress_1());\n txtAddrLine2Payer.setText(payerAddress.getAddress_2());\n txtPostcodePayer.setText(payerAddress.getPostcode());\n txtCityPayer.setText(payerAddress.getCity());\n }", "title": "" }, { "docid": "a458edec29b6ec1b009953d6c7bdf1f5", "score": "0.6220521", "text": "private void setMembershipText() {\n groupNameText.setText(membership.groupName);\n\n // An empty String means that the Member has no designated role/rank.\n if ((membership.memberRole == null) || (membership.memberRole.isEmpty())) {\n memberRoleText.setVisibility(View.GONE);\n } else {\n memberRoleText.setText(activity.getString(R.string.memberRoleText,\n membership.memberRole));\n }\n }", "title": "" }, { "docid": "65ab52c482841d64a7a8cd08016b93a5", "score": "0.61785704", "text": "public void setTextFields() {\r\n\t\t// if it is invalid then clear the fields\r\n\t\tif (!InputControl.checkInteger(txtID.getText()) || txtID.getText().equals(\"\")) {\r\n\t\t\tclearFields();\r\n\t\t\tdisableKontsButtons(true);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tuserContainer = db.getUser(Integer.parseInt(txtID.getText()));\r\n\t\tif (userContainer == null) {\r\n\t\t\tclearFields();\r\n\t\t\tdisableKontsButtons(true);\r\n\t\t\treturn;\r\n\t\t} else {\r\n\t\t\tdisableKontsButtons(false);\r\n\t\t}\r\n\r\n\t\ttxtName.setText(userContainer.getName());\r\n\t\ttxtSurname.setText(userContainer.getSurname());\r\n\t\ttxtEmail.setText(userContainer.getEmail());\r\n\t\tKonti konti = new Konti();\r\n\t\tkonti.addAccounts(db.getAccounts(userContainer.getUserID()));\r\n\t\tpopulateAccountsList(konti);\r\n\t}", "title": "" }, { "docid": "bdfa93d3d95e9c6594c82dceb27811df", "score": "0.61456764", "text": "public RegisterMember() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "018e8513ea401524bf258e095ffe8ce2", "score": "0.6098771", "text": "private void doEditMember()\n {\n Member member;\n\n //if all valid \n if (panelMember.isAllInputValid())\n { \n member = panelMember.createMemberBasedOnTxfData(); \n\n int intTeamId = panelMember.getSelecetedTeamId();\n\n //create skidataaccess obj\n SkiDataAccess skiDataAccess = new SkiDataAccess();\n\n //try to insert member to db\n skiDataAccess.updateMember(member, intTeamId);\n \n //hide this frame\n this.setVisible(false); //still in memory\n \n //refresh before setting visible\n if (parentFrame instanceof SearchMemberFrame)\n {\n SearchMemberFrame searchFrame = (SearchMemberFrame) parentFrame;\n \n searchFrame.doSearchMember(true); \n }\n \n //set visible\n parentFrame.setVisible(true); //show main menu \n } \n }", "title": "" }, { "docid": "d81e0504055175aed590b55cbf8d4d1f", "score": "0.609697", "text": "public void bindMembership(Membership membership) {\n this.membership = membership;\n setMembershipText();\n }", "title": "" }, { "docid": "524ee305f8a907fc7d89d917f918ac27", "score": "0.6085645", "text": "public void editPerson(){\r\n\t\t//DefaultMutableTreeNode current = (DefaultMutableTreeNode)tree.getSelectionPath().getLastPathComponent();\r\n\t\tMemberInfo currentMember = /*(MemberInfo)current.getUserObject()*/ new MemberInfo(\"Test Member\");\r\n\t\tif(currentMember != null){\r\n\t\t\tjavax.swing.SwingUtilities.invokeLater(new Runnable(){\r\n\t\t\t\tpublic void run(){\r\n\t\t\t\t\tEditGUI.createEditWindow(currentMember);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6575cd8f7082f61fc79a453cb9b50cc1", "score": "0.6084488", "text": "private void editMemberHandler() {\n String query = \"UPDATE members SET \"\n + \"memberName = \" + \"'\" + textFieldName.getText() + \"', \"\n + \"memberPhone = \" + \"'\" + textFieldPhone.getText() + \"', \"\n + \"memberEmail = \" + \"'\" + textFieldEmail.getText() + \"' \"\n + \"WHERE memberID = \" + textFieldID.getText();\n database.executeQuery(query);\n AlertMaker.showSimpleAlert(\"Success\", \"Member edited\");\n }", "title": "" }, { "docid": "f16a9b425e359b4507022fe22365a853", "score": "0.6060547", "text": "public void setvaluestogui()\n {\n Namet.setText(nm);;\n Phno.setText(phno);\n Email.setText(em);\n Rolecb.setSelectedItem(rnm);\n passw=String.valueOf(pass);\n\n //use encryptDecrypt() to decrypt encrypted password\n outputString=UtilityFunctions.encryptDecrypt(passw);\n //set encrypted password to password textfield\n p1.setText(outputString);\n\n }", "title": "" }, { "docid": "3875e22d38b936ccd44cf0f4c7aad440", "score": "0.6057746", "text": "private void doAddMember()\n {\n Member member;\n\n //if all valid \n if (panelMember.isAllInputValid())\n { \n member = panelMember.createMemberBasedOnTxfData(); \n\n int intTeamId = panelMember.getSelecetedTeamId();\n\n //create skidataaccess obj\n SkiDataAccess skiDataAccess = new SkiDataAccess();\n\n //try to insert member to db\n skiDataAccess.insertMember(member, intTeamId); \n \n //hide this frame\n this.setVisible(false); //still in memory\n parentFrame.setVisible(true); //show main menu \n } \n }", "title": "" }, { "docid": "c835a26d71cff0110951d9420d676b75", "score": "0.6050544", "text": "public void setMemberUsername(Object source)\n {\n if (source instanceof VBox)\n {\n VBox vBox = (VBox) source;\n if (vBox.getChildren().get(0) instanceof Label)\n {\n Label label = (Label) vBox.getChildren().get(0);\n String username = label.getText();\n memberModel.setMemberUsername(username.substring(10));\n rentalModel.setAllMemberRentals(username.substring(10));\n }\n }\n }", "title": "" }, { "docid": "fe7a1f070feb132d86e96768c598f4ae", "score": "0.6005308", "text": "@Override\n public void run() {\n FirebaseDatabase.getInstance().getReference(\"users/\" + MyApplication.getUser().getUid() + \"/firstName\").setValue(newFirstName);\n FirebaseDatabase.getInstance().getReference(\"users/\" + MyApplication.getUser().getUid() + \"/lastName\").setValue(newLastName);\n\n //set value attributes of user loaded\n MyApplication.getUser().setFirstName(newFirstName);\n MyApplication.getUser().setLastName(newLastName);\n btnValidateChangeProfil.setBackgroundColor(colorSelectedOnSettings);\n }", "title": "" }, { "docid": "4f3e08e073e9ed6e1966b92e26f087a2", "score": "0.5987515", "text": "private void set_name() {\r\n\r\n\t\t// seteaza numele abia dupa ce am inceput sa scriem in write box\r\n\t\t// dupa ce numele e setat nu s emai poate schimba\r\n\t\tif (name_area.isEnabled()) {\r\n\r\n\t\t\tnume_player = name_area.getText();\r\n\r\n\t\t\t// daca nu a fost initializat e initializat automat la Player\r\n\t\t\tif (nume_player.length() == 0) {\r\n\t\t\t\tnume_player = \"Player\";\r\n\t\t\t\tname_area.setText(nume_player);\r\n\t\t\t}\r\n\r\n\t\t\t// cand incepe scrierea in campul write\r\n\t\t\t// se blocheaza schimbarea de nume si porneste timerul\r\n\t\t\tname_area.setEnabled(false);\r\n\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "3b80f75af36bcd6efcbef095b7699dfa", "score": "0.59658253", "text": "public ControlPanel1(String currentUser) {\n initComponents();\n accUserName = currentUser;\n jLabel7.setText(accUserName);//-----setting userName into UserAccounts homePanel----\n methods(); //---calling all methods-----\n\n\n }", "title": "" }, { "docid": "21997cadf319aec419303958764041f9", "score": "0.59628177", "text": "public NewUser() {\n \n initComponents();\n //infolabel.setText(st);\n }", "title": "" }, { "docid": "d478147e8239e8ddbd6842c2d94fdc7d", "score": "0.592711", "text": "private void setUserName(){\n userName.setText(loggedInUser.getUsername());\n }", "title": "" }, { "docid": "0994d42eb95240d8327ded4cc8aff6b1", "score": "0.5860051", "text": "public void setUsername(String un) {\r\n\t \t unTB.sendKeys(un);\r\n\t }", "title": "" }, { "docid": "c3f224113cc162c36ec97f609e3b55ca", "score": "0.5852878", "text": "public void updateCrewMember() {\n\t\tCrewMember member = listOfCrew.getSelectedValue();\n\t\tstatusPane.setText(member.viewStatus());\n\t}", "title": "" }, { "docid": "4f56ec01ef01d2d8f2a8301d7232d9ac", "score": "0.5840124", "text": "public void registerUser() {\n // Create person object based on values.\n Person person = new Person(firstName.getText().toLowerCase(), lastName.getText().toLowerCase(),\n username.getText().toLowerCase(), password.getText().toLowerCase(), accessLevel.getText().toLowerCase(),\n mobileNumber.getText().toLowerCase());\n\n // Convert person to JSON and set post tag.\n String taggedPersonJSON = personConverter.setTag(personConverter.personToJSON(person), \"post\");\n\n // Sending message to server.\n clientSocketHandler.sendMessage(taggedPersonJSON);\n }", "title": "" }, { "docid": "1fdc960a0d4685dc3f3370ce0008a7ba", "score": "0.58384484", "text": "public void User_Registration()\r\n\t{\r\n\t\tFirstname.clear();\r\n\t\tFirstname.sendKeys(\"Newuser\");\r\n\t\t\r\n\t\tSurname.clear();\r\n\t\tSurname.sendKeys(\"Webdriver\");\r\n\t\t\r\n\t\tmobile_number.clear();\r\n\t\tmobile_number.sendKeys(\"newuserwebdriver@gmail.com\");\r\n\t\t\r\n\t\t\r\n\t\tString InputValue=Firstname.getAttribute(\"value\");\r\n\t\tSystem.out.println(\"Input value at Firstname editbox is ---> \"+InputValue);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "84e72e5a7ea798a2777cff0a761de7d3", "score": "0.58300596", "text": "@Override\n public void onRegisterButtonClicked() {\n presenter.register(\n binding.etUsername.getText().toString(),\n binding.etEmail.getText().toString(),\n binding.etFirstName.getText().toString(),\n binding.etLastName.getText().toString(),\n binding.etPassword.getText().toString(),\n binding.etRepeatPassword.getText().toString()\n );\n }", "title": "" }, { "docid": "f2e9cdfcd63e33439589a205b1c4117e", "score": "0.5809984", "text": "public Register_New_Member1() {\n initComponents();\n\n }", "title": "" }, { "docid": "32b85bb420b4afd2908884c0748a0b2d", "score": "0.58079565", "text": "public void setUserName(TextField userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "418202aced57f1db79fc75a1e1a24d37", "score": "0.5776704", "text": "public void setName(String text) {\n txtName().setText(text);\n }", "title": "" }, { "docid": "1c17567b1d25aa77216a0a76c54d2884", "score": "0.5767631", "text": "private void updateMemberFirstName(int memberID) {\n System.out.println(\"What would you like the new first name to be?\");\n DatabaseController.updateMemberFirstName(memberID, scan.nextLine());\n }", "title": "" }, { "docid": "d083a0eaf7b5005dbc22582238d0bcf1", "score": "0.5753561", "text": "private void setNameLabel() {\n\t\tnameField.setText((Library.getCurrentLoggedInUser().getFirstName() + \n\t\t\t\t\" \" + (Library.getCurrentLoggedInUser().getLastName())));\n\t}", "title": "" }, { "docid": "4c60d97e29ff1ec06cbccb5c980d910b", "score": "0.57461935", "text": "public void notifyRegisterChanged() {\n mUsername = fetchUsername();\n }", "title": "" }, { "docid": "b31a4576fdb47df873f3b60190855a19", "score": "0.5744439", "text": "@Override\n public void accept(String obj) {\n messageOutput.setText(\"Registration failed, try again.\");\n }", "title": "" }, { "docid": "bde9dd099377c5c5bd3be52b7f998bb2", "score": "0.574148", "text": "private void setItemsText() {\n userName.setText(GenderConverter.getGenderTitle(user.getGender(), getContext()).concat(user.getCardIdentity()));\n userEmail.setText(user.getEmail());\n setUserCardsOwnedObserver();\n }", "title": "" }, { "docid": "21133553e74ea88d40337c67eb3b83e6", "score": "0.57278806", "text": "private void initFirstNameField() {\n\t\tJLabel label = new JLabel(\"First Name\", SwingConstants.RIGHT);\n\t\tlabel.setBounds(100, 100, 95, 35);\n\t\tlabel.setLabelFor(firstNameField);\n\t\tlabel.setFont(new Font(\"DialogInput\", Font.BOLD, 14));\n\t\t\n\t\tfirstNameField = new JTextField(20);\n\t\tfirstNameField.setBounds(205, 100, 200, 35);\n\t\tfirstNameField.addActionListener(this);\n\t\t\n\t\tthis.add(label);\n\t\tthis.add(firstNameField);\n\t}", "title": "" }, { "docid": "31fb1706e97c3fb18bff86541b9318e5", "score": "0.572528", "text": "public member() {\n initComponents();\n tabmember();\n AutoNomor();\n }", "title": "" }, { "docid": "954993df09916d6102c09c6855d2078c", "score": "0.5714947", "text": "@FXML\n\tpublic void register() {\n\t\tif (!txtRegisterUsername.getText().equals(\"\") && !txtRegisterEmail.getText().equals(\"\") && !txtRegisterEmailVerify.getText().equals(\"\") && !txtRegisterPass.getText().equals(\"\")) {\n\t\t\t// if not valid email\n\t\t\tif (isValidEmail(txtRegisterEmail.getText())) {\n\t\t\t\t// if email match\n\t\t\t\tif (txtRegisterEmail.getText().equalsIgnoreCase(txtRegisterEmailVerify.getText())) {\t\n\t\t\t\t\t// if all else good, try actual register \n\t\t\t\t\tif (RegisterService.register(txtRegisterEmail.getText(), txtRegisterPass.getText(), txtRegisterUsername.getText())) { \n\t\t\t\t\t\tresetInputFields(new Control[] {txtRegisterUsername, txtRegisterEmail, txtRegisterEmailVerify, txtRegisterPass});\n\t\t\t\t\t\tshowSuccessNotification(\"Account created successfully! Please sign in to continue.\");\n\t\t\t\t\t\tshowSignIn();\n\t\t\t\t\t}\telse {\n\t\t\t\t\t\t//internal error\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tlblInvalid.setText(\"Emails don't match\");\n\t\t\t\t\tlblInvalidVerify.setText(\"Emails don't match\");\n\t\t\t\t\toutlineRed(new Control[] {txtRegisterEmail, txtRegisterEmailVerify});\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tlblInvalid.setText(\"Invalid email\");\n\t\t\t\ttxtRegisterEmailVerify.setText(\"\");\n\t\t\t\toutlineRed(new Control[] {txtRegisterEmail, txtRegisterEmailVerify});\n\t\t\t}\n\t\t} \n\t\telse {\n\t\t\toutlineEmptyFields();\n\t\t}\n\t}", "title": "" }, { "docid": "85a8ecaf747406737f0feecd2fc4fd12", "score": "0.57078314", "text": "@Override\n\t\t\t\t\t\tpublic void onClick() {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tJugdeNick1(etusername.getText().toString());\n\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\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "title": "" }, { "docid": "943fb630e3a194fff5aad48340be82f2", "score": "0.57047224", "text": "public void setTxtNombre(JTextField txtNombre) {\n this.txtNombre = txtNombre;\n }", "title": "" }, { "docid": "07b5099bbf677826b97e388d0e1d359b", "score": "0.56980985", "text": "private static void registerUsername(String message_text) {\n username = message_text;\n\n sendRegularMessage(\"Input your Password:...\");\n currentState = AvailableStates.REGISTER_PASSWORD;\n }", "title": "" }, { "docid": "90a3d988f7973c2ce879dd2c931c4846", "score": "0.5686994", "text": "@Override\n\tpublic void setPlayer(int playerNo, String name) {\n\t\tif (playerNo >= 0 && playerNo < 20) {\n\t\t\tif (textfields[playerNo] == null) {\n\t\t\t\ttextfields[playerNo] = new OrbitTextField(width - 170, 10 + playerNo * 110, 30, \"PLAYER \" + (playerNo + 1), \"Type username\", 20, \"form\");\n\t\t\t\ttextfields[playerNo].setEnabled(false);\n\t\t\t\ttextfields[playerNo].setFocusTraversalKeysEnabled(false);\n\t\t\t\tcounter[playerNo] = new OrbitStatus(width - 120, 45 + playerNo * 110, false, \"CASH\", 400);\n\t\t\t\tposition[playerNo] = 0;\n\t\t\t\tpanel.add(textfields[playerNo]);\n\t\t\t}\n\t\t\ttextfields[playerNo].setText(name);\n\t\t} else {\n\t\t\tSystem.err.println(\"Error: Limit is 20 players.\");\n\t\t}\n\t}", "title": "" }, { "docid": "c4cacfef605734685017eee5801766bc", "score": "0.5682485", "text": "public void setUserName(String uname) {\n\t\t\ttxtname.sendKeys(uname);\n\t\t}", "title": "" }, { "docid": "b8836e45a44ca74a75d53a0d15254b5e", "score": "0.5673386", "text": "public void updateTextfield() {\n\t\tidIn.setText(\"\");\n\t\tclassIn.setText(\"\");\n\t\ttutorIn.setText(\"\");\n\t}", "title": "" }, { "docid": "3c3b70347bf2f99fd314b09716a4ec5e", "score": "0.56721795", "text": "public void addUser() {\n ClientConnectionManager clientManager = new ClientConnectionManager(mainApp);\n\n String loginReg = loginRegField.getText();\n String mailReg = mailRegField.getText();\n // String mailReg = mailRegField.getText();\n String pass1Reg = pass1RegField.getText();\n String pass2Reg = pass2RegField.getText();\n if (loginReg.isEmpty() && mailReg.isEmpty()\n && pass1Reg.isEmpty() && pass2Reg.isEmpty()) {\n AlertWindow.errorMesage(\"Fill the all fields\");\n } else if (pass1Reg.length() < MIN_PASS_LENGTH || pass1Reg.length() > MAX_PASS_LENGTH) {\n AlertWindow.errorMesage(\"Password must be from\" + MIN_PASS_LENGTH + \" to \" + MAX_PASS_LENGTH + \" words.\");\n } else if (!isValidMail(mailReg)){\n AlertWindow.errorMesage(\"Wrong email. Right example 'admin@filebox.com'\");\n } else {\n if (pass1Reg.equals(pass2Reg)) {\n clientManager.setRegistrationInfo(loginReg, mailReg, pass1Reg);\n clientManager.state = State.REGISTRATION;\n clientManager.connect();\n } else {\n AlertWindow.errorMesage(\"Password fields are not equals\");\n\n }\n }\n\n\n }", "title": "" }, { "docid": "5801f6dd7e304d1d2ea63c105c680484", "score": "0.5663228", "text": "@SuppressLint(\"SetTextI18n\")\n private void setUserData() {\n txtName.setText(UserInFormation.getUser().getName());\n Picasso.get().load(Uri.parse(UserInFormation.getUser().getPpURL())).into(imgPPP);\n txtDeliverCount.setText(\"التسليمات : \" + UserInFormation.getUser().getMine().size() + \" شحنه\");\n\n if (UserInFormation.getUser().getAccountType().equals(\"Supervisor\")) {\n txtType.setText(\"مشرف\");\n txtDeliverCount.setVisibility(View.GONE);\n } else {\n txtType.setText(\"مندوب شحن\");\n txtDeliverCount.setVisibility(View.VISIBLE);\n }\n\n }", "title": "" }, { "docid": "a6de7a8a1fbb78cbf24d026c2ba1ba9e", "score": "0.5661534", "text": "public void displayEnteredText(){\n if(upgradeAccountRequest.getUpgradeAccount().getActivationCode() != null) {\n if (upgradeAccountRequest.getUpgradeAccount().getActivationCode().length() > 0) {\n activationCode.setText(upgradeAccountRequest.getUpgradeAccount().getActivationCode());\n }\n }\n if (upgradeAccountRequest.getUpgradeAccount().getMlmMemberId() != null) {\n mlmMemberId.setText(String.valueOf(upgradeAccountRequest.getUpgradeAccount().getMlmMemberId()));\n }\n if(upgradeAccountRequest.getUpgradeAccount().getActivationCodeName() != null) {\n if (upgradeAccountRequest.getUpgradeAccount().getActivationCodeName().length() > 0) {\n activationCodeName.setText(upgradeAccountRequest.getUpgradeAccount().getActivationCodeName());\n }\n }\n if(upgradeAccountRequest.getUpgradeAccount().getMemberName() != null) {\n if (upgradeAccountRequest.getUpgradeAccount().getMemberName().length() > 0) {\n memberName.setText(upgradeAccountRequest.getUpgradeAccount().getMemberName());\n }\n }\n }", "title": "" }, { "docid": "6bb82e1035fd7eb64ee09adf063a836e", "score": "0.5655669", "text": "public void setTxtUsername(String txtUsername) {\r\n\t\tthis.txtUsername.clear();\r\n\t\tthis.txtUsername.sendKeys(txtUsername);\r\n\t}", "title": "" }, { "docid": "0d6965daae9631d11cf11e445ad35e45", "score": "0.5652839", "text": "private void recoveryProfileInfo(){\n editName.setText(name);\n editSurname.setText(surname);\n editEmail.setText(email);\n editPhone.setText(phone);\n editInfo.setText(info);\n }", "title": "" }, { "docid": "90e2e41765ba15f5bc5abcbca5c851c4", "score": "0.5645775", "text": "public F_User() {\n initComponents();\n showPanitia(dynamicNim.getText());\n showPretasi(dynamicNim.getText());\n showPelangaran(dynamicNim.getText());\n }", "title": "" }, { "docid": "ae04615782cbd32ce75092ea6dcfac47", "score": "0.5639358", "text": "public PM04Modifica(String nick) {\n initComponents();\n user.setText(nick);\n }", "title": "" }, { "docid": "790da3bd16125d522b0c6b8a1529600d", "score": "0.5631651", "text": "public Registration() {\n con=DbConn.dbConnection();\n initComponents();\n getData();\n \n UserN.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n password.requestFocusInWindow(); \n }\n}); \n \n \n }", "title": "" }, { "docid": "fd59d4edac217fbccc945dc23c101d9d", "score": "0.56257254", "text": "private void putTextOnClient() {\n this.cliente.setNombre( nombreClienteText.getText() );\n this.cliente.setCi( cedulaClienteText.getText() );\n this.cliente.setMail( mailClienteText.getText() );\n this.cliente.setFono( fonoClienteText.getText() );\n this.cliente.setPpu( ppuClienteText.getText() );\n this.cliente.setTipoVehiculo(vehiculoCBox.getSelectedIndex());\n }", "title": "" }, { "docid": "d4f932b479e8ed01f98c21b40a9884c3", "score": "0.56172156", "text": "private void setEmail(){\n email.setText(loggedInUser.getEmail());\n }", "title": "" }, { "docid": "a0b676b2429655e1727e5814d6d05c85", "score": "0.56039727", "text": "public void setUserNameTextCheck() {\n wait.waitForElementToBeVisible(driver,userNameField,TIME_OUT);\n boolean b = userNameField.isDisplayed();\n assertTrue(b);\n }", "title": "" }, { "docid": "3ebc0e21da7b63c5f10b440f986a7283", "score": "0.55831444", "text": "@Override\n protected void onUpdate(AjaxRequestTarget target) {\n Member member = DBUtil.findMember(reportFields.getMemberSearch());\n if (member != null) {\n reportFields.setMemberID(member.getMemberID());\n }\n\n // Update the Member label\n\n }", "title": "" }, { "docid": "54f46d653bd3f3ae9e340838a7c31ed5", "score": "0.5582488", "text": "public LoginPage setUserNameTextField(String userNameValue) {\nsetElementText ( userName,userNameValue);\n return this;\n }", "title": "" }, { "docid": "eca8693016b0e01457d42ee25e2185ef", "score": "0.5582069", "text": "private void setUser() {\n\t\tmyEmpleado.setNombre(view.getTxtNombre().getText());\n\t\tmyEmpleado.setApellido(view.getTxtApellido().getText());\n\t\tmyEmpleado.setTelefono(view.getTxtTelefono().getText());\n\t\tmyEmpleado.setCorreo(view.getTxtCorreo().getText());\n\t}", "title": "" }, { "docid": "082212888c4aa4ec9691b6f24d2e503a", "score": "0.55803055", "text": "private void userPutPasswordIntoPasswordField() {\n }", "title": "" }, { "docid": "e516ab5adb1a116d014a4d6f3145c4dd", "score": "0.5574164", "text": "private void placeholder() {\n \n PlaceHolder name= new PlaceHolder(username,\"Enter your name \");\n PlaceHolder add= new PlaceHolder(address,\"Enter your address \");\n PlaceHolder cont= new PlaceHolder(contact,\"Enter your mobile no.\");\n PlaceHolder em= new PlaceHolder(email,\"Enter your email\");\n Font fo=new Font(\"Calibri\",1, 24);\n username.setFont(fo);\n address.setFont(fo);\n contact.setFont(fo);\n email.setFont(fo);\n \n \n \n \n \n \n }", "title": "" }, { "docid": "0474c9edadfdadaeb2c3e1f17c90daf7", "score": "0.55705065", "text": "public void createMember(){\r\n\t\tMemberInfo member = new MemberInfo(\"New Member\");\r\n\t\taddObj(member);\r\n\t}", "title": "" }, { "docid": "d9ff7f916bb6046700306c2186318b6a", "score": "0.55670017", "text": "protected void update()\n {\n userIdField.setText( user.getId() );\n userNameField.setText( user.getName() );\n userEmailField.setText( user.getEmail() );\n userPasswordField.setText( null );\n userConfirmPasswordField.setText( null );\n }", "title": "" }, { "docid": "c89716d26ed346b58c355a42a3dc0174", "score": "0.55464077", "text": "public void insertUsername(String text) {\r\n\t\tFrames.selectMainAreaFrame(webDriver);\r\n\t\tusernameFieldElement.sendKeys(text);\r\n\t}", "title": "" }, { "docid": "d3349be138ddd0529336c645fc3de220", "score": "0.5540556", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n mem_id = new javax.swing.JTextField();\n mem_name = new javax.swing.JTextField();\n mem_psd = new javax.swing.JPasswordField();\n mem_cpsd = new javax.swing.JPasswordField();\n mem_mail = new javax.swing.JTextField();\n jLabel7 = new javax.swing.JLabel();\n mem_num = 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\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel1.setText(\"ADD MEMBERS\");\n jLabel1.setPreferredSize(new java.awt.Dimension(109, 22));\n\n jLabel2.setText(\"ID NUMBER:\");\n jLabel2.setPreferredSize(new java.awt.Dimension(113, 33));\n\n jLabel3.setText(\"NAME:\");\n jLabel3.setPreferredSize(new java.awt.Dimension(113, 33));\n\n jLabel4.setText(\"PASSWORD:\");\n jLabel4.setPreferredSize(new java.awt.Dimension(113, 33));\n\n jLabel5.setText(\"CONFIRM PASSWORD:\");\n jLabel5.setPreferredSize(new java.awt.Dimension(113, 33));\n\n jLabel6.setText(\"EMAIL ID:\");\n jLabel6.setPreferredSize(new java.awt.Dimension(113, 33));\n\n mem_id.setPreferredSize(new java.awt.Dimension(175, 33));\n\n mem_name.setPreferredSize(new java.awt.Dimension(175, 33));\n\n mem_psd.setPreferredSize(new java.awt.Dimension(175, 33));\n\n mem_cpsd.setPreferredSize(new java.awt.Dimension(175, 33));\n\n mem_mail.setPreferredSize(new java.awt.Dimension(175, 33));\n\n jLabel7.setText(\"CONTACT No.:\");\n jLabel7.setPreferredSize(new java.awt.Dimension(113, 33));\n\n mem_num.setPreferredSize(new java.awt.Dimension(175, 33));\n\n jButton1.setText(\"ADD\");\n jButton1.setPreferredSize(new java.awt.Dimension(123, 25));\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"Back\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(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(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(26, 26, 26)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(mem_mail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_cpsd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_psd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_name, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_id, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_num, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addGap(129, 129, 129)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(132, 132, 132)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(0, 18, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(jButton2)))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(21, 21, 21)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(31, 31, 31)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_id, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(20, 20, 20)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_name, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(20, 20, 20)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_psd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(20, 20, 20)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_cpsd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(20, 20, 20)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_mail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(20, 20, 20)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(mem_num, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(51, 51, 51)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 42, Short.MAX_VALUE)\n .addComponent(jButton2)\n .addContainerGap())\n );\n\n pack();\n }", "title": "" }, { "docid": "f479ec521d52df23ecb483ff026c3669", "score": "0.554045", "text": "public void updateMember()\r\n\t{\r\n\t\t// Find this member\r\n\t\tint index = 0;\r\n\t\tfor (Member listMember : members)\r\n\t\t{\r\n\t\t\tif (listMember.userName.equals(userName))\r\n\t\t\t{\r\n\t\t\t\tmembers.remove(index);\r\n\t\t\t\tmembers.add(index, this);\r\n\t\t\t\t\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tindex++;\r\n\t\t}\r\n\t\t\r\n\t\t// Save the data\r\n\t\tsave();\r\n\t\t\r\n\t\t// All done\r\n\t\treturn;\r\n\t}", "title": "" }, { "docid": "8f80416882a82417965302e96d49b58b", "score": "0.5532104", "text": "void habilitarInstructor() {\n txtCedulaInstructor.setEnabled(true);\n txtNombre1Instructor.setEnabled(true);\n txtNombre2Instructor.setEnabled(true);\n txtApellido1Instructor.setEnabled(true);\n txtApellido2Instructor.setEnabled(true);\n txtDireccionInstructor.setEnabled(true);\n txtTelefonoInstructor.setEnabled(true);\n txtCelularInstructor.setEnabled(true);\n txtEmailInstructor.setEnabled(true);\n cboSexoInstructor.setEnabled(true);\n \n //Dejar vacios todos los campos de captura de datos\n txtCedulaInstructor.setText(\"\");\n txtNombre1Instructor.setText(\"\");\n txtNombre2Instructor.setText(\"\");\n txtApellido1Instructor.setText(\"\");\n txtApellido2Instructor.setText(\"\");\n txtDireccionInstructor.setText(\"\");\n txtTelefonoInstructor.setText(\"\");\n txtCelularInstructor.setText(\"\");\n txtEmailInstructor.setText(\"\");\n \n //Habilitar los botones Guardar y Cancelar\n btnGuardarInstructor.setEnabled(true);\n btnCancelarInstructor.setEnabled(true);\n \n //Poner el foco en Cedula (Primer dato de la captura)\n txtCedulaInstructor.requestFocus();\n \n }", "title": "" }, { "docid": "50014aa4aba921a1b9254c1f91dddb19", "score": "0.55318725", "text": "@Override\n\t\t\tpublic void modifyText(ModifyEvent e) {\n\t\t\t\tfeatures.Set_name(txt_name.getText());\n\t\t\t\t Validate_Form();\n\t\t\t}", "title": "" }, { "docid": "6df74e66241860e70f8e745c1816788d", "score": "0.5530206", "text": "public Add_Members() {\n initComponents();\n }", "title": "" }, { "docid": "b04674967d31c7d971143802b67c320e", "score": "0.5521742", "text": "private void setUsernameLabel() {\n\t\tusernameField.setText(Library.getCurrentLoggedInUser().getUserName());\n\t}", "title": "" }, { "docid": "857749da48cef80721d5d4822681b2f7", "score": "0.5505487", "text": "private void initMyComponents() {\n txtDataInicioSafra.setText(userInEdit.getDataInicioSafra().toLocaleString());\n txtDataFimSafra.setText(userInEdit.getDataFimSafra().toLocaleString());\n txtDataInicioMoagem.setText(userInEdit.getDataInicioMoagem().toLocaleString());\n txtDataFimMoagem.setText(userInEdit.getDataFimMoagem().toLocaleString());\n txtDataInicioSafra.requestFocus();\n }", "title": "" }, { "docid": "9b63a511900c2d0600a963f06ebbcbd1", "score": "0.5504045", "text": "public void enterNaloxoneConcTextBox() {\n\t\tinputText(naloxeneConcTextBox, \".7\");\n\t}", "title": "" }, { "docid": "c82c8af6fa34f23bf01eba2879e7895f", "score": "0.5498932", "text": "public Member() {\n initComponents();\n new control.Member(this);\n }", "title": "" }, { "docid": "659262b91c23216c9c3e9c5bd8e8c122", "score": "0.5488475", "text": "private void updateMemberLastName(int memberID) {\n System.out.println(\"What would you like the new last name to be?\");\n DatabaseController.updateMemberLastName(memberID, scan.nextLine());\n }", "title": "" }, { "docid": "6a4df13a9e98576b22041217a8e08c53", "score": "0.5488091", "text": "private void initialiseMemberVariables(View view){\n mNameField = view.findViewById(R.id.name_edit_text);\n mUserNameField = view.findViewById(R.id.username_edit_text);\n mEmailField = view.findViewById(R.id.email_edit_text);\n mPasswordField = view.findViewById(R.id.first_password_edit_text);\n mCpasswordField = view.findViewById(R.id.confirm_password_edit_text);\n mSignupButton = view.findViewById(R.id.signup_button);\n mResetButton = view.findViewById(R.id.reset_button);\n mValidUserData = new ArrayList<>(5);\n\n }", "title": "" }, { "docid": "c3e55604fb5cfda159bb0dbcdbb672df", "score": "0.54865944", "text": "public void setMembersLisneners(ActionListener al) { btn_Members.addActionListener(al); }", "title": "" }, { "docid": "5e14c932e431577d8e3cd830532f22ac", "score": "0.54825944", "text": "private void putClientOnText() {\n nombreClienteText.setText(this.cliente.getNombre());\n cedulaClienteText.setText(this.cliente.getCi());\n mailClienteText.setText(this.cliente.getMail());\n fonoClienteText.setText(this.cliente.getFono());\n ppuClienteText.setText(this.cliente.getPpu());\n vehiculoCBox.setSelectedIndex( this.cliente.getTipoVehiculo());\n \n }", "title": "" }, { "docid": "50312c3ce98076664df9b6ee7e7bbb97", "score": "0.5476325", "text": "@FXML\r\n private void changeUser() throws IOException {\r\n ctrl.setInputTextUser(inputTextUser.getText());\r\n ctrl.setInputTextFName(inputTextFName.getText());\r\n ctrl.setInputTextLName(inputTextLName.getText());\r\n ctrl.setInputTextEMail(inputTextEMail.getText());\r\n ctrl.changeUser();\r\n showPostView();\r\n }", "title": "" }, { "docid": "2b9e5d25e2c0fdde53137c70171fe7a9", "score": "0.54710114", "text": "public void updateUser() {\n // Create person object based on values.\n Person person = new Person(firstName.getText().toLowerCase(), lastName.getText().toLowerCase(),\n username.getText().toLowerCase(), password.getText().toLowerCase(), accessLevel.getText().toLowerCase(),\n mobileNumber.getText().toLowerCase());\n\n // Convert person to JSON and set post tag.\n String taggedPersonJSON = personConverter.setTag(personConverter.personToJSON(person), \"put\");\n\n // Sending message to server.\n clientSocketHandler.sendMessage(taggedPersonJSON);\n }", "title": "" }, { "docid": "032b6c930ae908f0fae63a03a41cef3e", "score": "0.5466526", "text": "public void setTextField(){\n\t\t\tif (label != null) \n\t\t\t\treturn;\n\t\t\tisUsable = true;\n\t\t\ttextfield = new JFormattedTextField(createFormatter(\"#\"));\n\t\t\ttextfield.setBorder(BorderFactory.createEmptyBorder());\n\t\t\ttextfield.setPreferredSize(new Dimension(40,40));\n\t\t\ttextfield.setFont(new Font(\"Serif\", Font.BOLD, 22));\n\t\t\ttextfield.setForeground(Color.BLUE);\n\t\t\ttextfield.setHorizontalAlignment(JTextField.CENTER);\n\t\t\tthis.add(textfield);\n\t\t}", "title": "" }, { "docid": "1cfb1d70d0521671b3defc4a8dd64071", "score": "0.5465448", "text": "public void setUsername(java.lang.String param){\n localUsernameTracker = true;\n \n this.localUsername=param;\n \n\n }", "title": "" }, { "docid": "3ac678b3c6a2d73cd9c5abad46c14b4e", "score": "0.54640996", "text": "public void SetUsuario() {\n lbNombre.setText( LoginSession.GetInstance().GetDocente().getNombres() );\n lbApellidos.setText( LoginSession.GetInstance().GetDocente().GetApellidos() );\n lbCedulaProfesional.setText( LoginSession.GetInstance().GetDocente().GetNumeroPersonal() );\n }", "title": "" }, { "docid": "1e8d3fdcf32544eddc697acffd0b69eb", "score": "0.5455721", "text": "public void setName(String name){\n\n TextView userNameView = (TextView) mView.findViewById(R.id.user_single_name_tv);\n userNameView.setText(name);\n\n }", "title": "" }, { "docid": "f4397dff156506b759ad223c35d5d71d", "score": "0.5453185", "text": "public void setFirstName(String fname) {\n\t\tsendKeys(\"txtFirstName\", fname);\n\t}", "title": "" }, { "docid": "0a0d227b654a14df71071de9f93dd55a", "score": "0.5447916", "text": "@Override\n\t\tpublic void setAsText(String text) throws IllegalArgumentException {\n\t\t\tUserDetail user = \tuserDetailDao.findOne(Long.parseLong(text));\n\t\t\tsetValue(user);\n\t\t}", "title": "" }, { "docid": "7fdfda12c54a09b6cf878ee0988df90c", "score": "0.54469043", "text": "private void createMember() {\n\n pause();\n System.out.println(\"Please enter the first name of the Member.\");\n String firstName = scan.nextLine();\n pause();\n System.out.println(\"Please enter the last name of the Member.\");\n String lastName = scan.nextLine();\n pause();\n System.out.println(\"Please enter the address of the Member.\");\n String address = scan.nextLine();\n pause();\n System.out.println(\"Please enter the city the member lives in.\");\n String city = scan.nextLine();\n pause();\n System.out.println(\"Please enter the state the Member lives in.\");\n String state = scan.nextLine();\n pause();\n System.out.println(\"Please enter the Member's zip code.\");\n String zip = scan.nextLine();\n pause();\n System.out.println(\"Please enter the Member's email.\");\n String email = scan.nextLine();\n pause();\n System.out.println(\"Please enter the Member's phone number.\");\n String phone = scan.nextLine();\n pause();\n\n System.out.println(firstName + \" \" + lastName);\n System.out.println(address);\n System.out.println(city);\n System.out.println(state);\n System.out.println(zip);\n System.out.println(email);\n System.out.println(phone);\n\n System.out.println(\"Is this correct? Y/N\");\n String inputContinue = scan.nextLine();\n\n if(inputContinue.toLowerCase().equals(\"y\")) {\n int temp = DatabaseController.newMember(firstName, lastName, address, city, state, zip, email, phone).getUserID();\n System.out.println(\"New Member created with ID of \" + temp);\n\n }\n else {\n System.out.println(\"Do you want to retry creating a new member? Y/N\");\n String inputCont2 = scan.nextLine();\n if(inputCont2.toLowerCase().equals(\"y\")) {\n createMember();\n }\n else {\n mainMenu();\n }\n }\n }", "title": "" }, { "docid": "c995d3ebc9626c175c7b82f35c4f4844", "score": "0.5442721", "text": "@Override\n public void enterUserFirstName() {\n Logger.logAction(\"Entering user first name\");\n try {\n if (isElementDisplayedByAccessibilityId(ACCESSIBILITY_ID_OF_FIRST_NAME_TEXT_FIELD)){\n WebElement element = driver.findElementByAccessibilityId(ACCESSIBILITY_ID_OF_FIRST_NAME_TEXT_FIELD);\n String firstName = General.getTheTestDataOfField(\"First_Name\");\n element.sendKeys(firstName);\n closeTheKeyboard_iOS();\n }else {\n Logger.logError(ACCESSIBILITY_ID_OF_FIRST_NAME_TEXT_FIELD+\" - element name is not displayed in the current active screen\");\n }\n }catch (Exception exception){\n Logger.logError(\"Encountered error: Unable to check the current active screen name\");\n }\n }", "title": "" }, { "docid": "47dac25bdf3cb382b344686d3feed0ba", "score": "0.5433342", "text": "private void addMember() {\n Scanner intSC = new Scanner(System.in);\n Scanner stringSC = new Scanner(System.in);\n \n System.out.println(\"--Adding new member--\\n\");\n \n System.out.print(\"Enter Member Number (9 digits): \");\n int memberNumber = intSC.nextInt();\n\n while(memberList.checkNum(memberNumber) || memberNumber > 999999999 || memberNumber < 100000000){\n if (memberNumber > 999999999 || memberNumber < 100000000){\n System.out.print(\"Invalid number. Try again: \");\n memberNumber = intSC.nextInt();\n } else {\n System.out.print(\"Number is already taken. Try again: \");\n memberNumber = intSC.nextInt();\n }\n }\n\n System.out.print(\"Enter member name: \");\n String memberName = stringSC.nextLine();\n while (memberName.length() > 25){\n System.out.print(\"Name must be under 25 characters. Try again: \");\n memberName = stringSC.nextLine();\n }\n \n System.out.println(\"Enter address below: \\n\");\n\n System.out.print(\"Street Address: \");\n String streetAddress = stringSC.nextLine();\n while (streetAddress.length() > 30){\n System.out.print(\"Street address has to be under 30 characters. Try again: \");\n streetAddress = stringSC.nextLine();\n }\n\n System.out.print(\"City: \");\n String city = stringSC.nextLine();\n while (city.length() > 20){\n System.out.print(\"City must be under 20 characters. Try again: \");\n city = stringSC.nextLine();\n }\n\n System.out.print(\"State (abbreviated): \");\n String state = stringSC.nextLine();\n while (state.length() != 2){\n System.out.print(\"State must be 2 characters. Try again: \");\n state = stringSC.nextLine();\n }\n\n System.out.print(\"Zip Code: \");\n int zip = intSC.nextInt();\n while (zip > 99999 || zip < 10000){\n System.out.print(\"Zip code must be 5 digits. Try again: \");\n zip = intSC.nextInt();\n }\n\n Address address = new Address(streetAddress, city, state, zip);\n Member newMember = new Member(memberName, memberNumber, address);\n memberList.addMember(newMember);\n System.out.println(\"\\n\" + newMember.getName() + \" has been registered as a new member.\");\n \n \n }", "title": "" }, { "docid": "3543fe9109af56edafef498468d3bd42", "score": "0.54320586", "text": "private void fillRegisterWithTestdata()\n {\n BonusMember member1 = new BonusMember(\"Håkon Fossum\", \"haakon@hotmail.com\", 111112, LocalDate.now(), 0);\n this.members.put(member1.getMemberNumber(), member1);\n\n BonusMember member2 = new BonusMember(\"Theodor Fossum\", \"theodor@hotmail.com\", 111113, LocalDate.now(), 30000);\n this.members.put(member2.getMemberNumber(), member2);\n\n BonusMember member3 = new BonusMember(\"Runar Fossum\", \"runar@hotmail.com\", 111114, LocalDate.now(), 96000);\n this.members.put(member3.getMemberNumber(), member3);\n\n }", "title": "" }, { "docid": "68331e8f4049f6b54ebf5aeb82d7af64", "score": "0.5421686", "text": "public void setUsername(String x){\n temp = x;\n username = temp;\n }", "title": "" }, { "docid": "be0356375f8ca95671510deb409ddd5d", "score": "0.5419487", "text": "@SuppressWarnings(\"unchecked\")\n \n //Create Random Number For Show Account Number, MICR No and PIN Autometically....In Registration Page...\n public void RandomAcc(){\n Random rd = new Random();\n txtfAccount.setText(\" \"+ rd.nextInt(100000+1)); \n }", "title": "" }, { "docid": "72d2816e41bd9a4539fdf0dfba6db0f7", "score": "0.5407869", "text": "public void populate(Person person) {\n username.setText(person.getUsername());\n firstName.setText(person.getFirstName());\n password.setText(person.getPassword());\n lastName.setText(person.getLastName());\n accessLevel.setText(person.getAccessLevel());\n mobileNumber.setText(person.getMobileNumber());\n\n }", "title": "" }, { "docid": "171b269f004d2d4bc396ee12be7fbced", "score": "0.5407561", "text": "public void enterChangedOwnerName(String userNameNew)\n\t{\n\t\tString locator = vidoeLocator.getLocator(\"SharedVideo.OwnerTextField\");\n\t\tsendKeys(locator, userNameNew);\n\t\t}", "title": "" }, { "docid": "d50cf4c6846214c33ea93cfade71f9f3", "score": "0.54070747", "text": "@Override\n public void enterUserLastName() {\n Logger.logAction(\"Entering user last name\");\n try {\n if (isElementDisplayedByAccessibilityId(ACCESSIBILITY_ID_OF_LAST_NAME_TEXT_FIELD)){\n WebElement element = driver.findElementByAccessibilityId(ACCESSIBILITY_ID_OF_LAST_NAME_TEXT_FIELD);\n String lastName = General.getTheTestDataOfField(\"Last_Name\");\n element.sendKeys(lastName);\n closeTheKeyboard_iOS();\n }else {\n Logger.logError(ACCESSIBILITY_ID_OF_LAST_NAME_TEXT_FIELD+\" - element name is not displayed in the current active screen\");\n }\n }catch (Exception exception){\n Logger.logError(\"Encountered error: Unable to check the current active screen name\");\n }\n }", "title": "" }, { "docid": "c40e0f41fca8c5519ac7910b6aae7021", "score": "0.5397875", "text": "private void setLogin() {\n\t\tString uname = txtUserName.getText().trim();\n\t\tString pass = new String(txtPassword.getPassword());\n\t\t\n\t\t//checking if the fields are properly filled-up\n\t\tif (uname.trim().length() == 0)\n\t\t{\n\t\t\tMessage.messageError(this,\"Username cannot be left blank\");\n\t\t\t\n\t\t\t//returning the focus to the textfield\n\t\t\ttxtUserName.requestFocus();\n\t\t}\n\t\telse if (pass.trim().length() == 0)\n\t\t{\n\t\t\tMessage.messageError(this,\"Password cannot be left blank\");\n\t\t\ttxtPassword.requestFocus();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tLoginTransaction();\n\t\t}\n }", "title": "" }, { "docid": "a63c3b4596d3decf60ba3d4e2fa1fc8d", "score": "0.538602", "text": "@FXML\n protected void onNewSiteButtonClick(){\n accountHandler.addAccount(site_name_field.getText(), site_username_field.getText(), site_password_field.getText());\n }", "title": "" }, { "docid": "fb6779d672e1d8e9906cf5e45daaf804", "score": "0.5380568", "text": "public SetNameAuto() {\n initComponents();\n postInitComponents();\n }", "title": "" }, { "docid": "194b3e3128d4aa0bcfb78f835f0fe903", "score": "0.53761744", "text": "void setUsername (int user_id, String username);", "title": "" }, { "docid": "f3c2d86c77009d76c161e67c08c760e5", "score": "0.5375716", "text": "public void setName(String strName) {\n\t\tObjRegisterPage.getTxtName().sendKeys(strName);\n\t\t// driver.findElement(Email).sendKeys(strName);\n\t}", "title": "" } ]
8023b2304cde6cc17dd20d22057c4772
Tracks whether the local gcm key should be updated.
[ { "docid": "63a2ccd1771160bf21807878967951b0", "score": "0.77678674", "text": "protected boolean isLocalGcmKeyUpdateNeeded() {\n return !TextUtils.equals(mMergedUserData.getGcmKey(), mLocalUserData.getGcmKey());\n }", "title": "" } ]
[ { "docid": "39bf6d43d8d5f1f18ff8e21c405bf497", "score": "0.5861956", "text": "public boolean isConsistent();", "title": "" }, { "docid": "65b24759f26628d1c33180224528fecd", "score": "0.56970817", "text": "public boolean isAssayImagesKeyModified() {\n return AssayImagesKey_is_modified; \n }", "title": "" }, { "docid": "8cb2c8a22f79227d1b26e5b007c0ebe1", "score": "0.56718653", "text": "public boolean isSetKey() {\n return this.key != null;\n }", "title": "" }, { "docid": "8cb2c8a22f79227d1b26e5b007c0ebe1", "score": "0.56718653", "text": "public boolean isSetKey() {\n return this.key != null;\n }", "title": "" }, { "docid": "ec60db03ae0210b1cb9d3614e901bed8", "score": "0.5601026", "text": "public boolean isKeptUpdated();", "title": "" }, { "docid": "e19345520a97c275dd45726b258a8e74", "score": "0.5549654", "text": "public boolean isStored(String key){\n return prefs.getString(key, null) != null;\n }", "title": "" }, { "docid": "247c6782608fb63ecc05ae858fa6beac", "score": "0.5514082", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "c1e8fa88ca5dccdd5f104726b02f1467", "score": "0.55049783", "text": "private boolean amIRegistered(){\n SharedPreferences gcmPrefs = getSharedPreferences(Globals.GCM_PREFS, Context.MODE_PRIVATE);\n return gcmPrefs.getBoolean(Globals.REGISTERED,false);\n }", "title": "" }, { "docid": "74b2a3bc2af0f68432e71caf046d2ed2", "score": "0.5483148", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "51ccd1bc9aac61a8807e2311763807f3", "score": "0.5470196", "text": "public boolean isReferenceKeyModified() {\n return ReferenceKey_is_modified; \n }", "title": "" }, { "docid": "0e31a00970d1866b5b5d74c1cf6ace55", "score": "0.54480636", "text": "public boolean checkCoincidence() {\n\t\tif(!keyPending.equals(\"\")) {\n\t\t\treturn keyPending.equals(lastKey);\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ae66ee231a41daf27d1a24ae749cd22d", "score": "0.54384845", "text": "public boolean needsNewKeys() {\n return hasFilter() && (hasNoKeys() || keysAreObsolete());\n }", "title": "" }, { "docid": "934e9ff13f6def4c30a6a4bda5051de3", "score": "0.5427922", "text": "boolean hasAPIKey();", "title": "" }, { "docid": "3a03268fc2cb2887559b4d52b7f4c6de", "score": "0.5416179", "text": "public boolean localCacheContainsKey(Object key) {\n return getRegionMap().containsKey(key);\n }", "title": "" }, { "docid": "5217e17ffa8bdcc725168d4ee44c9043", "score": "0.5402372", "text": "public boolean hasCaptured() {\n return genClient.cacheHasKey(CacheKey.captured);\n }", "title": "" }, { "docid": "d98dd7944946e729f7d2e4dad7761be1", "score": "0.5392161", "text": "boolean hasMasterkeyid();", "title": "" }, { "docid": "0fcf4898841771a441f6f9a5684d6923", "score": "0.53769404", "text": "boolean hasMessagingConsentUpdate();", "title": "" }, { "docid": "76c81a458786d8fd57636d72ac480530", "score": "0.53400046", "text": "public boolean isSetNewServerKey() {\n return EncodingUtils.testBit(__isset_bitfield, __NEWSERVERKEY_ISSET_ID);\n }", "title": "" }, { "docid": "76c81a458786d8fd57636d72ac480530", "score": "0.53400046", "text": "public boolean isSetNewServerKey() {\n return EncodingUtils.testBit(__isset_bitfield, __NEWSERVERKEY_ISSET_ID);\n }", "title": "" }, { "docid": "cad5a17c335c2e017322a40df064448e", "score": "0.53150964", "text": "public void mergeGCMKeys() {\n String remoteGcmKey = mRemoteUserData.getGcmKey();\n String localGcmKey = mLocalUserData.getGcmKey();\n mMergedUserData.setGcmKey(remoteGcmKey == null || remoteGcmKey.isEmpty() ? localGcmKey :\n remoteGcmKey);\n }", "title": "" }, { "docid": "8e4e721b82fd35fb8d45c6685ee18eb4", "score": "0.52979666", "text": "private static boolean setUpKey() {\n if (key != null) {\n return true;\n }\n\n try {\n KeyGenerator keyGen = KeyGenerator.getInstance(\"AES\");\n key = keyGen.generateKey();\n return true;\n } catch (Exception e) {\n //Log.e(e.getMessage(), \"setUpKey: exception initializing key\");\n return false;\n }\n }", "title": "" }, { "docid": "01e440ae62e6b3ddd4b70e73dd4376cb", "score": "0.52858835", "text": "@Kroll.method\n public boolean tracksChanges() {\n return false;\n }", "title": "" }, { "docid": "7522ed361a167f54781a697a62d383dc", "score": "0.5279423", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "e97a77cce33bc4507d375882654271b7", "score": "0.52733886", "text": "public void setKey(String param) {\n localKeyTracker = param != null;\n\n this.localKey = param;\n\n\n }", "title": "" }, { "docid": "e97a77cce33bc4507d375882654271b7", "score": "0.52733886", "text": "public void setKey(String param) {\n localKeyTracker = param != null;\n\n this.localKey = param;\n\n\n }", "title": "" }, { "docid": "15403b1cca522caa9d0cfaf1a724b2df", "score": "0.52603173", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "b9278060a38ae01f52b5290ad3496e91", "score": "0.52490085", "text": "public boolean m8722l() {\n BluetoothGattCharacteristic p = m8661p();\n if (p == null) {\n f7355a.error(\"setAuthKey(), character is null\");\n return false;\n }\n try {\n Object obj = new byte[20];\n Object bytes = \"0Yxa8Wxp!X\".getBytes(\"UTF-8\");\n obj[0] = (byte) 2;\n obj[1] = (byte) 0;\n System.arraycopy(bytes, 0, obj, 2, bytes.length);\n obj[19] = this.f7358d.crc8(obj);\n p.setValue(obj);\n boolean writeCharacteristic = this.f7357c.writeCharacteristic(p);\n f7355a.info(\"write S605 ble auth key to ble is \" + writeCharacteristic);\n return writeCharacteristic;\n } catch (UnsupportedEncodingException e) {\n f7355a.error(\"Write S605 ble auth key to ble error, \" + e);\n return false;\n }\n }", "title": "" }, { "docid": "89f11ae2cb00b36808600ec0ec52812c", "score": "0.52448285", "text": "public boolean isMasterKey()\n {\n return pub.isMasterKey();\n }", "title": "" }, { "docid": "1deb166a8f4a5a93e4404bab93162f3d", "score": "0.524297", "text": "public boolean haveAllKeyLocation() {\n\t\tif (keyCollectorArrayList.size() == totalKey-1 )\n\t\t{\t\n\t\t\treturn true;\n\t\t}\n\t\t\treturn false;\t\t\n\t}", "title": "" }, { "docid": "be22acd0fc56cf580ebedcbd29837675", "score": "0.52298087", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "be22acd0fc56cf580ebedcbd29837675", "score": "0.52298087", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "be22acd0fc56cf580ebedcbd29837675", "score": "0.52298087", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "70538b809cb66e1e0e9005f8240f4228", "score": "0.52239", "text": "String getLocalKey();", "title": "" }, { "docid": "2a1b41a88deaeed920f3dbdb91a77a74", "score": "0.52083915", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "2a1b41a88deaeed920f3dbdb91a77a74", "score": "0.52083915", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "2a1b41a88deaeed920f3dbdb91a77a74", "score": "0.52083915", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "cf2b8418733083fd0e3eddfc9e17338e", "score": "0.5202632", "text": "boolean isUpdatedCapability();", "title": "" }, { "docid": "ecd6a37de78badb2b057e6226320f99e", "score": "0.5187086", "text": "public boolean useCustomKey();", "title": "" }, { "docid": "af2001c6e50b5e13fa6bb7bdef6bcdf6", "score": "0.5178649", "text": "boolean hasWepKey();", "title": "" }, { "docid": "bed4c52cfe6e74d270534ba40f90b1e9", "score": "0.5168545", "text": "boolean hasKeyData();", "title": "" }, { "docid": "2f1bf4f034fa8709d65c638738aa7bdf", "score": "0.516779", "text": "public boolean generateKey(String keyName) {\n boolean result = false;\n // 在keystore中生成加密密钥\n if (null != mLocalAndroidKeyStore\n && mFingerPrintSupportStatus == FINGERPRINT_AVAILABLE) {\n result = mLocalAndroidKeyStore.generateKey(keyName);\n }\n return result;\n }", "title": "" }, { "docid": "50274cc456b5aa54158c8bce85fa001c", "score": "0.51620704", "text": "public static synchronized boolean getPushState() {\r\n return allowPush.get();\r\n }", "title": "" }, { "docid": "929bdc2ed4debae7af91bbceae37e135", "score": "0.51586765", "text": "boolean hasUpdateMessagingConsent();", "title": "" }, { "docid": "929bdc2ed4debae7af91bbceae37e135", "score": "0.51586765", "text": "boolean hasUpdateMessagingConsent();", "title": "" }, { "docid": "8e20c0794bc9a3ea5948a0179dc37584", "score": "0.51571846", "text": "boolean hasEncryptionKey();", "title": "" }, { "docid": "8e20c0794bc9a3ea5948a0179dc37584", "score": "0.51571846", "text": "boolean hasEncryptionKey();", "title": "" }, { "docid": "8e20c0794bc9a3ea5948a0179dc37584", "score": "0.51571846", "text": "boolean hasEncryptionKey();", "title": "" }, { "docid": "dffdbd3dacb8b33feefc79cfd9df6d8a", "score": "0.51550925", "text": "public void setPublic_key(java.lang.String param){\n localPublic_keyTracker = true;\n \n this.localPublic_key=param;\n \n\n }", "title": "" }, { "docid": "d2ab351f502a24fe96fd2253c532aa6d", "score": "0.5152066", "text": "private boolean hasUniqueKeyInfo() {\n return getUniqueKey() != null;\n }", "title": "" }, { "docid": "5bb524f823a3cf69f426e44bdc415d0a", "score": "0.5150082", "text": "boolean hasApiKey();", "title": "" }, { "docid": "5bb524f823a3cf69f426e44bdc415d0a", "score": "0.5150082", "text": "boolean hasApiKey();", "title": "" }, { "docid": "44024257dccf5a5349ce16d2b5677b73", "score": "0.5148304", "text": "Update withGcmCredential(GcmCredential gcmCredential);", "title": "" }, { "docid": "3b51831eff28e85d52785b0057b11a1f", "score": "0.5141622", "text": "boolean hasWifi24GChannel();", "title": "" }, { "docid": "35bdd741227034a90abe4463277e28b7", "score": "0.5138705", "text": "@Override\n\tpublic boolean updateCSinfo(String pushId) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b6f6bd4c4b41dc847307ec9be5c279c8", "score": "0.51124454", "text": "public boolean isKeySet();", "title": "" }, { "docid": "2c15f79414e37fe7db94ddd0e8c43095", "score": "0.51091766", "text": "public boolean updateLocalStatus(String new_status) throws Exception {\n // username || {username || ts || {sha(...)}appPrivK}secretK\n Socket socket = Communications.openConnection(Communications.AUTH_HOSTNAME, Communications.AUTH_PORT);\n long ts = System.currentTimeMillis() / 1000L;\n JSONObject request = new JSONObject();\n JSONObject message = new JSONObject();\n JSONObject content = new JSONObject();\n\n content.put(\"username\", this.username);\n content.put(\"ts\", \"\" + ts);\n content.put(\"safe\", new_status);\n String to_sign = this.username + ts + new_status;\n String signature = Base64.getEncoder().encodeToString(Cryptography.sign(to_sign.getBytes(), this.crypto.getKeyPair().getPrivate()));\n content.put(\"signature\", signature);\n\n byte[] iv = Cryptography.generateIV();\n byte[] key = Cryptography.digest(totp.getSecret());\n SecretKey secK = new SecretKeySpec(key, 0, key.length, \"AES\");\n\n message.put(\"username\", this.username);\n message.put(\"content\", Base64.getEncoder().encodeToString(Cryptography.cipherAES(content.toString().getBytes(), secK, iv)));\n message.put(\"iv\", Base64.getEncoder().encodeToString(iv));\n\n request.put(\"location\", message);\n\n Communications.sendMessage(socket, request);\n\n JSONObject response = Communications.getMessage(socket);\n\n Communications.closeConnection(socket);\n\n iv = Base64.getDecoder().decode(response.getString(\"iv\"));\n\n // Authorization requests\n response = new JSONObject(\n new String(\n Cryptography.decipherAES(\n Base64.getDecoder().decode(response.getString(\"content\")), secK, iv)));\n\n String to_verify = response.getString(\"resp\") + response.getString(\"ts\");\n // Check integrity\n if (!Cryptography.verify(to_verify.getBytes(), Base64.getDecoder().decode(response.getString(\"signature\")), this.crypto.readCertificateFromResource(R.raw.auth).getPublicKey()))\n return false;\n return response.getString(\"ts\").equals(\"\" + ts) && response.getString(\"resp\").equals(\"OK\");\n\n }", "title": "" }, { "docid": "fb79e0ce2dc71fe73ab8c0e8fc33cb80", "score": "0.5083425", "text": "boolean hasLocalRecordEnabled();", "title": "" }, { "docid": "fb79e0ce2dc71fe73ab8c0e8fc33cb80", "score": "0.5083425", "text": "boolean hasLocalRecordEnabled();", "title": "" }, { "docid": "671ef2ab9a6e676c17b7f4893d3b362a", "score": "0.5076231", "text": "public boolean hasUpdateStock() {\n return cacheHasKey(CacheKey.updateStock);\n }", "title": "" }, { "docid": "ac7979ff76b2983aa7dbdd3d19c11ee4", "score": "0.5067722", "text": "public boolean isKey();", "title": "" }, { "docid": "9cc1bba893b030a4b7f58c303cf41d50", "score": "0.50624263", "text": "private void determineIfUsingGms() {\n int statusCode = mGoogleApiAvailability.isGooglePlayServicesAvailable(mContext);\n if (statusCode == ConnectionResult.SUCCESS\n || statusCode == ConnectionResult.SERVICE_UPDATING) {\n mUsingGms = true;\n }\n }", "title": "" }, { "docid": "ccffd1baee66c8697c906ae57020bb43", "score": "0.50622016", "text": "public boolean isSynced() { return synced; }", "title": "" }, { "docid": "3f9dfc51fc86194a9e6ae76faa4b1d71", "score": "0.5056167", "text": "public boolean hasTrackStock() {\n return cacheHasKey(CacheKey.trackStock);\n }", "title": "" }, { "docid": "472614a71a4af713fd96aeefaec22503", "score": "0.5051762", "text": "boolean hasExternalAccountKey();", "title": "" }, { "docid": "abb36386664c7a00ee6275848afb356f", "score": "0.5045041", "text": "public boolean hasCurrentGpsState() {\n return fieldSetFlags()[27];\n }", "title": "" }, { "docid": "6a057403df25258c7a5fa5a22c458cb6", "score": "0.5043528", "text": "public void privateSetAgregateKey(com.hps.july.persistence.StorageCardKey inKey) {\n\tboolean agregate_NULLTEST = (inKey == null);\n\tif (agregate_NULLTEST) agregate_storagecard = null; else agregate_storagecard = (new Integer(inKey.storagecard));\n}", "title": "" }, { "docid": "73cc88e1d8b88b0c57dc44f7baffbe16", "score": "0.50398123", "text": "boolean hasEncryptedPayloadKey();", "title": "" }, { "docid": "55e869798b52e621ce945b99d8731deb", "score": "0.5038569", "text": "public boolean isChanged(String key) {\n int type = propertyTypes.get(key);\n switch (type) {\n case TYPE_BOOLEAN:\n return (! booleanSettings.get(key).equals(booleanCache.get(key)));\n case TYPE_INTEGER:\n return (! integerSettings.get(key).equals(integerCache.get(key)));\n case TYPE_STRING:\n return (! stringSettings.get(key).equals(stringCache.get(key)));\n default:\n return false;\n }\n }", "title": "" }, { "docid": "5bea5e33991bc397952f6478938332a2", "score": "0.5036007", "text": "private boolean m5427a(Context context, long key, Drawable drawable) {\n ConstantState cs = drawable.getConstantState();\n if (cs == null) {\n return false;\n }\n synchronized (this.f3672m) {\n C1259h hVar = (C1259h) this.f3673n.get(context);\n if (hVar == null) {\n hVar = new C1259h();\n this.f3673n.put(context, hVar);\n }\n hVar.mo9063c(key, new WeakReference(cs));\n }\n return true;\n }", "title": "" }, { "docid": "fe841f8476c4265949d3d1dd2e2a709d", "score": "0.50350994", "text": "public boolean isAcceptChangedKeys() {\n\t\treturn acceptChangedKeys;\n\t}", "title": "" }, { "docid": "f90553d059cb13a9af7b4e74308b4885", "score": "0.5032171", "text": "public boolean isActive(String key) {\n return this.getTimeRemaining(key) > 0;\n }", "title": "" }, { "docid": "f11c57a986139f56f60efe84b49f98e7", "score": "0.5023496", "text": "@java.lang.Override\n public boolean hasMessagingSessionRenewed() {\n return entryCase_ == 8;\n }", "title": "" }, { "docid": "9c4692b5391f7a53473ccf51647c45b0", "score": "0.5021501", "text": "public void update() {\n keyManager.update();\n }", "title": "" }, { "docid": "8a279a13ec5dde5d5672e6cb31ea49e4", "score": "0.5019932", "text": "public boolean hasKey() {\n return this.key != null;\n }", "title": "" }, { "docid": "000f5b1668efa0a111d6bbc0431685b1", "score": "0.50052106", "text": "public boolean lock(KeyInterface key);", "title": "" }, { "docid": "dc36a25f6ad27e1bfea6bba40af60ead", "score": "0.5000668", "text": "boolean isLeavingSharedUid();", "title": "" }, { "docid": "7a933013ed78c0fe5e8c6b8a5ec7d562", "score": "0.4994899", "text": "@java.lang.Override\n public boolean hasMessagingConsentUpdate() {\n return entryCase_ == 10;\n }", "title": "" }, { "docid": "7babc2b8b4b3acbf3db8fa764cb61d41", "score": "0.49935454", "text": "public boolean mo8379g() {\n return false;\n }", "title": "" }, { "docid": "6950fde9510a1f8c102e88fb5b16cff0", "score": "0.49934468", "text": "public boolean hasKeycode() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "a9ca745d59f98b7300b199fdf305a70f", "score": "0.49884394", "text": "public boolean isConsistent() {\n return scheduleStartingTime != null && startingLocation != null && criteria != null && appts.size() > 0;\n }", "title": "" }, { "docid": "a22ec733a139638d9eff20759f94f0f9", "score": "0.49856374", "text": "public boolean hasKeycode() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "66058e5c7f9f6d5000400ed25b063962", "score": "0.49840707", "text": "private boolean needConsistentHashUpdate() {\n return !expectedMembers.equals(currentTopology.getMembers());\n }", "title": "" }, { "docid": "1e884de9fe7c740e286fd53d8fed3026", "score": "0.49837598", "text": "@java.lang.Override\n public boolean hasMasterkeyid() {\n return ((bitField0_ & 0x00000010) != 0);\n }", "title": "" }, { "docid": "9ba9d59fce2b2395f641d76c0356d59c", "score": "0.49787113", "text": "boolean hasWifi58GChannel();", "title": "" }, { "docid": "5f25558bd75ce466167a4fa77e3b8a21", "score": "0.49703583", "text": "boolean hasWhatsNextKey();", "title": "" }, { "docid": "5f25558bd75ce466167a4fa77e3b8a21", "score": "0.49703583", "text": "boolean hasWhatsNextKey();", "title": "" }, { "docid": "4ec317d9857eab80ece954a40318c715", "score": "0.4966611", "text": "public void asyncSaveBoolean(String key, boolean value){\r\n getSharedPreferences().edit().putBoolean(key, value).apply();\r\n }", "title": "" }, { "docid": "f3d7878fdc923ee65855268652daa9f6", "score": "0.4957448", "text": "boolean isKeySet() {\n return !isKeyValid(defaultKey());\n }", "title": "" }, { "docid": "6a6998ea00ff94d3811f84342300b534", "score": "0.49555272", "text": "boolean isLocalRelevant();", "title": "" }, { "docid": "e6a5b4ffe846767af9c8f95a4712404e", "score": "0.49554518", "text": "@java.lang.Override public boolean hasKeysystem() {\n return ((bitField0_ & 0x00000002) != 0);\n }", "title": "" }, { "docid": "e2ad86f2f13a54cca96f4062cbf6e891", "score": "0.4953483", "text": "@Override\n public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,\n String key) {\n\n final String keyGreen = getString(R.string.key_quality_color_threshold_green);\n final String keyYellow = getString(R.string.key_quality_color_threshold_green);\n\n if (keyGreen.equals(key) || keyYellow.equals(key)) {\n setupThresholds();\n }\n }", "title": "" }, { "docid": "adf1e7a64ade49f455e7fddb9c10e345", "score": "0.4944293", "text": "public boolean hasMasterkeyid() {\n return ((bitField0_ & 0x00000010) != 0);\n }", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.49417362", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.49417362", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.49417362", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.49417362", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.49417362", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.49417362", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.49417362", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.49417362", "text": "boolean hasKey();", "title": "" } ]
8a5aefa1bc05acee7361bcbd2200eb38
$ANTLR end "ruleUseCase" $ANTLR start "entryRuleExtension" InternalUseCaseDslParser.g:277:1: entryRuleExtension returns [EObject current=null] : iv_ruleExtension= ruleExtension EOF ;
[ { "docid": "b17cd90b54542f868685a29e252c1024", "score": "0.78241915", "text": "public final EObject entryRuleExtension() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExtension = null;\n\n\n try {\n // InternalUseCaseDslParser.g:277:50: (iv_ruleExtension= ruleExtension EOF )\n // InternalUseCaseDslParser.g:278:2: iv_ruleExtension= ruleExtension EOF\n {\n newCompositeNode(grammarAccess.getExtensionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleExtension=ruleExtension();\n\n state._fsp--;\n\n current =iv_ruleExtension; \n match(input,EOF,FOLLOW_2); \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": "dbc16636425a0a7ca5a41ab123a6032d", "score": "0.68527377", "text": "public final EObject entryRuleExtensionStep() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExtensionStep = null;\n\n\n try {\n // InternalUseCaseDslParser.g:832:54: (iv_ruleExtensionStep= ruleExtensionStep EOF )\n // InternalUseCaseDslParser.g:833:2: iv_ruleExtensionStep= ruleExtensionStep EOF\n {\n newCompositeNode(grammarAccess.getExtensionStepRule()); \n pushFollow(FOLLOW_1);\n iv_ruleExtensionStep=ruleExtensionStep();\n\n state._fsp--;\n\n current =iv_ruleExtensionStep; \n match(input,EOF,FOLLOW_2); \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": "1723f6f8eb4fdda457389d1480c8c967", "score": "0.64411366", "text": "public final EObject ruleExtension() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_2=null;\n Token lv_name_3_0=null;\n Token otherlv_4=null;\n Token otherlv_5=null;\n Token this_BEGIN_7=null;\n Token otherlv_10=null;\n Token otherlv_11=null;\n Token otherlv_12=null;\n Token this_END_16=null;\n AntlrDatatypeRuleToken lv_condition_6_0 = null;\n\n EObject lv_steps_8_0 = null;\n\n EObject lv_end_15_0 = null;\n\n\n\n \tenterRule();\n\n try {\n // InternalUseCaseDslParser.g:290:2: ( ( ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) otherlv_2= FullStop ( (lv_name_3_0= RULE_CHAR ) ) otherlv_4= FullStop otherlv_5= IF ( (lv_condition_6_0= ruleCondition ) ) this_BEGIN_7= RULE_BEGIN ( (lv_steps_8_0= ruleExtensionStep ) )* ( ( ruleStepName otherlv_10= FullStop otherlv_11= RETURN otherlv_12= TO ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) ) | ( (lv_end_15_0= ruleDeadEndStep ) ) ) this_END_16= RULE_END ) )\n // InternalUseCaseDslParser.g:291:2: ( ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) otherlv_2= FullStop ( (lv_name_3_0= RULE_CHAR ) ) otherlv_4= FullStop otherlv_5= IF ( (lv_condition_6_0= ruleCondition ) ) this_BEGIN_7= RULE_BEGIN ( (lv_steps_8_0= ruleExtensionStep ) )* ( ( ruleStepName otherlv_10= FullStop otherlv_11= RETURN otherlv_12= TO ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) ) | ( (lv_end_15_0= ruleDeadEndStep ) ) ) this_END_16= RULE_END )\n {\n // InternalUseCaseDslParser.g:291:2: ( ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) otherlv_2= FullStop ( (lv_name_3_0= RULE_CHAR ) ) otherlv_4= FullStop otherlv_5= IF ( (lv_condition_6_0= ruleCondition ) ) this_BEGIN_7= RULE_BEGIN ( (lv_steps_8_0= ruleExtensionStep ) )* ( ( ruleStepName otherlv_10= FullStop otherlv_11= RETURN otherlv_12= TO ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) ) | ( (lv_end_15_0= ruleDeadEndStep ) ) ) this_END_16= RULE_END )\n // InternalUseCaseDslParser.g:292:3: ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) otherlv_2= FullStop ( (lv_name_3_0= RULE_CHAR ) ) otherlv_4= FullStop otherlv_5= IF ( (lv_condition_6_0= ruleCondition ) ) this_BEGIN_7= RULE_BEGIN ( (lv_steps_8_0= ruleExtensionStep ) )* ( ( ruleStepName otherlv_10= FullStop otherlv_11= RETURN otherlv_12= TO ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) ) | ( (lv_end_15_0= ruleDeadEndStep ) ) ) this_END_16= RULE_END\n {\n // InternalUseCaseDslParser.g:292:3: ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) )\n int alt7=2;\n alt7 = dfa7.predict(input);\n switch (alt7) {\n case 1 :\n // InternalUseCaseDslParser.g:293:4: ( ( ruleQualifiedStepName ) )\n {\n // InternalUseCaseDslParser.g:293:4: ( ( ruleQualifiedStepName ) )\n // InternalUseCaseDslParser.g:294:5: ( ruleQualifiedStepName )\n {\n // InternalUseCaseDslParser.g:294:5: ( ruleQualifiedStepName )\n // InternalUseCaseDslParser.g:295:6: ruleQualifiedStepName\n {\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getExtensionRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionAccess().getStartFromUseCaseStepCrossReference_0_0_0());\n \t\t\t\t\t\n pushFollow(FOLLOW_14);\n ruleQualifiedStepName();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalUseCaseDslParser.g:310:4: ( ( ruleQualifiedExtensionStepName ) )\n {\n // InternalUseCaseDslParser.g:310:4: ( ( ruleQualifiedExtensionStepName ) )\n // InternalUseCaseDslParser.g:311:5: ( ruleQualifiedExtensionStepName )\n {\n // InternalUseCaseDslParser.g:311:5: ( ruleQualifiedExtensionStepName )\n // InternalUseCaseDslParser.g:312:6: ruleQualifiedExtensionStepName\n {\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getExtensionRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionAccess().getStartFromExtensionStepCrossReference_0_1_0());\n \t\t\t\t\t\n pushFollow(FOLLOW_14);\n ruleQualifiedExtensionStepName();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n otherlv_2=(Token)match(input,FullStop,FOLLOW_15); \n\n \t\t\tnewLeafNode(otherlv_2, grammarAccess.getExtensionAccess().getFullStopKeyword_1());\n \t\t\n // InternalUseCaseDslParser.g:331:3: ( (lv_name_3_0= RULE_CHAR ) )\n // InternalUseCaseDslParser.g:332:4: (lv_name_3_0= RULE_CHAR )\n {\n // InternalUseCaseDslParser.g:332:4: (lv_name_3_0= RULE_CHAR )\n // InternalUseCaseDslParser.g:333:5: lv_name_3_0= RULE_CHAR\n {\n lv_name_3_0=(Token)match(input,RULE_CHAR,FOLLOW_14); \n\n \t\t\t\t\tnewLeafNode(lv_name_3_0, grammarAccess.getExtensionAccess().getNameCHARTerminalRuleCall_2_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getExtensionRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"name\",\n \t\t\t\t\t\tlv_name_3_0,\n \t\t\t\t\t\t\"useCase.xtext.useCaseDsl.UseCaseDsl.CHAR\");\n \t\t\t\t\n\n }\n\n\n }\n\n otherlv_4=(Token)match(input,FullStop,FOLLOW_16); \n\n \t\t\tnewLeafNode(otherlv_4, grammarAccess.getExtensionAccess().getFullStopKeyword_3());\n \t\t\n otherlv_5=(Token)match(input,IF,FOLLOW_17); \n\n \t\t\tnewLeafNode(otherlv_5, grammarAccess.getExtensionAccess().getIFKeyword_4());\n \t\t\n // InternalUseCaseDslParser.g:357:3: ( (lv_condition_6_0= ruleCondition ) )\n // InternalUseCaseDslParser.g:358:4: (lv_condition_6_0= ruleCondition )\n {\n // InternalUseCaseDslParser.g:358:4: (lv_condition_6_0= ruleCondition )\n // InternalUseCaseDslParser.g:359:5: lv_condition_6_0= ruleCondition\n {\n\n \t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionAccess().getConditionConditionParserRuleCall_5_0());\n \t\t\t\t\n pushFollow(FOLLOW_11);\n lv_condition_6_0=ruleCondition();\n\n state._fsp--;\n\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getExtensionRule());\n \t\t\t\t\t}\n \t\t\t\t\tset(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"condition\",\n \t\t\t\t\t\tlv_condition_6_0,\n \t\t\t\t\t\t\"useCase.xtext.useCaseDsl.UseCaseDsl.Condition\");\n \t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\n\n }\n\n\n }\n\n this_BEGIN_7=(Token)match(input,RULE_BEGIN,FOLLOW_4); \n\n \t\t\tnewLeafNode(this_BEGIN_7, grammarAccess.getExtensionAccess().getBEGINTerminalRuleCall_6());\n \t\t\n // InternalUseCaseDslParser.g:380:3: ( (lv_steps_8_0= ruleExtensionStep ) )*\n loop8:\n do {\n int alt8=2;\n alt8 = dfa8.predict(input);\n switch (alt8) {\n \tcase 1 :\n \t // InternalUseCaseDslParser.g:381:4: (lv_steps_8_0= ruleExtensionStep )\n \t {\n \t // InternalUseCaseDslParser.g:381:4: (lv_steps_8_0= ruleExtensionStep )\n \t // InternalUseCaseDslParser.g:382:5: lv_steps_8_0= ruleExtensionStep\n \t {\n\n \t \t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionAccess().getStepsExtensionStepParserRuleCall_7_0());\n \t \t\t\t\t\n \t pushFollow(FOLLOW_4);\n \t lv_steps_8_0=ruleExtensionStep();\n\n \t state._fsp--;\n\n\n \t \t\t\t\t\tif (current==null) {\n \t \t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getExtensionRule());\n \t \t\t\t\t\t}\n \t \t\t\t\t\tadd(\n \t \t\t\t\t\t\tcurrent,\n \t \t\t\t\t\t\t\"steps\",\n \t \t\t\t\t\t\tlv_steps_8_0,\n \t \t\t\t\t\t\t\"useCase.xtext.useCaseDsl.UseCaseDsl.ExtensionStep\");\n \t \t\t\t\t\tafterParserOrEnumRuleCall();\n \t \t\t\t\t\n\n \t }\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n // InternalUseCaseDslParser.g:399:3: ( ( ruleStepName otherlv_10= FullStop otherlv_11= RETURN otherlv_12= TO ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) ) | ( (lv_end_15_0= ruleDeadEndStep ) ) )\n int alt10=2;\n int LA10_0 = input.LA(1);\n\n if ( (LA10_0==RULE_INT) ) {\n int LA10_1 = input.LA(2);\n\n if ( (LA10_1==FullStop) ) {\n int LA10_2 = input.LA(3);\n\n if ( (LA10_2==RETURN) ) {\n alt10=1;\n }\n else if ( ((LA10_2>=SYSTEM && LA10_2<=WHILE)||LA10_2==USER||(LA10_2>=UC && LA10_2<=RULE_CHAR)||LA10_2==RULE_ID||LA10_2==RULE_ANY_OTHER) ) {\n alt10=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 10, 2, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 10, 1, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 10, 0, input);\n\n throw nvae;\n }\n switch (alt10) {\n case 1 :\n // InternalUseCaseDslParser.g:400:4: ( ruleStepName otherlv_10= FullStop otherlv_11= RETURN otherlv_12= TO ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) )\n {\n // InternalUseCaseDslParser.g:400:4: ( ruleStepName otherlv_10= FullStop otherlv_11= RETURN otherlv_12= TO ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) ) )\n // InternalUseCaseDslParser.g:401:5: ruleStepName otherlv_10= FullStop otherlv_11= RETURN otherlv_12= TO ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) )\n {\n\n \t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionAccess().getStepNameParserRuleCall_8_0_0());\n \t\t\t\t\n pushFollow(FOLLOW_14);\n ruleStepName();\n\n state._fsp--;\n\n\n \t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\n otherlv_10=(Token)match(input,FullStop,FOLLOW_18); \n\n \t\t\t\t\tnewLeafNode(otherlv_10, grammarAccess.getExtensionAccess().getFullStopKeyword_8_0_1());\n \t\t\t\t\n otherlv_11=(Token)match(input,RETURN,FOLLOW_19); \n\n \t\t\t\t\tnewLeafNode(otherlv_11, grammarAccess.getExtensionAccess().getRETURNKeyword_8_0_2());\n \t\t\t\t\n otherlv_12=(Token)match(input,TO,FOLLOW_4); \n\n \t\t\t\t\tnewLeafNode(otherlv_12, grammarAccess.getExtensionAccess().getTOKeyword_8_0_3());\n \t\t\t\t\n // InternalUseCaseDslParser.g:420:5: ( ( ( ruleQualifiedStepName ) ) | ( ( ruleQualifiedExtensionStepName ) ) )\n int alt9=2;\n alt9 = dfa9.predict(input);\n switch (alt9) {\n case 1 :\n // InternalUseCaseDslParser.g:421:6: ( ( ruleQualifiedStepName ) )\n {\n // InternalUseCaseDslParser.g:421:6: ( ( ruleQualifiedStepName ) )\n // InternalUseCaseDslParser.g:422:7: ( ruleQualifiedStepName )\n {\n // InternalUseCaseDslParser.g:422:7: ( ruleQualifiedStepName )\n // InternalUseCaseDslParser.g:423:8: ruleQualifiedStepName\n {\n\n \t\t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getExtensionRule());\n \t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\n\n \t\t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionAccess().getResumeAtUseCaseStepCrossReference_8_0_4_0_0());\n \t\t\t\t\t\t\t\n pushFollow(FOLLOW_20);\n ruleQualifiedStepName();\n\n state._fsp--;\n\n\n \t\t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalUseCaseDslParser.g:438:6: ( ( ruleQualifiedExtensionStepName ) )\n {\n // InternalUseCaseDslParser.g:438:6: ( ( ruleQualifiedExtensionStepName ) )\n // InternalUseCaseDslParser.g:439:7: ( ruleQualifiedExtensionStepName )\n {\n // InternalUseCaseDslParser.g:439:7: ( ruleQualifiedExtensionStepName )\n // InternalUseCaseDslParser.g:440:8: ruleQualifiedExtensionStepName\n {\n\n \t\t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getExtensionRule());\n \t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\n\n \t\t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionAccess().getResumeAtExtensionStepCrossReference_8_0_4_1_0());\n \t\t\t\t\t\t\t\n pushFollow(FOLLOW_20);\n ruleQualifiedExtensionStepName();\n\n state._fsp--;\n\n\n \t\t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalUseCaseDslParser.g:457:4: ( (lv_end_15_0= ruleDeadEndStep ) )\n {\n // InternalUseCaseDslParser.g:457:4: ( (lv_end_15_0= ruleDeadEndStep ) )\n // InternalUseCaseDslParser.g:458:5: (lv_end_15_0= ruleDeadEndStep )\n {\n // InternalUseCaseDslParser.g:458:5: (lv_end_15_0= ruleDeadEndStep )\n // InternalUseCaseDslParser.g:459:6: lv_end_15_0= ruleDeadEndStep\n {\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionAccess().getEndDeadEndStepParserRuleCall_8_1_0());\n \t\t\t\t\t\n pushFollow(FOLLOW_20);\n lv_end_15_0=ruleDeadEndStep();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getExtensionRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tset(\n \t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\"end\",\n \t\t\t\t\t\t\tlv_end_15_0,\n \t\t\t\t\t\t\t\"useCase.xtext.useCaseDsl.UseCaseDsl.DeadEndStep\");\n \t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n this_END_16=(Token)match(input,RULE_END,FOLLOW_2); \n\n \t\t\tnewLeafNode(this_END_16, grammarAccess.getExtensionAccess().getENDTerminalRuleCall_9());\n \t\t\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "c89743a066f511ce4b5c631b6154b11e", "score": "0.6118557", "text": "public final EObject entryRuleExtend() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExtend = null;\n\n\n try {\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:2650:2: (iv_ruleExtend= ruleExtend EOF )\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:2651:2: iv_ruleExtend= ruleExtend EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExtendRule()); \n }\n pushFollow(FOLLOW_ruleExtend_in_entryRuleExtend6229);\n iv_ruleExtend=ruleExtend();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExtend; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleExtend6239); if (state.failed) return current;\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": "2c9b7c84025242fcecac1685c0e6cc15", "score": "0.6038084", "text": "public final EObject entryRuleExtensionRange() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExtensionRange = null;\n\n\n try {\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:1345:2: (iv_ruleExtensionRange= ruleExtensionRange EOF )\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:1346:2: iv_ruleExtensionRange= ruleExtensionRange EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExtensionRangeRule()); \n }\n pushFollow(FOLLOW_ruleExtensionRange_in_entryRuleExtensionRange3254);\n iv_ruleExtensionRange=ruleExtensionRange();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExtensionRange; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleExtensionRange3264); if (state.failed) return current;\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": "5dab4705403b530595c9e1404ee42862", "score": "0.60139006", "text": "public final EObject entryRuleUseCase() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleUseCase = null;\n\n\n try {\n // InternalUseCaseDslParser.g:93:48: (iv_ruleUseCase= ruleUseCase EOF )\n // InternalUseCaseDslParser.g:94:2: iv_ruleUseCase= ruleUseCase EOF\n {\n newCompositeNode(grammarAccess.getUseCaseRule()); \n pushFollow(FOLLOW_1);\n iv_ruleUseCase=ruleUseCase();\n\n state._fsp--;\n\n current =iv_ruleUseCase; \n match(input,EOF,FOLLOW_2); \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": "b06ce4cd3b13eb25bae882ed61a1f772", "score": "0.5490055", "text": "public final EObject entryRuleUseCaseStep() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleUseCaseStep = null;\n\n\n try {\n // InternalUseCaseDslParser.g:485:52: (iv_ruleUseCaseStep= ruleUseCaseStep EOF )\n // InternalUseCaseDslParser.g:486:2: iv_ruleUseCaseStep= ruleUseCaseStep EOF\n {\n newCompositeNode(grammarAccess.getUseCaseStepRule()); \n pushFollow(FOLLOW_1);\n iv_ruleUseCaseStep=ruleUseCaseStep();\n\n state._fsp--;\n\n current =iv_ruleUseCaseStep; \n match(input,EOF,FOLLOW_2); \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": "31828da71c0a6f4c17b9bd92c911a871", "score": "0.54313487", "text": "public final EObject entryRuleMatchExpression() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleMatchExpression = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:6416:56: (iv_ruleMatchExpression= ruleMatchExpression EOF )\r\n // InternalBXCore.g:6417:2: iv_ruleMatchExpression= ruleMatchExpression EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getMatchExpressionRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_ruleMatchExpression=ruleMatchExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleMatchExpression; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "2a81ea61bbc7b35f36a6c4c9005bdd08", "score": "0.54143506", "text": "public final EObject entryRuleExtensibleType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExtensibleType = null;\n\n\n try {\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:925:2: (iv_ruleExtensibleType= ruleExtensibleType EOF )\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:926:2: iv_ruleExtensibleType= ruleExtensibleType EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExtensibleTypeRule()); \n }\n pushFollow(FOLLOW_ruleExtensibleType_in_entryRuleExtensibleType2243);\n iv_ruleExtensibleType=ruleExtensibleType();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExtensibleType; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleExtensibleType2253); if (state.failed) return current;\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": "ebde0149d6991e5be8ef205e1356a9c1", "score": "0.53592366", "text": "public final EObject entryRuleexpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleexpression = null;\n\n\n try {\n // InternalMyDsl.g:2730:51: (iv_ruleexpression= ruleexpression EOF )\n // InternalMyDsl.g:2731:2: iv_ruleexpression= ruleexpression EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpressionRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleexpression=ruleexpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleexpression; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "6767a17cf3191450501dd93723ae01b7", "score": "0.5356343", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n try {\n // InternalJava.g:1480:2: (iv_ruleExpression= ruleExpression EOF )\n // InternalJava.g:1481:2: iv_ruleExpression= ruleExpression EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpressionRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleExpression=ruleExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExpression; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "24d81c82102e3c1c7208a6e35d8ef11f", "score": "0.5349784", "text": "public final String entryRuleCASE() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleCASE = null;\n\n\n try {\n // InternalMyDsl.g:10575:44: (iv_ruleCASE= ruleCASE EOF )\n // InternalMyDsl.g:10576:2: iv_ruleCASE= ruleCASE EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCASERule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCASE=ruleCASE();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCASE.getText(); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "9c13310c5a58ba32612bce4e4b5af187", "score": "0.5283781", "text": "public final EObject entryRulefunction_specifier() throws RecognitionException {\n EObject current = null;\n\n EObject iv_rulefunction_specifier = null;\n\n\n try {\n // InternalMyDsl.g:5649:59: (iv_rulefunction_specifier= rulefunction_specifier EOF )\n // InternalMyDsl.g:5650:2: iv_rulefunction_specifier= rulefunction_specifier EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getFunction_specifierRule()); \n }\n pushFollow(FOLLOW_1);\n iv_rulefunction_specifier=rulefunction_specifier();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_rulefunction_specifier; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "cbc760be91f7461acd4d288c7f178444", "score": "0.5276834", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n try {\n // InternalMathDsl.g:188:51: (iv_ruleExpression= ruleExpression EOF )\n // InternalMathDsl.g:189:2: iv_ruleExpression= ruleExpression EOF\n {\n newCompositeNode(grammarAccess.getExpressionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleExpression=ruleExpression();\n\n state._fsp--;\n\n current =iv_ruleExpression; \n match(input,EOF,FOLLOW_2); \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": "4a053fabfd5e9d018adc15d87f6461b8", "score": "0.5254809", "text": "public final String entryRuleQualifiedExtensionStepName() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleQualifiedExtensionStepName = null;\n\n\n try {\n // InternalUseCaseDslParser.g:1357:66: (iv_ruleQualifiedExtensionStepName= ruleQualifiedExtensionStepName EOF )\n // InternalUseCaseDslParser.g:1358:2: iv_ruleQualifiedExtensionStepName= ruleQualifiedExtensionStepName EOF\n {\n newCompositeNode(grammarAccess.getQualifiedExtensionStepNameRule()); \n pushFollow(FOLLOW_1);\n iv_ruleQualifiedExtensionStepName=ruleQualifiedExtensionStepName();\n\n state._fsp--;\n\n current =iv_ruleQualifiedExtensionStepName.getText(); \n match(input,EOF,FOLLOW_2); \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": "3e726140eb731af264b64b37d1308485", "score": "0.52238625", "text": "public final EObject entryRuleExpression() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleExpression = null;\r\n\r\n\r\n try {\r\n // ../org.xtext.commonlang/src-gen/org/xtext/parser/antlr/internal/InternalCommonlang.g:623:2: (iv_ruleExpression= ruleExpression EOF )\r\n // ../org.xtext.commonlang/src-gen/org/xtext/parser/antlr/internal/InternalCommonlang.g:624:2: iv_ruleExpression= ruleExpression EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getExpressionRule()); \r\n }\r\n pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression1280);\r\n iv_ruleExpression=ruleExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleExpression; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleExpression1290); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "4b0e1047ad753383f320730a6e7faa3f", "score": "0.5205369", "text": "public void setExtension(java.lang.String extension);", "title": "" }, { "docid": "8aecdbdfe68ba50ca76993ddce4a84e1", "score": "0.51561713", "text": "public final EObject entryRuleEv() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEv = null;\n\n\n try {\n // ../at.ac.tuwien.big.me.sw11.SOOMLDsl/src-gen/at/ac/tuwien/big/me/sw11/parser/antlr/internal/InternalSOOMLDsl.g:1115:2: (iv_ruleEv= ruleEv EOF )\n // ../at.ac.tuwien.big.me.sw11.SOOMLDsl/src-gen/at/ac/tuwien/big/me/sw11/parser/antlr/internal/InternalSOOMLDsl.g:1116:2: iv_ruleEv= ruleEv EOF\n {\n newCompositeNode(grammarAccess.getEvRule()); \n pushFollow(FollowSets000.FOLLOW_ruleEv_in_entryRuleEv2130);\n iv_ruleEv=ruleEv();\n\n state._fsp--;\n\n current =iv_ruleEv; \n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEv2140); \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": "98a4c5dd664bcfcb6fe649b5216c78dd", "score": "0.51545775", "text": "ExtensionType getExtension();", "title": "" }, { "docid": "8feb82881ceed940adafdbfc84d2c62c", "score": "0.51506037", "text": "public void setExtension( String extension )\r\n {\r\n this.extension = extension;\r\n }", "title": "" }, { "docid": "629fd99dbbc90933d564aef1f5733560", "score": "0.5143892", "text": "public String getExtension();", "title": "" }, { "docid": "affbc6b90831c2c5686b1f9e95b7f561", "score": "0.51434606", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n try {\n // InternalEventSetManagerDsl.g:807:51: (iv_ruleExpression= ruleExpression EOF )\n // InternalEventSetManagerDsl.g:808:2: iv_ruleExpression= ruleExpression EOF\n {\n newCompositeNode(grammarAccess.getExpressionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleExpression=ruleExpression();\n\n state._fsp--;\n\n current =iv_ruleExpression; \n match(input,EOF,FOLLOW_2); \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": "309de073eda24c2cfefeeff8a490b1aa", "score": "0.5134446", "text": "public java.lang.String getExtension();", "title": "" }, { "docid": "2cc6d1a105fa4122c8e9cec379ec23b0", "score": "0.51329875", "text": "String getExtension();", "title": "" }, { "docid": "a407a581da2d140b12de520189a2e0b7", "score": "0.5108254", "text": "public final EObject entryRuleFeature() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFeature = null;\n\n\n try {\n // InternalEntityDSL.g:620:48: (iv_ruleFeature= ruleFeature EOF )\n // InternalEntityDSL.g:621:2: iv_ruleFeature= ruleFeature EOF\n {\n newCompositeNode(grammarAccess.getFeatureRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFeature=ruleFeature();\n\n state._fsp--;\n\n current =iv_ruleFeature; \n match(input,EOF,FOLLOW_2); \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": "5922b8019fe0ce7c63473d359390d855", "score": "0.50975955", "text": "public final EObject entryRuleRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleRule = null;\n\n\n try {\n // InternalRpgindividual.g:1084:45: (iv_ruleRule= ruleRule EOF )\n // InternalRpgindividual.g:1085:2: iv_ruleRule= ruleRule EOF\n {\n newCompositeNode(grammarAccess.getRuleRule()); \n pushFollow(FOLLOW_1);\n iv_ruleRule=ruleRule();\n\n state._fsp--;\n\n current =iv_ruleRule; \n match(input,EOF,FOLLOW_2); \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": "77c6317db549f19832fc5aed68e7fa07", "score": "0.50920945", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n \n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_WS\", \"RULE_SL_COMMENT\", \"RULE_ML_COMMENT\");\n \t\n try {\n // ../com.b2international.snowowl.dsl.scg/src-gen/com/b2international/snowowl/dsl/parser/antlr/internal/InternalSCG.g:77:2: (iv_ruleExpression= ruleExpression EOF )\n // ../com.b2international.snowowl.dsl.scg/src-gen/com/b2international/snowowl/dsl/parser/antlr/internal/InternalSCG.g:78:2: iv_ruleExpression= ruleExpression EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpressionRule()); \n }\n pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression87);\n iv_ruleExpression=ruleExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExpression; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleExpression97); if (state.failed) return current;\n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n\n \tmyHiddenTokenState.restore();\n\n }\n return current;\n }", "title": "" }, { "docid": "e8ff81795b86048258325ac750c3a673", "score": "0.5074984", "text": "public final EObject entryRuleNode() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleNode = null;\n\n\n try {\n // InternalXtree.g:64:45: (iv_ruleNode= ruleNode EOF )\n // InternalXtree.g:65:2: iv_ruleNode= ruleNode EOF\n {\n newCompositeNode(grammarAccess.getNodeRule()); \n pushFollow(FOLLOW_1);\n iv_ruleNode=ruleNode();\n\n state._fsp--;\n\n current =iv_ruleNode; \n match(input,EOF,FOLLOW_2); \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": "f2e02e0db8bc4b5bb4eaa21a3544b740", "score": "0.50731367", "text": "public void setExtension(String extension) {\n this.extension = extension;\n }", "title": "" }, { "docid": "b978ee1256d9d646b800a5db9d106957", "score": "0.50569755", "text": "public final EObject entryRuleRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleRule = null;\n\n\n try {\n // InternalMyDslParser.g:1147:45: (iv_ruleRule= ruleRule EOF )\n // InternalMyDslParser.g:1148:2: iv_ruleRule= ruleRule EOF\n {\n newCompositeNode(grammarAccess.getRuleRule()); \n pushFollow(FOLLOW_1);\n iv_ruleRule=ruleRule();\n\n state._fsp--;\n\n current =iv_ruleRule; \n match(input,EOF,FOLLOW_2); \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": "07fab978fe93a7c9dfed53a045518f81", "score": "0.5050167", "text": "public final List<StringBuilder> extensions() throws RecognitionException {\n List<StringBuilder> collection = null;\n\n Collection<StringBuilder> ext = null;\n\n\n\n \tcollection = new ArrayList<StringBuilder>();\n\n try {\n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:311:1: ( ( ^( EXTENSIONS (ext= extension )+ ) | EXTENSIONS ) )\n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:311:3: ( ^( EXTENSIONS (ext= extension )+ ) | EXTENSIONS )\n {\n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:311:3: ( ^( EXTENSIONS (ext= extension )+ ) | EXTENSIONS )\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0==EXTENSIONS) ) {\n int LA7_1 = input.LA(2);\n\n if ( (LA7_1==DOWN) ) {\n alt7=1;\n }\n else if ( (LA7_1==BUFFERS) ) {\n alt7=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 7, 1, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 7, 0, input);\n\n throw nvae;\n }\n switch (alt7) {\n case 1 :\n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:311:4: ^( EXTENSIONS (ext= extension )+ )\n {\n match(input,EXTENSIONS,FOLLOW_EXTENSIONS_in_extensions650); \n\n match(input, Token.DOWN, null); \n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:312:5: (ext= extension )+\n int cnt6=0;\n loop6:\n do {\n int alt6=2;\n int LA6_0 = input.LA(1);\n\n if ( (LA6_0==EXTENSION) ) {\n alt6=1;\n }\n\n\n switch (alt6) {\n \tcase 1 :\n \t // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:312:6: ext= extension\n \t {\n \t pushFollow(FOLLOW_extension_in_extensions660);\n \t ext=extension();\n\n \t state._fsp--;\n\n \t collection.addAll(indent(ext,2));\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt6 >= 1 ) break loop6;\n EarlyExitException eee =\n new EarlyExitException(6, input);\n throw eee;\n }\n cnt6++;\n } while (true);\n\n\n match(input, Token.UP, null); \n\n }\n break;\n case 2 :\n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:313:11: EXTENSIONS\n {\n match(input,EXTENSIONS,FOLLOW_EXTENSIONS_in_extensions674); \n\n }\n break;\n\n }\n\n\n \tif(collection.size()!=0)\n \t {\n \t \t //insert header and footer\n \t \t collection.add(0, new StringBuilder(\"<extensions>\"));\n \t \t collection.add(new StringBuilder(\"</extensions>\"));\n \t }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return collection;\n }", "title": "" }, { "docid": "99fb2d4ea12b8892f04d780e5dde2175", "score": "0.50267917", "text": "public final String entryRuleEXTERN() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleEXTERN = null;\n\n\n try {\n // InternalMyDsl.g:10773:46: (iv_ruleEXTERN= ruleEXTERN EOF )\n // InternalMyDsl.g:10774:2: iv_ruleEXTERN= ruleEXTERN EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getEXTERNRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleEXTERN=ruleEXTERN();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleEXTERN.getText(); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "44b50aa0bae8aa4115e2a28bcdbeb8aa", "score": "0.5010113", "text": "public abstract String getExtension();", "title": "" }, { "docid": "44b50aa0bae8aa4115e2a28bcdbeb8aa", "score": "0.5010113", "text": "public abstract String getExtension();", "title": "" }, { "docid": "852221cdb06708c2126dc8c6d2136fe5", "score": "0.5006816", "text": "public final EObject entryRuleOption() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleOption = null;\n\n\n try {\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:385:2: (iv_ruleOption= ruleOption EOF )\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:386:2: iv_ruleOption= ruleOption EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getOptionRule()); \n }\n pushFollow(FOLLOW_ruleOption_in_entryRuleOption861);\n iv_ruleOption=ruleOption();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleOption; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleOption871); if (state.failed) return current;\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": "16fd08854adc8db363c08cbaa2da297c", "score": "0.5002929", "text": "boolean supportsExtension(String extension);", "title": "" }, { "docid": "582bc4a4f2126a95c2082cb0effe8782", "score": "0.49894428", "text": "public final EObject entryRuleFunction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFunction = null;\n\n\n try {\n // InternalMyDslParser.g:1077:49: (iv_ruleFunction= ruleFunction EOF )\n // InternalMyDslParser.g:1078:2: iv_ruleFunction= ruleFunction EOF\n {\n newCompositeNode(grammarAccess.getFunctionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFunction=ruleFunction();\n\n state._fsp--;\n\n current =iv_ruleFunction; \n match(input,EOF,FOLLOW_2); \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": "f63c465458ba5248922fd6831cef816e", "score": "0.49883163", "text": "public final EObject entryRuleDataType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleDataType = null;\n\n\n try {\n // InternalEntityDSL.g:413:49: (iv_ruleDataType= ruleDataType EOF )\n // InternalEntityDSL.g:414:2: iv_ruleDataType= ruleDataType EOF\n {\n newCompositeNode(grammarAccess.getDataTypeRule()); \n pushFollow(FOLLOW_1);\n iv_ruleDataType=ruleDataType();\n\n state._fsp--;\n\n current =iv_ruleDataType; \n match(input,EOF,FOLLOW_2); \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": "58c173de9d8c53e6e9ff168bd4d652b1", "score": "0.4981624", "text": "public final EObject entryRuleexpression_statement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleexpression_statement = null;\n\n\n try {\n // InternalMyDsl.g:9097:61: (iv_ruleexpression_statement= ruleexpression_statement EOF )\n // InternalMyDsl.g:9098:2: iv_ruleexpression_statement= ruleexpression_statement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpression_statementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleexpression_statement=ruleexpression_statement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleexpression_statement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "580d3d2e03ab8544e329fcb36c495cba", "score": "0.49766403", "text": "public final String entryRuleCHAR() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleCHAR = null;\n\n\n try {\n // InternalMyDsl.g:10597:44: (iv_ruleCHAR= ruleCHAR EOF )\n // InternalMyDsl.g:10598:2: iv_ruleCHAR= ruleCHAR EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCHARRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCHAR=ruleCHAR();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCHAR.getText(); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "a85b431eb5870bb7b9e661546f8328d2", "score": "0.49592748", "text": "public final SimilaritySpecParser.extension_return extension() throws RecognitionException {\n SimilaritySpecParser.extension_return retval = new SimilaritySpecParser.extension_return();\n retval.start = input.LT(1);\n\n Object root_0 = null;\n\n Token EXTENDS13=null;\n Token NCNAME14=null;\n Token char_literal15=null;\n Token NCNAME16=null;\n\n Object EXTENDS13_tree=null;\n Object NCNAME14_tree=null;\n Object char_literal15_tree=null;\n Object NCNAME16_tree=null;\n RewriteRuleTokenStream stream_NCNAME=new RewriteRuleTokenStream(adaptor,\"token NCNAME\");\n RewriteRuleTokenStream stream_43=new RewriteRuleTokenStream(adaptor,\"token 43\");\n RewriteRuleTokenStream stream_EXTENDS=new RewriteRuleTokenStream(adaptor,\"token EXTENDS\");\n\n try {\n // SimilaritySpec.g:60:2: ( EXTENDS NCNAME ( ( ',' )? NCNAME )* -> ^( EXTENDS ( NCNAME )+ ) )\n // SimilaritySpec.g:60:5: EXTENDS NCNAME ( ( ',' )? NCNAME )*\n {\n EXTENDS13=(Token)match(input,EXTENDS,FOLLOW_EXTENDS_in_extension320); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_EXTENDS.add(EXTENDS13);\n\n NCNAME14=(Token)match(input,NCNAME,FOLLOW_NCNAME_in_extension322); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_NCNAME.add(NCNAME14);\n\n // SimilaritySpec.g:60:20: ( ( ',' )? NCNAME )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0==NCNAME||LA7_0==43) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // SimilaritySpec.g:60:21: ( ',' )? NCNAME\n \t {\n \t // SimilaritySpec.g:60:21: ( ',' )?\n \t int alt6=2;\n \t int LA6_0 = input.LA(1);\n\n \t if ( (LA6_0==43) ) {\n \t alt6=1;\n \t }\n \t switch (alt6) {\n \t case 1 :\n \t // SimilaritySpec.g:0:0: ','\n \t {\n \t char_literal15=(Token)match(input,43,FOLLOW_43_in_extension325); if (state.failed) return retval; \n \t if ( state.backtracking==0 ) stream_43.add(char_literal15);\n\n\n \t }\n \t break;\n\n \t }\n\n \t NCNAME16=(Token)match(input,NCNAME,FOLLOW_NCNAME_in_extension328); if (state.failed) return retval; \n \t if ( state.backtracking==0 ) stream_NCNAME.add(NCNAME16);\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n\n\n // AST REWRITE\n // elements: NCNAME, EXTENDS\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (Object)adaptor.nil();\n // 60:36: -> ^( EXTENDS ( NCNAME )+ )\n {\n // SimilaritySpec.g:60:39: ^( EXTENDS ( NCNAME )+ )\n {\n Object root_1 = (Object)adaptor.nil();\n root_1 = (Object)adaptor.becomeRoot(stream_EXTENDS.nextNode(), root_1);\n\n if ( !(stream_NCNAME.hasNext()) ) {\n throw new RewriteEarlyExitException();\n }\n while ( stream_NCNAME.hasNext() ) {\n adaptor.addChild(root_1, stream_NCNAME.nextNode());\n\n }\n stream_NCNAME.reset();\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n\n retval.stop = input.LT(-1);\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (Object)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n \tretval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n\n }\n finally {\n }\n return retval;\n }", "title": "" }, { "docid": "d1231ef8af13321ec12b68b730fe950e", "score": "0.49551156", "text": "public final void mT__115() throws RecognitionException {\r\n try {\r\n int _type = T__115;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalEntityDsl.g:113:8: ( 'extension' )\r\n // InternalEntityDsl.g:113:10: 'extension'\r\n {\r\n match(\"extension\"); \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 }\r\n }", "title": "" }, { "docid": "996ac2a7e580c2fd0ac150ee0118743e", "score": "0.49337244", "text": "public final EObject entryRuleDefinition() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleDefinition = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:286:51: (iv_ruleDefinition= ruleDefinition EOF )\r\n // InternalBXCore.g:287:2: iv_ruleDefinition= ruleDefinition EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getDefinitionRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_ruleDefinition=ruleDefinition();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleDefinition; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "1b73aba2172c142ab5c402f64ce6bbdb", "score": "0.49141014", "text": "public final EObject entryRuleStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStatement = null;\n\n\n try {\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:182:2: (iv_ruleStatement= ruleStatement EOF )\n // ../protolipse/src-gen/protolipse/parser/antlr/internal/InternalProtobuf.g:183:2: iv_ruleStatement= ruleStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getStatementRule()); \n }\n pushFollow(FOLLOW_ruleStatement_in_entryRuleStatement299);\n iv_ruleStatement=ruleStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleStatement; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleStatement309); if (state.failed) return current;\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": "91d707474fec780239cb7f3d09c5400f", "score": "0.48968586", "text": "public String getExtension()\r\n {\r\n return extension;\r\n }", "title": "" }, { "docid": "71a34cad84ec1d007dd25c626c8ef830", "score": "0.48942333", "text": "public final String entryRuleModifier() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleModifier = null;\n\n\n try {\n // InternalJava.g:3809:2: (iv_ruleModifier= ruleModifier EOF )\n // InternalJava.g:3810:2: iv_ruleModifier= ruleModifier EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getModifierRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleModifier=ruleModifier();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleModifier.getText(); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "1b32cfc2279bad6f72dca784847e81ab", "score": "0.48899233", "text": "String getFileExtensionHint();", "title": "" }, { "docid": "d451cb73f8f7388a52e7b6c88181956e", "score": "0.4877165", "text": "public final void entryRuleUsage() throws RecognitionException {\r\n try {\r\n // InternalMyDot.g:179:1: ( ruleUsage EOF )\r\n // InternalMyDot.g:180:1: ruleUsage EOF\r\n {\r\n before(grammarAccess.getUsageRule()); \r\n pushFollow(FOLLOW_1);\r\n ruleUsage();\r\n\r\n state._fsp--;\r\n\r\n after(grammarAccess.getUsageRule()); \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "de6c2eb2642b532aabac3d374928239c", "score": "0.48761874", "text": "org.apache.xmlbeans.impl.xb.xsdschema.ExtensionType getExtension();", "title": "" }, { "docid": "490c847b7a71ed4cc04227e210aaecf2", "score": "0.48728618", "text": "void registerExtension(Extension extension);", "title": "" }, { "docid": "4867cd28b04d00780668f546069540ca", "score": "0.48722506", "text": "public final EObject entryRulePattern() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_rulePattern = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:2606:48: (iv_rulePattern= rulePattern EOF )\r\n // InternalBXCore.g:2607:2: iv_rulePattern= rulePattern EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getPatternRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_rulePattern=rulePattern();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_rulePattern; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "298f4fcd0f841e87d9783de29cf3a13d", "score": "0.48706934", "text": "public final EObject entryRuleexpression2() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleexpression2 = null;\n\n\n try {\n // InternalMyDsl.g:2787:52: (iv_ruleexpression2= ruleexpression2 EOF )\n // InternalMyDsl.g:2788:2: iv_ruleexpression2= ruleexpression2 EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpression2Rule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleexpression2=ruleexpression2();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleexpression2; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "8d77efc2d814a4d0a4e03787d22b3916", "score": "0.4859805", "text": "public java.lang.String getExtension(){\r\n return localExtension;\r\n }", "title": "" }, { "docid": "e875dbca2075ca6392c1f78efb86e448", "score": "0.4859658", "text": "Extension createExtension();", "title": "" }, { "docid": "80e902064f6dd7016fd351130087b511", "score": "0.4854939", "text": "public void addExtension(VirtualMachineExtensionImpl extension) {\n this.addChildResource(extension);\n }", "title": "" }, { "docid": "80e902064f6dd7016fd351130087b511", "score": "0.4854939", "text": "public void addExtension(VirtualMachineExtensionImpl extension) {\n this.addChildResource(extension);\n }", "title": "" }, { "docid": "f10c4a50b6c8e03f1c09dc1eb6c005ba", "score": "0.48508465", "text": "public final String entryRuleName() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleName = null;\n\n\n try {\n // InternalOil.g:13678:44: (iv_ruleName= ruleName EOF )\n // InternalOil.g:13679:2: iv_ruleName= ruleName EOF\n {\n newCompositeNode(grammarAccess.getNameRule()); \n pushFollow(FOLLOW_1);\n iv_ruleName=ruleName();\n\n state._fsp--;\n\n current =iv_ruleName.getText(); \n match(input,EOF,FOLLOW_2); \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": "e41be9f7639937e4017646f381d44422", "score": "0.4841041", "text": "public String getExtension() {\n return extension;\n }", "title": "" }, { "docid": "66b21ef0d0eef0272a75b7a54c52c51a", "score": "0.48395646", "text": "public final void entryRuleExpression() throws RecognitionException {\n try {\n // ../listaConcrete.ui/src-gen/edu/upb/lp/ui/contentassist/antlr/internal/InternalLista.g:173:1: ( ruleExpression EOF )\n // ../listaConcrete.ui/src-gen/edu/upb/lp/ui/contentassist/antlr/internal/InternalLista.g:174:1: ruleExpression EOF\n {\n before(grammarAccess.getExpressionRule()); \n pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression301);\n ruleExpression();\n\n state._fsp--;\n\n after(grammarAccess.getExpressionRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleExpression308); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "4860ea486fd51685012c51620eed4988", "score": "0.48357716", "text": "public final EObject entryRuleExpression_aux() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression_aux = null;\n\n\n try {\n // InternalJava.g:1882:2: (iv_ruleExpression_aux= ruleExpression_aux EOF )\n // InternalJava.g:1883:2: iv_ruleExpression_aux= ruleExpression_aux EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpression_auxRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleExpression_aux=ruleExpression_aux();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExpression_aux; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "d1afb64681c31f16ae4fda55abebbf39", "score": "0.48336595", "text": "public final void entryRuleExpression() throws RecognitionException {\n try {\n // InternalSeleniumScript.g:129:1: ( ruleExpression EOF )\n // InternalSeleniumScript.g:130:1: ruleExpression EOF\n {\n before(grammarAccess.getExpressionRule()); \n pushFollow(FOLLOW_1);\n ruleExpression();\n\n state._fsp--;\n\n after(grammarAccess.getExpressionRule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "2375ebe3445c8504741e86d3af51b7cc", "score": "0.48295268", "text": "public String getExtensionOf() {\n\t\treturn extensionOf;\n\t}", "title": "" }, { "docid": "7bfe041c7d14d61f7f3c03ff57698915", "score": "0.48215812", "text": "public final EObject entryRuleStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStatement = null;\n\n\n try {\n // InternalRpgindividual.g:1812:50: (iv_ruleStatement= ruleStatement EOF )\n // InternalRpgindividual.g:1813:2: iv_ruleStatement= ruleStatement EOF\n {\n newCompositeNode(grammarAccess.getStatementRule()); \n pushFollow(FOLLOW_1);\n iv_ruleStatement=ruleStatement();\n\n state._fsp--;\n\n current =iv_ruleStatement; \n match(input,EOF,FOLLOW_2); \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": "0322c2bdbb63436e63255e2d2e26d5b1", "score": "0.48045927", "text": "public String getExtension()\n {\n return extension;\n }", "title": "" }, { "docid": "8da22fb624e476284ed612eb1c1bdcb0", "score": "0.48034367", "text": "public final EObject entryRuleElement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleElement = null;\n\n\n try {\n // InternalMyDslParser.g:868:48: (iv_ruleElement= ruleElement EOF )\n // InternalMyDslParser.g:869:2: iv_ruleElement= ruleElement EOF\n {\n newCompositeNode(grammarAccess.getElementRule()); \n pushFollow(FOLLOW_1);\n iv_ruleElement=ruleElement();\n\n state._fsp--;\n\n current =iv_ruleElement; \n match(input,EOF,FOLLOW_2); \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": "e506df122cd031f4b2c07b7b076738ff", "score": "0.48013642", "text": "public final EObject entryRuleStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStatement = null;\n\n\n try {\n // InternalJava.g:3958:2: (iv_ruleStatement= ruleStatement EOF )\n // InternalJava.g:3959:2: iv_ruleStatement= ruleStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getStatementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleStatement=ruleStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleStatement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "03c2cfc21c15e3c91dd61eee7dfa083d", "score": "0.4798883", "text": "String getExtensionName();", "title": "" }, { "docid": "47ad2d7509101d5c17a86969a9db89df", "score": "0.47972402", "text": "public final EObject entryRuleName() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleName = null;\n\n\n try {\n // InternalMyDslParser.g:474:45: (iv_ruleName= ruleName EOF )\n // InternalMyDslParser.g:475:2: iv_ruleName= ruleName EOF\n {\n newCompositeNode(grammarAccess.getNameRule()); \n pushFollow(FOLLOW_1);\n iv_ruleName=ruleName();\n\n state._fsp--;\n\n current =iv_ruleName; \n match(input,EOF,FOLLOW_2); \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": "d0c65fbbd7fd921f1dfdbee92cdfb26e", "score": "0.4790986", "text": "public final EObject entryRuleAct() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAct = null;\n\n\n try {\n // ../at.ac.tuwien.big.me.sw11.SOOMLDsl/src-gen/at/ac/tuwien/big/me/sw11/parser/antlr/internal/InternalSOOMLDsl.g:1189:2: (iv_ruleAct= ruleAct EOF )\n // ../at.ac.tuwien.big.me.sw11.SOOMLDsl/src-gen/at/ac/tuwien/big/me/sw11/parser/antlr/internal/InternalSOOMLDsl.g:1190:2: iv_ruleAct= ruleAct EOF\n {\n newCompositeNode(grammarAccess.getActRule()); \n pushFollow(FollowSets000.FOLLOW_ruleAct_in_entryRuleAct2338);\n iv_ruleAct=ruleAct();\n\n state._fsp--;\n\n current =iv_ruleAct; \n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAct2348); \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": "30e7d0e7decdb629cd6296f3582be7f9", "score": "0.47864166", "text": "public final EObject entryRulePatternNode() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_rulePatternNode = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:1988:52: (iv_rulePatternNode= rulePatternNode EOF )\r\n // InternalBXCore.g:1989:2: iv_rulePatternNode= rulePatternNode EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getPatternNodeRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_rulePatternNode=rulePatternNode();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_rulePatternNode; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "52ce1cd94dd63d5049d6c0ec8bd941f7", "score": "0.47825754", "text": "public final EObject ruleExtensionStep() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token otherlv_2=null;\n Token otherlv_5=null;\n Token otherlv_6=null;\n Token otherlv_7=null;\n Token otherlv_8=null;\n AntlrDatatypeRuleToken lv_name_0_0 = null;\n\n AntlrDatatypeRuleToken lv_name_4_0 = null;\n\n AntlrDatatypeRuleToken lv_sentence_9_0 = null;\n\n EObject this_DeadEndStep_10 = null;\n\n\n\n \tenterRule();\n\n try {\n // InternalUseCaseDslParser.g:845:2: ( ( ( ( (lv_name_0_0= ruleStepName ) ) otherlv_1= FullStop otherlv_2= INCLUDE ( ( ruleLongName ) ) ) | ( ( (lv_name_4_0= ruleStepName ) ) otherlv_5= FullStop (otherlv_6= USER | otherlv_7= SYSTEM | otherlv_8= WHILE )? ( (lv_sentence_9_0= ruleLongName ) ) ) | this_DeadEndStep_10= ruleDeadEndStep ) )\n // InternalUseCaseDslParser.g:846:2: ( ( ( (lv_name_0_0= ruleStepName ) ) otherlv_1= FullStop otherlv_2= INCLUDE ( ( ruleLongName ) ) ) | ( ( (lv_name_4_0= ruleStepName ) ) otherlv_5= FullStop (otherlv_6= USER | otherlv_7= SYSTEM | otherlv_8= WHILE )? ( (lv_sentence_9_0= ruleLongName ) ) ) | this_DeadEndStep_10= ruleDeadEndStep )\n {\n // InternalUseCaseDslParser.g:846:2: ( ( ( (lv_name_0_0= ruleStepName ) ) otherlv_1= FullStop otherlv_2= INCLUDE ( ( ruleLongName ) ) ) | ( ( (lv_name_4_0= ruleStepName ) ) otherlv_5= FullStop (otherlv_6= USER | otherlv_7= SYSTEM | otherlv_8= WHILE )? ( (lv_sentence_9_0= ruleLongName ) ) ) | this_DeadEndStep_10= ruleDeadEndStep )\n int alt18=3;\n alt18 = dfa18.predict(input);\n switch (alt18) {\n case 1 :\n // InternalUseCaseDslParser.g:847:3: ( ( (lv_name_0_0= ruleStepName ) ) otherlv_1= FullStop otherlv_2= INCLUDE ( ( ruleLongName ) ) )\n {\n // InternalUseCaseDslParser.g:847:3: ( ( (lv_name_0_0= ruleStepName ) ) otherlv_1= FullStop otherlv_2= INCLUDE ( ( ruleLongName ) ) )\n // InternalUseCaseDslParser.g:848:4: ( (lv_name_0_0= ruleStepName ) ) otherlv_1= FullStop otherlv_2= INCLUDE ( ( ruleLongName ) )\n {\n // InternalUseCaseDslParser.g:848:4: ( (lv_name_0_0= ruleStepName ) )\n // InternalUseCaseDslParser.g:849:5: (lv_name_0_0= ruleStepName )\n {\n // InternalUseCaseDslParser.g:849:5: (lv_name_0_0= ruleStepName )\n // InternalUseCaseDslParser.g:850:6: lv_name_0_0= ruleStepName\n {\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionStepAccess().getNameStepNameParserRuleCall_0_0_0());\n \t\t\t\t\t\n pushFollow(FOLLOW_14);\n lv_name_0_0=ruleStepName();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getExtensionStepRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tset(\n \t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\"name\",\n \t\t\t\t\t\t\tlv_name_0_0,\n \t\t\t\t\t\t\t\"useCase.xtext.useCaseDsl.UseCaseDsl.StepName\");\n \t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\n\n }\n\n\n }\n\n otherlv_1=(Token)match(input,FullStop,FOLLOW_21); \n\n \t\t\t\tnewLeafNode(otherlv_1, grammarAccess.getExtensionStepAccess().getFullStopKeyword_0_1());\n \t\t\t\n otherlv_2=(Token)match(input,INCLUDE,FOLLOW_6); \n\n \t\t\t\tnewLeafNode(otherlv_2, grammarAccess.getExtensionStepAccess().getINCLUDEKeyword_0_2());\n \t\t\t\n // InternalUseCaseDslParser.g:875:4: ( ( ruleLongName ) )\n // InternalUseCaseDslParser.g:876:5: ( ruleLongName )\n {\n // InternalUseCaseDslParser.g:876:5: ( ruleLongName )\n // InternalUseCaseDslParser.g:877:6: ruleLongName\n {\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getExtensionStepRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionStepAccess().getReferenceUseCaseCrossReference_0_3_0());\n \t\t\t\t\t\n pushFollow(FOLLOW_2);\n ruleLongName();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalUseCaseDslParser.g:893:3: ( ( (lv_name_4_0= ruleStepName ) ) otherlv_5= FullStop (otherlv_6= USER | otherlv_7= SYSTEM | otherlv_8= WHILE )? ( (lv_sentence_9_0= ruleLongName ) ) )\n {\n // InternalUseCaseDslParser.g:893:3: ( ( (lv_name_4_0= ruleStepName ) ) otherlv_5= FullStop (otherlv_6= USER | otherlv_7= SYSTEM | otherlv_8= WHILE )? ( (lv_sentence_9_0= ruleLongName ) ) )\n // InternalUseCaseDslParser.g:894:4: ( (lv_name_4_0= ruleStepName ) ) otherlv_5= FullStop (otherlv_6= USER | otherlv_7= SYSTEM | otherlv_8= WHILE )? ( (lv_sentence_9_0= ruleLongName ) )\n {\n // InternalUseCaseDslParser.g:894:4: ( (lv_name_4_0= ruleStepName ) )\n // InternalUseCaseDslParser.g:895:5: (lv_name_4_0= ruleStepName )\n {\n // InternalUseCaseDslParser.g:895:5: (lv_name_4_0= ruleStepName )\n // InternalUseCaseDslParser.g:896:6: lv_name_4_0= ruleStepName\n {\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionStepAccess().getNameStepNameParserRuleCall_1_0_0());\n \t\t\t\t\t\n pushFollow(FOLLOW_14);\n lv_name_4_0=ruleStepName();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getExtensionStepRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tset(\n \t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\"name\",\n \t\t\t\t\t\t\tlv_name_4_0,\n \t\t\t\t\t\t\t\"useCase.xtext.useCaseDsl.UseCaseDsl.StepName\");\n \t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\n\n }\n\n\n }\n\n otherlv_5=(Token)match(input,FullStop,FOLLOW_25); \n\n \t\t\t\tnewLeafNode(otherlv_5, grammarAccess.getExtensionStepAccess().getFullStopKeyword_1_1());\n \t\t\t\n // InternalUseCaseDslParser.g:917:4: (otherlv_6= USER | otherlv_7= SYSTEM | otherlv_8= WHILE )?\n int alt17=4;\n switch ( input.LA(1) ) {\n case USER:\n {\n alt17=1;\n }\n break;\n case SYSTEM:\n {\n alt17=2;\n }\n break;\n case WHILE:\n {\n alt17=3;\n }\n break;\n }\n\n switch (alt17) {\n case 1 :\n // InternalUseCaseDslParser.g:918:5: otherlv_6= USER\n {\n otherlv_6=(Token)match(input,USER,FOLLOW_6); \n\n \t\t\t\t\tnewLeafNode(otherlv_6, grammarAccess.getExtensionStepAccess().getUSERKeyword_1_2_0());\n \t\t\t\t\n\n }\n break;\n case 2 :\n // InternalUseCaseDslParser.g:923:5: otherlv_7= SYSTEM\n {\n otherlv_7=(Token)match(input,SYSTEM,FOLLOW_6); \n\n \t\t\t\t\tnewLeafNode(otherlv_7, grammarAccess.getExtensionStepAccess().getSYSTEMKeyword_1_2_1());\n \t\t\t\t\n\n }\n break;\n case 3 :\n // InternalUseCaseDslParser.g:928:5: otherlv_8= WHILE\n {\n otherlv_8=(Token)match(input,WHILE,FOLLOW_6); \n\n \t\t\t\t\tnewLeafNode(otherlv_8, grammarAccess.getExtensionStepAccess().getWHILEKeyword_1_2_2());\n \t\t\t\t\n\n }\n break;\n\n }\n\n // InternalUseCaseDslParser.g:933:4: ( (lv_sentence_9_0= ruleLongName ) )\n // InternalUseCaseDslParser.g:934:5: (lv_sentence_9_0= ruleLongName )\n {\n // InternalUseCaseDslParser.g:934:5: (lv_sentence_9_0= ruleLongName )\n // InternalUseCaseDslParser.g:935:6: lv_sentence_9_0= ruleLongName\n {\n\n \t\t\t\t\t\tnewCompositeNode(grammarAccess.getExtensionStepAccess().getSentenceLongNameParserRuleCall_1_3_0());\n \t\t\t\t\t\n pushFollow(FOLLOW_2);\n lv_sentence_9_0=ruleLongName();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getExtensionStepRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tset(\n \t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\"sentence\",\n \t\t\t\t\t\t\tlv_sentence_9_0,\n \t\t\t\t\t\t\t\"useCase.xtext.useCaseDsl.UseCaseDsl.LongName\");\n \t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n\n\n }\n break;\n case 3 :\n // InternalUseCaseDslParser.g:954:3: this_DeadEndStep_10= ruleDeadEndStep\n {\n\n \t\t\tnewCompositeNode(grammarAccess.getExtensionStepAccess().getDeadEndStepParserRuleCall_2());\n \t\t\n pushFollow(FOLLOW_2);\n this_DeadEndStep_10=ruleDeadEndStep();\n\n state._fsp--;\n\n\n \t\t\tcurrent = this_DeadEndStep_10;\n \t\t\tafterParserOrEnumRuleCall();\n \t\t\n\n }\n break;\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "af9336d1704cbf59d5c474dc65bec2d2", "score": "0.47808662", "text": "public void addExtension(String extension) {\n if (filters == null) {\n filters = new Hashtable(5);\n }\n filters.put(extension.toLowerCase(), this);\n fullDescription = null;\n }", "title": "" }, { "docid": "ba49fd69a4726ae618947983c629ceeb", "score": "0.47690707", "text": "public final Collection<StringBuilder> extension() throws RecognitionException {\n Collection<StringBuilder> collection = null;\n\n CommonTree ext=null;\n CommonTree c=null;\n List<StringBuilder> params = null;\n\n\n\n \tcollection = new ArrayList<StringBuilder>();\n\n try {\n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:327:1: ( ^(ext= EXTENSION c= CLASS_SPEC (params= parameters )? ) )\n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:327:3: ^(ext= EXTENSION c= CLASS_SPEC (params= parameters )? )\n {\n ext=(CommonTree)match(input,EXTENSION,FOLLOW_EXTENSION_in_extension697); \n\n match(input, Token.DOWN, null); \n c=(CommonTree)match(input,CLASS_SPEC,FOLLOW_CLASS_SPEC_in_extension701); \n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:327:32: (params= parameters )?\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0==PARAMETERS) ) {\n alt8=1;\n }\n switch (alt8) {\n case 1 :\n // /Users/harrison/Archive/Development/git/jactr/org.jactr.io/src/org/jactr/io/antlr3/generator/xml/JACTRGenerator.g:327:33: params= parameters\n {\n pushFollow(FOLLOW_parameters_in_extension706);\n params=parameters();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n\n match(input, Token.UP, null); \n\n \t StringBuilder tmp = new StringBuilder(\"<extension \");\n \t tmp.append(\"class=\\\"\");\n \t tmp.append((c!=null?c.getText():null)).append(\"\\\"\");\n \t collection.add(tmp);\n \t \n \t if(params==null || params.size()==0)\n \t tmp.append(\"/>\"); \n \t else\n \t {\n \t tmp.append(\">\");\n \t collection.addAll(indent(params,2));\n \t collection.add(new StringBuilder(\"</extension>\"));\n \t } \n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return collection;\n }", "title": "" }, { "docid": "697d7d7fa09a863b672463ec84f38ead", "score": "0.47626835", "text": "public static EGNode entrypoint (NamedElement entry)\n\t{\n\t EGNode res;\n\t /** Try to find a behavior annex in the current entrypoint */\n\t BehaviorAnnex ba = null;\n \n\t ba = BehaviorUtil.getBehaviorAnnex(entry) ;\n \n\t if (ba != null)\n {\n\t /** Behavior annex found on the entrypoint */\n res = new BA2EG (ba, entry).toEG();\n if(!res.isNullWCET())\n return res;\n }\n\t /** Try to find a call sequence in the entrypoint */\n\t List<SubprogramCall> sequence = BehaviorUtil.getCallSequence(entry);\n\t if (sequence != null)\n\t {\n\t /** Call sequence found */\n\t if (sequence.size()==1) // entrypoint subprogram\n\t {\n\t /** Unique call: assumes its an entrypoint subprogram */\n\t SubprogramCall call = sequence.get(0);\n\t CalledSubprogram called = call.getCalledSubprogram();\n\t if (called instanceof SubprogramClassifier)\n\t {\n\t EGContext.getInstance().pushCurrentSubprogram(call);\n\t res = entrypoint ((SubprogramClassifier) called);\n\t EGContext.getInstance().popCurrentSubprogram();\n\t if(!res.isNullWCET())\n\t return res;\n\t }\n\t else // subprogram prototype ?\n\t {\n\t String msg = \"unsupported type \\'\" +\n\t called.getClass().getSimpleName() + '\\'' ;\n\t _LOGGER.fatal(msg) ;\n\t throw new UnsupportedOperationException(msg);\n\t }\n\t }\n\t else if (sequence.size() > 1)\n\t {\n\t /** Multiple calls: the execution graph will be defined from them */\n\t res = new CallSequence2EG (sequence).toEG();\n\t if(!res.isNullWCET())\n\t return res;\n\t }\n\t }\n\t \n\t /** No behavior */\n\t double bcet = 0;\n\t double wcet = 0;\n\t DoubleRange range = BehaviorUtil.getComputeExecutionTimeInMs(entry);\n\t if(range!=null)\n\t {\n\t bcet = range.getMin();\n wcet = range.getMax();\n\t }\n\t \n\t EGNode nCompute = new EGNode (\"No_Behavior_Call_\" + entry.getName());\n nCompute.setBCET(bcet);\n\t nCompute.setWCET(wcet);\n return nCompute;\n\t}", "title": "" }, { "docid": "4f6a98fd984f09659fbbe5ea0a448344", "score": "0.47616312", "text": "public final EObject entryRuleContextExpression() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleContextExpression = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:5615:58: (iv_ruleContextExpression= ruleContextExpression EOF )\r\n // InternalBXCore.g:5616:2: iv_ruleContextExpression= ruleContextExpression EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getContextExpressionRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_ruleContextExpression=ruleContextExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleContextExpression; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "f01131f18cba8b6659cc79d5b277dad5", "score": "0.4759449", "text": "public final EObject entryRuleOrExp() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleOrExp = null;\n\n\n try {\n // InternalMyDslParser.g:805:46: (iv_ruleOrExp= ruleOrExp EOF )\n // InternalMyDslParser.g:806:2: iv_ruleOrExp= ruleOrExp EOF\n {\n newCompositeNode(grammarAccess.getOrExpRule()); \n pushFollow(FOLLOW_1);\n iv_ruleOrExp=ruleOrExp();\n\n state._fsp--;\n\n current =iv_ruleOrExp; \n match(input,EOF,FOLLOW_2); \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": "b7f52ff47a43cf34e9203ad66f1451fc", "score": "0.47573256", "text": "public final EObject entryRuleXCasePart() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleXCasePart = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:9894:50: (iv_ruleXCasePart= ruleXCasePart EOF )\r\n // InternalBXCore.g:9895:2: iv_ruleXCasePart= ruleXCasePart EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getXCasePartRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_ruleXCasePart=ruleXCasePart();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleXCasePart; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "efdc24bea598e3d5d00b194ee8858615", "score": "0.4754886", "text": "public final EObject entryRuleAddition() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAddition = null;\n\n\n try {\n // InternalMathDsl.g:213:49: (iv_ruleAddition= ruleAddition EOF )\n // InternalMathDsl.g:214:2: iv_ruleAddition= ruleAddition EOF\n {\n newCompositeNode(grammarAccess.getAdditionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleAddition=ruleAddition();\n\n state._fsp--;\n\n current =iv_ruleAddition; \n match(input,EOF,FOLLOW_2); \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": "fa33e124becc64a7d501eda7a7c1ad87", "score": "0.47544134", "text": "public void setExt(String ext) {\n this.extension = ext;\n }", "title": "" }, { "docid": "77b3c11ab34181a3d88e1e617cd3733b", "score": "0.4752853", "text": "public final EObject entryRuleType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleType = null;\n\n\n try {\n // InternalEntityDSL.g:368:45: (iv_ruleType= ruleType EOF )\n // InternalEntityDSL.g:369:2: iv_ruleType= ruleType EOF\n {\n newCompositeNode(grammarAccess.getTypeRule()); \n pushFollow(FOLLOW_1);\n iv_ruleType=ruleType();\n\n state._fsp--;\n\n current =iv_ruleType; \n match(input,EOF,FOLLOW_2); \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": "23db27761710edf7ec0d749c2bdcac3a", "score": "0.47491723", "text": "public String getExtension() {\n return extension;\n }", "title": "" }, { "docid": "23db27761710edf7ec0d749c2bdcac3a", "score": "0.47491723", "text": "public String getExtension() {\n return extension;\n }", "title": "" }, { "docid": "dc5664a70b32774670a0e658b33133c1", "score": "0.4744813", "text": "public final EObject entryRuleUseCaseDocument() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleUseCaseDocument = null;\n\n\n try {\n // InternalUseCaseDslParser.g:57:56: (iv_ruleUseCaseDocument= ruleUseCaseDocument EOF )\n // InternalUseCaseDslParser.g:58:2: iv_ruleUseCaseDocument= ruleUseCaseDocument EOF\n {\n newCompositeNode(grammarAccess.getUseCaseDocumentRule()); \n pushFollow(FOLLOW_1);\n iv_ruleUseCaseDocument=ruleUseCaseDocument();\n\n state._fsp--;\n\n current =iv_ruleUseCaseDocument; \n match(input,EOF,FOLLOW_2); \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": "acd172439d36d37c8657d09bc220ccf8", "score": "0.47395182", "text": "public final EObject entryRulestatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_rulestatement = null;\n\n\n try {\n // InternalMyDsl.g:8671:50: (iv_rulestatement= rulestatement EOF )\n // InternalMyDsl.g:8672:2: iv_rulestatement= rulestatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getStatementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_rulestatement=rulestatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_rulestatement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "b8a09bdddb95af6d56c02203e42451b0", "score": "0.47379115", "text": "public final String entryRuleFileName() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleFileName = null;\n\n\n try {\n // InternalOil.g:233:48: (iv_ruleFileName= ruleFileName EOF )\n // InternalOil.g:234:2: iv_ruleFileName= ruleFileName EOF\n {\n newCompositeNode(grammarAccess.getFileNameRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFileName=ruleFileName();\n\n state._fsp--;\n\n current =iv_ruleFileName.getText(); \n match(input,EOF,FOLLOW_2); \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": "def14cb50943aedb318360081e0c1a28", "score": "0.47228378", "text": "public final EObject entryRuleAction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAction = null;\n\n\n try {\n // ../ageOfScala/src-gen/de/xtext/mgse/aos/parser/antlr/internal/InternalAgeOfScala.g:69:2: (iv_ruleAction= ruleAction EOF )\n // ../ageOfScala/src-gen/de/xtext/mgse/aos/parser/antlr/internal/InternalAgeOfScala.g:70:2: iv_ruleAction= ruleAction EOF\n {\n newCompositeNode(grammarAccess.getActionRule()); \n pushFollow(FOLLOW_ruleAction_in_entryRuleAction75);\n iv_ruleAction=ruleAction();\n\n state._fsp--;\n\n current =iv_ruleAction; \n match(input,EOF,FOLLOW_EOF_in_entryRuleAction85); \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": "5116f829199881a728ed51a85678e1c0", "score": "0.47199348", "text": "public final EObject entryRulePatternDefinition() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_rulePatternDefinition = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:1599:58: (iv_rulePatternDefinition= rulePatternDefinition EOF )\r\n // InternalBXCore.g:1600:2: iv_rulePatternDefinition= rulePatternDefinition EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getPatternDefinitionRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_rulePatternDefinition=rulePatternDefinition();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_rulePatternDefinition; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "d8d51422f39baf92f1d98547d979a80f", "score": "0.47177202", "text": "public final EObject entryRuleXExpression() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleXExpression = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:6796:52: (iv_ruleXExpression= ruleXExpression EOF )\r\n // InternalBXCore.g:6797:2: iv_ruleXExpression= ruleXExpression EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getXExpressionRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_ruleXExpression=ruleXExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleXExpression; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "250e6b300a60813df9de9fce1bdce3d2", "score": "0.47150928", "text": "public final EObject entryRuleDeclaration() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleDeclaration = null;\n\n\n try {\n // InternalRpgindividual.g:124:52: (iv_ruleDeclaration= ruleDeclaration EOF )\n // InternalRpgindividual.g:125:2: iv_ruleDeclaration= ruleDeclaration EOF\n {\n newCompositeNode(grammarAccess.getDeclarationRule()); \n pushFollow(FOLLOW_1);\n iv_ruleDeclaration=ruleDeclaration();\n\n state._fsp--;\n\n current =iv_ruleDeclaration; \n match(input,EOF,FOLLOW_2); \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": "03df110f36c1566f066bb784a6d68275", "score": "0.47094676", "text": "public final EObject entryRuleLiteral_Expression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleLiteral_Expression = null;\n\n\n try {\n // InternalJava.g:3053:2: (iv_ruleLiteral_Expression= ruleLiteral_Expression EOF )\n // InternalJava.g:3054:2: iv_ruleLiteral_Expression= ruleLiteral_Expression EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getLiteral_ExpressionRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleLiteral_Expression=ruleLiteral_Expression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleLiteral_Expression; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "bc128741e899429e523342bcc7b9c68f", "score": "0.47054878", "text": "public final EObject entryRuleModificationExpression() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleModificationExpression = null;\r\n\r\n\r\n try {\r\n // InternalBXCore.g:6256:63: (iv_ruleModificationExpression= ruleModificationExpression EOF )\r\n // InternalBXCore.g:6257:2: iv_ruleModificationExpression= ruleModificationExpression EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getModificationExpressionRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n iv_ruleModificationExpression=ruleModificationExpression();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleModificationExpression; \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "f8c650a84c78e1b000ff5747f71e6b1f", "score": "0.47022575", "text": "public final EObject entryRuledeclaration() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruledeclaration = null;\n\n\n try {\n // InternalMyDsl.g:2896:52: (iv_ruledeclaration= ruledeclaration EOF )\n // InternalMyDsl.g:2897:2: iv_ruledeclaration= ruledeclaration EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getDeclarationRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruledeclaration=ruledeclaration();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruledeclaration; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "3a328b66414b8647ba3ab750c582c88d", "score": "0.47009933", "text": "public final EObject entryRuleDeclaration() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleDeclaration = null;\r\n\r\n\r\n try {\r\n // ../org.xtext.commonlang/src-gen/org/xtext/parser/antlr/internal/InternalCommonlang.g:2368:2: (iv_ruleDeclaration= ruleDeclaration EOF )\r\n // ../org.xtext.commonlang/src-gen/org/xtext/parser/antlr/internal/InternalCommonlang.g:2369:2: iv_ruleDeclaration= ruleDeclaration EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getDeclarationRule()); \r\n }\r\n pushFollow(FOLLOW_ruleDeclaration_in_entryRuleDeclaration5169);\r\n iv_ruleDeclaration=ruleDeclaration();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleDeclaration; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleDeclaration5179); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "873aa4800c54f85c0856077e8a717175", "score": "0.46998847", "text": "public final String entryRuleENUM() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleENUM = null;\n\n\n try {\n // InternalMyDsl.g:10751:44: (iv_ruleENUM= ruleENUM EOF )\n // InternalMyDsl.g:10752:2: iv_ruleENUM= ruleENUM EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getENUMRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleENUM=ruleENUM();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleENUM.getText(); \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "d1cf9fdb70b5008a30aa6ebae2c5c239", "score": "0.46993068", "text": "public final EObject entryRuleargument_expression_list() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleargument_expression_list = null;\n\n\n try {\n // InternalMyDsl.g:924:65: (iv_ruleargument_expression_list= ruleargument_expression_list EOF )\n // InternalMyDsl.g:925:2: iv_ruleargument_expression_list= ruleargument_expression_list EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getArgument_expression_listRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleargument_expression_list=ruleargument_expression_list();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleargument_expression_list; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "d777e67bb281cfd1a49733de73dacd39", "score": "0.46927992", "text": "public final EObject entryRulePackageDeclaration() throws RecognitionException {\n EObject current = null;\n\n EObject iv_rulePackageDeclaration = null;\n\n\n try {\n // InternalEntityDSL.g:101:59: (iv_rulePackageDeclaration= rulePackageDeclaration EOF )\n // InternalEntityDSL.g:102:2: iv_rulePackageDeclaration= rulePackageDeclaration EOF\n {\n newCompositeNode(grammarAccess.getPackageDeclarationRule()); \n pushFollow(FOLLOW_1);\n iv_rulePackageDeclaration=rulePackageDeclaration();\n\n state._fsp--;\n\n current =iv_rulePackageDeclaration; \n match(input,EOF,FOLLOW_2); \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": "f6864d2ff592d89c919f322b69b05b61", "score": "0.46890834", "text": "public final EObject entryRuleType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleType = null;\n\n\n try {\n // InternalJava.g:3662:2: (iv_ruleType= ruleType EOF )\n // InternalJava.g:3663:2: iv_ruleType= ruleType EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getTypeRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleType=ruleType();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleType; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "bcc1c6e762d486c068c0234ad8141168", "score": "0.4683787", "text": "public final void entryRuleDotExpression() throws RecognitionException {\r\n try {\r\n // InternalMyDot.g:204:1: ( ruleDotExpression EOF )\r\n // InternalMyDot.g:205:1: ruleDotExpression EOF\r\n {\r\n before(grammarAccess.getDotExpressionRule()); \r\n pushFollow(FOLLOW_1);\r\n ruleDotExpression();\r\n\r\n state._fsp--;\r\n\r\n after(grammarAccess.getDotExpressionRule()); \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "2313babaee01470b42ce9f3f9de1c3c5", "score": "0.46785298", "text": "public final void entryRuleTerminologyExtensionAxiom() throws RecognitionException {\n try {\n // InternalOntologicalModelingLanguage.g:967:1: ( ruleTerminologyExtensionAxiom EOF )\n // InternalOntologicalModelingLanguage.g:968:1: ruleTerminologyExtensionAxiom EOF\n {\n before(grammarAccess.getTerminologyExtensionAxiomRule()); \n pushFollow(FOLLOW_1);\n ruleTerminologyExtensionAxiom();\n\n state._fsp--;\n\n after(grammarAccess.getTerminologyExtensionAxiomRule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "b35003421bc2c3825dfde5b75ab3b454", "score": "0.467464", "text": "public final EObject entryRuletype_specifier() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruletype_specifier = null;\n\n\n try {\n // InternalMyDsl.g:3679:55: (iv_ruletype_specifier= ruletype_specifier EOF )\n // InternalMyDsl.g:3680:2: iv_ruletype_specifier= ruletype_specifier EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getType_specifierRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruletype_specifier=ruletype_specifier();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruletype_specifier; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "bc7e6a7da8734ef7f762f39fc336b553", "score": "0.46708807", "text": "public final String entryRuleEInt() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleEInt = null;\n\n\n try {\n // ../com.uniandes.jsontosql.xtext/src-gen/com/uniandes/jsontosql/xtext/parser/antlr/internal/InternalJson.g:872:2: (iv_ruleEInt= ruleEInt EOF )\n // ../com.uniandes.jsontosql.xtext/src-gen/com/uniandes/jsontosql/xtext/parser/antlr/internal/InternalJson.g:873:2: iv_ruleEInt= ruleEInt EOF\n {\n newCompositeNode(grammarAccess.getEIntRule()); \n pushFollow(FOLLOW_ruleEInt_in_entryRuleEInt2048);\n iv_ruleEInt=ruleEInt();\n\n state._fsp--;\n\n current =iv_ruleEInt.getText(); \n match(input,EOF,FOLLOW_EOF_in_entryRuleEInt2059); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" } ]
14a7a096eb5c112f4c0963e800ce5def
Creates the fragment, sets fragmentListener to the MainActivity
[ { "docid": "395301719b83c9e3cf942769e9858755", "score": "0.0", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n Bundle args = getArguments();\n int turn = args.getInt(\"player\");\n players = DataManager.getSINGLETON().getGamePlayers();\n this.player = DataManager.SINGLETON.findPlayerByTurn(turn);\n fragmentListener = (OnReturnToMapListener) getActivity();\n }", "title": "" } ]
[ { "docid": "a62197ea4dcac43ddea33c344e4c4f60", "score": "0.6976909", "text": "protected void setupFragment() {\n\n int courseCode = getIntent().getIntExtra(Constants.KEY_COURSE_ID,-1);\n\n ModulesFragment fragment = ModulesFragment.newInstance(courseCode);\n FragmentManager fragmentManager = getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.container_body, fragment);\n fragmentTransaction.commit();\n }", "title": "" }, { "docid": "930ad902714072fe0333b8b9fa693131", "score": "0.68495136", "text": "public MainFragment() {\n }", "title": "" }, { "docid": "cb2044b60cd3a2e95ced9d14fae66bd5", "score": "0.67614996", "text": "public static MainFragment newInstance() {\n return new MainFragment();\n }", "title": "" }, { "docid": "fb5c76d2c60f8476005e13c65e0b1fe3", "score": "0.6716996", "text": "public static Fragment_Main newInstance() {\n return new Fragment_Main();\n }", "title": "" }, { "docid": "b4d43320ef46ee2b75710581fa8cbb90", "score": "0.6668135", "text": "private void openFragmentAdd() {\n Fragment fragment = FragmentAccounts.newInstance(100);\n getActivity().getSupportFragmentManager()\n .beginTransaction()//incepe tranzactia pentru adaugarea fragmentului\n .replace(R.id.main_frame_container, fragment)//se inlocuieste FrameLayout din content_main.xml cu fisierul xml a fragmentul initializat\n .commit();//se confirma schimbarea\n }", "title": "" }, { "docid": "0ae0569e02dbe940732a174f22da746e", "score": "0.66625893", "text": "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tLayoutInflater inflater = getActivity().getLayoutInflater() ;\n\t\tmainView = inflater.inflate(R.layout.fragment_equipment, null) ;\n\t}", "title": "" }, { "docid": "1744d4cc070712b670ac25c5f27787e1", "score": "0.6659023", "text": "Fragment createFragment();", "title": "" }, { "docid": "6dcd002812f9d8956b6a7306afba4757", "score": "0.6653323", "text": "public MainActivityFragment()\n {\n }", "title": "" }, { "docid": "a4951aa936b39cdfe3049efb69e8aa56", "score": "0.66483504", "text": "public static MainFragment newInstance() {\n MainFragment fragment = new MainFragment();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "title": "" }, { "docid": "8c5b66344af72fb12b348db2c4f0ca6d", "score": "0.6614966", "text": "private void initFragment() {\n FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();\n fragmentTransaction.add(R.id.placeholder, new RegisterUserFragment());\n fragmentTransaction.addToBackStack(getString(R.string.register_user_fragment));\n fragmentTransaction.commit();\n }", "title": "" }, { "docid": "293f9e5a91c53c70a4194be27c81d08c", "score": "0.6599461", "text": "public static MainFragment newInstance() {\n \tMainFragment fragment = new MainFragment();\n Bundle args = new Bundle();\n //args.putInt(ARG_SECTION_NUMBER, sectionNumber);\n fragment.setArguments(args);\n return fragment;\n }", "title": "" }, { "docid": "78277a0c9e8c3fd6af267ada64098402", "score": "0.6539138", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mainView = inflater.inflate(R.layout.fragment_content, container, false);\n\n init();\n\n\n return mainView;\n }", "title": "" }, { "docid": "8b22e25599be3e5801f1890fa29d14bc", "score": "0.6530199", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n MainFragment mainFragment= new MainFragment();\n FragmentManager fragmentManager=getSupportFragmentManager();\n FragmentTransaction fragmentTransaction=fragmentManager.beginTransaction();\n fragmentTransaction.replace(R.id.frame_fragment,mainFragment);\n fragmentTransaction.commit();\n }", "title": "" }, { "docid": "e03d87b0e575d4fa1435ba5f30376008", "score": "0.6497371", "text": "public static HomeMainFragment init() {\n return new HomeMainFragment();\n }", "title": "" }, { "docid": "838c1efaded6ba2188005d365056fe93", "score": "0.64709204", "text": "public Fragment createFragment();", "title": "" }, { "docid": "1a8c46f9836bf1961818d1cf4fe34777", "score": "0.6470791", "text": "public MainFragment() {\n // Required empty public constructor\n }", "title": "" }, { "docid": "36ca538d43f8f0a946f37b1314be40ad", "score": "0.64500433", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,\n WindowManager.LayoutParams.FLAG_FULLSCREEN);\n ButterKnife.bind(this);\n Fragment fragment = new FragmentCardview();\n FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();\n transaction.replace(R.id.content_main, fragment);\n transaction.commit();\n NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);\n navigationView.setNavigationItemSelectedListener(this);\n }", "title": "" }, { "docid": "af25453df05906deb86e136dcb245b07", "score": "0.64494026", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_main, container, false);\n\n getActivity().getSupportFragmentManager()\n .beginTransaction()\n .replace(R.id.mainContainer, MainMenuFragment.getInstance())\n .commit();\n\n return rootView;\n }", "title": "" }, { "docid": "b3f486dbe6933e3ae2dcf2731c6f7f53", "score": "0.64075464", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main); // sets the content view to the main activity.\n\n // Note, the activity_main contains only the dimensions, not any of the components\n\n FragmentManager fm = getSupportFragmentManager(); // initilase the fragment manager\n Fragment fragment = fm.findFragmentById(R.id.fragment_container); // set up the fragment manager to use the fragment container from teh resource files\n\n if (fragment == null){\n TodoFragment todoFragment = new TodoFragment();\n fm.beginTransaction()\n .add(R.id.fragment_container, todoFragment) // instantiates the fragment onbjects from the fragmentstodo.xml into a fragment view\n .commit();\n }\n\n }", "title": "" }, { "docid": "e970e9f1787f5f282899381e8c474160", "score": "0.6406368", "text": "public void initFragment() {\n\n\t}", "title": "" }, { "docid": "9ef526bb2402937d6f96714e17f6ab66", "score": "0.6312684", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View view=inflater.inflate(R.layout.fragment_new, container, false);\n initFragment(view);\n return view;\n\n }", "title": "" }, { "docid": "61732b1df5519430e87ab6061f7e0338", "score": "0.62907183", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n FragmentLogin login = new FragmentLogin();\n FragmentTransaction ft = getSupportFragmentManager().beginTransaction();\n // removes the existing fragment calling onDestroy\n ft.add(R.id.fragmentLayout,login);\n ft.addToBackStack(null);\n ft.commit();\n }", "title": "" }, { "docid": "43af3a7ff24f3ed353bc32b58b88a5f6", "score": "0.6274406", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n View rootView = inflater.inflate(R.layout.fragment_main,container,false);\n /* aboutMe = (Button)rootView.findViewById(R.id.AboutMe);\n aboutMe.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n fragmentTransaction = getFragmentManager().beginTransaction();\n AboutMe = new AboutMe();\n fragmentTransaction.replace(R.id.container,AboutMe,MAIN_FRAGMENT_TAG);\n fragmentTransaction.addToBackStack(null);\n fragmentTransaction.commit();\n }\n });*/\n\n return rootView;\n }", "title": "" }, { "docid": "13e03cc5e346e5b152e6c371efc04cc4", "score": "0.625717", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n mAddListener = (AddListener) getActivity();\n\n }", "title": "" }, { "docid": "f347c085a58aeabf69acf0f3500a3fe8", "score": "0.6253977", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_setup_game, container, false);\n\n FragmentManager fm = getFragmentManager();\n Bundle args = getArguments();\n if(args != null && args.containsKey(\"lobby\"))\n {//Fragment createGameFragment = fragmentManager.findFragmentById(R.rotation.fragment_create_game);\n LobbyFragment fragment = new LobbyFragment();\n FragmentTransaction fragmentTransaction = fm.beginTransaction();\n fragmentTransaction.replace(R.id.right_side_fragment_container, fragment);\n fragmentTransaction.commit();\n //fragment.displayError(\"Resynced with server\");\n }\n else\n {\n Fragment fragment = new GameSelectionFragment();\n fm.beginTransaction()\n .add(R.id.right_side_fragment_container, fragment)\n .commit();\n }\n return v;\n }", "title": "" }, { "docid": "4ce75de1ad96dfc73790e78b337a35c0", "score": "0.62528855", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.fragment_main, container, false);\n\t}", "title": "" }, { "docid": "1fa7702799c4a65d579dba18d6370bbd", "score": "0.6250852", "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 //ButterKnife.bind(this,view);\n final SQLFeedReader dbHelper = new SQLFeedReader(getContext()); //makes SQLFeedReader to interact with database\n\n //Gives SWITCH button function -- creates listener that waits for a click and switches to SettingsFragment when clicked\n View.OnClickListener settings_listener = new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Fragment fragment = new SettingsFragment();\n ((MainActivity) getActivity()).transitionToFragment(fragment); //calls MainActivity method to switch fragments\n }\n };\n Button set_btn = (Button) view.findViewById(R.id.switchButton);\n set_btn.setOnClickListener(settings_listener); //sets up switch button\n\n //set up to do list array list and adapter\n ArrayList<TodoItem> todo_array_list = dbHelper.getSQLData(); //creates empty array list 'todo_array_list'\n final custom_list_adapter todo_adapter =\n new custom_list_adapter(getContext(), R.layout.todo_list, todo_array_list); //creates adapter to put 'todo_array_list' info into todo_list.xml\n ListView todo_list_view = (ListView) view.findViewById(R.id.app_list); //gives todo_adapter info to fragment_main's ListView\n todo_list_view.setAdapter(todo_adapter); //sets the adapter to fragment_main's list\n\n //gives ADD NEW button function -- creates listener that waits for a click and adds a new list item to TodoItem\n View.OnClickListener add_listener = new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n TodoItem new_item = new TodoItem(\"Enter task\", null);\n todo_adapter.add(new_item); //uses built-in adapter function to add to list\n dbHelper.addSQLData(new_item); //calls helper's add func\n }\n };\n Button add_btn = (Button) view.findViewById(R.id.addButton);\n add_btn.setOnClickListener(add_listener); //sets up add button\n\n todo_adapter.notifyDataSetChanged(); //update custom adapter\n\n return view;\n }", "title": "" }, { "docid": "3dbee03929295dbc966718553aef6691", "score": "0.6229165", "text": "@Override\n public void run() {\n FragmentManager fragmentManager = getSupportFragmentManager();\n android.support.v4.app.FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n SignIn signIn = new SignIn();\n fragmentTransaction.add(R.id.FragmentMain, signIn);\n fragmentTransaction.commitAllowingStateLoss();\n }", "title": "" }, { "docid": "f51d318a85f3178aa7b96be70b94c28a", "score": "0.621223", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n root = inflater.inflate(R.layout.fragment_main, container, false);\n\n bulbFrame = root.findViewById(R.id.bulb);\n\n flashLightUtils = FlashLightUtils.getInstance(getContext());\n flashLightUtils.isFlashAvailable(getContext());\n final ImageView bulbImageView = root.findViewById(R.id.bulb_image);\n flashLightUtils.changeImg(bulbImageView);\n bulbFrame.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n try {\n if (flashLightUtils.isTorchOn()) {\n flashLightUtils.turnOffFlashLight();\n flashLightUtils.setTorchOn(false);\n } else {\n flashLightUtils.turnOnFlashLight();\n flashLightUtils.setTorchOn(true);\n }\n flashLightUtils.changeImg(bulbImageView);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n\n gyroscopeFrame = root.findViewById(R.id.gyroscope);\n gyroscopeFrame.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n ((MainActivity) getActivity()).showFragment(new LibelFragment(), true);\n }\n });\n\n\n passGenFrame = root.findViewById(R.id.pass_generator);\n passGenFrame.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n ((MainActivity) getActivity()).showFragment(new PassGenFragment(), true);\n }\n });\n\n mirrorFrame = root.findViewById(R.id.mirror);\n mirrorFrame.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n// flashLightUtils.turnOffFlashLight();\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n Log.e(TAG, \"onClick: sestica\");\n Intent intent = new Intent(getActivity(), ActivityMirror.class);\n startActivity(intent);\n } else {\n ((MainActivity) getActivity()).showFragment(new MirrorFragment(), true);\n }\n }\n });\n\n compass = root.findViewById(R.id.compass_open);\n compass.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n ((MainActivity) getActivity()).showFragment(new CompassFragment(), true);\n }\n });\n\n qrcodeFrame = root.findViewById(R.id.qrcode_open);\n qrcodeFrame.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Intent intent = new Intent(getActivity(), QRCodeActivity.class);\n startActivity(intent);\n }\n });\n\n return root;\n }", "title": "" }, { "docid": "d2b45793317fdee08373c3aba534ca15", "score": "0.6186249", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main, container, false);\n }", "title": "" }, { "docid": "d2b45793317fdee08373c3aba534ca15", "score": "0.6186249", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main, container, false);\n }", "title": "" }, { "docid": "d2b45793317fdee08373c3aba534ca15", "score": "0.6186249", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main, container, false);\n }", "title": "" }, { "docid": "d2b45793317fdee08373c3aba534ca15", "score": "0.6186249", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main, container, false);\n }", "title": "" }, { "docid": "d2b45793317fdee08373c3aba534ca15", "score": "0.6186249", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main, container, false);\n }", "title": "" }, { "docid": "820dde736becbc04055ebf8db795e80e", "score": "0.618496", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n FragmentMainBinding binding = DataBindingUtil.inflate(inflater, R.layout.fragment_main, container, false);\n binding.setFragment(this);\n return binding.getRoot();\n }", "title": "" }, { "docid": "d73bae8f771ebada02c57a26db58a664", "score": "0.6184134", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n // Inflate the layout for create fragment\n// the layout file from the first parameter is inflated and returned as a View because attachToRoot is false\n return inflater.inflate(R.layout.create_fragment, container, false);\n//end of onCreateView method\n }", "title": "" }, { "docid": "f5db87e29c791806124485e848ff9d2d", "score": "0.6168556", "text": "@Override\n\tpublic void initCreate() {\n\t\tcargarLayout(R.layout.infomovil_fragment_layout);\n\t\t\n\t\tIntent i = getIntent();\n\t\tString tipoMenuCrear = i.getStringExtra(\"tipoMenuCrear\");\n\t\t\n\t\tInfomovilFragment menuCrear = null;\n\t\t\n\t\tif(tipoMenuCrear.equals(\"menuCrear\") && CuentaUtils.isPublicado()){\n\t\t\tmenuCrear = new MenuCrearActivity();\n\t\t}\n\t\telse{\n\t\t\tmenuCrear = new MenuCrearQuickStartFragment();\n\t\t}\n\t\t\n\t\tif(!StringUtils.isEmpty(i.getStringExtra(\"source\")) \n\t\t\t&& i.getStringExtra(\"source\").equalsIgnoreCase(\"agregarMasContenido\")){\n\t\t\tmenuCrear = new MenuCrearActivity();\n\t\t}\n\t\t\t\n\t\tFragmentManager fragmentManager = getFragmentManager();\n\t\tFragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n\t\tfragmentTransaction.add(R.id.fragmentPrincipalMenu, menuCrear, \"MenuCrear\");\n\t\tfragmentTransaction.addToBackStack(\"MenuCrear\");\n\t\tnombreFragmentoActual = \"MenuCrear\";\n\t\tfragmentTransaction.commit();\n\t\tcontext = this;\n\t}", "title": "" }, { "docid": "09b03ccc1b28b1fd89c68fe46238eff6", "score": "0.61505616", "text": "@Override\n\tpublic Fragment createFragment() {\n\t\treturn new LifeCycleTestFragment();\n\t}", "title": "" }, { "docid": "e44d209507a48d96d3e2d3d488390749", "score": "0.612972", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n toolbar = findViewById(R.id.toolbar);\n setSupportActionBar(toolbar);\n if (getSupportActionBar() != null) {\n getSupportActionBar().setDisplayShowTitleEnabled(false);\n }\n mTVTitle = findViewById(R.id.tv_dash_name);\n mTVTitle.setText(\"Dashboard\");\n\n mConnectivityChangeReceiver = new ConnectivityChangeReceiver();\n mConnectivityChangeReceiver.setConnectivityReceiverListener(this);\n isConnected = mConnectivityChangeReceiver.getConnectionStatus(this);\n checkUpdate();\n\n mDrawerLayout = findViewById(R.id.drawer_layout);\n NavigationFragment navigationFragment = (NavigationFragment) getSupportFragmentManager().findFragmentById(R.id.navigation_drawer);\n if (navigationFragment != null) {\n navigationFragment.setUp(mDrawerLayout, this);\n setDrawerListener();\n }\n\n fragmentManager = getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragment = new HomeFragment();\n fragmentTransaction.replace(R.id.frameLayout, fragment).commit();\n registerNetworkBroadcast();\n// Intent intent = new Intent(this, SyncService.class);\n// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n// startForegroundService(intent);\n// } else {\n// startService(intent);\n// }\n }", "title": "" }, { "docid": "8274ad7308be5348000c2430cda3b637", "score": "0.61291057", "text": "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\t\r\n\t\tWeatherManager.getInstance(getActivity()).makeNewInfo();\r\n\t\t\r\n\t\treturn inflater.inflate(R.layout.fragment_main, container, false);\r\n\t}", "title": "" }, { "docid": "faa4513a7bb0e9f3f92c99f1096c13b8", "score": "0.6121154", "text": "public static ChatMainFragment newInstance() {\n ChatMainFragment chatMainFragment = new ChatMainFragment();\n return chatMainFragment;\n }", "title": "" }, { "docid": "7e3ace503f0f3f26d467b8cbfa747fa6", "score": "0.61024", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_create, container, false);\n initUI();\n return view;\n }", "title": "" }, { "docid": "ac7352e8e2e1678fdbfa5623418f2bec", "score": "0.60886425", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_main, container, false);\n return rootView;\n }", "title": "" }, { "docid": "016832e69b50e5955b12f231587fb26a", "score": "0.60631895", "text": "private void setupViewFragment() {\n String noteId = getIntent().getStringExtra(EXTRA_NOTE_ID);\n\n NoteDetailFragment noteDetailFragment = (NoteDetailFragment) getSupportFragmentManager()\n .findFragmentById(R.id.fragment_container);\n\n if (noteDetailFragment == null) {\n noteDetailFragment = NoteDetailFragment.newInstance(noteId);\n }\n\n ActivityUtils.replaceFragmentInActivity(getSupportFragmentManager(),\n noteDetailFragment, R.id.fragment_container);\n }", "title": "" }, { "docid": "b95a2e69f354d4436c205d751ddd2198", "score": "0.60628384", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n Fabric.with(this, new Crashlytics());\n setContentView(R.layout.activity_main2);\n\n //Polymorphism\n fragments = new Fragment[2];\n fragments[0] = new CurrentAirQualityFragment();\n fragments[1] = new ListFragment();\n\n bottomNavigationView = findViewById(R.id.bottom_navigation);\n bottomNavigationView.setOnNavigationItemSelectedListener(navListener);\n\n getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container, fragments[0]).commit();\n }", "title": "" }, { "docid": "8e485b89edacbcd375bad33f2bf1c8fa", "score": "0.6061209", "text": "protected abstract Fragment createFragment();", "title": "" }, { "docid": "8e485b89edacbcd375bad33f2bf1c8fa", "score": "0.6061209", "text": "protected abstract Fragment createFragment();", "title": "" }, { "docid": "8e485b89edacbcd375bad33f2bf1c8fa", "score": "0.6061209", "text": "protected abstract Fragment createFragment();", "title": "" }, { "docid": "8e485b89edacbcd375bad33f2bf1c8fa", "score": "0.6061209", "text": "protected abstract Fragment createFragment();", "title": "" }, { "docid": "f1f2ecef37926eaca86018d7a6a25b38", "score": "0.60578865", "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 Button receivers = (Button)view.findViewById(R.id.button_receivers);\n receivers.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startActivity(ReceiverActivity.newIntent(getActivity()));\n }\n });\n\n Button bowser = (Button)view.findViewById(R.id.button_web_bowser);\n bowser.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startActivity(WebBowserActivity.newIntent(getActivity()));\n }\n });\n\n return view;\n }", "title": "" }, { "docid": "3e13b263c22707325eb691b44437e260", "score": "0.60483736", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_blank, container, false);\n textView=view.findViewById(R.id.f2text);\n textView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Toast.makeText(getContext(),\"Hello in Fragment 2\",Toast.LENGTH_LONG).show();\n }\n });\n return view;\n }", "title": "" }, { "docid": "c4de95a989161b16b570308de4f44790", "score": "0.60477716", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_login_signup, container, false);\n\n // on button clicks, switch fragment\n Button loginButton = (Button) view.findViewById(R.id.launch_login_fragment_button);\n loginButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n mFragmentSwitcher.switchFragment(MainActivity.LOGIN_FRAGMENT);\n }\n });\n\n Button signupButton = (Button) view.findViewById(R.id.launch_signup_fragment_button);\n signupButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n mFragmentSwitcher.switchFragment(MainActivity.SIGNUP_SELECT_USER_TYPE_FRAGMENT);\n }\n });\n\n\n return view;\n }", "title": "" }, { "docid": "b886754d059db99f74b1504f86300be9", "score": "0.604028", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.main);\n // Inizialmente visualizziamo il primo Fragment\n FirstFragment firstFragment = FirstFragment.getFirstFragment(\"First title\");\n getFragmentManager().beginTransaction().add(R.id.anchor_layout, firstFragment).commit();\n }", "title": "" }, { "docid": "4d3d491d324426d8af5a03ca6dff13b0", "score": "0.6036328", "text": "protected Fragment createFragment(){\n int noteId = (int) getIntent().getSerializableExtra(EXTRA_NOTE_ID);\n return NotepadFragment.newInstance(noteId);\n }", "title": "" }, { "docid": "cff80ec4c042e670675c4bf18834f5aa", "score": "0.60296786", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n \n requestWindowFeature(Window.FEATURE_PROGRESS);\n \n setContentView(R.layout.main_activity_layout);\n final ActionBar ab = getSupportActionBar();\n\n // set defaults for logo & home up\n ab.setDisplayHomeAsUpEnabled(false);\n ab.setDisplayUseLogoEnabled(false);\n \n //Frgment\n outBoxListFragment = new OutBoxListFragment();\n inBoxListFragment = new InboxListFragment();\n \n\n // set up tabs nav\n \n ab.addTab(ab.newTab().setText(\"Outbox\").setTabListener(this));\n ab.addTab(ab.newTab().setText(\"Inbox\").setTabListener(this));\n \n\n // default to tab navigation\n showTabsNav();\n \n }", "title": "" }, { "docid": "04a61691a13abd198b5a4f880663f093", "score": "0.6024016", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_mainone, container, false);\n mpersenter = new Mpersenter(this);\n initView(view);\n initData();\n return view;\n }", "title": "" }, { "docid": "58ce697750e22ab69123435ed4e6daa4", "score": "0.6018364", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.mainfragment, container, false);\n FeedListItems = new ArrayList<FeedItem>();\n feedAdaptor = new FeedListAdaptor(getActivity(), FeedListItems);\n mFeedItems = (ListView) rootView.findViewById(R.id.FeedItems);\n setupMovieSelectedListener();\n\n fetchBoxOfficeMovies(\"\", \"\");\n return rootView;\n }", "title": "" }, { "docid": "96997c90a041349da40aaa1a06a6ffc0", "score": "0.6014173", "text": "@Override\n public void onNavigationDrawerItemSelected(int position) {\n FragmentManager fragmentManager = getFragmentManager();\n Fragment fragment = null;\n switch(position) {\n case 1:\n fragment = new CalendarListFragment();\n CalendarListFragment tFragment = (CalendarListFragment)fragment;\n tFragment.setUp2(exerciseDB, dayDB);\n fragment = tFragment;\n break;\n case 2:\n fragment = new ExerciseListFragment();\n ExerciseListFragment tFragment2 = (ExerciseListFragment)fragment;\n tFragment2.setUp(exerciseDB, dayDB);\n tFragment2.fromCalendar(null);\n fragment = tFragment2;\n break;\n default:\n fragment = new MainFragment();\n MainFragment tFragment3 = (MainFragment)fragment;\n //tFragment.setUp2(ref);\n fragment = tFragment3;\n }\n fragmentManager.beginTransaction()\n .replace(R.id.container, fragment)\n .commit();\n }", "title": "" }, { "docid": "b50cbba521c688d8f6f535e83cb3ea19", "score": "0.6005684", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\t\n\t\thelper = new GlassActionBarHelper().contentLayout(R.layout.gridview_main);\n\t\tsetContentView(helper.createView(this));\n\t\t\n\t\tgetSupportFragmentManager().beginTransaction()\n\t\t.replace(R.id.container, new MainFragment())\n\t\t.commit();\n\t}", "title": "" }, { "docid": "9e06ad7ab7e4b8313c597b9dcd6af50f", "score": "0.6003838", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_main_menu, container, false);\n setGlobals(view);\n setListeners(view);\n\n retainFrag = (RetainedFragment) getFragmentManager()\n .findFragmentByTag(FRAG_RETAIN_TAG);\n checkSetting();\n\n return view;\n }", "title": "" }, { "docid": "8cd5271e2f3d299627a3022f9e6da86a", "score": "0.5992374", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n this.inflater=inflater;\n return inflater.inflate(R.layout.fragment_main_page, container, false);\n }", "title": "" }, { "docid": "8c98921dca538e142a274dd41a80295b", "score": "0.59913737", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n //initialization\n setContentView(R.layout.activity_main);\n ButterKnife.bind(this);\n\n\n //get current user\n mUser = UserAuthUtils.getCurrentUser();\n if (mUser == null){\n //redirect to login\n UserAuthUtils.requireLogin(this);\n }\n\n mFragmentManager = getSupportFragmentManager();\n\n if (getIntent().getExtras() != null && getIntent().getIntExtra(PENDING_KEY, R.id.menu_home) != 0){\n mCurrentFragmentId = 0;\n mCurrentFragmentId = getIntent().getIntExtra(PENDING_KEY, R.id.menu_home);\n if (mCurrentFragmentId != 0 ){\n mFragmentManager.beginTransaction()\n .replace(R.id.main_container, FragmentUtils.selectFragment(mCurrentFragmentId))\n .commit();\n\n mBottomNavigation.getMenu()\n .getItem(FragmentUtils.getBottomNavigationItemId(mCurrentFragmentId))\n .setChecked(true);\n }\n } else {\n if (mFragmentManager.findFragmentById(R.id.main_container) == null && savedInstanceState == null) {\n //initialize the home fragment to the main container\n mCurrentFragmentId = R.id.menu_home;\n mFragmentManager.beginTransaction()\n .replace(R.id.main_container, new HomeFragment())\n .commit();\n } else if (mFragmentManager.findFragmentById(R.id.main_container) != null && savedInstanceState != null) {\n //if rotation changes, set the correct selected item for bottom navigation\n mCurrentFragmentId = savedInstanceState.getInt(FRAGMENT_KEY);\n if (mCurrentFragmentId != 0) {\n mBottomNavigation.getMenu()\n .getItem(FragmentUtils.getBottomNavigationItemId(mCurrentFragmentId))\n .setChecked(true);\n }\n\n }\n }\n\n //bottom navigation initialization\n //handles what selected item for the bottom navigation bar\n mBottomNavigation.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem item) {\n Fragment fragment = FragmentUtils.selectFragment(item.getItemId());\n mCurrentFragmentId = item.getItemId();\n mFragmentManager.beginTransaction()\n .replace(R.id.main_container, fragment)\n .commit();\n return true;\n }\n });\n }", "title": "" }, { "docid": "de6c67ae43a51ef8e4579e4a33521e8c", "score": "0.59896934", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n Activity mainActivity = getActivity();\n if(mainActivity instanceof MainActivity){\n ((MainActivity)getActivity()).getSupportActionBar().setTitle(\"NOMBRE\");\n }\n\n View fragmentMain = inflater.inflate(R.layout.fragment_main, container, false);\n ImageButton fab = (ImageButton) fragmentMain.findViewById(R.id.fab);\n\n fab.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Snackbar.make(view, \"Replace with your own action\", Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n }\n });\n\n return fragmentMain;\n }", "title": "" }, { "docid": "02f504db00fc2c7fe8d53a6d8807328e", "score": "0.5989463", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mcontext = (FuLiCenterMainActivity) getActivity();\n View inflate = inflater.inflate(R.layout.fragment_boutique, container, false);\n initDate();\n initView(inflate);\n setListener();\n return inflate;\n }", "title": "" }, { "docid": "8dadd9c47fe4647169eafa04f1798f1a", "score": "0.59888226", "text": "public abstract Fragment createFragment();", "title": "" }, { "docid": "8dab4522ac30a0f61111425bc14d47d4", "score": "0.5974642", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\t\tmActivity = getActivity();\n\t\tmCaptureListener = this;\n\t\tmSubmitListener = this;\n\n\t\treturn inflater.inflate(R.layout.fragment_intro, container, false);\n\t}", "title": "" }, { "docid": "661745c0cab858c3a4748c1c4410ebea", "score": "0.59746087", "text": "public MainFragment()\n\t{\n\t\tsuper(R.layout.main_tab_bracelet_reader);\n\t\tthis.m_sharedData = SharedData.getInstance();\n\t}", "title": "" }, { "docid": "4aa4d77df044105b5fe1593ea84d54b8", "score": "0.5972233", "text": "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tgetListView().setOnItemClickListener(this);\r\n\t\tfm=(AddCheckFragment) getActivity().getFragmentManager().findFragmentByTag(\"addfm\");\r\n\t}", "title": "" }, { "docid": "cef5cc043d39a9a5ad16d0c948725ffc", "score": "0.5966603", "text": "@Nullable\n @Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n View fragmentView = LayoutInflater.from(getContext()).inflate(R.layout.fragment_my_fragment,container,false);\n TextView textView =fragmentView.findViewById(R.id.tv_myfragment);\n textView.setText(\"onCreateView\");\n return fragmentView;\n }", "title": "" }, { "docid": "5f4a3073d4c79ce8e66f08a9691c6f92", "score": "0.596226", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_construction, container, false);\n initializations(view);\n setLanguageToUI();\n onClickListeners();\n return view;\n }", "title": "" }, { "docid": "a58f8dc5e1656c53e1750ff4268ca750", "score": "0.5961575", "text": "@Override\n public View onCreateView(LayoutInflater inflater, final ViewGroup container,\n Bundle savedInstanceState) {\n Log.i(TAG, \"Main Menu Fragment onCreateView() called\");\n View v = inflater.inflate(R.layout.fragment_main_menu, container, false);\n\n playText = v.findViewById(R.id.play_text);\n settingsText = v.findViewById(R.id.settings_text);\n logOutText = v.findViewById(R.id.log_out_text);\n\n playText.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Log.i(TAG, \"Play button pressed, starting fragment\");\n FragmentManager manager = getFragmentManager();\n PlayScreenFragment playFragment = new PlayScreenFragment();\n manager.beginTransaction()\n .replace(R.id.main_menu_fragment_display, playFragment)\n .addToBackStack(null)\n .commit();\n\n //start play fragment\n }\n });\n\n settingsText.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Log.i(TAG, \"Settings button pressed, starting fragment\");\n FragmentManager manager = getFragmentManager();\n SettingsFragment settingsFragment = new SettingsFragment();\n manager.beginTransaction()\n .replace(R.id.main_menu_fragment_display, settingsFragment)\n .addToBackStack(null)\n .commit();\n //start settings fragment\n }\n });\n\n logOutText.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Backendless.UserService.logout(new AsyncCallback<Void>() {\n @Override\n public void handleResponse(Void v) {\n Log.i(TAG, \"Successful logout\");\n }\n @Override\n public void handleFault(BackendlessFault backendlessFault) {\n Log.i(TAG, \"Server reported an error on logout:\" + backendlessFault.getMessage());\n }\n });\n Intent intent = new Intent(getActivity(), LoginActivity.class);\n startActivity(intent);\n }\n });\n\n return v;\n }", "title": "" }, { "docid": "fca2f18698484d7dff930fbdc3f836bb", "score": "0.59521157", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View view = inflater.inflate(R.layout.fragment_teacher_fragment, container, false);\n\n scroll = view.findViewById(R.id.scroll);\n inbox = view.findViewById(R.id.inbox);\n\n inbox.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n FragmentTransaction ft = getFragmentManager().beginTransaction();\n ft.replace(R.id.fragmentContent, new RequestFragment());\n ft.addToBackStack(null);\n ft.commit();\n\n System.out.println(\"Du trykkede på inbox\");\n }\n });\n return view;\n }", "title": "" }, { "docid": "22f418bc703d8499453719d2a4b8efd3", "score": "0.5951172", "text": "private List<RestaurantListener> setupFragments() {\n restaurantListFragment = new RestaurantListFragment();\n\n // In case this activity was started with special instructions from an Intent,\n // pass the Intent's extras to the fragment as arguments\n restaurantListFragment.setArguments(getIntent().getExtras());\n\n // Add the fragment to the 'fragment_container' FrameLayout\n getFragmentManager().beginTransaction().add(R.id.fragment_container, restaurantListFragment).commit();\n\n //Set up the map fragment\n restaurantMapFragment = new RestaurantMapFragment();\n restaurantMapFragment.getMapAsync(restaurantMapFragment);\n\n List<RestaurantListener> listeners = new ArrayList<RestaurantListener>();\n listeners.add(restaurantListFragment);\n listeners.add(restaurantMapFragment);\n return listeners;\n }", "title": "" }, { "docid": "a7926ac9b91c5b64c70fe1a59905b92a", "score": "0.5947115", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tcontentView = inflater.inflate(R.layout.fragment_main, null);\n\t\tmViewPager = (ViewPager)contentView.findViewById(R.id.viewpager);\n\t\tmAdapter = new QiangContentAdapter(getActivity().getSupportFragmentManager());\n\t\tmViewPager.setAdapter(mAdapter);\n\t\tmViewPager.setOnPageChangeListener(this);\n\t\tmViewPager.setOffscreenPageLimit(4);\n\t\treturn contentView;\n\t}", "title": "" }, { "docid": "1018e7863a3407fde1317c31e66ebcf1", "score": "0.5945986", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_left, container, false);\n this.lst_nav = view.findViewById(R.id.lst_menu);\n// this.dl = view.findViewById(R.id.drawer_layout);\n\n String[] navigation = {\"HOME\", \"ADD OPERATION\", \"HISTORY\"};\n this.lst_nav.setAdapter(new ArrayAdapter<String>(view.getContext(), android.R.layout.simple_list_item_1, navigation));\n lst_nav.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n Log.d(\"debug\", \"clicked\");\n String page = lst_nav.getItemAtPosition(i)+\"\";\n Log.d(\"debug\", page);\n if(page.equals(\"HOME\")){\n changePage(1);\n Log.d(\"debug\", \"change1\");\n ((MainActivity)getActivity()).closeApplication();\n }\n if(page.equals(\"ADD OPERATION\")){\n changePage(2);\n Log.d(\"debug\", \"change2\");\n ((MainActivity)getActivity()).closeApplication();\n }\n }\n });\n\n this.calculatorFragment = new CalculatorFragment();\n this.addFragment = new AddFragment();\n this.fragmentManager = getFragmentManager();\n\n\n\n return view;\n }", "title": "" }, { "docid": "9901f67f129b6d5b33b7560fa9466dcf", "score": "0.5945199", "text": "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tenableDebugLog(ENABLE_DEBUG);\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.activity_main);\n\n\t\t// create fragments\n\t\tendGameFragment = new EndGameFragment();\n\t\tgameplayFragment = new GameplayFragment();\n\t\tmainMenuFragment = new MainMenuFragment();\n\n\t\tgameLogic = new GameLogic();\n\t\tgoogleAPILogic = new GoogleAPILogic();\n\n\t\tgameLogic.setGoogleApiClient(getApiClient());\n\t\tgameLogic.setGoogleAPILogic(googleAPILogic);\n\t\tgameLogic.setMainActivity(this);\n\n\t\tgoogleAPILogic.setGameLogic(gameLogic);\n\t\tgoogleAPILogic.setMainActivity(this);\n\t\tgoogleAPILogic.setMainMenuFragment(mainMenuFragment);\n\t\tgoogleAPILogic.setGoogleApiClient(getApiClient());\n\t\t\n\t\tgameplayFragment.setGameLogic(gameLogic);\n\t\t// set listeners\n\t\tendGameFragment.setListener(this);\n\t\tgameplayFragment.setListener(this);\n\t\tmainMenuFragment.setListener(this);\n\n\t\tgetSupportFragmentManager().beginTransaction()\n\t\t\t\t.add(R.id.fragment_container, mainMenuFragment).commit();\n\t\t/*\n\t\t * / set up a click listener for everything we care about for (int id :\n\t\t * CLICKABLES) { findViewById(id).setOnClickListener(this); }\n\t\t */\n\n\t}", "title": "" }, { "docid": "a60bcf922dbe4bc809cefbb1bb20e0e0", "score": "0.59438694", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n // Inflate the layout for this fragment\n View v = inflater.inflate(R.layout.fragment_registration, container, false);\n mEmailEditText = (EditText) v.findViewById(R.id.email_input);\n mPasswordEditText = (EditText) v.findViewById(R.id.password_input);\n mFirstnameEditText = (EditText) v.findViewById(R.id.Firstname_input);\n mLastnameEditText = (EditText) v.findViewById(R.id.Lastname_input);\n\n\n Button registerButton = (Button) v.findViewById(R.id.fragRegisterbutton);\n registerButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String url = buildCourseURL(v);\n mListener.registerUser(url);\n }\n });\n\n return v;\n }", "title": "" }, { "docid": "597d4ccce98b54b0277b12a76867890f", "score": "0.5940504", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(\n R.layout.fragment_events_fragment_new, container, false);\n\n\n return rootView;\n\n\n\n }", "title": "" }, { "docid": "2e2a69395c63f67dfd22304fd6ae24f2", "score": "0.59330493", "text": "@Override\n\tprotected void onCreate(Bundle arg0) {\n\t\tsuper.onCreate(arg0);\n\t\tsetContentView(R.layout.fragment_activity_main);\n\t}", "title": "" }, { "docid": "d52d555d0b64a7be2663055787d4aa5b", "score": "0.59250283", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n btnFragment1 = (Button)findViewById(R.id.displayfragment1);\n btnFragment2 = (Button)findViewById(R.id.displayfragment2);\n\n btnFragment1.setOnClickListener(btnFragmentOnClickListener);\n btnFragment2.setOnClickListener(btnFragmentOnClickListener);\n }", "title": "" }, { "docid": "63be42cb20a9a2bcaf3d76998b42da99", "score": "0.59228253", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_test__directory, container, false);\n myApplication=(MyApplication)getActivity().getApplicationContext();\n// ((MainActivity) getActivity()).Change_Tittle(\"Test Directory\");\n\n\n if (myApplication.GetLanguage().equals(\"ar\")) {\n ((MainActivity) getActivity()).Change_Tittle(getString(R.string.Test_Directory));\n } else {\n ((MainActivity) getActivity()).Change_Tittle(\"Test Directory\");\n }\n\n ((MainActivity) getActivity()).ShowBack_toolbar();\n\n view.findViewById(R.id.Click).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n }\n });\n\n\n view.findViewById(R.id.StartSearch).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Fragment fragment = null;\n Class fragmentClass = null;\n\n fragmentClass = Test_Directory_Main.class;\n try {\n fragment = (Fragment) fragmentClass.newInstance();\n Bundle bundle = new Bundle();\n fragment.setArguments(bundle);\n } catch (Exception e) {\n e.printStackTrace();\n }\n FragmentManager fragmentManager = ((AppCompatActivity) getActivity()).getSupportFragmentManager();\n fragmentManager.beginTransaction().replace(R.id.container, fragment, \"Test Directory\").setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN).addToBackStack(null).commit();\n\n }\n });\n\n\n\n return view;\n\n }", "title": "" }, { "docid": "8ccc802c8882e5f11f30b5846e13d904", "score": "0.5900706", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View view = inflater.inflate(R.layout.fragment_member_create, container, false);\n\n nameText = (EditText) view.findViewById(R.id.input_name);\n emailText = (EditText) view.findViewById(R.id.input_email);\n mobileText = (EditText) view.findViewById(R.id.input_mobile);\n usernameText = (EditText) view.findViewById(R.id.input_username);\n addMemberBtn = (Button) view.findViewById(R.id.btn_add_member);\n memberType = (Switch) view.findViewById(R.id.switch_member_type);\n dateText = (EditText) view.findViewById(R.id.input_date);\n addressText = (EditText) view.findViewById(R.id.input_address);\n placeText = (EditText) view.findViewById(R.id.input_place);\n pincodeText = (EditText) view.findViewById(R.id.input_pincode);\n title = (TextView) view.findViewById(R.id.register_member_title);\n\n\n dateText.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n DatetimeManager datetimeManager = new DatetimeManager(dateText, getActivity());\n datetimeManager.onFocusChange(view, true);\n }\n });\n\n return view;\n }", "title": "" }, { "docid": "7af342c5cfa12a4298e7547ce1899ae4", "score": "0.58931214", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_create, container, false);\n }", "title": "" }, { "docid": "d98cb3c26146eb7a3623e465c5bdbf10", "score": "0.58892775", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View fragmentView= inflater.inflate(R.layout.fragment_fragment_spinner, container, false);\n mainGrid = fragmentView.findViewById(R.id.main_gridview);\n askMovies = fragmentView.findViewById(R.id.ask_movies);\n mainAct = (MainActivity) getActivity();\n\n\n return fragmentView;\n }", "title": "" }, { "docid": "d2ab1ccff2d18aa4a380d3484e1fee18", "score": "0.587917", "text": "private void createMovieDetailsFragment() {\n Bundle bundle = new Bundle();\n bundle.putSerializable(MOVIE_BUNDLE_KEY, movie);\n bundle.putInt(COLOR_THEME_KEY, colorTheme);\n\n MovieDetailsFragment movieDetailsFragment = new MovieDetailsFragment();\n movieDetailsFragment.setArguments(bundle);\n\n FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();\n fragmentTransaction.replace(R.id.movie_details_fragment, movieDetailsFragment, \"MovieDetailsFragment\");\n fragmentTransaction.commit();\n }", "title": "" }, { "docid": "caf060144845568ea9bfe7cc6f9a382b", "score": "0.58770144", "text": "@Override\n public void run() {\n Fragment frag = new FragmentQuizStart();\n FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n fragmentTransaction.setCustomAnimations(R.anim.popup_enter, 0);\n fragmentTransaction.replace(R.id._frame_home, frag, \"fragquizstart\");\n fragmentTransaction.commit();\n }", "title": "" }, { "docid": "530af3ec63a5403ae6120909f78f6f7a", "score": "0.58712363", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_contact, container, false);\n\n // Initialize the views for this fragment\n initializeViews(rootView);\n\n // Register listeners\n registerListeners();\n\n return rootView;\n\n }", "title": "" }, { "docid": "7c72049ae4b6cc7cea97731bb14d696b", "score": "0.5867332", "text": "private void onGridViewFragmentReady(GridViewFragment fragment)\n\t{\n\t\tLog.v(TAG, \"onGridViewFragmentReady()\");\n\t\t\n\t\t// initialize\n\t\tfragment.set(GridViewFragment.PROP_HAS_ACTION_BAR, true);\n\t\t\n\t\t// attach\n\t\tfragment.addHandler(GridViewFragment.EVENT_MEDIA_CLICKED, m_GridViewMediaClickedHandler);\n\t}", "title": "" }, { "docid": "9d265fec1155d674d5dccd4c02f1b7cd", "score": "0.58671004", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\t// Remove title bar\r\n\t\tthis.requestWindowFeature(Window.FEATURE_NO_TITLE);//removes the title bar\r\n\t\tsetContentView(R.layout.fragment_main);//setting the layout\r\n\t\tdatabaseInit();//initializing database\r\n\t\tinitialize();//initializing the variables\r\n\t\tclickPlanButton();//add a task for current day\r\n\t\tclickCountButton();//view all\r\n\t\tclickFutureTaskButton();//add a task for a future day\r\n\t\tclickPerimeterButton();//secure device option\r\n\t\tclickEnable();//enabling and disabling the lomo action\r\n\t\tclickAboutButton();//view about\r\n\t\tcheckReceiverNumber();//check whether a receiver no added or not\r\n\t\t// LocationTracker lTrack=new LocationTracker(MainScreen.this);\r\n\t\tclickHelpButton();\r\n\r\n\t}", "title": "" }, { "docid": "72da18acd883fb16aa3f5e7a1c89a682", "score": "0.58541167", "text": "@Override\n protected void onCreate(@Nullable Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_create_game);\n if (savedInstanceState == null) {\n\n //add fragment to activity\n CreateGameFragment fragment = new CreateGameFragment();\n\n getSupportFragmentManager().beginTransaction()\n .add(R.id.container_create_game, fragment)\n .commit();\n\n }\n }", "title": "" }, { "docid": "404e02380d336839504e35d8d4a0ed04", "score": "0.584313", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View v= inflater.inflate(R.layout.fragment_addfragment, container, false);\n\n\n return v;\n }", "title": "" }, { "docid": "e67583158f861ad963cc6db37cdb15cc", "score": "0.5841737", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View root = inflater.inflate(R.layout.fragment_add, container, false);\n mNameEditText = root.findViewById(R.id.profilename_input);\n\n mStartButton = root.findViewById(R.id.starttime_button);\n mStartButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n showTimePickerDialog(view);\n }\n });\n\n mEndButton = root.findViewById(R.id.endtime_button);\n mEndButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n showTimePickerDialog(view);\n }\n });\n\n mSaveButton = root.findViewById(R.id.save_profile_button);\n mSaveButton.setOnClickListener(new View.OnClickListener() {\n @RequiresApi(api = Build.VERSION_CODES.N)\n @Override\n public void onClick(View view) {\n createTimerProfile();\n Intent intent = new Intent(getContext(), MainActivity.class);\n startActivity(intent);\n }\n });\n mDayPicker = root.findViewById(R.id.weekdays);\n mDayPicker.setOnWeekdaysChangeListener(new OnWeekdaysChangeListener() {\n @Override\n public void onChange(View view, int clickedDayOfWeek, List<Integer> selectedDays) {\n\n }\n });\n mSelectAppsButton = root.findViewById(R.id.selectapps_button);\n mSelectAppsButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n launchAppSelectorActivity();\n }\n });\n mSelectLocationButton = root.findViewById(R.id.location_button);\n mSelectLocationButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder();\n try {\n startActivityForResult(builder.build(getActivity()), REQUEST_PICK_PLACE);\n } catch (GooglePlayServicesRepairableException | GooglePlayServicesNotAvailableException e) {\n e.printStackTrace();\n }\n \n }\n });\n\n addViewModel.getAllProfiles().observe(getViewLifecycleOwner(), profiles -> {\n mProfileList = profiles;\n });\n\n\n return root;\n }", "title": "" }, { "docid": "b5fe37723c0139cd8db14feadbf682ff", "score": "0.5838325", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n DrawerLayout drawerLayout = findViewById(R.id.drawer);\n Toolbar toolbar = findViewById(R.id.toolBar);\n setSupportActionBar(toolbar);\n /*toggle = new ActionBarDrawerToggle(this,drawerLayout,toolbar,R.string.open,R.string.close);\n drawerLayout.addDrawerListener(toggle);\n toggle.syncState();*/\n NavigationView navigationView = findViewById(R.id.nav_view);\n mAppBarConfiguration = new AppBarConfiguration.Builder(\n R.id.nav_home , R.id.fragmento_alerta, R.id.fragmento_retirado, R.id.fragmento_marca,\n R.id.fragmento_area, R.id.fragmento_categoria, R.id.fragmento_producto)\n .setDrawerLayout(drawerLayout)\n .build();\n NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment);\n NavigationUI.setupActionBarWithNavController(this, navController, mAppBarConfiguration);\n NavigationUI.setupWithNavController(navigationView, navController);\n\n /*navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem item) {\n int id=item.getItemId();\n Fragment fragment = null;\n switch (id)\n {\n case R.id.nav_home:\n fragment= new Home_fragment();\n loadFragment(fragment);\n break;\n case R.id.fragmento_alerta:\n fragment= new Alerta_fragment();\n loadFragment(fragment);\n break;\n case R.id.nav_gallery:\n fragment= new Retirado_fragment();\n loadFragment(fragment);\n break;\n case R.id.fragmento_producto:\n break;\n case R.id.fragmento_marca:\n break;\n case R.id.fragmento_categoria:\n break;\n case R.id.nav_slideshow:\n break;\n default:\n return true;\n }\n return true;\n }\n });*/\n }", "title": "" }, { "docid": "158e291a093d21fbd8e9659b0d694513", "score": "0.5830821", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.main);\n mContext = this;\n setUpMenu();\n // changeFragment(new VideoFragment());\n changeFragment(new HomeFragment());\n \n //ShareSDK\n ShareSDK.initSDK(this,\"2bdb3893adc0\");\n }", "title": "" }, { "docid": "e5c5fead139017085bf2ab278f13d54c", "score": "0.58301276", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_main,container,false);\n\n View aboutButotn = rootView.findViewById(R.id.about_button);\n aboutButotn.setOnClickListener(new View.OnClickListener(){\n @Override\n public void onClick(View v) {\n AlertDialog.Builder builder = new AlertDialog.Builder(getActivity())\n .setTitle(R.string.about_title)\n .setMessage(R.string.about_text)\n .setCancelable(false)\n .setPositiveButton(R.string.ok_label,\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n\n }\n });\n mDialog= builder.show();\n }\n });\n\n\n\n return rootView;\n }", "title": "" }, { "docid": "728e790908d856d470c56f9b47802a8a", "score": "0.5824378", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n View layout = inflater.inflate(R.layout.fragment_new_task, container, false);\n\n Button addTaskBtn = layout.findViewById(R.id.addTaskBtn);\n EditText newTaskET = layout.findViewById(R.id.newTaskET);\n\n addTaskBtn.setOnClickListener(\n\n (view) -> {\n\n String task = newTaskET.getText().toString();\n listener.onTaskAdded(task);\n\n });\n\n return layout;\n }", "title": "" }, { "docid": "8876fac13ce0b651503116e47be92ae8", "score": "0.5822906", "text": "private void addFragment()\r\n\t{\r\n\t\tCustomFragment f = new CrimeReportList();\r\n\t\t\r\n\t\tgetSupportFragmentManager().beginTransaction()\r\n\t\t\t\t.replace(R.id.content_frame, f).commit();\r\n\t}", "title": "" }, { "docid": "ce921d69a726d1b648113fb74274948e", "score": "0.58216953", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n Log.d(\"create\", \"Set content view\");\n //Sets exception handler to log exceptions not caught by app\n Thread.setDefaultUncaughtExceptionHandler(new TopExceptionHandler());\n\n //Builds AlertDialog builders\n networkAlertDialogBuilder = new AlertDialog.Builder(this);\n playServicesConnectivityAlertDialogBuilder = new AlertDialog.Builder(this);\n noGpsAlertDialogBuilder = new AlertDialog.Builder(this);\n onCampusFeatureAlertDialogBuilder = new AlertDialog.Builder(this);\n Log.d(\"create\", \"Finished building dialogs\");\n //check availability of play services for location data\n Log.d(\"create\", \"Finished instantiating Google services\");\n //managing fragments an UI\n final FragmentManager manager=getSupportFragmentManager();\n adapter=new MyFragmentPagerAdapter(manager);\n adapter.initialize(this, manager);\n final NoSwipeViewPager viewPager = (NoSwipeViewPager) findViewById(R.id.pager);\n viewPager.setAdapter(adapter);\n //keeps all pages cached\n viewPager.setOffscreenPageLimit(4);\n final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout);\n Log.d(\"create\", \"Built tab layout\");\n tabLayout.post(new Runnable() {\n @Override\n public void run() {\n tabLayout.setupWithViewPager(viewPager);\n }\n });\n Log.d(\"create\", \"Posted views to tabs\");\n tabLayout.setOnTabSelectedListener(\n new TabLayout.ViewPagerOnTabSelectedListener(viewPager)\n );\n\n\n viewPager.addOnPageChangeListener(new TabLayout.TabLayoutOnPageChangeListener(tabLayout));\n\n\n tabLayout.setTabsFromPagerAdapter(adapter);\n\n //Requests information\n if(isConnectedToNetwork()) {\n //requestGeofences();\n //requestEvents();\n // requestQuests();\n }\n }", "title": "" }, { "docid": "2f7e63d8128234faf174e6a494b180cd", "score": "0.5821154", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_my, container, false);\n unbinder = ButterKnife.bind(this, view);\n EventBus.getDefault().register(this);\n initData();\n presenter=new MinePresenter();\n presenter.attachView(this);\n\n return view;\n }", "title": "" }, { "docid": "0e1443c7427bbd7543e9ee45837b5076", "score": "0.58189535", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_my_events, container, false);\n intialize(view);\n return view;\n }", "title": "" }, { "docid": "0d7c8c358d83ebb6d1b13565d7c26ee9", "score": "0.5818492", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n if (savedInstanceState == null) {\n getSupportFragmentManager()\n .beginTransaction()\n .add(R.id.content, new MuseumsFragment(), null)\n .commit();\n }\n\n /* ActionBar actionBar = getSupportActionBar();\n actionBar.setDisplayHomeAsUpEnabled(true);\n\n getSupportActionBar().setDisplayHomeAsUpEnabled(true);\n getSupportActionBar().setHomeButtonEnabled(true);\n mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);\n mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, 0, 0);\n mDrawerLayout.addDrawerListener(mDrawerToggle);*/\n\n DatabaseMuseum.load();\n\n }", "title": "" } ]
602d420fdd80c1b30b903aa74bd583c4
The sockets that the server is listening on. There are no ordering guarantees. This may be absent. repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
[ { "docid": "f488b0f287c15b24cecfc9b4aff52e56", "score": "0.56896955", "text": "public Builder setListenSocket(\n int index, io.grpc.channelz.v1.SocketRef value) {\n if (listenSocketBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListenSocketIsMutable();\n listenSocket_.set(index, value);\n onChanged();\n } else {\n listenSocketBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" } ]
[ { "docid": "079da11b7ef5606a89daff6a995d4e8d", "score": "0.8017183", "text": "public java.util.List<io.grpc.channelz.v1.SocketRef> getListenSocketList() {\n return listenSocket_;\n }", "title": "" }, { "docid": "c880a4dd24db55e3ca133c7e764c050d", "score": "0.79216737", "text": "public java.util.List<? extends io.grpc.channelz.v1.SocketRefOrBuilder> \n getListenSocketOrBuilderList() {\n return listenSocket_;\n }", "title": "" }, { "docid": "0c1170aaf3f11f54ca389d7c80912809", "score": "0.7653284", "text": "public java.util.List<io.grpc.channelz.v1.SocketRef> getListenSocketList() {\n if (listenSocketBuilder_ == null) {\n return java.util.Collections.unmodifiableList(listenSocket_);\n } else {\n return listenSocketBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "42b09211c5d8cca8800a24e1b73c56d9", "score": "0.7647401", "text": "public java.util.List<? extends io.grpc.channelz.v1.SocketRefOrBuilder> \n getListenSocketOrBuilderList() {\n if (listenSocketBuilder_ != null) {\n return listenSocketBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(listenSocket_);\n }\n }", "title": "" }, { "docid": "9733eeb459ea499b1b5d8794339c07a7", "score": "0.7634799", "text": "public int getListenSocketCount() {\n return listenSocket_.size();\n }", "title": "" }, { "docid": "b1f31c889f1481f560351a8e2db31f40", "score": "0.7429513", "text": "public io.grpc.channelz.v1.SocketRefOrBuilder getListenSocketOrBuilder(\n int index) {\n return listenSocket_.get(index);\n }", "title": "" }, { "docid": "016fce7eabd574dffa675d2c37287333", "score": "0.7228886", "text": "public int getListenSocketCount() {\n if (listenSocketBuilder_ == null) {\n return listenSocket_.size();\n } else {\n return listenSocketBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "24b3d1f1e99263f8d0df609696943da4", "score": "0.7161619", "text": "public io.grpc.channelz.v1.SocketRef getListenSocket(int index) {\n return listenSocket_.get(index);\n }", "title": "" }, { "docid": "5d00ef3d489e1fdd45f41dbd8f06a9ac", "score": "0.6942056", "text": "public io.grpc.channelz.v1.SocketRefOrBuilder getListenSocketOrBuilder(\n int index) {\n if (listenSocketBuilder_ == null) {\n return listenSocket_.get(index); } else {\n return listenSocketBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "d9c3da35dea1e93bbefd9360337398b4", "score": "0.67783594", "text": "public io.grpc.channelz.v1.SocketRef getListenSocket(int index) {\n if (listenSocketBuilder_ == null) {\n return listenSocket_.get(index);\n } else {\n return listenSocketBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "7aced8c3a85ca3fb3edcb7acc8665a5a", "score": "0.66452014", "text": "public java.util.List<io.grpc.channelz.v1.SocketRef.Builder> \n getListenSocketBuilderList() {\n return getListenSocketFieldBuilder().getBuilderList();\n }", "title": "" }, { "docid": "2976547261b7403d2a1b4237dfe0f29b", "score": "0.64514565", "text": "public List<Socket> getConnections();", "title": "" }, { "docid": "c733a070a24c6c8f0c01bc97c230f9f6", "score": "0.63130724", "text": "public Builder addAllListenSocket(\n java.lang.Iterable<? extends io.grpc.channelz.v1.SocketRef> values) {\n if (listenSocketBuilder_ == null) {\n ensureListenSocketIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, listenSocket_);\n onChanged();\n } else {\n listenSocketBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" }, { "docid": "a7b5c7d9ca4774513b8f6328324116e4", "score": "0.6305719", "text": "InetSocketAddress getListenAddress();", "title": "" }, { "docid": "4288c4467c105d7e1683197bc03a1ed0", "score": "0.6275009", "text": "public io.grpc.channelz.v1.SocketRef.Builder addListenSocketBuilder() {\n return getListenSocketFieldBuilder().addBuilder(\n io.grpc.channelz.v1.SocketRef.getDefaultInstance());\n }", "title": "" }, { "docid": "6de45d5362b35cc3985f948948252f82", "score": "0.6117565", "text": "public Builder addListenSocket(io.grpc.channelz.v1.SocketRef value) {\n if (listenSocketBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListenSocketIsMutable();\n listenSocket_.add(value);\n onChanged();\n } else {\n listenSocketBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "0ac85c89dd6f4c593304b408e8e7d0a1", "score": "0.6031466", "text": "public int getListenPort() {\n final ServerSocket s = serverSocket.get();\n if (s == null) {\n return -1;\n } else {\n return s.getLocalPort();\n }\n }", "title": "" }, { "docid": "79936071f1a873b261b8e7a27b467878", "score": "0.5956919", "text": "public int getSocket() {\n return socket;\n }", "title": "" }, { "docid": "fe0b747861d67446e0578a0bf7e28470", "score": "0.57553357", "text": "private void listen(){\r\n\t\tserverSocket = null;\r\n\t\ttry {\r\n\t\t serverSocket = new ServerSocket(4444);\r\n\t\t} catch (IOException e) {\r\n\t\t System.out.println(\"Could not listen on port: 4444\");\r\n\t\t System.exit(-1);\r\n\t\t}\r\n\t\tclients = new HashSet<ConnectedClient>();\r\n\t\twhile(true){\r\n\t\t\tSocket clientSocket = null;\r\n\t\t\ttry {\r\n\t\t\t clientSocket = serverSocket.accept();\r\n\t\t\t \r\n\t\t\t ServerConnection connection = new ServerConnection(clientSocket);\r\n\t\t\t new ConnectedClient(connection, this);\r\n\t\t\t \r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\tif (isStopped){\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t} else {\r\n\t\t\t\t System.out.println(\"Accept failed: 4444\");\r\n\t\t\t\t System.exit(-1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "43a514741673adb1f5144ddbe52ea50d", "score": "0.5742804", "text": "private void listen() {\n\t\ttry {\n\t\t\tserverSocket = new ServerSocket(this.portNum);\n\t\t\tlog.log(Level.CONFIG,\"listening on port: \"+this.portNum);\n\t\t} catch (IOException e) {\n\t\t\tlog.log(Level.SEVERE,\"failed listening on port: \"+this.portNum);\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "2ea19dd7f7ab0a64eba489ae39c18125", "score": "0.5737534", "text": "public boolean canListen();", "title": "" }, { "docid": "f4fc1820336f1da2f77153114a666a4a", "score": "0.571729", "text": "public Builder addListenSocket(\n int index, io.grpc.channelz.v1.SocketRef value) {\n if (listenSocketBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListenSocketIsMutable();\n listenSocket_.add(index, value);\n onChanged();\n } else {\n listenSocketBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "22b72dd5a5267f98ee9a064c95394cab", "score": "0.57045275", "text": "ServerSocket getServerSocket() throws IOException;", "title": "" }, { "docid": "1ccc0ceaa72c3b54ba52c3f7758ba9f8", "score": "0.5700404", "text": "int getSenderListeningPort();", "title": "" }, { "docid": "468a47943b6d89726a68c4d787dbff0b", "score": "0.5668977", "text": "public Set<InetSocketAddress> getHelperSockets() {\n return helperSockets;\n }", "title": "" }, { "docid": "02e1da410e0d959819138878f801576e", "score": "0.56061506", "text": "public interface SocketListener {\n void onConnected();\n\n void onDisConnected();\n\n }", "title": "" }, { "docid": "cb3c581d6b4cc32435a36be75389ed4e", "score": "0.55858374", "text": "public Builder clearListenSocket() {\n if (listenSocketBuilder_ == null) {\n listenSocket_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000004);\n onChanged();\n } else {\n listenSocketBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "e0ea515d7483fd081f2f3b3d1c1bf309", "score": "0.55702794", "text": "public int getLocalPort() {\n return serverSocket.getLocalPort();\n }", "title": "" }, { "docid": "ab7e4b692e4b4e253e115eda72bc6ff2", "score": "0.5544567", "text": "public LocalSocket getSocket() {\n return mSocket;\n }", "title": "" }, { "docid": "ecbcd413ac839e5a37a9cdae3a7bcea2", "score": "0.5544282", "text": "public Builder addListenSocket(\n io.grpc.channelz.v1.SocketRef.Builder builderForValue) {\n if (listenSocketBuilder_ == null) {\n ensureListenSocketIsMutable();\n listenSocket_.add(builderForValue.build());\n onChanged();\n } else {\n listenSocketBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }", "title": "" }, { "docid": "9a31736bb0d89b588b0d3d60bade6fd5", "score": "0.5543182", "text": "public DatagramSocket getSocket() {\n\t\treturn socket;\n\t}", "title": "" }, { "docid": "4ac9b7686e2014eedda2b0b7820a525b", "score": "0.5539907", "text": "public io.grpc.channelz.v1.SocketRef.Builder addListenSocketBuilder(\n int index) {\n return getListenSocketFieldBuilder().addBuilder(\n index, io.grpc.channelz.v1.SocketRef.getDefaultInstance());\n }", "title": "" }, { "docid": "36d4751927e2e112c4fed40998e70824", "score": "0.55139315", "text": "public io.grpc.channelz.v1.SocketRef.Builder getListenSocketBuilder(\n int index) {\n return getListenSocketFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "87923d3bb0a77f01098b75f1c552a78e", "score": "0.5482957", "text": "public Socket getSocket() {\n\t\treturn _socket;\n\t}", "title": "" }, { "docid": "3221e5c107cb4fe61f7ec604a184a974", "score": "0.5476262", "text": "public NetServer listen() {\n this.delegate.listen();\n return this;\n }", "title": "" }, { "docid": "c2b1251a1b032f6e5c5d5680b2d95750", "score": "0.54645544", "text": "public Socket getSocket();", "title": "" }, { "docid": "92a8ec34188397a431a732f0622b43b6", "score": "0.5437548", "text": "public Socket getSocket() {\n\t\treturn socket;\n\t}", "title": "" }, { "docid": "1ce84e27b0365485e3a29b35b0f387c2", "score": "0.5431554", "text": "public int getSocketId() {\n return socketId_;\n }", "title": "" }, { "docid": "1ce84e27b0365485e3a29b35b0f387c2", "score": "0.5431554", "text": "public int getSocketId() {\n return socketId_;\n }", "title": "" }, { "docid": "99c81a6e63ab80ca7b518955904461e0", "score": "0.5430505", "text": "public int getSocketId() {\n return socketId_;\n }", "title": "" }, { "docid": "99c81a6e63ab80ca7b518955904461e0", "score": "0.5430505", "text": "public int getSocketId() {\n return socketId_;\n }", "title": "" }, { "docid": "3f6461e21a42e2fac20d3d0e70eb4eda", "score": "0.5421108", "text": "public int getCurrentlyForwardedConnections()\n\t{\n\t\tint forwardedConnections = 0;\n\t\tsynchronized (m_connectionHandler)\n\t\t{\n\t\t\t/* get a consistent value */\n\t\t\tforwardedConnections = m_connectionHandler.size();\n\t\t}\n\t\treturn forwardedConnections;\n\t}", "title": "" }, { "docid": "ba86901b8dd72456aa176f79db82c06a", "score": "0.5400007", "text": "public Socket getSocket() {\n return socket;\n }", "title": "" }, { "docid": "f85bdf4b3cea5319939e1029d3f4bfd5", "score": "0.5387138", "text": "public interface SocketListener\n{\n\tpublic static final String SOCKET_CONNECTION_FAILED = \"com.jiayuan.service.socket.SocketService.connection_failed\";\n\tpublic static final String SOCKET_CONNECTION_READY = \"com.jiayuan.service.socket.SocketService.connection_ready\";\n\t\n\t/**\n\t * call on related data received from server\n\t * @param p\n\t */\n\tpublic void onDataReceived(Protocol p);\n\t\n\t/**\n\t * notify on connection status changed\n\t * @param newStatus\n\t */\n\tpublic void onConnectionStatusChanged(String newStatus);\n}", "title": "" }, { "docid": "26f9fbd6ca186779e0f4af680a9e1a10", "score": "0.5384281", "text": "private DatagramSocket getMessagesServerSocket() {\n if (messagesServerSocket == null) {\n try {\n messagesServerSocket = new DatagramSocket();\n } catch (SocketException e) {\n e.printStackTrace();\n }\n }\n\n return messagesServerSocket;\n }", "title": "" }, { "docid": "c5dc52641487dc1486b3686066924e79", "score": "0.5372026", "text": "public void setSocket(int value) {\n this.socket = value;\n }", "title": "" }, { "docid": "0cc248841ba9f341be2f69ef71b23ea6", "score": "0.53591824", "text": "public static native int listen (int fileDescriptor);", "title": "" }, { "docid": "ff010053f0f4370fbcd47f1ae0824827", "score": "0.53577405", "text": "List<InetSocketAddress> getRegisteredServers();", "title": "" }, { "docid": "710e709024f26d7eb6a9bfb135688c83", "score": "0.53548056", "text": "public boolean hasSocketId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "710e709024f26d7eb6a9bfb135688c83", "score": "0.53548056", "text": "public boolean hasSocketId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "573b4f2a8ec0ac8632d9a117f3d7e26d", "score": "0.5339471", "text": "public synchronized NioSocketAcceptor getSocketAcceptor()\n {\n return socketAcceptor;\n }", "title": "" }, { "docid": "194bb3e6b32bc3cb3ec54c463650f017", "score": "0.53335565", "text": "public int getServerBindPort()\n {\n return serverBindPort;\n }", "title": "" }, { "docid": "8ee6b2d18d204fac5e12834d3fcf6665", "score": "0.5332363", "text": "public Socket getSocket() { \n\t\treturn socket;\n\t\t}", "title": "" }, { "docid": "c00db4b164b514f8ce0ad1148ee2fca6", "score": "0.5326922", "text": "public Socket getSocket()\n {\n return socket;\n }", "title": "" }, { "docid": "73fbc56227c1da50798d28ba0333ad87", "score": "0.5320449", "text": "public boolean hasSocketId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "73fbc56227c1da50798d28ba0333ad87", "score": "0.5320449", "text": "public boolean hasSocketId() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "9b1ba6ef41ea0c7c06dd0e9cf3d80c34", "score": "0.5302632", "text": "public boolean getSocketStarted()\n {\n return openRateSoc.getStarted();\n }", "title": "" }, { "docid": "2d915d940854c2fbe708b817575edcbf", "score": "0.52692395", "text": "public ServerSocket getServ() {\r\n\t\treturn serv;\r\n\t}", "title": "" }, { "docid": "6836332e611bcf451830fd3aa98224f0", "score": "0.52686995", "text": "public synchronized int getListenerCount()\n {\n return listeners.size();\n }", "title": "" }, { "docid": "510c8e896cda359af86f7f1d4fff3c10", "score": "0.5265431", "text": "@Test public void testListeningMultipleConnections() {\n\t\ttry {\n\t\t\tSocket socket1 = new Socket( Inet4Address.getLocalHost(), port );\n\t\t\tDataOutputStream out1 = new DataOutputStream( socket1.getOutputStream() );\n\t\t\tSocket socket2 = new Socket( Inet4Address.getLocalHost(), port );\n\t\t\tDataOutputStream out2 = new DataOutputStream( socket2.getOutputStream() );\n\n\t\t\tout1.writeInt( 1 );\n\t\t\tout2.writeInt( 1 );\n\n\t\t\tSystem.out.println( Inet4Address.getLocalHost() );\n\t\t\tSystem.out.println( communicator.getNumConnections() );\n\n\t\t\tassertTrue( communicator.getNumConnections() == 2 );\n\n\t\t\tsocket1.close();\n\t\t\tsocket2.close();\n\t\t} catch ( IOException e ) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "a185abdd2745cf05d7e450d8876362bf", "score": "0.5261825", "text": "List<WebSocketClientListener> getListeners();", "title": "" }, { "docid": "1d854f325ba2809078b77936a854abfb", "score": "0.5239733", "text": "public Builder addListenSocket(\n int index, io.grpc.channelz.v1.SocketRef.Builder builderForValue) {\n if (listenSocketBuilder_ == null) {\n ensureListenSocketIsMutable();\n listenSocket_.add(index, builderForValue.build());\n onChanged();\n } else {\n listenSocketBuilder_.addMessage(index, builderForValue.build());\n }\n return this;\n }", "title": "" }, { "docid": "9f49fe5d230c4e90b57b4265e5720245", "score": "0.52353317", "text": "private static NettySocket getCurrent() {\n if (SystemUtils.IS_OS_LINUX) {\n return E_POLL;\n } else if (SystemUtils.IS_OS_MAC) {\n return K_QUEUE;\n } else {\n return NIO;\n }\n }", "title": "" }, { "docid": "22727bd9ab7f3ad80c5265599ba19cad", "score": "0.5234833", "text": "public ServerConnectionListener getListener() {\n return listener;\n }", "title": "" }, { "docid": "f23372dd1fb4ac9991055431041b9079", "score": "0.52241445", "text": "private String listen() throws IOException {\r\n\t\tString msg = udp.listen();\r\n\t\tSystem.out.println(msg);\r\n\t\treturn msg;\r\n\t}", "title": "" }, { "docid": "29ec3f8872d9d2287b2fff905685c3cc", "score": "0.5217739", "text": "public void listenSocket() {\n\t\tline = \"\";\n\t\twhile (!this.stop) {\n\t\t\ttry {\n\t\t\t\tif ((line = in.readLine()) != null) {\n\t\t\t\t\tif (line.equals(\"ping\"))\n\t\t\t\t\t\tthis.println(\"pong\");\n\t\t\t\t\t\n\t\t\t\t\telse if (line.equals(\"exit\")) {\n\t\t\t\t\t\tthis.println(\"exit\");\n\t\t\t\t\t\tlink.Exit();\n\t\t\t\t\t\tthis.stop = true;\n\t\t\t\t\t\t\n\t\t\t\t\t} else if (line.equals(\"move\")) {\n\t\t\t\t\t\tthis.println(\"ready\");\n\t\t\t\t\t\tready = link.ReadyToMove();\n\t\t\t\t\t\t\n\t\t\t\t\t} else if (ready == true) {\n\t\t\t\t\t\tthis.println(\"received\");\n\t\t\t\t\t\tready = false;\n\t\t\t\t\t\tlink.SetBoardAndColor(line);\n\t\t\t\t\t\tlink.StartCalculation();\n\t\t\t\t\t\t\n\t\t\t\t\t} else if (line.equals(\"timesup\")) {\n\t\t\t\t\t\tthis.println(link.TimesUp());\n\t\t\t\t\t\t\n\t\t\t\t\t} else{\n\t\t\t\t\t\tlink.SetBoard(line);\t// Will not work if the format does not match\n\t\t\t\t\t\tlink.SetColor(line);\t// Will not work if the format does not match\n\t\t\t\t\t\tSystem.out.println(line);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tJOptionPane.showMessageDialog(null,\n\t\t\t\t\t\t\"Client; Listening to socket failed on port: \" + port\n\t\t\t\t\t\t\t\t+ \"\\n\\n\" + e);\n\t\t\t\tSystem.exit(-1);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "17b89bf79c49267aaa0e552b3ee709ba", "score": "0.52108747", "text": "public int getPort() {\n if (this.serverSocket == null)\n return -1;\n return this.serverSocket.getLocalPort(); // Will return -1 if not bound.\n }", "title": "" }, { "docid": "d3297bd89fa5ef902f0eb4bbdf600d12", "score": "0.51955336", "text": "public boolean isListening(){\n return isConnected() && listener != null && listener.isAlive() && errors == 0;\n }", "title": "" }, { "docid": "833ddde494151e0768c709c52706adde", "score": "0.5193265", "text": "public ListenToPort(ServerSocket serverSocket) {\n\t\tthis.serverSocket = serverSocket;\n\t}", "title": "" }, { "docid": "73195e89e7a54877b3be852a53a78e77", "score": "0.5187488", "text": "private void listen() {\n try {\n final ByteBuffer buffer = ByteBuffer.allocateDirect(4096);\n this.prepare();\n this.listenerThreadStartedSignaller.signal();\n while (true) {\n final SocketAddress remoteAddress = this.read(buffer);\n buffer.flip();\n if (!this.shouldBeListening) {\n break;\n }\n // Ensures thread isn't interrupted (because we should be listening)\n Thread.interrupted();\n this.notifyDataListeners(remoteAddress, Buffers.copy(buffer));\n buffer.clear();\n }\n } catch (Exception ex) {\n // Silently ignore the exception, as the loop will exit if the connection drops.\n } finally {\n this.onListeningStopped();\n }\n }", "title": "" }, { "docid": "3f58390b8d2e513b0fab7230c233ccb2", "score": "0.5187485", "text": "public int getListenerCount() {\n return listenerList.length;\n }", "title": "" }, { "docid": "91531f70ff16d07219df0fa8e0610fb6", "score": "0.51760656", "text": "private void initSocket() {\n\t\ttry {\n\t\t\tselector = Selector.open();\n\t\t\tserverSocketChannel = ServerSocketChannel.open();\n\t\t\t// Set to non-blocking.\n\t\t\tserverSocketChannel.configureBlocking(false);\n\t\t\tserverSocketChannel.socket().bind(new InetSocketAddress(SERVER_PORT));\n\t\t\tserverSocketChannel.register(selector, SelectionKey.OP_ACCEPT);\n\t\t\tSystem.out.println(\"[Server] Started. Listening on port: \"+serverSocketChannel.socket().getLocalPort());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "e993f00296480a0bbaa7059ed27a8066", "score": "0.51662177", "text": "public void listen() {\n PortListener watch = new PortListener(this, PORT);\n watch.start();\n portBound = watch.getValidBindState();\n }", "title": "" }, { "docid": "bb55e41b7fe49b18113fc0a7162d8453", "score": "0.5160902", "text": "@java.lang.Override\n public int getSenderListeningPort() {\n return senderListeningPort_;\n }", "title": "" }, { "docid": "49dec761a362f5596e4e79e9f9c9f66d", "score": "0.51588374", "text": "public String getListenPort() {\n\t\treturn listenPortField.getText();\n\t}", "title": "" }, { "docid": "f08e1aaa583f7f4a72e8a9cd18ee2fcd", "score": "0.5156033", "text": "@java.lang.Override\n public int getSenderListeningPort() {\n return senderListeningPort_;\n }", "title": "" }, { "docid": "3a98b14ce604bd007fbed40532d1623c", "score": "0.51543677", "text": "public List<String> readSocket() {\n\t\tSocket clientSocket = acceptClient();\n\t\tList<String> Messages = new ArrayList<String>();\n\t\tString buffer;\n\t\ttry {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));\n\t\t\twhile(true) {\n\t\t\t\tbuffer = input.readLine();\n\t\t\t\tif (buffer.startsWith(\"terminate\")) {\n\t\t\t\t\tString termMessage = GlamourPrint.badString(\"Received termination signal!\");\n\t\t\t\t\tSystem.out.println(\"\\t\" + this.NodeName + \": \" + termMessage);\n\t\t\t\t\tclientSocket.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tMessages.add(buffer);\n\t\t\t\tString messageSig = \": \" + GlamourPrint.goodString(\"Received: \")+ \"\\\"\" + buffer + \"\\\"\";\n\t\t\t\tSystem.out.println(\"\\t\" + this.NodeName + messageSig);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t\treturn Messages;\n\t}", "title": "" }, { "docid": "38c477b16c1b2c3bf54020e4f8afd8bc", "score": "0.51524603", "text": "@Override\r\n public InetSocketAddress getlocalAddress() {\r\n if (isConnected()) {\r\n Socket socket = sockets.values().iterator().next();\r\n return new InetSocketAddress(socket.getLocalAddress(), socket.getLocalPort());\r\n } else {\r\n return super.getlocalAddress();\r\n }\r\n }", "title": "" }, { "docid": "dd7fa8f7236387fc4b76d17d60c5bedc", "score": "0.5142771", "text": "public ServerSocket getServer() {\n return server;\n }", "title": "" }, { "docid": "21c7db1cf1b402b9693f74677fbed69d", "score": "0.5117568", "text": "public Builder setListenSocket(\n int index, io.grpc.channelz.v1.SocketRef.Builder builderForValue) {\n if (listenSocketBuilder_ == null) {\n ensureListenSocketIsMutable();\n listenSocket_.set(index, builderForValue.build());\n onChanged();\n } else {\n listenSocketBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }", "title": "" }, { "docid": "570a282eea5c596a54c7928af2b8908d", "score": "0.5116356", "text": "public CompletableFuture<NettyServerTransport> bind() {\r\n String listenAddress = config.getListenAddress();\r\n String listenInterface = config.getListenInterface();\r\n boolean preferIPv6 = config.isPreferIPv6();\r\n int port = config.getPort();\r\n int finalPort = port + config.getPortCount();\r\n InetAddress bindAddress = Addressing.getLocalIpAddress(listenAddress, listenInterface, preferIPv6);\r\n return bind0(bindAddress, port, finalPort);\r\n }", "title": "" }, { "docid": "36ac4e1c1bc4c7079173bf1b58a2f60d", "score": "0.5109415", "text": "public Map<ChannelOption<?>, Object> getOptions() {\n/* 60 */ return getOptions(super\n/* 61 */ .getOptions(), new ChannelOption[] { ChannelOption.SO_BROADCAST, ChannelOption.SO_RCVBUF, ChannelOption.SO_SNDBUF, ChannelOption.SO_REUSEADDR, ChannelOption.IP_MULTICAST_LOOP_DISABLED, ChannelOption.IP_MULTICAST_ADDR, ChannelOption.IP_MULTICAST_IF, ChannelOption.IP_MULTICAST_TTL, ChannelOption.IP_TOS, ChannelOption.DATAGRAM_CHANNEL_ACTIVE_ON_REGISTRATION, UnixChannelOption.SO_REUSEPORT });\n/* */ }", "title": "" }, { "docid": "2279517bfc911d04b795f49cabcdbb25", "score": "0.51055914", "text": "public static int[] getPortsToOpen() {\n\t\treturn new int[]{22, 6627, 8080, 80};\n\t}", "title": "" }, { "docid": "9ea130d53a8f80de70e8ec03940b99f6", "score": "0.50987023", "text": "public SensorMode getListenMode() { return this.getSensorMode(US_LISTEN); }", "title": "" }, { "docid": "42f7b41db8359312950e8aa5bf4fe3fb", "score": "0.5087668", "text": "int getServerBindPort();", "title": "" }, { "docid": "51412c26c0c676be75789512ac3a573e", "score": "0.50724137", "text": "public List<Integer> ports() {\n return this.ports;\n }", "title": "" }, { "docid": "85f56781660b356f37c2fac9b99db67c", "score": "0.507", "text": "public int getRemotePort() {\n\t\treturn socket.getPort();\n\t}", "title": "" }, { "docid": "7795bb91a316dbe01a128b7398743817", "score": "0.5065745", "text": "TcpSocket accept() throws JistAPI.Continuation;", "title": "" }, { "docid": "c8eb548230c5183fab0312e9a0e581f0", "score": "0.50416285", "text": "public int getProtocolsCount() {\n return protocols_.size();\n }", "title": "" }, { "docid": "cf5a3b08c9ee543641ca7cccc0b69fc6", "score": "0.50368583", "text": "public Socket getSocket(){\n return socket;\n }", "title": "" }, { "docid": "aaabb706370dfcc09735fbf31ed77d4a", "score": "0.50313663", "text": "public void startServerSocket() {\n LOGGER.info(Messages.MESSAGE_LOGGING_INFO_SOCKET_STARTING);\n networkExecutor.execute(new ServerSocketManager(this, Config.CONFIG_SERVER_SOCKET_PORT));\n }", "title": "" }, { "docid": "2e9fb15bd655a8d9bab03597ba745bbb", "score": "0.50245434", "text": "private void openChannels() throws IOException {\n servSelector = Selector.open();\n boolean portOpen = false;\n IOException lastException = null;\n\n for (final int listenPort : config.getHttpListenPorts()) {\n try {\n openChannel(listenPort, Boolean.FALSE);\n portOpen = true;\n } catch (final IOException e) {\n lastException = e;\n config.getLogger().severe(\"Port \" + listenPort + \": \" + e.getMessage());\n }\n }\n if (sslContext != null) {\n for (final int listenPort : config.getHttpsListenPorts()) {\n try {\n openChannel(listenPort, Boolean.TRUE);\n portOpen = true;\n } catch (final IOException e) {\n lastException = e;\n config.getLogger().severe(\"Port \" + listenPort + \": \" + e.getMessage());\n }\n }\n }\n if ((!portOpen) && (lastException != null))\n throw lastException;\n }", "title": "" }, { "docid": "440b40f921f71dba4a8540d772a63dca", "score": "0.50229585", "text": "public int getServerPort() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "c960f70508f78055899501ba159e35f0", "score": "0.5018492", "text": "int GetConnectedClients();", "title": "" }, { "docid": "0532bde047dbd9e15a00b70441103605", "score": "0.50039285", "text": "public boolean socketInitialized() {\n\t\treturn ! (coprocessorSock == null);\n\t}", "title": "" }, { "docid": "3d562ec6d2297d20fc45d4a7d620f797", "score": "0.49775964", "text": "@Override\n public int getPort() {\n synchronized (this) {\n if (socket != null) return socket.getLocalPort();\n }\n return super.getPort();\n }", "title": "" }, { "docid": "ce12788c092941e4033e2b8a2493db20", "score": "0.49740773", "text": "@Override\n\tpublic String readBufferListening() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b02ab258458b40e3b93184ea234aaed0", "score": "0.4973922", "text": "private void portFinder()\n {\n while (true)\n {\n try {\n server = new DatagramSocket(portCounter.get() , GV.Ip);\n break;\n } catch (SocketException e) {\n portCounter.getAndIncrement();\n continue;\n }\n }\n }", "title": "" }, { "docid": "8041f455b6d71cc7cca76007c9fcef7b", "score": "0.49692613", "text": "public Socket getSocket(){\n return processorTask.getSocket();\n }", "title": "" }, { "docid": "83081c5cd1638c41dadb0838e75d3dfd", "score": "0.49679795", "text": "protected final DatagramSocket getDatagramSocket() {\n return m_srvSock;\n }", "title": "" } ]
2809355db835555f349231370e1bfe04
Sets whether the RowColHeadings are shown in a viewer
[ { "docid": "bb5cab388596c02ac0b95f7a33199206", "score": "0.73849344", "text": "public void setDisplayRowColHeadings(boolean show)\n {\n _sh.setDisplayRowColHeadings(show);\n }", "title": "" } ]
[ { "docid": "482de4270c3fce29597c63ab6a206815", "score": "0.70982754", "text": "public boolean isDisplayRowColHeadings()\n {\n return _sh.isDisplayRowColHeadings();\n }", "title": "" }, { "docid": "6f250dbfa09e4f029787a33bbc309b9d", "score": "0.6383465", "text": "public void setShowGridHeader(java.lang.Object showGridHeader) {\n this.showGridHeader = showGridHeader;\n }", "title": "" }, { "docid": "8d45fc39720d646295cfdb83f7d3d816", "score": "0.613556", "text": "public void setShowRowHeader(boolean showHeader) {\n\t\tshowRowHeader = showHeader;\n\t\tif (showHeader) {\n\t\t\tsetRowHeader(rowHeader);\n\t\t} else {\n\t\t\tscrollGrid.setRowHeaderView(null);\n\t\t}\n\t}", "title": "" }, { "docid": "93a338f61dbf95b153bee185cdf9a930", "score": "0.61285704", "text": "public void setShowHeaders(boolean showHeader) {\n\t\tsetShowRowHeader(showHeader);\n\t\tsetShowColumnHeader(showHeader);\n\t}", "title": "" }, { "docid": "d3f95794f0182aac521e28c28bce5deb", "score": "0.6092575", "text": "public boolean getShowHeaders() {\n\t\treturn showRowHeader && showColumnHeader;\n\t}", "title": "" }, { "docid": "385966daeb3b7811d1750c967292fe44", "score": "0.6051092", "text": "public void setGrid(final boolean theGrid) {\r\n myGridShow = theGrid;\r\n }", "title": "" }, { "docid": "edf64f78bb9a6f605cfdd505dd674f59", "score": "0.6012523", "text": "public void setShowColumnHeader(boolean showHeader) {\n\t\tshowColumnHeader = showHeader;\n\t\tif (showHeader) {\n\t\t\tsetColumnHeader(columnHeader);\n\t\t} else {\n\t\t\tscrollGrid.setColumnHeaderView(null);\n\t\t}\n\t}", "title": "" }, { "docid": "75c7a5432289d6e004ea9fae48ff69bb", "score": "0.58168924", "text": "public void setMiniView(boolean miniView) {\n this.miniView = miniView;\n List<TableColumn> columns = getColumns(true);\n for (TableColumn tableColumn : columns) {\n if (tableColumn instanceof ValueColumn) {\n ValueColumn valueColumn = (ValueColumn) tableColumn;\n String id = (String) valueColumn.getIdentifier();\n if (id != null && (id.equalsIgnoreCase(VideoArchiveNameColumn.ID) ||\n id.equalsIgnoreCase(NotesColumn.ID))) {\n valueColumn.setVisible(!miniView);\n }\n }\n }\n }", "title": "" }, { "docid": "394e02d2186dd40b4bd373239a546337", "score": "0.5815843", "text": "private void setColumns() {\n Tree tree = getTree();\n \n tree.setHeaderVisible(true);\n tree.setLinesVisible(true);\n \n // Use layout from parent container\n TreeColumnLayout layout = (TreeColumnLayout)getControl().getParent().getLayout();\n\n TreeColumn[] columns = new TreeColumn[columnNames.length];\n \n for(int i = 0; i < columnNames.length; i++) {\n columns[i] = new TreeColumn(tree, SWT.NONE, i);\n columns[i].setText(columnNames[i]);\n }\n \n layout.setColumnData(columns[0], new ColumnWeightData(25, true));\n layout.setColumnData(columns[1], new ColumnWeightData(25, true));\n layout.setColumnData(columns[2], new ColumnWeightData(25, true));\n layout.setColumnData(columns[3], new ColumnWeightData(10, true));\n \n // Allows us to use custom tooltip for Item Resource\n TreeViewerColumn vCol = new TreeViewerColumn(this, columns[1]);\n vCol.setLabelProvider(new ItemTypeTreeLabelProvider());\n \n // Column names are properties\n setColumnProperties(columnNames);\n }", "title": "" }, { "docid": "cea1e2fea53c575b29c763f5f9c6cb1b", "score": "0.57905895", "text": "void setAutoShowControls(boolean b) {\n for (int j=0; j<NumVisY; j++) {\n for (int i=0; i<NumVisX; i++) DisplayCells[i][j].setAutoShowControls(b);\n }\n AutoShowControls = b;\n }", "title": "" }, { "docid": "41c946ea60a47e3c2436cb60c036bf44", "score": "0.57892865", "text": "public boolean getShowRowHeader() {\n\t\treturn showRowHeader;\n\t}", "title": "" }, { "docid": "ac96fca02b6c42d75effff0378d73195", "score": "0.5742975", "text": "void setHeader() {\n header = true;\n }", "title": "" }, { "docid": "99fb31f22a17af1da1654008aac9cd57", "score": "0.570474", "text": "public void setUVEditable(boolean b)\n/* */ {\n/* 203 */ for (int i = 0; i < this.source_row; i++) {\n/* 204 */ this.canvas.u[i].setEditable(b);\n/* */ }\n/* */ \n/* 207 */ for (int j = 0; j < this.demand_column; j++) {\n/* 208 */ this.canvas.v[j].setEditable(b);\n/* */ }\n/* */ }", "title": "" }, { "docid": "dfa02528f2927e4873d124e8f3b09434", "score": "0.56926477", "text": "public void setShowGridX(boolean is) {\n IS_SHOW_GRID_X = is;\n }", "title": "" }, { "docid": "4a07fc19169cab77c59d2e3bc51448d3", "score": "0.56777316", "text": "public void setHeadersEnabled(boolean z) {\n this.mHeadersEnabled = z;\n updateListViewVisibility();\n }", "title": "" }, { "docid": "78846cc033be5cffe2e1324677e7dfbb", "score": "0.5666731", "text": "public void setShowheaders(boolean showheaders)\r\n {\r\n this.showheaders = showheaders;\r\n }", "title": "" }, { "docid": "45826307a1d782954aa7ab808bf91992", "score": "0.56307995", "text": "public boolean getShowColumnHeader() {\n\t\treturn showColumnHeader;\n\t}", "title": "" }, { "docid": "4801864e4b49f5fe1f90d05639015763", "score": "0.5604862", "text": "boolean isHorizontalLinesVisible();", "title": "" }, { "docid": "872e46d20bb1f00aeda7413ffe3a0989", "score": "0.55994964", "text": "public void setHead(boolean b) {\r\n this.isHead = b;\r\n repaint();\r\n revalidate();\r\n }", "title": "" }, { "docid": "65a09a735a27959f6033111a909a9629", "score": "0.5581474", "text": "public void setHorizontal(final boolean value) {\r\n\t\thorizontal = value;\r\n\t}", "title": "" }, { "docid": "b8a04e4efbb571207e863a6490903d87", "score": "0.5551576", "text": "void setPrintHeader(boolean printHeader);", "title": "" }, { "docid": "5f6aa0b169cb57a5d577b25aa81d966c", "score": "0.5540412", "text": "private void createColumns(TableViewer viewer) {\n\t\tTableViewerColumn col = createTableViewerColumn(\"Name\", 300, 0);\n\t\tcol.setLabelProvider(new ColumnLabelProvider() {\n\t\t\t@Override\n\t\t\tpublic String getText(Object element) {\n\t\t\t\tCachedDataSet cd = (CachedDataSet) element; // cast\n\t\t\t\tString name = cd.getFilename();\n\t\t\t\treturn name;\n\t\t\t}\n\t\t});\n\n\t\t// create column for number of layer levels property\n\t\tcol = createTableViewerColumn(\"Levels\", 60, 1);\n\t\tcol.setLabelProvider(new ColumnLabelProvider() {\n\t\t\t@Override\n\t\t\tpublic String getText(Object element) {\n\t\t\t\tCachedDataSet cd = (CachedDataSet) element; // cast\n\t\t\t\tString num = cd.getNumLevels()\n\t\t\t\t\t\t.toString();\n\t\t\t\treturn num;\n\n\t\t\t}\n\t\t});\n\n\t\t// create column for number of layer levels property\n\t\tTableViewerColumn collatsw = new TableViewerColumn(viewer, SWT.NONE);\n\t\tcollatsw.setLabelProvider(new ColumnLabelProvider() {\n\t\t\t@Override\n\t\t\tpublic String getText(Object element) {\n\t\t\t\tCachedDataSet cd = (CachedDataSet) element; // cast\n\t\t\t\tString num = cd.getMinLat()\n\t\t\t\t\t\t.toString();\n\t\t\t\treturn num;\n\n\t\t\t}\n\t\t});\n\t\tcollatsw.getColumn()\n\t\t\t\t.setWidth(60);\n\t\tcollatsw.getColumn()\n\t\t\t\t.setText(\"MinLat\");\n\n\t\t// create column for number of layer levels property\n\t\tTableViewerColumn collonsw = new TableViewerColumn(viewer, SWT.NONE);\n\t\tcollonsw.setLabelProvider(new ColumnLabelProvider() {\n\t\t\t@Override\n\t\t\tpublic String getText(Object element) {\n\t\t\t\tCachedDataSet cd = (CachedDataSet) element; // cast\n\t\t\t\tString num = cd.getMinLon()\n\t\t\t\t\t\t.toString();\n\t\t\t\treturn num;\n\n\t\t\t}\n\t\t});\n\t\tcollonsw.getColumn()\n\t\t\t\t.setWidth(60);\n\t\tcollonsw.getColumn()\n\t\t\t\t.setText(\"MinLon\");\n\n\t\t// create column for number of layer levels property\n\t\tTableViewerColumn collatne = new TableViewerColumn(viewer, SWT.NONE);\n\t\tcollatne.setLabelProvider(new ColumnLabelProvider() {\n\t\t\t@Override\n\t\t\tpublic String getText(Object element) {\n\t\t\t\tCachedDataSet cd = (CachedDataSet) element; // cast\n\t\t\t\tString num = cd.getMaxLat()\n\t\t\t\t\t\t.toString();\n\t\t\t\treturn num;\n\n\t\t\t}\n\t\t});\n\t\tcollatne.getColumn()\n\t\t\t\t.setWidth(60);\n\t\tcollatne.getColumn()\n\t\t\t\t.setText(\"MaxLat\");\n\n\t\t// create column for number of layer levels property\n\t\tTableViewerColumn collonne = new TableViewerColumn(viewer, SWT.NONE);\n\t\tcollonne.setLabelProvider(new ColumnLabelProvider() {\n\t\t\t@Override\n\t\t\tpublic String getText(Object element) {\n\t\t\t\tCachedDataSet cd = (CachedDataSet) element; // cast\n\t\t\t\tString num = cd.getMaxLon()\n\t\t\t\t\t\t.toString();\n\t\t\t\treturn num;\n\n\t\t\t}\n\t\t});\n\t\tcollonne.getColumn()\n\t\t\t\t.setWidth(60);\n\t\tcollonne.getColumn()\n\t\t\t\t.setText(\"MaxLon\");\n\n\t\t// create column for size of layer\n\t\tcol = createTableViewerColumn(\"Size\", 60, 2);\n\t\tcol.setLabelProvider(new ColumnLabelProvider() {\n\n\t\t\t@Override\n\t\t\tpublic String getText(Object element) {\n\t\t\t\tCachedDataSet cd = (CachedDataSet) element; // cast\n\t\t\t\tLong num = cd.getDirectorySize();\n\t\t\t\tif (num == null) {\n\t\t\t\t\treturn \"...\";\n\t\t\t\t}\n\t\t\t\tDouble mb = ((double) num) / (1024 * 1024);\n\t\t\t\treturn String.format(\"%5.1f %s\", mb, \"Mb\");\n\t\t\t}\n\t\t});\n\n\t\t// create column for Last Modified file\n\t\tcol = createTableViewerColumn(\"Last Modified\", 200, 3);\n\t\tcol.setLabelProvider(new ColumnLabelProvider() {\n\t\t\t@Override\n\t\t\tpublic String getText(Object element) {\n\t\t\t\tCachedDataSet cd = (CachedDataSet) element; // cast\n\t\t\t\tlong num = cd.getLastModif();\n\t\t\t\t// String nu = Long.toString(num);\n\n\t\t\t\tGregorianCalendar cal = new GregorianCalendar();\n\t\t\t\tcal.setTimeInMillis(num);// fsds.getLastModified());\n\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"MMM d, yyyy, hh:mm a\");\n\t\t\t\treturn sdf.format(cal.getTime());\n\t\t\t}\n\t\t});\n\n\t\t/*\n\t\t * // create column for the 'last used' property TableViewerColumn colco\n\t\t * at org.eclipse.jface.viewers.ColumnLabelProvider.update(\n\t\t * ColumnLabelProvider.java :34)lLastModified = new\n\t\t * TableViewerColumn(viewer, SWT.NONE);\n\t\t * colcolLastModified.setLabelProvider(new ColumnLabelProvider() {\n\t\t * \n\t\t * @Override public String getText(Object element) { FileStoreDataSet\n\t\t * fsds = (FileStoreDataSet) element; GregorianCalendar cal = new\n\t\t * GregorianCalendar(); cal.setTimeInMillis(fsds.getLastModified());\n\t\t * SimpleDateFormat sdf = new SimpleDateFormat(\"MMM d, yyyy, hh:mm a\");\n\t\t * return sdf.format(cal.getTime()); } });\n\t\t * colcolLastModified.getColumn().setWidth(200);\n\t\t * colcolLastModified.getColumn().setText(\"Last modified\");\n\t\t * \n\t\t * // create column for name property TableViewerColumn colSize = new\n\t\t * TableViewerColumn(viewer, SWT.NONE); colSize.setLabelProvider(new\n\t\t * ColumnLabelProvider() {\n\t\t * \n\t\t * @Override public String getText(Object element) { FileStoreDataSet\n\t\t * fsds = (FileStoreDataSet) element; Formatter formatter = new\n\t\t * Formatter(); return formatter.format(\"%5.1f\", ((float)\n\t\t * fsds.getSize()) / 1e6).toString(); } });\n\t\t * colSize.getColumn().setWidth(100); colSize.getColumn().setText(\n\t\t * \"Size (Mb)\");\n\t\t * \n\t\t * // create column for name property TableViewerColumn colArea = new\n\t\t * TableViewerColumn(viewer, SWT.NONE);\n\t\t * \n\t\t * colArea.setLabelProvider(new ColumnLabelProvider() {\n\t\t * \n\t\t * @Override public String getText(Object element) { FileStoreDataSet\n\t\t * fsds = (FileStoreDataSet) element;\n\t\t * \n\t\t * // public static XPath makeXPath();\n\t\t * \n\t\t * // Element el = path == null ? context : getElement(context, // path,\n\t\t * xpath); at org.eclipse.jface.viewers.ColumnLabelProvider.update(\n\t\t * ColumnLabelProvider.java :34) // String xpath = //\n\t\t * \".nasa.worldwindx.examples.util.FileStoreDataSet@1deb0979\"; // LatLon\n\t\t * sw = getLatLon(element, \"SouthWest/LatLon\", xpath);\n\t\t * \n\t\t * // LatLon ne = getLatLon(el, \"NorthEast/LatLon\", rpath);\n\t\t * \n\t\t * Formatter formatter = new Formatter(); return\n\t\t * formatter.format(\"%5.1f\", ((float) fsds.getSize()) / 1e6).toString();\n\t\t * } }); colArea.getColumn().setWidth(100); colArea.getColumn().setText(\n\t\t * \"Size (Mb)\");\n\t\t * \n\t\t * // create column for area extent included in a 2D polygon defined by\n\t\t * the // points (x,y) // computePolygonAreaFromVertices(Iterable<?\n\t\t * extends Vec4> points)\n\t\t * \n\t\t */\n\n\t}", "title": "" }, { "docid": "cede5584d51e561fde31879d062d2801", "score": "0.55401796", "text": "public void setHorizontal(boolean isHorizontal) {\n this.isHorizontal = isHorizontal;\n }", "title": "" }, { "docid": "db8cec4c2f26778c840239aedf224605", "score": "0.55265903", "text": "private void initUI() {\r\n if (true == showCheckBox) {\r\n // Create an ItemListener\r\n HeaderItemListener itemListener = new HeaderItemListener((Cab2bDefaultTableModel) this.getModel());\r\n this.getColumnModel().getColumn(0).setHeaderRenderer(new Cab2bCheckBoxHeader(itemListener));\r\n this.getColumn(0).setMaxWidth(25);\r\n }\r\n\r\n this.setHighlighters(new HighlighterPipeline(new Highlighter[] { AlternateRowHighlighter.genericGrey }));\r\n\r\n // this.packAll();\r\n this.setSortable(false);\r\n this.setHorizontalScrollEnabled(true);\r\n this.getTableHeader().setSize(new Dimension(0, 28));\r\n this.getTableHeader().setFont(new Font(\"Arial\", Font.BOLD, 13));\r\n this.setRowHeight(23);\r\n this.getTableHeader().setReorderingAllowed(false);\r\n ((ColumnHeaderRenderer) this.getTableHeader().getDefaultRenderer()).setHorizontalAlignment(SwingConstants.LEFT);\r\n this.packAll();\r\n }", "title": "" }, { "docid": "5253dba846475960487b98d663d27239", "score": "0.55167174", "text": "public java.lang.Object getShowGridHeader() {\n return showGridHeader;\n }", "title": "" }, { "docid": "fccc9a781a2ca980bc0e97a0ee75d557", "score": "0.5515745", "text": "public void setDisplayCols(String value)\r\n {\r\n getSemanticObject().setProperty(cpanel_displayCols, value);\r\n }", "title": "" }, { "docid": "f28f9055e11f3c079e40e7ba5d5b46a6", "score": "0.5510312", "text": "@Override\n\tpublic void setPrintHeadings(boolean flag) {\n\t\t\n\t}", "title": "" }, { "docid": "3f1de77b60163636dc0b60c27b993110", "score": "0.54797864", "text": "public void setHeaderRendering(boolean headerRendering) {\n this.headerRendering = headerRendering;\n }", "title": "" }, { "docid": "ced8cf1c9751e584cb02b10a277e1188", "score": "0.54627734", "text": "public synchronized void setShowRowCount(boolean data)\n {\n final boolean oldValue = _showRowCount;\n _showRowCount = data;\n getPropertyChangeReporter().firePropertyChange(\n IPropertyNames.SHOW_ROW_COUNT,\n oldValue, _showRowCount);\n }", "title": "" }, { "docid": "da945bddc433f7a3b9de15642d548d16", "score": "0.5447144", "text": "public void setHeaderRow(int value) {\n this.headerRow = value;\n }", "title": "" }, { "docid": "e535f19a9b6994af9542caaad5b08983", "score": "0.5431735", "text": "private void setGrid(){\n setDataToGrid();\n getGrid().addColumn(doctor -> \"Delete\", deleteItemButtonRenderer());\n getGrid().addColumn(doctor -> \"Edit\", editItemButtonRenderer());\n getGrid().addColumn(recipe -> recipe.getDoctor().getName() + \" \"\n + recipe.getDoctor().getSurname() + \" \"\n + recipe.getDoctor().getPatronymic()).setCaption(\"Doctor\").setId(\"Doctor\");\n getGrid().addColumn(recipe -> recipe.getPatient().getName() + \" \"\n + recipe.getPatient().getSurname() + \" \"\n + recipe.getPatient().getPatronymic()).setCaption(\"Patient\").setId(\"Patient\");\n getGrid().setColumnOrder(\"Doctor\",\"Patient\", \"description\", \"dateOfCreation\",\"priorityR\" );\n }", "title": "" }, { "docid": "e0be67831eab15fe1a7fed89c1d123e0", "score": "0.54035276", "text": "private void setTableColumns()\r\n\t{\r\n\t\tif (isDockedLeftRight()) {\r\n\t\t\ttableColumns = jEdit.getIntegerProperty(OPTION_PREFIX + \"columns-dock-lr\");\r\n\t\t}\r\n\t\telse if (isDockedTopBottom()) {\r\n\t\t\ttableColumns = jEdit.getIntegerProperty(OPTION_PREFIX + \"columns-dock-tb\");\r\n\t\t}\r\n\t\telse {\r\n\t\t\ttableColumns = jEdit.getIntegerProperty(OPTION_PREFIX + \"columns\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7532b407e0c78f0d18bdf99260567b90", "score": "0.5393375", "text": "public void setRowColumn(int rows[])\n {\n this.rows = rows;\n row_col_layout.SetRowColumn(rows);\n }", "title": "" }, { "docid": "dfec44ca83593333afd59c6c0a0ed18a", "score": "0.53525156", "text": "public void setShowHeader(Boolean showHeader) {\n\t\tsetAttribute(\"showHeader\", showHeader, true);\n\t}", "title": "" }, { "docid": "f5fead7cdfe028ecfe44d140b2717104", "score": "0.5346066", "text": "@Override\n public void setShow() {\n this.showGrid = true;\n repaint();\n }", "title": "" }, { "docid": "3ae4380e1dcc71ca15fcaef7c03feaa9", "score": "0.5337037", "text": "public void customizeLook() {\n this.getTableHeader().setFont(new Font(\"Dialog\", Font.PLAIN, 12));\n setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n this.getTableHeader().setReorderingAllowed(false);\n this.setFont(new Font(Font.SANS_SERIF, Font.PLAIN, 11));\n this.setRowHeight(18);\n \n TableColumn verCol;\n \n for (int i = 0; i <= 5; i++) {\n verCol = this.getColumnModel().getColumn(i);\n \n if (description_number == i || file_number == i)\n verCol.setPreferredWidth((int)(verCol.getPreferredWidth() * 2.0));\n else if (index_number == i) {\n verCol.setPreferredWidth((int)(verCol.getPreferredWidth() + 20));\n verCol.setMaxWidth((int)(verCol.getPreferredWidth() + 20));\n } else {\n verCol.setPreferredWidth((int)(verCol.getPreferredWidth() * 1.0));\n verCol.setMaxWidth((int)(verCol.getPreferredWidth() * 1.0));\n } \n }\n }", "title": "" }, { "docid": "c8d99aee51055e301c0e960d8ef3535c", "score": "0.5298022", "text": "private void displayHeader(final WritableSheet sheet, final ReportColumnsExtractorHelper reportExtractor)\n throws WriteException {\n int pos = 0;\n for (final ReportFieldInformation fieldInfo : reportExtractor.getFieldsList()) {\n if (fieldInfo.getColumnWidth() != -1) {\n sheet.setColumnView(pos, fieldInfo.getColumnWidth());\n }\n\n TextCellCreator.getInstance().createCell(sheet, pos++, 0, fieldInfo.getFieldHeader(),\n fieldInfo.getFormat().getExcelHeaderFormat());\n }\n }", "title": "" }, { "docid": "73fdd3a4a4fab1f357748a24707691be", "score": "0.52936", "text": "boolean isOmitColumnLabels();", "title": "" }, { "docid": "e42ef430fd684b4772b837c556986561", "score": "0.5287367", "text": "public void setRowNumberVisible(boolean _rowNumberVisible) {\n if(dataTableModel.isRowNumberVisible()!=_rowNumberVisible) {\n if(_rowNumberVisible&&(rowNumberRenderer==null)) {\n rowNumberRenderer = new RowNumberRenderer(this);\n }\n dataTableModel.setRowNumberVisible(_rowNumberVisible);\n }\n }", "title": "" }, { "docid": "bc070bb5cb58fad13d2247202527a0d3", "score": "0.5275341", "text": "private void setWithGrid(boolean withGrid) {\n\t\tthis.withGrid = withGrid;\n\t}", "title": "" }, { "docid": "63e3c0f3e155c446c46fdfb605d771e6", "score": "0.52481484", "text": "@ShowcaseSource\n private void initializeColumns(ListHandler<ContactInfo> sortHandler) {\n /*\n * Checkbox column.\n * \n * This table will uses a checkbox column for selection. Alternatively, you\n * can call dataGrid.setSelectionEnabled(true) to enable mouse selection.\n */\n checkboxColumn = new Column<ContactInfo, Boolean>(new CheckboxCell(true, false)) {\n @Override\n public Boolean getValue(ContactInfo object) {\n // Get the value from the selection model.\n return dataGrid.getSelectionModel().isSelected(object);\n }\n };\n dataGrid.addColumn(checkboxColumn);\n dataGrid.setColumnWidth(0, 40, Unit.PX);\n\n // View friends.\n SafeHtmlRenderer<String> anchorRenderer = new AbstractSafeHtmlRenderer<String>() {\n @Override\n public SafeHtml render(String object) {\n SafeHtmlBuilder sb = new SafeHtmlBuilder();\n sb.appendHtmlConstant(\"(<a href=\\\"javascript:;\\\">\").appendEscaped(object)\n .appendHtmlConstant(\"</a>)\");\n return sb.toSafeHtml();\n }\n };\n viewFriendsColumn = new Column<ContactInfo, String>(new ClickableTextCell(anchorRenderer)) {\n @Override\n public String getValue(ContactInfo object) {\n if (showingFriends.contains(object.getId())) {\n return \"hide friends\";\n } else {\n return \"show friends\";\n }\n }\n };\n viewFriendsColumn.setFieldUpdater(new FieldUpdater<ContactInfo, String>() {\n @Override\n public void update(int index, ContactInfo object, String value) {\n if (showingFriends.contains(object.getId())) {\n showingFriends.remove(object.getId());\n } else {\n showingFriends.add(object.getId());\n }\n\n // Redraw the modified row.\n dataGrid.redrawRow(index);\n }\n });\n dataGrid.addColumn(viewFriendsColumn);\n dataGrid.setColumnWidth(1, 10, Unit.EM);\n\n // First name.\n firstNameColumn = new Column<ContactInfo, String>(new EditTextCell()) {\n @Override\n public String getValue(ContactInfo object) {\n return object.getFirstName();\n }\n };\n firstNameColumn.setSortable(true);\n sortHandler.setComparator(firstNameColumn, new Comparator<ContactInfo>() {\n @Override\n public int compare(ContactInfo o1, ContactInfo o2) {\n return o1.getFirstName().compareTo(o2.getFirstName());\n }\n });\n firstNameColumn.setFieldUpdater(new FieldUpdater<ContactInfo, String>() {\n @Override\n public void update(int index, ContactInfo object, String value) {\n // Called when the user changes the value.\n object.setFirstName(value);\n ContactDatabase.get().refreshDisplays();\n }\n });\n dataGrid.addColumn(firstNameColumn);\n dataGrid.setColumnWidth(2, 20, Unit.PCT);\n\n // Last name.\n lastNameColumn = new Column<ContactInfo, String>(new EditTextCell()) {\n @Override\n public String getValue(ContactInfo object) {\n return object.getLastName();\n }\n };\n lastNameColumn.setSortable(true);\n sortHandler.setComparator(lastNameColumn, new Comparator<ContactInfo>() {\n @Override\n public int compare(ContactInfo o1, ContactInfo o2) {\n return o1.getLastName().compareTo(o2.getLastName());\n }\n });\n lastNameColumn.setFieldUpdater(new FieldUpdater<ContactInfo, String>() {\n @Override\n public void update(int index, ContactInfo object, String value) {\n // Called when the user changes the value.\n object.setLastName(value);\n ContactDatabase.get().refreshDisplays();\n }\n });\n dataGrid.addColumn(lastNameColumn);\n dataGrid.setColumnWidth(3, 20, Unit.PCT);\n\n // Age.\n ageColumn = new Column<ContactInfo, Number>(new NumberCell()) {\n @Override\n public Number getValue(ContactInfo object) {\n return object.getAge();\n }\n };\n ageColumn.setSortable(true);\n sortHandler.setComparator(ageColumn, new Comparator<ContactInfo>() {\n @Override\n public int compare(ContactInfo o1, ContactInfo o2) {\n return o1.getAge() - o2.getAge();\n }\n });\n dataGrid.addColumn(ageColumn);\n dataGrid.setColumnWidth(4, 7, Unit.EM);\n\n // Category.\n final Category[] categories = ContactDatabase.get().queryCategories();\n List<String> categoryNames = new ArrayList<String>();\n for (Category category : categories) {\n categoryNames.add(category.getDisplayName());\n }\n SelectionCell categoryCell = new SelectionCell(categoryNames);\n categoryColumn = new Column<ContactInfo, String>(categoryCell) {\n @Override\n public String getValue(ContactInfo object) {\n return object.getCategory().getDisplayName();\n }\n };\n categoryColumn.setFieldUpdater(new FieldUpdater<ContactInfo, String>() {\n @Override\n public void update(int index, ContactInfo object, String value) {\n for (Category category : categories) {\n if (category.getDisplayName().equals(value)) {\n object.setCategory(category);\n }\n }\n ContactDatabase.get().refreshDisplays();\n }\n });\n dataGrid.addColumn(categoryColumn);\n dataGrid.setColumnWidth(5, 130, Unit.PX);\n\n // Address.\n addressColumn = new Column<ContactInfo, String>(new TextCell()) {\n @Override\n public String getValue(ContactInfo object) {\n return object.getAddress();\n }\n };\n addressColumn.setSortable(true);\n sortHandler.setComparator(addressColumn, new Comparator<ContactInfo>() {\n @Override\n public int compare(ContactInfo o1, ContactInfo o2) {\n return o1.getAddress().compareTo(o2.getAddress());\n }\n });\n dataGrid.addColumn(addressColumn);\n dataGrid.setColumnWidth(6, 60, Unit.PCT);\n }", "title": "" }, { "docid": "e9b6c9fef5419a56801e1ccc6ac88434", "score": "0.5233395", "text": "public void setDisplayGridlines(boolean show)\n {\n _sh.setDisplayGridlines(show);\n }", "title": "" }, { "docid": "d22ed7b56c152a82fa6f97b469f51cfb", "score": "0.523071", "text": "public boolean isDisplayGridlines()\n {\n return _sh.isDisplayGridlines();\n }", "title": "" }, { "docid": "60e627a5bc91dd28e7b81985fd6c8aa5", "score": "0.5223812", "text": "public void setIsGridline(boolean c) {\n\t\tisGridline = c;\n\t}", "title": "" }, { "docid": "b7e0a452d4929dea5bd6751eb44d1088", "score": "0.52222043", "text": "void displayColumnHeaders() {\n\t\tSystem.out.print(\" \");\n\t\tfor (int j = 0; j < 3; j++)\n\t\t\tSystem.out.print(\"|col \" + j);\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "59cc1e0eda65cc322d5429891677e135", "score": "0.5201335", "text": "public void setRowHeader(JGridHeader rowHeader) {\n\t\tif (getRowHeader() != null) {\n\t\t\t// remove RulerModelListener\n\t\t\tgetRowHeader().getColumnModel().removeRulerModelListener(this);\n\t\t}\n\n\t\tscrollGrid.setRowHeaderView(null);\n\t\tthis.rowHeader = rowHeader;\n\t\tif (rowHeader != null) {\n\t\t\trowHeader.getColumnModel().addRulerModelListener(this);\n\t\t\tJViewport viewport = new JViewport();\n\t\t\tviewport.setView(rowHeader);\n\t\t\tviewport.setPreferredSize(rowHeader.getPreferredSize());\n\t\t\tscrollGrid.setRowHeaderView(viewport);\n\t\t\trepaint();\n\t\t}\n\t}", "title": "" }, { "docid": "458477d079777cdef097b49e3fa495d1", "score": "0.5194214", "text": "void hideColTable() {\n }", "title": "" }, { "docid": "bcda04020d66b44b01bdaee98cc1ff62", "score": "0.5190825", "text": "public void setShowRowNumbers(Boolean showRowNumbers) {\n\t\tsetAttribute(\"showRowNumbers\", showRowNumbers, true);\n\t}", "title": "" }, { "docid": "bab1efd940fe1f4f8e6fb382d4f60245", "score": "0.5183806", "text": "public void setColumnVisible(TableModel tableModel, int columnIndex, boolean b) {\n dataTableModel.setColumnVisible(tableModel, columnIndex, b);\n }", "title": "" }, { "docid": "94506a48d85e57967e3d15f8e9120452", "score": "0.5169778", "text": "public void setObjectVisible(boolean tf)\r\n\t{\tobjectIsVisible = tf;\t}", "title": "" }, { "docid": "86011fb68447d3a4d7cf5df2ad0b58ac", "score": "0.5148025", "text": "public void setVisible( boolean val ) \n {\n visible = val; \n }", "title": "" }, { "docid": "5fae30694cb32cfb364847768d4bd7d7", "score": "0.5139844", "text": "public void setPromptHeaderVisible(boolean visible) {\n promptHeaderPanel.setVisible(visible);\n }", "title": "" }, { "docid": "3e987e1e1c3cd8d99234a0122ab0f897", "score": "0.51383406", "text": "public void setDisplayViewColumnDataType(boolean value) {\n this.displayViewColumnDataType = value;\n }", "title": "" }, { "docid": "5b47cbd044e14f34b9473d78d13253f8", "score": "0.5135337", "text": "void setAsHorizontalList();", "title": "" }, { "docid": "9987b3129313db7878617f38a9d1f9eb", "score": "0.51353335", "text": "public void setVisible(boolean b) {\n }", "title": "" }, { "docid": "3a2940253d7c258360a9fb3097af05bc", "score": "0.51348686", "text": "public void setVisible(boolean b)\n {\n if (!b) clearData();\n super.setVisible(b);\n }", "title": "" }, { "docid": "337835e0f9644f83736085f5fe5218e2", "score": "0.5121952", "text": "private void setColumnData(){\r\n JTableHeader tableHeader = tblForms.getTableHeader();\r\n tableHeader.addMouseListener(new ColumnHeaderListener());\r\n tableHeader.setReorderingAllowed(false);\r\n tableHeader.setFont(CoeusFontFactory.getLabelFont());\r\n \r\n tblForms.setRowHeight(22);\r\n tblForms.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);\r\n \r\n tblForms.setOpaque(false);\r\n tblForms.setSelectionMode(DefaultListSelectionModel.SINGLE_SELECTION);\r\n \r\n TableColumn column = tblForms.getColumnModel().getColumn(FORM_ID_COLUMN);\r\n \r\n column.setPreferredWidth(200);\r\n column.setResizable(true);\r\n \r\n column = tblForms.getColumnModel().getColumn(DESCRIPTION_COLUMN);\r\n column.setPreferredWidth(295);\r\n column.setResizable(true);\r\n \r\n // Added for COEUSQA-1412 Subcontract Module changes - Start \r\n column = tblForms.getColumnModel().getColumn(TEMPLATE_TYPE_COLUMN);\r\n column.setPreferredWidth(185);\r\n column.setResizable(true);\r\n // Added for COEUSQA-1412 Subcontract Module changes - End\r\n\r\n }", "title": "" }, { "docid": "be48b4cb25ca02af11adc4f1db588ee1", "score": "0.51215166", "text": "private void setTableFormat() {\r\n tblCommittee.getTableHeader().setReorderingAllowed(false);\r\n tblCommittee.getTableHeader().setResizingAllowed(false);\r\n TableColumn column = tblCommittee.getColumn(\"Committee Id\");\r\n column.setMaxWidth(150);\r\n column.setMinWidth(150);\r\n column.setPreferredWidth(150);\r\n \r\n }", "title": "" }, { "docid": "e6c720cac02dcc420c58085bbdf23014", "score": "0.51212996", "text": "public void initialize() {\n // Install our custom header renderer that allows sort arrows below centered text.\n new MemberTableHeaderRenderer().installIn(this);\n\n // Install the row sorter.\n MemberTableModel model = (MemberTableModel) getModel();\n TableRowSorter<MemberTableModel> rowSorter = new TableRowSorter<MemberTableModel>(model) {\n\n @Override\n public void toggleSortOrder(int column) {\n sorting = true;\n super.toggleSortOrder(column);\n sorting = false;\n }\n };\n setRowSorter(rowSorter);\n\n // Don't allow column re-ordering.\n getTableHeader().setReorderingAllowed(false);\n\n // Set multiple row interval selection.\n setRowSelectionAllowed(true);\n setColumnSelectionAllowed(false);\n setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);\n\n // Look up column structures in class resources and set them.\n ResourceMap resourceMap = BDApp.getResourceMap(MemberTable.class);\n ok = resourceMap.getString(\"ok.text\");\n fail = resourceMap.getString(\"fail.text\");\n for (int i = 0; i < MemberTableModel.columnNames.length; i++) {\n TableColumn column = getColumnModel().getColumn(i);\n column.setResizable(true);\n final String headerText = resourceMap.getString(MemberTableModel.columnNames[i] + \"ColumnHeader.text\");\n column.setHeaderValue(headerText);\n int width = resourceMap.getInteger(MemberTableModel.columnNames[i] + \"Column.width\");\n column.setPreferredWidth(width);\n if (i < MemberTableModel.columnNames.length - 2) {\n column.setMinWidth(width);\n if (i == 5) {\n column.setMaxWidth(width);\n }\n }\n // Install our special column renderer.\n column.setCellRenderer(specialCellRenderer);\n }\n \n // Use black on cyan for default selection values. Last two columns remain white due to special renderer.\n setSelectionForeground(Color.BLACK);\n\n // Cause new height calculation after header loading.\n getTableHeader().resizeAndRepaint();\n }", "title": "" }, { "docid": "7bd9d867b890e699838a8bce6e8cd63d", "score": "0.51107407", "text": "public void setShowGridY(boolean is) {\n IS_SHOW_GRID_Y = is;\n }", "title": "" }, { "docid": "fa31093e623b2ff4d56a6a246e765d31", "score": "0.5102444", "text": "public void setGridVisible(boolean bvis) {\r\n\t\tm_overlay.setGridVisible(bvis);\r\n\t}", "title": "" }, { "docid": "121af4e85734bb3674c20c5df2b0f330", "score": "0.5092535", "text": "public void setVisible(boolean b) {\n\t\t\r\n\t}", "title": "" }, { "docid": "121af4e85734bb3674c20c5df2b0f330", "score": "0.5092535", "text": "public void setVisible(boolean b) {\n\t\t\r\n\t}", "title": "" }, { "docid": "aa72020c9fe1851dd6ecbc2686445769", "score": "0.50913024", "text": "public UnitHeaderTableModel(String[][] data, String[] columns) { // constructor\n super(data, columns);\n this.editable_cells = new boolean[data.length][columns.length];\n\n\n //editable_cells[0][0] = true;\n editable_cells[0][1] = true;\n editable_cells[0][2] = true;\n editable_cells[0][4] = true;\n editable_cells[0][5] = true;\n editable_cells[0][6] = true;\n\n }", "title": "" }, { "docid": "3298a70431cd615e144cb702899a1197", "score": "0.5088486", "text": "private void initialize() {\n\t\tsetAutoCreateColumnsFromModel(true);\n\t\tsetAutoResizeMode(JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);\n\t\tsetPreferredScrollableViewportSize(getPreferredSize());\n\t\tsetFillsViewportHeight(true);\n\t\tsetSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n\t\tDefaultTableCellRenderer rightRenderer = new DefaultTableCellRenderer();\n\t\trightRenderer.setHorizontalAlignment( JLabel.CENTER );\n\t\tgetColumnModel().getColumn(0).setCellRenderer( rightRenderer );\n\t\tgetColumnModel().getColumn(1).setCellRenderer( rightRenderer );\n\t\tgetColumnModel().getColumn(2).setCellRenderer( rightRenderer );\n\t\tgetColumnModel().getColumn(3).setCellRenderer( rightRenderer );\n\t\tsetAutoscrolls(true);\n\t\tsetVisible(true);\n\t}", "title": "" }, { "docid": "3ce9dde4c7a0045e8785e5400aea5541", "score": "0.5086445", "text": "private void setTableViewCellsProperty() {\n Table_View_Entity_ID.setPrefWidth(240);\n Table_View_Entity_ID.setCellValueFactory(new PropertyValueFactory<Entity, String>(\"id\"));\n Table_View.setItems(tableViewObserveData);\n Table_View.setOnMouseClicked(new TableViewItemClickedAction(Table_View));\n }", "title": "" }, { "docid": "fe0cd7ccc684e81d19e766542ed35863", "score": "0.50812566", "text": "void setVisible(boolean visible);", "title": "" }, { "docid": "342beb64e638f6917cf8ca771892497a", "score": "0.507254", "text": "protected boolean getShowColumnTotalsOn(){\n return showColumnTotalsOn;\n }", "title": "" }, { "docid": "b9a2ca0e7325661b9489fa2d0013eb46", "score": "0.5071417", "text": "public void setVisible(boolean b) {\n\t\t\n\t}", "title": "" }, { "docid": "14f8fb2f14ed82294f0037ef149cce69", "score": "0.50541013", "text": "public void setCellEnabled(boolean b)\n/* */ {\n/* 258 */ for (int i = 0; i < this.source_row; i++) {\n/* 259 */ for (int j = 0; j < this.demand_column; j++) {\n/* 260 */ this.canvas.cell[i][j].setEnabled(b);\n/* */ }\n/* */ }\n/* */ }", "title": "" }, { "docid": "d5bd7bb18ef303323b4ae3c2cf7ec393", "score": "0.5052133", "text": "public void setHorizontal(final Boolean horizontal) {\r\n\t\tthis.horizontal = horizontal;\r\n\t}", "title": "" }, { "docid": "95142935f5919a49c9d8d159f650421d", "score": "0.5046145", "text": "public void setOverridingHeading() { \t \t \t\r\n }", "title": "" }, { "docid": "8b84cfa6491e2ffeabda4dcb2ff108d9", "score": "0.50460786", "text": "@Override\n public void propertyChange(PropertyChangeEvent e) {\n pane.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE);\n pane.removePropertyChangeListener(this);\n }", "title": "" }, { "docid": "1874d6202db9b394025f6d44b5fb4cc3", "score": "0.504353", "text": "public void setVisible(boolean visible);", "title": "" }, { "docid": "796814fc5f3f110056a6f96e9016e7a8", "score": "0.5036894", "text": "public void setTable( TopcatModel tcModel, boolean init ) {\n tableSelector_.setSelectedItem( tcModel );\n \n /* Initialise the column selectors. This isn't necesary, but it's\n * what the old plot window used to do so may confuse people less.\n * Possibly change this action in the future though. */\n if ( init ) {\n initialiseSelectors();\n }\n }", "title": "" }, { "docid": "f9654b95ce2cbf7cf725737abc392dce", "score": "0.50240076", "text": "public boolean isRowNumberVisible() {\n return dataTableModel.isRowNumberVisible();\n }", "title": "" }, { "docid": "7430b8a64cb13b085ee7b0e7046d4433", "score": "0.501361", "text": "public void setVisible(boolean aFlag)\n {\n super.setVisible(aFlag);\n }", "title": "" }, { "docid": "740477552db127edb2186332c8402549", "score": "0.5008409", "text": "boolean isVerticalLinesVisible();", "title": "" }, { "docid": "d8dbcfe2312bff3f5d5313827db499b2", "score": "0.50077057", "text": "public void addColumn(TableColumn tc) { // model for first\r\n if (firstCol) { // column only. \r\n tc.setMaxWidth(40);\r\n firstCol = false;\r\n super.addColumn(tc);\r\n }\r\n }", "title": "" }, { "docid": "ed3f98d6990192a678bb22bbac09fb02", "score": "0.5000555", "text": "public boolean getShowRowCount()\n {\n return _showRowCount;\n }", "title": "" }, { "docid": "d80a73964dd3cc66fef9de6b7dfc4d72", "score": "0.5000057", "text": "private void initPanel(){\n\t\tJPanel majorColumn = new JPanel();\r\n\t\tString tableHeaderContext [] = {\"Age\",\"飲品\",\"筆電\",\"球鞋\",\"速食\",\"手錶\",\"手機\",\"武器\",\"背包\",\"樂器\",\"球隊\"};\r\n\t\tmajorColumn.setBounds(0, 0, WINDOW_WIDTH, 30);\r\n\t\tmajorColumn.setLayout(new GridLayout(1,11));\r\n\t\tJLabel [] columnLabels = new JLabel[11];\r\n\t\tfor(int i=0; i<11; i++){\r\n\t\t\tcolumnLabels[i] = new JLabel( tableHeaderContext[i] );\r\n\t\t\tcolumnLabels[i].setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\t\tcolumnLabels[i].setBorder( BorderFactory.createLineBorder(Color.BLACK) );\r\n\t\t\tmajorColumn.add(columnLabels[i]);\r\n\t\t}\r\n\t\tframe.add(majorColumn);\r\n\r\n\t\tdataAnalyzing(database);\r\n\t\t\t\r\n\t\t//Show the data table\r\n\t\tString[] columns={\"50嵐\",\"橘子工坊\",\"Acer\",\"Asus\",\"Adidas\",\"Nike\",\"肯德基\",\"麥當勞\",\"電子\",\"石英\",\"HTC\",\"Apple\",\"手榴彈\",\"機關槍\",\"後背\",\"斜背\",\"烏克麗麗\",\"吉他\",\"紅襪隊\",\"洋基隊\"};\r\n\t\tInteger [][] integerTable = new Integer[ dataTable.size() ][20];\r\n\t\tfor(int i=0; i<dataTable.size(); i++)\r\n\t\t\tintegerTable[i] = dataTable.get(i).getDataNumbers();\r\n\t\ttable=new JTable(integerTable,columns);\r\n\t\ttable.setEnabled(false);\r\n\t\ttable.getTableHeader().setBorder( BorderFactory.createLineBorder(Color.BLACK) );\r\n\t\t//table.setBorder( BorderFactory.createLineBorder(Color.BLACK) );\r\n\t\ttable.getTableHeader().setReorderingAllowed(false);\r\n\t\ttable.getTableHeader().setResizingAllowed(false);\r\n\t\ttable.setRowHeight(30);\r\n\t\tJScrollPane jsp = new JScrollPane(table);\r\n\t\tjsp.setBounds(WINDOW_WIDTH/11, 30, WINDOW_WIDTH/11*10, VIEW_HEIGHT);\r\n\t\tframe.add(jsp);\r\n\t\t\r\n\t\tDefaultTableCellRenderer centerRenderer = new DefaultTableCellRenderer();\r\n\t\tcenterRenderer.setHorizontalAlignment(DefaultTableCellRenderer.RIGHT );\r\n\t\ttable.setDefaultRenderer(String.class, centerRenderer);\r\n\t\t\r\n\t\t//Show the age column\r\n\t\tfor(int i=0; i<dataTable.size(); i++){\r\n\t\t\t JLabel label = new JLabel( dataTable.get(i).getDataName() );\r\n\t\t\t label.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\t\t label.setBounds(0, 22+LABEL_HEIGHT*(i+1), WINDOW_WIDTH/11, LABEL_HEIGHT);\r\n\t\t\t label.setBorder( BorderFactory.createLineBorder(Color.BLACK) );\r\n\t\t\t frame.add(label);\r\n\t\t}\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t}", "title": "" }, { "docid": "e63348ad524ea913ba6e40c04dd5c461", "score": "0.49999112", "text": "public void setOrien() {\n PageEntity pageEntity = this.mainViewPage.getEntity();\n String linkPageID = pageEntity.getLinkPageID();\n if ((pageEntity.getType().equals(ViewPage.PAGE_TYPE_HOR) || pageEntity.getType().equals(ViewPage.PAGE_TYPE_NONE)) && StringUtils.isEmpty(linkPageID)) {\n this.hlActivity.setRequestedOrientation(0);\n BookSetting.IS_HOR = true;\n } else if (!pageEntity.getType().equals(ViewPage.PAGE_TYPE_VER) || !StringUtils.isEmpty(linkPageID)) {\n this.hlActivity.setRequestedOrientation(4);\n } else {\n BookSetting.IS_HOR = false;\n this.hlActivity.setRequestedOrientation(1);\n }\n }", "title": "" }, { "docid": "b9ba9de10fe8faf2276732dc493ca558", "score": "0.49967566", "text": "private void manageHeaderView() {\n\n HeaderViewManager.getInstance().InitializeHeaderView(null, view, manageHeaderClick());\n HeaderViewManager.getInstance().setHeading(true, \"Products\");\n HeaderViewManager.getInstance().setLeftSideHeaderView(true, R.drawable.left_arrow);\n HeaderViewManager.getInstance().setRightSideHeaderView(true, R.drawable.cart_white);\n HeaderViewManager.getInstance().setLogoView(false);\n\n }", "title": "" }, { "docid": "4b42203a7f3ae12b2e080dee2f1de136", "score": "0.4988139", "text": "public void setTopHeadersAfterFirstLineHiding(boolean showTopHeadersAfterFirstLine) {\n this.topHeadersAfterFirstLineHiding = showTopHeadersAfterFirstLine;\n }", "title": "" }, { "docid": "0dc64db6bd0309522cb2c66c6470e38c", "score": "0.49823838", "text": "private void setTableRenderingPreferences() {\n DefaultTableCellRenderer centerRenderer = \r\n new DefaultTableCellRenderer();\r\n centerRenderer.setHorizontalAlignment(DefaultTableCellRenderer.CENTER);\r\n centerRenderer.setVerticalAlignment(DefaultTableCellRenderer.CENTER); \r\n \r\n TableColumnModel m = view.getPobTable().getColumnModel();\r\n m.getColumn(0).setPreferredWidth(40);\r\n m.getColumn(0).setCellRenderer(centerRenderer);\r\n m.getColumn(1).setPreferredWidth(40);\r\n m.getColumn(1).setCellRenderer(centerRenderer);\r\n m.getColumn(2).setPreferredWidth(250); \r\n m.getColumn(3).setCellRenderer(centerRenderer);\r\n m.getColumn(4).setPreferredWidth(220);\r\n m.getColumn(5).setPreferredWidth(80);\r\n m.getColumn(5).setCellRenderer(centerRenderer); \r\n m.getColumn(6).setCellRenderer(centerRenderer);\r\n m.getColumn(7).setCellRenderer(centerRenderer);\r\n m.getColumn(8).setPreferredWidth(80);\r\n m.getColumn(8).setCellRenderer(centerRenderer);\r\n m.getColumn(9).setPreferredWidth(80);\r\n m.getColumn(9).setCellRenderer(centerRenderer);\r\n }", "title": "" }, { "docid": "84139090d179b2c4b5e16de9e508997d", "score": "0.49732077", "text": "void setColumnSize()\r\n {\r\n // the locations of the edges of the current column\r\n float leftColEdge, rightColEdge, topColEdge, bottomColEdge;\r\n\r\n leftColEdge = computeLeftColEdge();\r\n rightColEdge = computeRightColEdge( leftColEdge );\r\n topColEdge = computeTopColEdge();\r\n bottomColEdge = computeBottomColEdge( topColEdge );\r\n\r\n iTColumn.setSimpleColumn( leftColEdge,\r\n bottomColEdge,\r\n rightColEdge,\r\n topColEdge );\r\n }", "title": "" }, { "docid": "a57f16b5e4ea5b3daaf3e0d2b5289660", "score": "0.49692675", "text": "public void setIsReprintHeaderOnEachPage(boolean isReprintHeaderOnEachPage) {\r\n this.isReprintHeaderOnEachPage = isReprintHeaderOnEachPage;\r\n }", "title": "" }, { "docid": "f8fdc0401aa970aa03715183dad39707", "score": "0.49686885", "text": "protected void setGridView(boolean gridView) {\n isGridView = gridView;\n MenuShape = HomeMenu.DRAWABLE_SHAPE.DEFAULT;\n }", "title": "" }, { "docid": "8c1b5db1b2f6d4a9d2897b4d010915f1", "score": "0.49625605", "text": "public boolean isIconRowHeaderEnabled() {\n\t\tfor (int i=0; i<getComponentCount(); i++) {\n\t\t\tif (getComponent(i)==iconArea) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "5df619676a77255eec9b04088f53fac8", "score": "0.49597833", "text": "public boolean[] getColumnVisibility() {\n return visible;\n }", "title": "" }, { "docid": "e5895da9a56581d0e70c9740ba1b6fe0", "score": "0.4956665", "text": "public void setVisible(boolean show);", "title": "" }, { "docid": "42e4aa8b3b91dabb00b8abb26ec4f334", "score": "0.49556524", "text": "public void setDisplayZeros(boolean value)\n {\n _sh.setDisplayZeros(value);\n }", "title": "" }, { "docid": "a7bab12c6cdb2a9495ff3130921368b6", "score": "0.49519688", "text": "@Override\n public void setHide() {\n this.showGrid = false;\n repaint();\n }", "title": "" }, { "docid": "a3ad649df9a1ffa8ee7e67e0fa14e945", "score": "0.49512574", "text": "private void printGridHeader()\n {\n System.out.println(\"\\n-----------------------------\");\n System.out.println(\"Player \" + id + \"'s turn. (Your marker is \"\n + playerMark + \")\");\n System.out.println(\"-----------------------------\");\n }", "title": "" }, { "docid": "f54abdbda38d78ac2ce9ac07c76bb7f2", "score": "0.49498788", "text": "public void grid_mode(View v);", "title": "" }, { "docid": "8116ece575720c57e595247d4c7cc323", "score": "0.4949349", "text": "boolean excludeFromRowLayoutVerification();", "title": "" }, { "docid": "cdbe9cce59fa6b5ac7b55f00d12eccf7", "score": "0.4947054", "text": "public void setEditable()\n {\n for (int i = 0; i < editableColumns.length; i++)\n editableColumns[i] = true;\n }", "title": "" }, { "docid": "d151d3264e993cbf6a7d586e9a07cd8f", "score": "0.4945375", "text": "protected boolean getShowRowTotalsOn(){\n return showRowTotalsOn;\n }", "title": "" }, { "docid": "73df5cac86ae5b721ebb3c23ec465dff", "score": "0.49448904", "text": "@VTID(72)\n void setEnablePivotTable(\n @LCID int lcid,\n boolean rhs);", "title": "" }, { "docid": "21f63d9139cf613a4a162e1404655afe", "score": "0.49435726", "text": "public void setHorizontallyCenter(boolean value)\n {\n _sh.setHorizontallyCenter(value);\n }", "title": "" } ]
16f1684b613a3c3195bd97e57284678c
/ Code to run ONCE when the driver hits PLAY
[ { "docid": "3b8ff0976d55fb4acdacf1979eaa004d", "score": "0.0", "text": "@Override\n public void loop() {\n telemetry.addData(\"flickerValue\",robot.flicker.getCurrentPosition());\n telemetry.addData(\"leftMotorValue\",robot.leftMotor.getCurrentPosition());\n telemetry.addData(\"rightMotorValue\",robot.rightMotor.getCurrentPosition());\n telemetry.addData(\"beaconLeft\",robot.beaconLeft.getPosition());\n telemetry.addData(\"beaconRight\",robot.beaconRight.getPosition());\n telemetry.addData(\"Clear\", robot.colorSensor.alpha());\n telemetry.addData(\"Red \", robot.colorSensor.red());\n telemetry.addData(\"Green\", robot.colorSensor.green());\n telemetry.addData(\"Blue \", robot.colorSensor.blue());\n\n // get the x, y, and z values (rate of change of angle).\n xVal = robot.gyro.rawX();\n yVal = robot.gyro.rawY();\n zVal = robot.gyro.rawZ();\n\n // get the heading info.\n // the Modern Robotics' gyro sensor keeps\n // track of the current heading for the Z axis only.\n gyroAngle = robot.gyro.getHeading();\n int standardAngle = robot.convertGyroToStandardAngle(gyroAngle);\n angleZ = robot.gyro.getIntegratedZValue();\n\n\n targetVector = targetPosition.subtracted(currentPosition);\n\n\n float headingX = robot.getXFromStandardAngle(standardAngle);\n float headingY = robot.getYFromStandardAngle(standardAngle);\n VectorF headingVector = new VectorF(headingX, headingY);\n\n\n telemetry.addData(\"GyroAngle\", \"Heading %03d\", gyroAngle);\n telemetry.addData(\"Standard Angle\", \"%03d\", standardAngle);\n telemetry.addData(\"CurrentPos\", \"%5.2f %5.2f\", currentPosition.get(0), currentPosition.get(1));\n telemetry.addData(\"TargetPos\", \"%5.2f %5.2f\", targetPosition.get(0), targetPosition.get(1));\n telemetry.addData(\"TargetVector\", \"%5.2f %5.2f\", targetVector.get(0), targetVector.get(1));\n telemetry.addData(\"HeadingVector\", \"%5.2f %5.2f\", headingX, headingY);\n\n\n telemetry.addData(\"TargetAngleError\", robot.getHeadingError(headingVector, targetVector));\n telemetry.addData(\"angZ\", \"Int. Ang. %03d\", angleZ);\n telemetry.addData(\"X\", \"X av. %03d\", xVal);\n telemetry.addData(\"Y\", \"Y av. %03d\", yVal);\n telemetry.addData(\"Z\", \"Z av. %03d\", zVal);\n telemetry.update();\n }", "title": "" } ]
[ { "docid": "f247efb40649b0dadef17633ce2090c7", "score": "0.6988924", "text": "public void Play(){\n\t\t}", "title": "" }, { "docid": "f37aa8e347cf13e26f5cc9f303fe406b", "score": "0.69742996", "text": "@Override\n public void playStart() {\n }", "title": "" }, { "docid": "10f69623da9b399318c4b9e13cb8b9aa", "score": "0.69020015", "text": "public void play() {\r\n\t}", "title": "" }, { "docid": "f4973dfa4bb5e25916c1535eb8d13377", "score": "0.6901032", "text": "@Override\n \tpublic void onPlayATaunt() {\n \t\tPlayATaunt();\n \t\t\n \t}", "title": "" }, { "docid": "26802639a49d80a3ff6019e4010cfcd0", "score": "0.6868606", "text": "public void play() {\n AppMethodBeat.i(104656);\n Logger.i(TAG, axiliary(\"play\"));\n if (this.mPcmCompnent == null) {\n AppMethodBeat.o(104656);\n return;\n }\n this.mPcmCompnent.play();\n AppMethodBeat.o(104656);\n }", "title": "" }, { "docid": "c06aba02489408b9e63b186a24657587", "score": "0.68566287", "text": "@Override\n\tvoid startPlay() {\n\t\tSystem.out.println(\"Play Cricket\");\n\t}", "title": "" }, { "docid": "e0891b3b90882ce96146c6cc29be955a", "score": "0.68176115", "text": "public void execPlayNextByUser() {\n PlayEnableController.pauseByUser(false);\n playNext();\n }", "title": "" }, { "docid": "f65ec9874793c358873a7372bd6e1780", "score": "0.6789708", "text": "@Override\n public void onPlayReady() {\n\n }", "title": "" }, { "docid": "f65ec9874793c358873a7372bd6e1780", "score": "0.6789708", "text": "@Override\n public void onPlayReady() {\n\n }", "title": "" }, { "docid": "476a683db756f7989289df9ebc605e62", "score": "0.6783519", "text": "@Override\r\n\tpublic void play() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2471d7464d2e2badecf64cae46b4a7d2", "score": "0.6769649", "text": "@Override\n public void runOpMode() {\n robot.init(hardwareMap);\n\n\n // Wait for the game to start (driver presses PLAY)\n // Abort this loop is started or stopped.\n while (!(isStarted() || isStopRequested())) {\n idle();\n }\n\n }", "title": "" }, { "docid": "9d673843d65e8e13c1c01cfe29f9d964", "score": "0.6746194", "text": "@Override\n\tpublic void Play() {\n\t\t\n\t}", "title": "" }, { "docid": "ed0920b2c26791f8d1878394530b0202", "score": "0.6739937", "text": "public void cheat(){\n mainApp.player.updatePlayerCurrent(1000);\n }", "title": "" }, { "docid": "fdb7a157ca22ad2b433b3300ffe690f5", "score": "0.67219085", "text": "@Override\n\tpublic void onStartPlayback(CompositionData compositionData) {\n\t}", "title": "" }, { "docid": "1f9b7bb9e8bbd98e2661d6bb8ff06f20", "score": "0.6712222", "text": "public void play() {\n }", "title": "" }, { "docid": "318fc96b30341efacdc5c88b09b59c61", "score": "0.66978997", "text": "@Override\r\n\tpublic void play() {\n\t}", "title": "" }, { "docid": "1c7e956aebbbb79e52e724f4e277847a", "score": "0.66837186", "text": "public void run() {\n\t\tsetUp();\n\t\tplay();\n\t}", "title": "" }, { "docid": "6cd31189e33a401c49897023d6f558a5", "score": "0.6658244", "text": "public void execPlayPrevByUser() {\n PlayEnableController.pauseByUser(false);\n playPrev();\n }", "title": "" }, { "docid": "e91fad2acd0a73e8ae521069cf9a95df", "score": "0.6637266", "text": "@Override\n\tpublic void onPlayCommand() {\n\t\t\n\t}", "title": "" }, { "docid": "3ff6214aacbe3aea63bbb04ebdbb4d59", "score": "0.6632288", "text": "public void start() {\r\n\t\tplayingField = new PlayingField();\r\n\t\treferee = new GameReferee(playingField);\r\n\t\tactualizeGameState(referee.getActualNote());\r\n\t}", "title": "" }, { "docid": "2a8c43c742d0b403561d1b4c7dca43e3", "score": "0.66281754", "text": "@Override\n\tpublic void play() {\n\t\t\n\t}", "title": "" }, { "docid": "bcd2d24123bad3f9957cb266523f5a87", "score": "0.6626004", "text": "private void play()\n {\n // Get StoryReader.\n StoryReader reader;\n try\n {\n reader = new StoryReader(this);\n }\n catch (IOException | XmlPullParserException e)\n {\n logger.e(LOG_TAG, e.toString());\n Toast.makeText(this, getString(R.string.stories_read_failure),\n Toast.LENGTH_SHORT).show();\n stopSelf();\n return;\n }\n\n // Get selected story.\n selectedStory = reader.getStory(selectedStoryTitle);\n\n // Process initialisation statements.\n variableHelper.processStatements(selectedStory.getInitStatements());\n\n // Set possible spots in the LocationHelper.\n locationHelper.setSpots(selectedStory.getSpots());\n\n // Send the record of the intro audio file to the activity.\n Intent intent = new Intent(EVENT_NEW_RECORD);\n intent.putExtra(EXTRA_RECORD, selectedStory.getIntroRecord());\n LocalBroadcastManager.getInstance(this).sendBroadcast(intent);\n\n // Reset current play statement.\n currentPlayStatement = null;\n\n // Start location tracking.\n locationHelper.startLogging();\n\n initializePlayer();\n registerAsForeground();\n prepareIntroAudio();\n }", "title": "" }, { "docid": "9e0e1c4445e60bcc3144382e5e04972b", "score": "0.6616424", "text": "public void continuePlaying() {\n askServer().continuePlaying();\n }", "title": "" }, { "docid": "80a1344180c03254976403e1d0a71991", "score": "0.66027075", "text": "public void playContinuosly() {\n\t\tstep = false;\n\t}", "title": "" }, { "docid": "8e446614a11beab3ebf33e06eb9cfe45", "score": "0.65901804", "text": "protected void playImpl() {\n this.mEventLogger.onRequestProcessingStart();\n synchronized (this) {\n if (isStopped()) {\n } else {\n this.mSynthesisCallback = createSynthesisCallback();\n AbstractSynthesisCallback synthesisCallback = this.mSynthesisCallback;\n }\n }\n }", "title": "" }, { "docid": "be6489bb4e3cbb92bfb643ae1d8def2a", "score": "0.6587953", "text": "@Override\n\tpublic void play() {\n\n\t}", "title": "" }, { "docid": "d280cb6ef4da7bacfe4bd4924187cf8f", "score": "0.65780723", "text": "@Override\n public void play() {\n System.out.println(\"Playing\");\n\n }", "title": "" }, { "docid": "3e813a29a02dd72b3bda2833ddedf25c", "score": "0.654502", "text": "private void connected() {\n\n Log.d(\"MainActivity\", \"OKAYYYYYY SO THIS RUNSSS\");\n if (mood == \"high\") {\n mSpotifyAppRemote.getPlayerApi().play(runtemp(high));//\"spotify:playlist:37i9dQZF1DX6Rl8uES4jYu\");//37i9dQZF1DX2sUQwD7tbmL\n\n } else if (mood == \"medium\") {\n mSpotifyAppRemote.getPlayerApi().play(runtemp(med));//\"spotify:playlist:37i9dQZF1DX6Rl8uES4jYu\");//37i9dQZF1DX2sUQwD7tbmL\n\n } else {\n mSpotifyAppRemote.getPlayerApi().play(runtemp(low));//\"spotify:playlist:37i9dQZF1DX6Rl8uES4jYu\");//37i9dQZF1DX2sUQwD7tbmL\n }\n mSpotifyAppRemote.getPlayerApi()\n .subscribeToPlayerState()\n .setEventCallback(playerState -> {\n final Track track = playerState.track;\n if (track != null) {\n Log.d(\"MainActivity\", track.name + \" by \" + track.artist.name);\n song.setText(track.name + \" by \" + track.artist.name);\n\n }\n });\n }", "title": "" }, { "docid": "02d54466b44f06a7da8eab53f980c85c", "score": "0.65428406", "text": "private void startPlay() {\n mGame.startGame();\n }", "title": "" }, { "docid": "1fe847e5660d90a23b47da791512f4ec", "score": "0.6541817", "text": "@Override\r\n \t\t public void run() {\n \t\t play();\r\n \t\t }", "title": "" }, { "docid": "c4b5285de182422a0a76a22d2b8f9c0c", "score": "0.6525657", "text": "@Override\n public void play() {\n System.out.println(\"Playing\");\n }", "title": "" }, { "docid": "08b7217fd3c278d3906f6d12f06e6d9d", "score": "0.6494361", "text": "public void play() {\n System.out.println(\"Playing\");\n }", "title": "" }, { "docid": "08b7217fd3c278d3906f6d12f06e6d9d", "score": "0.6494361", "text": "public void play() {\n System.out.println(\"Playing\");\n }", "title": "" }, { "docid": "f259597272e10c4f84345a5ab76b278a", "score": "0.6492075", "text": "public void play() {\n updateHappiness(50);\n Status.updateActions(-1);\n }", "title": "" }, { "docid": "b5ec35af967c52eaf1f8df26561f35d6", "score": "0.6488338", "text": "public void onPlayComplete() {\n mPlayAudioThread = null;\n if (mPlayState != PlayState.MPS_PAUSE) {\n setPlayState(PlayState.MPS_PREPARE);\n }\n\n }", "title": "" }, { "docid": "9a583eeb0bebe78ecba87923b92ddcfd", "score": "0.64756316", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\tKWebApiImpl.instance().onResumeGame(KMetaData.GameCode,\n\t\t\t\t\t\t\tKUserSession.instance().getSdkAccessToken());\n\t\t\t\t} catch (KServiceException 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": "fd4f8a5a99f52ec48db219fa9a791000", "score": "0.64614475", "text": "void onPlayEvent();", "title": "" }, { "docid": "829a98b559e6ee8f248fa59e1b829d9f", "score": "0.64356303", "text": "@Override\r\n \t\t public void run() {\n \t\t play();\r\n \t\t }", "title": "" }, { "docid": "74d6c66670d881108a335fdd7edd4efc", "score": "0.64228094", "text": "@Override\n\tpublic void startQuickGame() {\n\t\tSystem.out.println(\"Start quick game\");\n\t\tthis.mMultiplayerSeisson.mState=mMultiplayerSeisson.ROOM_PLAY;\n\t}", "title": "" }, { "docid": "4906224d2899aa326001676344ab8e8c", "score": "0.6411081", "text": "@Override\n public void onPlayPressed() {\n this.startObservingRobotSensorData();\n }", "title": "" }, { "docid": "b8e1469d7630e99c8b64624153514df7", "score": "0.64047354", "text": "@Override\n\tpublic boolean willPlay() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "fbfdc318cd1a0af5add23dbd47ca48fd", "score": "0.6395553", "text": "@SuppressWarnings(\"unused\")\n void play();", "title": "" }, { "docid": "41f85175c457459a215b1df9a3d3cf59", "score": "0.63882667", "text": "public void takeTurn() {\n if (this.engine != null) {\n // Run the engine on a new thread, non-blocking\n this.engine.run();\n }\n }", "title": "" }, { "docid": "2b0d80834b0cf56267746ce7e98c69a8", "score": "0.63789564", "text": "private void beginPlayingGame() {\n }", "title": "" }, { "docid": "a42e07c7db5549202c4bb548b6219609", "score": "0.6367365", "text": "public void playSolo(){\n\t\tSystem.out.println(\"\"+name+\" \"+solo.play());\n\t}", "title": "" }, { "docid": "16aa69c2a6b12a84d0ec7f34c1ef12d1", "score": "0.6364663", "text": "@Override\r\n\tpublic void afterGameStart() {\n\t\t\r\n\t}", "title": "" }, { "docid": "375f3da1f80ad536d7d6c83205f32415", "score": "0.63485485", "text": "@Override\n public void serviceStartPrePlayer() {\n if (currentPosition > 0) {\n currentPosition--;\n serviceStartNewPlayer(currentPosition);\n }\n }", "title": "" }, { "docid": "5be018026d3b72ef42c43a2a63a3685c", "score": "0.63464344", "text": "@Override\n\tpublic void play() {\n\t\tSystem.out.println(\"Flute is playing tut tut tut tut\");\n\t\t\n\t}", "title": "" }, { "docid": "da3bba3a252c0a876340bdd69b361747", "score": "0.6335513", "text": "public void onLoad() {\n if(shouldPlay) {\n play();\n shouldPlay = false;\n }\n }", "title": "" }, { "docid": "e6c3999a04dc76acc554d52381d21967", "score": "0.6328057", "text": "@Override\r\n public void pause() {\r\n\r\n }", "title": "" }, { "docid": "fcc7588f37e4f9f7eed5f55e1a7a0318", "score": "0.6315722", "text": "public void start() {\n this.play();\n }", "title": "" }, { "docid": "33388b3992399ad3b0073dcb5c2639e9", "score": "0.6307084", "text": "@Override\n\tpublic void run() {\n\t\tplay();\n\t}", "title": "" }, { "docid": "d46a87e3f87eb8aab09dc927665709a9", "score": "0.63038415", "text": "public void playMonumentCard(){//DevCardController --goes in GamePlay\n switch(gameState){\n case GamePlay:\n gamePlayController.playMonumentCard();\n serverProxyFacade.playMonument(clientPlayer.getIndex());\n default:\n \n }\n }", "title": "" }, { "docid": "f75e55b0e4bf3217c333cb1a00c6882e", "score": "0.6298221", "text": "public void run(){\n\t \twhile(true){\n\t \t\tif(isContinue){\n\t \t\t\tif(isReplay)\n\t \t\t\t\treplay();\n\t \t\t\telse\n\t \t\t\t\tplay();\n\t \t\t}\n\t \t}\n\t }", "title": "" }, { "docid": "8716abc89063e771abcd14ad198af87c", "score": "0.629666", "text": "@FXML private void handlePlay() throws ClassNotFoundException {\r\n\t\tpla ^= true;\r\n\t\tif(pla==true) {\r\n\t\tfiname = playName.getText();\r\n\t\tSystem.out.println(\"play\");\r\n\t\tplay.setText(\"Stop\");\r\n\t\tThread play = new Thread(new XyloPlay()); play.start();\r\n\t\t\tSystem.out.println(\"Play start\");\r\n\t\t}\r\n\t\telse if(pla==false) {\r\n\t\t\tplay.setText(\"Play\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1cbc019136ba1d804046e71ba9e0b43c", "score": "0.62896115", "text": "@Override\n public void playPause() {\n return;\n }", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.6285541", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.6285541", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.6285541", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.6285541", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.6285541", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.6285541", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "75b4fbaf65389dd11f7320a192d3eb97", "score": "0.62773776", "text": "@Override\n public void execute() {\n RobotMap.orchestra.play();\n }", "title": "" }, { "docid": "e8992dcebb356da5d93f61db70eeac68", "score": "0.6273739", "text": "@Override\n public void pause() {\n\n }", "title": "" }, { "docid": "e8992dcebb356da5d93f61db70eeac68", "score": "0.6273739", "text": "@Override\n public void pause() {\n\n }", "title": "" }, { "docid": "e8992dcebb356da5d93f61db70eeac68", "score": "0.6273739", "text": "@Override\n public void pause() {\n\n }", "title": "" }, { "docid": "e8992dcebb356da5d93f61db70eeac68", "score": "0.6273739", "text": "@Override\n public void pause() {\n\n }", "title": "" }, { "docid": "4fcffb778370470f19e90142debbf19c", "score": "0.62711596", "text": "public abstract boolean playAlone();", "title": "" }, { "docid": "99e53de31a0e29e6230bf3beaa1be31b", "score": "0.62670344", "text": "protected abstract void play();", "title": "" }, { "docid": "555119f05779e4e91cb148318d4af68b", "score": "0.62664694", "text": "public void playFirst()\r\n {\r\n if (isPlaying)\r\n {\r\n System.out.println(\"Ya se esta reproduciendo una cancion\");\r\n }\r\n else{\r\n if(tracks.size() > 0) {\r\n player.startPlaying(tracks.get(0).getFilename());\r\n tracks.get(0).incrementCount();\r\n isPlaying = true;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "4b91e14fda8dc42bdf193bbc7813d587", "score": "0.6253888", "text": "@Override\n public void pause() {\n \n }", "title": "" }, { "docid": "cba5b8838df5e1d7c20bc25c6a7f166f", "score": "0.62484205", "text": "@Override\r\n\tpublic void pause() {\n\t}", "title": "" }, { "docid": "cba5b8838df5e1d7c20bc25c6a7f166f", "score": "0.62484205", "text": "@Override\r\n\tpublic void pause() {\n\t}", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.6248392", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.6248392", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.6248392", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "1898b1060809c8b59a39f0b6d6742809", "score": "0.62475586", "text": "@Override\n public void pause()\n {\n \n }", "title": "" }, { "docid": "2c52626f27a2d685b0fb4f8349e586f1", "score": "0.6243895", "text": "public void run() {\n if (!mControlPanel.isVRModeEnabled()) {\n OrionVideoTexture t = (OrionVideoTexture) mPanoramaTexture;\n if (t.getActualPlaybackState() == OrionTexture.PlaybackState.PLAYING) {\n mControlPanel.pause();\n mControlPanel.runPauseAnimation();\n } else {\n mControlPanel.play();\n mControlPanel.runPlayAnimation();\n }\n }\n\n }", "title": "" }, { "docid": "48e8f4b1825704fc2082ffe77429d56f", "score": "0.6238403", "text": "protected void playersAllHere ()\n {\n // if we're a seated game and we haven't already started, start.\n if ((getMatchType() == GameConfig.SEATED_GAME) && _gameobj.state == GameObject.PRE_GAME) {\n startGame();\n }\n }", "title": "" }, { "docid": "fd9cd5d86d1d8a0a39d0def440356a8c", "score": "0.62352777", "text": "public static void playApplause() {\r\n\t\tif (on) applause.play();\r\n\t}", "title": "" }, { "docid": "9a6f791215a592b70310cafb8963ff68", "score": "0.6222267", "text": "private static void PlayVideo() {\n\t\t\n\t}", "title": "" }, { "docid": "4a5cbe429af488553426ca0e29ca358a", "score": "0.6221354", "text": "public void startgame() {\n this.nifty.gotoScreen(\"singleplayer\");\n }", "title": "" }, { "docid": "9d04a703ccbdb1fea28b31b3edf3992e", "score": "0.62210405", "text": "@Override\r\n\tpublic void pause() {\n\r\n\t}", "title": "" }, { "docid": "9d04a703ccbdb1fea28b31b3edf3992e", "score": "0.62210405", "text": "@Override\r\n\tpublic void pause() {\n\r\n\t}", "title": "" }, { "docid": "9d04a703ccbdb1fea28b31b3edf3992e", "score": "0.62210405", "text": "@Override\r\n\tpublic void pause() {\n\r\n\t}", "title": "" }, { "docid": "838281f875ad48cb989b177eadee6334", "score": "0.6216379", "text": "@Override\n\tpublic void autonomousInit() {\n\t\tif (recorder.isRunning) {\n\t\t\trecorder.stop();\n\t\t}\n\n\t\t// Scheduler.getInstance().add(new Drive(-0.5, 0, 4.0));\n\t\tif (auto == null) {\n\t\t\tString name = DriverStation.getInstance().getGameSpecificMessage().substring(0, 2);\n\t\t\tname += station.getSelected();\n\t\t\tauto = new Playback(name);\n\t\t}\n\t\tauto.start();\n\t\toi.xbox.setPlaybackMode(true);\n\t}", "title": "" }, { "docid": "a9726f04fa411d285bd38d616c26b789", "score": "0.6215326", "text": "@Override\r\n\t\tpublic void pause() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "96a4e7caf4e2d8367d584fab8c23f0cb", "score": "0.621081", "text": "public synchronized void playTime() {\n\t\tthis.startTime(1);\n\t}", "title": "" }, { "docid": "1e61a8ca04f39abf5151895986fa265c", "score": "0.6204129", "text": "@Override\n\t\t\tpublic void pause() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "72d6c045df6ad7d6cad7138cd7087ace", "score": "0.6194876", "text": "protected void continueGame() {\n\t}", "title": "" }, { "docid": "7058e9b6042ef858fca2312a37877617", "score": "0.619453", "text": "@Override\n public void play () {\n // if you are paused\n if (paused) {\n totalPauseTime += getPauseInterval();\n paused = false;\n }\n }", "title": "" }, { "docid": "b3e2be7ed106828cb372ffe20c1d65ab", "score": "0.61921686", "text": "@Override\n protected void onResume()\n {\n super.onResume();\n mPlayer.start();\n }", "title": "" }, { "docid": "cf32a343da31a87240a015d6d02ff8a7", "score": "0.61921126", "text": "public static void stand(){\n System.out.println(\"Next player to play.\\n\");\n }", "title": "" }, { "docid": "27a3ef1ad46ab552726c58b316d1dfdf", "score": "0.61896706", "text": "@Override\r\n\tpublic void play() {\nSystem.out.println(\"playing drum\");\r\n\t}", "title": "" }, { "docid": "613d69212083b12e7329844367d6f68a", "score": "0.6187902", "text": "@Override\n public void makePlay(int player) {\n }", "title": "" }, { "docid": "08313491cd50db352ee943af327c2d37", "score": "0.6186305", "text": "@Override\n\tpublic void pause() {\n\t}", "title": "" }, { "docid": "08313491cd50db352ee943af327c2d37", "score": "0.6186305", "text": "@Override\n\tpublic void pause() {\n\t}", "title": "" }, { "docid": "3757a777f24573d0f220fe866feac936", "score": "0.6184162", "text": "private void start() {\n\t\tSharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this);\n\t\tString nrPoints = sharedPref.getString(\"nrPoints\", \"3\");\n\n\n\t\tdataHandler.newRoute(Integer.parseInt(nrPoints));\n\t\tdataHandler.startWatch();\n\t\tbtnImage.setImageResource(R.drawable.pause_button);\n\t\tdataHandler.runStatus = RunStatus.RUNNING;\n\t\tplaySound();\n\t}", "title": "" }, { "docid": "d188d653ee983b32ee58e8f94a9ddcf2", "score": "0.6180606", "text": "@Override\n \tpublic void pause() {\n \n \t}", "title": "" }, { "docid": "4d0fa4dac47198aced8c6675b07a2a5f", "score": "0.61803967", "text": "void play();", "title": "" }, { "docid": "4d0fa4dac47198aced8c6675b07a2a5f", "score": "0.61803967", "text": "void play();", "title": "" } ]
480f9c9fb1ac9882bcbc4d7cfaf3d8a8
/ This is a very, very simple blockchain taken from: (c) Amit Rathi I only replaced the ArrayList with a LinkedList, added the serialization code and the maven project. (Thorsten Hirsch) Here's a more realistic example based on Merkle Trees:
[ { "docid": "74a6bb8283acc8bbbfdb7cecba07d9ed", "score": "0.47537515", "text": "public static void main(String[] args) {\n\n Block genesis = new Block(\"BlockChain\", null);\n Block helloBlock = new Block(\"Hello\", genesis);\n Block worldBlock = new Block(\"World\", helloBlock);\n Block dZoneBlock = new Block(\"DZone\", worldBlock);\n\n System.out.println(\"---------------------\");\n System.out.println(\"- BlockChain -\");\n System.out.println(\"---------------------\");\n\n Stream.of(genesis, helloBlock, worldBlock, dZoneBlock).forEach(System.out::println);\n\n System.out.println(\"---------------------\");\n System.out.println(\"Is valid?: \" + validate(dZoneBlock));\n System.out.println(\"---------------------\");\n\n dZoneBlock.writeToFile(\"dzoneblock.dat\");\n System.out.printf(\"Block %s was succesfully written to file %s.%n\", dZoneBlock.getData(), \"dzoneblock.dat\");\n }", "title": "" } ]
[ { "docid": "4b4b6dbd9283fe0740a84f1b7a019a58", "score": "0.589231", "text": "public MerkleTree(List<Transaction> transactions) {\n initMerkleTree(transactions);\n }", "title": "" }, { "docid": "d779dd78d25be0935a4b79bda2a18fdc", "score": "0.58896637", "text": "@Test\n public void testTreeBuilding() {\n TreeSync r1 = new TreeSync((byte) 3, (byte) 7);\n\n r1.add(new byte[]{0, 1});\n Assert.assertEquals(1, r1.getCount());\n r1.add(new byte[]{1, 0});\n Assert.assertEquals(2, r1.getCount());\n r1.add(new byte[]{125, 31, 1, 1});\n Assert.assertEquals(3, r1.getCount());\n\n\n\n List<TreeSync.ExportLeaf> e = r1.exportLeafStructureOnly();\n Assert.assertEquals(2, e.size());\n Assert.assertEquals(3, r1.getCount());\n Assert.assertEquals(3,e.get(0).keyCount + e.get(1).keyCount);\n\n TreeSync r2 = new TreeSync((byte) 3, (byte) 7);\n r2.add(new byte[]{125, 31, 1, 1});\n Assert.assertEquals(1, r2.getCount());\n List<TreeSync.ExportLeaf> e2 = r2.exportLeafStructureOnly();\n Assert.assertEquals(1, e2.size());\n //\n\n // sync e2 with e1\n r1.removeMatchingLeafs(e2); // we remove all the leafs in common\n //\n Assert.assertTrue(r1.isInExistingBucket(new byte[]{0, 1})); //<- key is in a existing bucket, we need to sync from r1 to r2\n Assert.assertTrue(r1.isInExistingBucket(new byte[]{1, 0})); //<- key is in a existing bucket, we need to sync from r1 to r2\n Assert.assertFalse(r1.isInExistingBucket(new byte[]{125, 31, 1, 1})); //<- key is not in a existing bucket, we don't need to sync it\n\n\n }", "title": "" }, { "docid": "ad855f1f84c7eeb9a3016c6d59145c9b", "score": "0.58822894", "text": "public interface BlockChainInterface {\n Block getLatestBlock();\n\n boolean addBlock(Block newBlock);\n\n boolean isValidBlock(Block newBlock, Block previousBlock);\n\n void replaceChain(List<Block> newBlocks);\n\n Block mine(String toAddress);\n\n Transaction generateBaseTx(String toAddress);\n\n Transaction createTransaction(Wallet senderWallet, Wallet recipientWallet, int amount);\n\n Wallet createWallet();\n\n int getWalletBalance(String address);\n\n List<Block> getBlockChain();\n\n void setBlockChain(List<Block> blockChain);\n\n Map<String, Wallet> getMyWalletMap();\n\n void setMyWalletMap(Map<String, Wallet> myWalletMap);\n\n Map<String, Wallet> getOtherWalletMap();\n\n void setOtherWalletMap(Map<String, Wallet> otherWalletMap);\n\n List<Transaction> getAllTransactions();\n\n void setAllTransactions(List<Transaction> allTransactions);\n\n List<Transaction> getPackedTransactions();\n\n void setPackedTransactions(List<Transaction> packedTransactions);\n}", "title": "" }, { "docid": "30094d3300cb3b262bde13128aa7444f", "score": "0.5822283", "text": "public synchronized void saveBlockChain(ArrayList<LinkedList<Block>> blockChain, LinkedList<Block> longestChain){\n\n\t\tsynchronized (blockChainLock) {\n\n\t\t\t//Gson gson = new Gson();\n\t\t\t//TODO check if this file is needed\n\t\t\tFile file = new File(BLOCKCHAIN_FILE);\n\n\t\t\ttry (ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(BLOCKCHAIN_FILE))) {\n\n\t\t\t\t//String json = gson.toJson(blockChain);\n\t\t\t\tout.writeObject(blockChain);\n\n\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tthrow new RuntimeException(\"Could not save blockchain to file.\");\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\n\n\t\t\ttry (PrintWriter out = new PrintWriter(new FileOutputStream(HUMAN_READABLE))) {\n\n\t\t\t\tString outString = \"\";\n\n\t\t\t\t//For each block make a section with the block information\n\t\t\t\tfor( int i = longestChain.size()-1 ; i>= 0 ; i--){\n\t\t\t\t\tBlock currentBlock = longestChain.get(i);\n\t\t\t\t\tHashMap<String, Transaction> blockTransactions = currentBlock.getData();\n\n\t\t\t\t\toutString += \"========================================================================\\n\";\n\t\t\t\t\toutString += \"Block number: \" + i + '\\n';\n\n\t\t\t\t\toutString += \"The current block hash is: \\n\"+currentBlock.getHashBlock() + '\\n';\n\t\t\t\t\toutString += \"The previous block hash is: \\n\"+currentBlock.getHashPrevious() +'\\n';\n\t\t\t\t\toutString += \"========================================================================\\n\";\n\t\t\t\t\toutString += \"TRANSACTIONS: \\n\";\n\t\t\t\t\toutString += \"========================================================================\\n\";\n\n\t\t\t\t\t//For each transaction on a block make a section that represents the to and from transaction\n\t\t\t\t\tfor (String id : blockTransactions.keySet())\n\t\t\t\t\t{\n\t\t\t\t\t\tTransaction t = blockTransactions.get(id);\n\t\t\t\t\t\toutString += \"\\n\";\n\t\t\t\t\t\toutString += \"Id: \\n\" + ((t.getInput().get(0).getContainerId() == CoinBase.COIN_BASE_ID)?\n\t\t\t\t\t\t\t\t\t\t\t\t\tCoinBase.PARENT_TRANSACTION_ID\t\t:\t t.getTransactionId())+\"\\n\";\n\t\t\t\t\t\toutString += \"From: \\n\" + ((t.getInput().get(0).getContainerId() == CoinBase.COIN_BASE_ID)?\n\t\t\t\t\t\t\t\t\t\t\t\t\tCoinBase.COIN_BASE_ID\t\t:\t t.getPublicSender())+\"\\n\";\n\t\t\t\t\t\toutString += \"To: \\n\" + t.getPublicReceiver()+\"\\n\";\n\t\t\t\t\t\toutString += \"Amount: \" + t.getExchangeAmmountString()+\"\\n\";\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tout.write(outString);\n\n\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tthrow new RuntimeException(\"Could not save blockchain to file.\");\n\t\t\t} \n\t\t}\n\n\t}", "title": "" }, { "docid": "640bed0840c8ea1fcfca6fbbf34449d2", "score": "0.5780763", "text": "public static void main(String[] args) {\r\n\r\n //We will now create 4 blocks and each will be added to the BLOCK_CHAIN arrayList\r\n //They will individually call doHash() method whenever the BlockChainB constructor is called\r\n BlockChainB originalBlock = new BlockChainB(\"Original Block\", \"0\");\r\n originalBlock.mine(1);\r\n BLOCK_CHAIN.add(originalBlock);\r\n BlockChainB block1 = new BlockChainB(\"Block 1\", originalBlock.hash);\r\n block1.mine(1);\r\n BLOCK_CHAIN.add(block1);\r\n BlockChainB block2 = new BlockChainB(\"Block 2!\", block1.hash);\r\n block2.mine(1);\r\n BLOCK_CHAIN.add(block2);\r\n BlockChainB block3 = new BlockChainB(\"Block 3!\", block2.hash);\r\n block3.mine(1);\r\n BLOCK_CHAIN.add(block3);\r\n //for debugging purposes we print the block chain in JSON format\r\n String JSONBlockChain = new GsonBuilder().setPrettyPrinting().create().toJson(BLOCK_CHAIN);\r\n System.out.println(\"JSON Block Chain B is \" + JSONBlockChain);\r\n\r\n //calls the checkChain() method to see if our block chain was built appropriately\r\n if(checkChain()) {\r\n System.out.println(\"BLOCK_CHAIN built successfully\");\r\n } else System.out.println(\"BLOCK_CHAIN built unsuccessfully\");\r\n\r\n //calling the writeToJSON() method so that our output will be in a json file\r\n writeToJSON();\r\n\r\n }", "title": "" }, { "docid": "34f7a4894040b19eb5931e5605735fbf", "score": "0.56267923", "text": "public void testSerialization() {\n BlockContainer c1 = new BlockContainer();\n c1.add(new EmptyBlock(1.2, 3.4));\n BlockContainer c2 = (BlockContainer) TestUtilities.serialised(c1);\n }", "title": "" }, { "docid": "9783580d54e4c0db39b4bbe2074a9c63", "score": "0.5577476", "text": "private MTNode createTrueTree(URL url) throws IOException, NoSuchAlgorithmException {\n\t\tMerkleTree mt = new MerkleTree();\n\t\tfor(int i=0;i<numOfLeaves;i++) {\n\t\t\tmt.addDataBlock(null);\n\t\t}\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));\n\t\tString firstHash = null;\n\t\tQueue<MTNode> queue = new LinkedList<MTNode>();\n\t\tqueue.add(mt.getRoot());\n\t\twhile((firstHash=br.readLine())!=null&&!queue.isEmpty()) {\n\t\t\tMTNode temp = queue.poll();\n\t\t\ttemp.setData(firstHash);\n\t\t\taddChilds(queue, temp);\n\t\t}\n\t\treturn mt.getRoot();\n\t}", "title": "" }, { "docid": "63b373bbb5585990be9d445bf64a391c", "score": "0.55416334", "text": "public void deleteBlockchain(){\n try {\n FileOutputStream out = new FileOutputStream(\"storage.txt\");\n ObjectOutputStream oos = new ObjectOutputStream(out);\n ArrayList<Block> empty = new ArrayList<Block>();\n oos.writeObject(empty);\n oos.close();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "5291e3b4a334ff4cb061b6a6198d1931", "score": "0.5532081", "text": "public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tSystem.out.println(\"Please, enter the name of the file: \");\n\t\tString filename = in.nextLine().trim() + \".txt\";\n\t\t// this will throw an error if the file doesn't exist in the directory\n\t\tBlockchain myBlockchain = Blockchain.fromFile(filename);\n\n\t\t// 2. validate the blockchain\n\t\tboolean isValid =myBlockchain.validateBlockchain();\n\n\n\t\tboolean enterTransaction = true;\n\n\t\twhile(enterTransaction==true){\n\t\t\t// 3. get the sender, the receiver and the balance of the sender\n\t\t\tSystem.out.println(\"Please enter the name of the sender\");\n\t\t\tString sender = in.nextLine().trim();\n\t\t\tSystem.out.println(\"Please enter the name of the receiver\");\n\t\t\tString receiver = in.nextLine().trim();\n\t\t\tSystem.out.println(\"Please enter the amount of bitcoins to be sent\");\n\t\t\tint amount = Integer.valueOf(in.nextLine().trim());\n\n\t\t\tif (myBlockchain.getBalance(sender) >= amount){\n\t\t\t\tString nonce = \"\";\n\t\t\t\tBlock tempBlock;\n\t\t\t\tString previousHash = \"\";\n\t\t\t\tint index = myBlockchain.size(); // the new index for the new block\n\n\t\t\t\t// getting the right previousHash \n\t\t\t\tif(myBlockchain.size() == 0){\n\t\t\t\t\tpreviousHash = \"00000\";\n\t\t\t\t} else {\n\t\t\t\t\ttry{\n\t\t\t\t\t\tpreviousHash = Sha1.hash(myBlockchain.chain.get(myBlockchain.size()-1).toString());\n\t\t\t\t\t} catch (Exception e){\n\t\t\t\t\t\tSystem.out.println(\"Could not get previous hash\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\n\t\t\t\tLong timestamp = (new Timestamp(System.currentTimeMillis())).getTime(); // the long value of the timestamp\n\n\t\t\t\tTransaction tempT = new Transaction(sender, receiver, amount); // the transaction to be inserted into the new block \n\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tchar[] randChar = new char[6];\n\n\t\t\t\tString potHash = \" \";\n\t\t\t\tString potString = \"\";\n\t\t\t\t\n\t\t\t\tmyBlockchain.hashTrials = 0;\n\n\t\t\t\twhile (!potHash.substring(0,5).equals(\"00000\")){\n\t\t\t\t\tmyBlockchain.hashTrials ++;\n\t\t\t\t\tSystem.out.println(\"in the while loop\");\n\t\t\t\t\tnonce = \"\";\n\n\t\t\t\t\t// generate new value for the nonce\n\t\t\t\t\tfor(int i = 0; i<randChar.length; i++){\n\t\t\t\t\t\tint randInt = (int)(Math.random()*((126-33)+1))+33;\n\t\t\t\t\t\trandChar[i] = (char)randInt;\n\t\t\t\t\t\tnonce+=randChar[i];\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println(\"nonce: \" + nonce);\n\t\t\t\t\tpotString = new Timestamp(timestamp) + \":\" + tempT.toString() + \".\" + nonce + previousHash;\n\n\t\t\t\t\t\n\t\t\t\t\ttry{\n\t\t\t\t\t\tpotHash = Sha1.hash(potString);\n\t\t\t\t\t\tSystem.out.println(\"Potential hash \" + potHash);\n\t\t\t\t\t} catch (Exception e){\n\t\t\t\t\t\tSystem.out.println(\"Couldn't convert to hash code in the main method to get the potHash\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t// tempBlock = new Block(index, timestamp, tempTransaction, nonce, hash(myBlockchain.chain[index-1]))\n\t\t\t\t\n\t\t\t\ttempBlock = new Block (index, timestamp, tempT, nonce, previousHash);\n\t\t\t\tSystem.out.println(\"The block to be added is \" + tempBlock.toString());\n\t\t\t\tmyBlockchain.add(tempBlock);\n\n\t\t\t}\n\t\t\tSystem.out.println(\"Hast trials: \" + myBlockchain.hashTrials);\n\t\t\tSystem.out.println(\"Enter 1 if you want to add another transaction to the block, enter anything else if this was your last transaction\");\n\t\t\tString userChoice = in.nextLine();\n\t\t\tif(!userChoice.equals(\"1\")){\n\t\t\t\tenterTransaction = false;\n\t\t\t}\n\n\t\t}\n\t\tmyBlockchain.toFile(\"blockchain_aniyo066\");\n\t\t\n\t}", "title": "" }, { "docid": "35bae15156c7757de0102717a5fe0eed", "score": "0.5487029", "text": "private void startBlockchain() throws BlockStoreException {\n File chainFile = getBlockchainFile();\n boolean chainExistedAlready = chainFile.exists();\n blockStore = new SPVBlockStore(networkParams, chainFile);\n\n if (!chainExistedAlready) {\n // the blockchain will need to be replayed; if the wallet already contains transactions, this might\n // cause ugly inconsistent wallet exceptions, so clear all old transaction data first\n log.info(\"Chain file missing - wallet transactions list will be rebuilt now\");\n wallet.clearTransactions(0);\n\n String checkpointsFilePath = this.checkpointsFilePath;\n if (checkpointsFilePath == null) {\n checkpointsFilePath = dataDirectory + \"/bitcoinkit.checkpoints\";\n }\n\n File checkpointsFile = new File(checkpointsFilePath);\n if (checkpointsFile.exists()) {\n long earliestKeyCreationTime = wallet.getEarliestKeyCreationTime();\n\n if (earliestKeyCreationTime == 0) {\n // there was a bug in bitcoinj until recently that caused encrypted keys to lose their creation time\n // so if we have no data from the wallet, use the time of the first Hive commit (15.05.2013) instead\n earliestKeyCreationTime = 1368620845;\n }\n\n try {\n FileInputStream stream = new FileInputStream(checkpointsFile);\n CheckpointManager.checkpoint(networkParams, stream, blockStore, earliestKeyCreationTime);\n } catch (IOException e) {\n throw new BlockStoreException(\"Could not load checkpoints file\");\n }\n }\n }\n\n BlockChain chain = new BlockChain(networkParams, wallet, blockStore);\n\n peerGroup = new PeerGroup(networkParams, chain);\n peerGroup.setUserAgent(\"BitcoinJKit\", \"0.9\");\n peerGroup.addPeerDiscovery(new DnsDiscovery(networkParams));\n peerGroup.addWallet(wallet);\n\n onBalanceChanged();\n trackPendingTransactions(wallet);\n\n peerGroup.addEventListener(new AbstractPeerEventListener() {\n @Override\n public void onPeerConnected(Peer peer, int peerCount) {\n BitcoinManager.this.onPeerConnected(peer, peerCount);\n }\n\n @Override\n public void onPeerDisconnected(Peer peer, int peerCount) {\n BitcoinManager.this.onPeerDisconnected(peer, peerCount);\n }\n });\n\n peerGroup.startAndWait();\n\n // get notified about sync progress\n peerGroup.startBlockChainDownload(new AbstractPeerEventListener() {\n @Override\n public void onBlocksDownloaded(Peer peer, Block block, int blocksLeft) {\n BitcoinManager.this.onBlocksDownloaded(peer, block, blocksLeft);\n }\n\n @Override\n public void onChainDownloadStarted(Peer peer, int blocksLeft) {\n BitcoinManager.this.onChainDownloadStarted(peer, blocksLeft);\n }\n });\n }", "title": "" }, { "docid": "e7e37fa1326821e5ae490035fcc557b5", "score": "0.5447725", "text": "public MerkleTree(String path) {\n\t\tFile file = new File(path);\n\t\tif(file.exists()&& file.canRead()) {\n\t\t\tScanner input=null;\n\t\t\ttry {\n\t\t\t\tinput = new Scanner(file);\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\tSystem.out.println(\"There is no file in this path. Control your path and run the program again.\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\twhile(input.hasNextLine()) {\n\t\t\t\tString dataPath = input.nextLine();\n\t\t\t\tDataBlock newDB = new DataBlock(dataPath);\n\t\t\t\ttry {\n\t\t\t\t\taddDataBlock(newDB);\n\t\t\t\t} catch (NoSuchAlgorithmException | IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tinput.close();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "d91b34118178eab5de857ea788c1fd0b", "score": "0.5416801", "text": "public void viewBlockchain(){\n peer.connectToServer();\n peer.viewBlockchain();\n }", "title": "" }, { "docid": "1be9f02d8f01191604a058325bfc410d", "score": "0.53718907", "text": "public void printBlockChain() {\r\n\t\tString aux = \"Blockchain: [\\n\";\r\n\t\tfor (Block b : blockchain) {\r\n\t\t\taux += b.toString();\r\n\t\t\taux += \"\\n\";\r\n\t\t}\r\n\t\taux += \"\\n]\";\r\n\t\tLOG.info(aux);\r\n\t}", "title": "" }, { "docid": "7ac497b51cae1ae193d66ad2d69d4f59", "score": "0.5365037", "text": "public static void makeBits(LinkedList<Block> blocks, List<CTCTrain> trains, List<Block> switchPositions, List<UUID> closedBlocks, UUID crossingBlock){\n int numBlocks = 0;\r\n for(Block block : blocks){\r\n if(block.getOccupied()){\r\n blockBits = blockBits + \"1\";\r\n }\r\n else{\r\n blockBits = blockBits + \"0\";\r\n }\r\n numBlocks++;\r\n }\r\n\r\n System.out.println(blockBits);\r\n \r\n //compare the uuids of the list of closed blocks and replace\r\n int blockIndex = 0;\r\n for(Block block : blocks){\r\n for(UUID uuid : closedBlocks){\r\n if(block.getUUID() == uuid){\r\n blockBits = blockBits.substring(0, blockIndex) + \"1\" + blockBits.substring(blockIndex + 1);\r\n }\r\n }\r\n blockIndex++;\r\n }\r\n\r\n //go through each block and make a bitstring based on occupied (\"1\") or unoccupied (\"0\")\r\n for(Block block : blocks){\r\n if(block.getUUID() == crossingBlock){\r\n crossingBits = crossingBits + \"1\";\r\n }\r\n else{\r\n crossingBits = crossingBits + \"0\";\r\n }\r\n } \r\n\r\n //get the authority of the trains in the jurisdiction and make a bitstring of max size 111 (3 authority)\r\n for(CTCTrain train : trains){\r\n authorityBits = binAndPad(Math.round(train.getAuthority()), numBlocks);\r\n authorityBitsMultiple.add(authorityBits);\r\n }\r\n\r\n //check if there is a switch in this jurisdiction that is toggled to that jurisdiction\r\n if(switchPositions != null){ \r\n if(switchPositions.size() > 0){\r\n switchOn = true; \r\n }\r\n }\r\n\r\n //check if there is a crossing in this jurisdiction\r\n if(crossingBlock != null){\r\n crossingOn = true;\r\n }\r\n\r\n //System.out.println(\"Block bits with closed: \" + blockBits);\r\n //System.out.println(\"Authority bits: \" + authorityBits);\r\n //System.out.println(\"Crossing bits: \" + crossingBits);\r\n //System.out.println(\"Switch on: \" + switchOn);\r\n //System.out.println(\"Crossing on: \" + crossingOn);\r\n }", "title": "" }, { "docid": "9aa4acdae710342acbcbcc1202730237", "score": "0.5306222", "text": "private MTNode createTrueTree(String hashFile) throws NoSuchAlgorithmException, IOException {\n\t\tMerkleTree mt = new MerkleTree();\n\t\tfor(int i=0;i<numOfLeaves;i++) {\n\t\t\tmt.addDataBlock(null);\n\t\t}\n\t\tFile file = new File(hashFile);\n\t\tQueue<MTNode> queue = new LinkedList<MTNode>();\n\t\tqueue.add(mt.getRoot());\n\t\tif(file.exists()&&file.canRead()) {\n\t\t\tScanner input = new Scanner(file);\n\t\t\twhile(!queue.isEmpty()&&input.hasNext()) {\n\t\t\t\tMTNode temp = queue.poll();\n\t\t\t\ttemp.setData(input.next());\n\t\t\t\taddChilds(queue, temp);\n\t\t\t}\n\t\t\tinput.close();\n\t\t}\n\t\treturn mt.getRoot();\n\t}", "title": "" }, { "docid": "200e6b5ca59b5bd80bd96a556e760dc7", "score": "0.5288275", "text": "public static void main(String[] args) {\n TreeTraverse treeTraverse = new TreeTraverse();\n Codec codec = new JZ37().new Codec();\n TreeNode treeNode = codec.deserialize1(\"[3,2,null,4,1]\");\n\n String s = codec.serialize1(treeNode);\n System.out.println(s);\n\n\n// treeTraverse.inOrderRecurse(treeNode);\n// System.out.println();\n// treeTraverse.preOrderRecurse(treeNode);\n// System.out.println();\n// treeTraverse.postOrderRecurse(treeNode);\n }", "title": "" }, { "docid": "169a4ab1e46a18a02a5371f08980275e", "score": "0.52565175", "text": "private void initMerkleTree(List<Transaction> transactions) {\n logger.debug(\"MerkleTree: Init.\");\n\n List<MerkleTreeElement> elements = new ArrayList<>();\n\n for (Transaction transaction : transactions) {\n logger.debug(\"MerkleTree: Adding transactions.\");\n elements.add(new MerkleTreeElement(transaction.getTxId()));\n }\n\n while (elements.size() > 1) {\n logger.debug(\"MerkleTree: Building next layer.\");\n elements = getNextLayer(elements);\n }\n\n if (elements.size() == 1) {\n root = elements.get(0);\n } else {\n root = new MerkleTreeElement(SHA3Util.hash256((Serializable) transactions));\n }\n\n logger.debug(\"MerkleTree: Finished init: \" + SHA3Util.digestToHex(root.getHash()));\n }", "title": "" }, { "docid": "ffa294254d6d82e41833023ef4e0aba4", "score": "0.524606", "text": "public static void main(String args[]) {\n JSONParser jsonParser = new JSONParser();\n BlockChain blockChain = new BlockChain();\n // arguments supply hostname\n Socket clientSocket = null;\n try {\n int serverPort = 7777; //Specifying the serverport\n clientSocket = new Socket(\"localhost\", serverPort);\n\n BufferedReader in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); //Reader\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(clientSocket.getOutputStream()))); //Writer\n\n\n Scanner sc = new Scanner(System.in);\n String id = null;\n int value = 0;\n String clientpacket = null;\n\n\n Random rnd = new Random();\n\n // Step 1: Generate two large random primes.\n // We use 400 bits here, but best practice for security is 2048 bits.\n // Change 400 to 2048, recompile, and run the program again and you will\n // notice it takes much longer to do the math with that many bits.\n BigInteger p = new BigInteger(400,100,rnd);\n BigInteger q = new BigInteger(400,100,rnd);\n\n // Step 2: Compute n by the equation n = p * q.\n n = p.multiply(q);\n\n // Step 3: Compute phi(n) = (p-1) * (q-1)\n BigInteger phi = (p.subtract(BigInteger.ONE)).multiply(q.subtract(BigInteger.ONE));\n\n // Step 4: Select a small odd integer e that is relatively prime to phi(n).\n // By convention the prime 65537 is used as the public exponent.\n e = new BigInteger(\"65537\");\n\n // Step 5: Compute d as the multiplicative inverse of e modulo phi(n).\n d = e.modInverse(phi);\n\n // Encode a simple message. For example the letter 'A' in UTF-8 is 65\n BigInteger m = new BigInteger(\"65\");\n\n // Step 8: To encrypt a message M compute C = M^e (mod n)\n BigInteger c = m.modPow(e, n);\n\n // Step 9: To decrypt a message C compute M = C^d (mod n)\n BigInteger clear = c.modPow(d, n);\n //System.out.println(\"Cypher text = \" + c);\n //System.out.println(\"Clear text = \" + clear); // Should be \"65\"\n\n // Step 8 (reprise) Encrypt the string 'RSA is way cool.'\n String s = \"RSA is way cool.\";\n m = new BigInteger(s.getBytes()); // m is the original clear text\n c = m.modPow(e, n); // Do the encryption, c is the cypher text\n\n // Step 9 (reprise) Decrypt...\n clear = c.modPow(d, n); // Decrypt, clear is the resulting clear text\n String clearStr = new String(clear.toByteArray()); // Decode to a string\n\n String result = e.toString().concat(n.toString());\n String privatekey = d.toString().concat((n.toString()));\n\n String hash = ComputeSHA_256_as_Hex_String(result); //Computing Hash\n String babyHash = hash.substring(hash.length()-40, hash.length());\n id = babyHash;\n while(true) {\n //Menu driven blockchain client application\n System.out.println(\" \");\n System.out.println(\"0. View basic blockchain status.\");\n System.out.println(\"1. Add a transaction to blockchain.\");\n System.out.println(\"2. Verify the blockchain.\");\n System.out.println(\"3. View the blockchain.\");\n System.out.println(\"4. Corrupt the chain\");\n System.out.println(\"5. Hide the corruption by recomputing hashes.\");\n System.out.println(\"6. Exit\");\n int input = Integer.parseInt(sc.nextLine());\n\n if (input == 6) { //Condition for exit\n System.exit(1);\n }\n Map<String, String> map = new HashMap<>(); //Map to store values\n if (input == 0) { //Condition for view basic blockchain status\n\n clientpacket = id + \",\" + e + \",\" + n + \",\" + input ; //id,e,n,input packet\n String signinput = BlockChainClient.sign(clientpacket, d, n); //Signature\n clientpacket = clientpacket + \":\" + signinput;\n map.put(\"id\",id);\n map.put(\"e\",e.toString());\n map.put(\"n\",n.toString());\n map.put(\"input\", String.valueOf(input));\n map.put(\"sign\",signinput);\n clientpacket = new JSONObject(map).toString(); //Creating client packet\n\n }\n\n if (input == 1) { //Condition for adding a transaction\n System.out.println(\"Enter difficulty > 0\"); //Difficulty input\n int diff = Integer.parseInt(sc.nextLine());\n System.out.println(\"Enter Transaction\"); //Input data\n String transaction = sc.nextLine();\n\n clientpacket = id + \",\" + e + \",\" + n + \",\" + input+\",\" + diff + \",\" + transaction ; //id,e,n,operation,value\n String signinput = BlockChainClient.sign(clientpacket, d, n); //Signature\n clientpacket = clientpacket + \":\" + signinput;\n map.put(\"id\",id);\n map.put(\"e\",e.toString());\n map.put(\"n\",n.toString());\n map.put(\"input\", String.valueOf(input));\n map.put(\"difficulty\",String.valueOf(diff));\n map.put(\"transaction\",transaction);\n map.put(\"sign\",signinput);\n clientpacket = new JSONObject(map).toString(); //Setting the new clientpacket\n\n }\n if (input == 2) { //Condition for verifying the blockchain\n clientpacket = id + \",\" + e + \",\" + n + \",\" + input ; //id,e,n,operation,value\n String signinput = BlockChainClient.sign(clientpacket, d, n); //Signature\n clientpacket = clientpacket + \":\" + signinput;\n map.put(\"id\",id);\n map.put(\"e\",e.toString());\n map.put(\"n\",n.toString());\n map.put(\"input\", String.valueOf(input));\n map.put(\"sign\",signinput);\n clientpacket = new JSONObject(map).toString(); //Setting the new clientpacket\n }\n\n if (input == 3) { //Condition for view the blockchain\n clientpacket = id + \",\" + e + \",\" + n + \",\" + input ; //id,e,n,operation,value\n String signinput = BlockChainClient.sign(clientpacket, d, n); //Signature\n clientpacket = clientpacket + \":\" + signinput;\n map.put(\"id\",id);\n map.put(\"e\",e.toString());\n map.put(\"n\",n.toString());\n map.put(\"input\", String.valueOf(input));\n map.put(\"sign\",signinput);\n clientpacket = new JSONObject(map).toString(); //Setting the new clientpacket\n }\n\n if (input == 4) { //Condition for Corrupting the blockchain\n System.out.println(\"Corrupt the Blockchain\");\n System.out.println(\"Enter the block ID of block to Corrupt\"); //ID of block to be corrupted\n int corrupt_id = Integer.parseInt(sc.nextLine());\n System.out.println(\"Enter the new data for block \"+ corrupt_id); //Corrupt data to be added\n String corrupt_data = sc.nextLine();\n clientpacket = id + \",\" + e + \",\" + n + \",\" + input+\",\" + corrupt_id + \",\" + corrupt_data ; //id,e,n,operation,value\n String signinput = BlockChainClient.sign(clientpacket, d, n); //Signature\n clientpacket = clientpacket + \":\" + signinput;\n map.put(\"id\",id);\n map.put(\"e\",e.toString());\n map.put(\"n\",n.toString());\n map.put(\"input\", String.valueOf(input));\n map.put(\"c_id\",String.valueOf(corrupt_id));\n map.put(\"c_data\",corrupt_data);\n map.put(\"sign\",signinput);\n clientpacket = new JSONObject(map).toString(); //Setting the new clientpacket\n\n }\n\n if (input == 5) { //Condition for repairing the blockchain\n clientpacket = id + \",\" + e + \",\" + n + \",\" + input ; //id,e,n,operation,value\n String signinput = BlockChainClient.sign(clientpacket, d, n); //Signature\n clientpacket = clientpacket + \":\" + signinput;\n map.put(\"id\",id);\n map.put(\"e\",e.toString());\n map.put(\"n\",n.toString());\n map.put(\"input\", String.valueOf(input));\n map.put(\"sign\",signinput);\n clientpacket = new JSONObject(map).toString();\n }\n\n\n out.println(clientpacket); //Sending the request to the server\n out.flush();\n String data = in.readLine();\n JSONObject js = (JSONObject)jsonParser.parse(data); //Parsing the json object\n System.out.println(js.get(\"send\")); //Printing the returned value\n\n }\n\n } catch (IOException e) {\n System.out.println(\"IO Exception:\" + e.getMessage());\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n try {\n if (clientSocket != null) {\n clientSocket.close();\n }\n } catch (IOException e) {\n // ignore exception on close\n }\n }\n }", "title": "" }, { "docid": "f97384577f5793b7ce803ce73d4107db", "score": "0.5239413", "text": "public BinaryTree(List<E> list)\n {\n //iterating over list and adding element to binary tree and increasing\n //size\n for(int i = 0; i < list.size(); i++){\n this.add(list.get(i));\n }\n }", "title": "" }, { "docid": "c1dce5a67f61f8f67bfbd72d02df397b", "score": "0.5209507", "text": "public static Blockchain fromFile(String fileName){\n\n\t\t// get the number of lines in the fileName\n\t\tint lines = 0;\n\t\ttry{\n\t\t\tBufferedReader iterator = new BufferedReader(new FileReader(fileName));\n\t\t\twhile (iterator.readLine() != null){\n\t\t\t\tlines++;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Could not get the number of lines\");\n\t\t}\n\n\t\t// create the new empty blockchain\n\t\tint blockNbr = lines/7;\n\t\tBlockchain myBlockchain = new Blockchain(blockNbr);\n\t\tmyBlockchain.hashCode = new String[blockNbr];\n\n\n\t\t// this method will read the file line by line\n\t\ttry{\n\t\t\tBufferedReader iterator = new BufferedReader(new FileReader(fileName)); // this one will act as an iterator checking if the end of the text file hasn't been reached yet\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader(fileName)); // this is the real reader that will go through the text file returning each line\n\n\t\t\ttry {\n\t\t\t\twhile(iterator.readLine() != null){ // while we haven't reached the end of the file\n\t\t\t\t\tint index = 0;\n\t\t\t\t\tlong timestamp = 0;\n\t\t\t\t\tString sender = \"\";\n\t\t\t\t\tString receiver = \"\";\n\t\t\t\t\tint amount = 0;\n\t\t\t\t\tString nonce = \"\";\n\t\t\t\t\tString hash = \"\";\n\t\t\t\t\ttry{\n\t\t\t\t\t\tindex = Integer.valueOf(reader.readLine()); // get index of block from line 1\n\t\t\t\t\t\ttimestamp = Long.valueOf(reader.readLine()); // get timestamp of block from line 2\n\t\t\t\t\t\tsender = reader.readLine(); // get sender name of transaction from line 3\n\t\t\t\t\t\treceiver = reader.readLine(); // get receive rname of transaction from line 4\n\t\t\t\t\t\tamount = Integer.valueOf(reader.readLine()); // get amount of transaction from line 5\n\t\t\t\t\t\tnonce = reader.readLine(); // get previous nonce from line 6\n\t\t\t\t\t\thash = reader.readLine(); // get previous hash from line 7\n\t\t\t\t\t} catch (Exception e){\n\t\t\t\t\t\tSystem.out.println(\"An exception has been caught while reading from the file\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\n\t\t\t\t\tTransaction tempTransaction = new Transaction(sender, receiver, amount);\n\n\t\t\t\t\tBlock tempBlock = null;\n\n\t\t\t\t\tif(index == 0){\n\t\t\t\t\t\ttempBlock = new Block(index, timestamp, tempTransaction, nonce, \"00000\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\ttempBlock = new Block(index, timestamp, tempTransaction, nonce, myBlockchain.hashCode[index-1]);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tmyBlockchain.add(tempBlock);\n\t\t\t\t\tmyBlockchain.hashCode[index] = hash;\n\n\n\t\t\t\t\tfor (int i = 1; i<7; i++){ // make the \"iterator\" skip 6 lines\n\t\t\t\t\t\titerator.readLine();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\"Could not go through the entire file\");\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Could not initialize the buffered readers\");\n\t\t}\n\n\t\treturn myBlockchain;\n\t}", "title": "" }, { "docid": "ed8aa133e22d6960edef9414763626ed", "score": "0.5198065", "text": "@Test\n public void testNode() throws IOException, InterruptedException {\n int testNodes=15;\n // id of starting node\n BigInteger id=new BigInteger(\"12345678901234567890\");\n // serial no of node\n int name_no=1;\n String peerIp=\"127.0.0.1\";\n int port=9000;\n\n ArrayList<JKademliaNode> nodes=new ArrayList<>();\n boolean yes=false;\n // create testNodes no. of kademlia nodes.\n while(testNodes>0){\n\n System.out.printf(\"Working with Node %d\\n\",name_no);\n JKademliaNode bot1 = new JKademliaNode(id.toString(), new KademliaId(id.toString()), port);\n // first node needs not connect to a bootstrap node. It's the botstrap node :D\n if(yes){\n try {\n bot1.bootstrap(nodes.get(0).getLocalNode());\n }\n catch (RoutingException e){\n System.err.printf(\"Error connecting to bootstrap from nodeid %d\\n\",name_no);\n }\n }\n // increment each\n name_no+=1;\n id=id.add(new BigInteger(\"1\"));\n port+=1;\n nodes.add(bot1);\n testNodes-=1;\n yes=true;\n Thread.sleep(1000);\n\n }\n\n int i=1;\n for(JKademliaNode kadNode :nodes){\n System.out.println(\"\\n\\nNode \"+String.valueOf(kadNode.getLocalNode()));\n System.out.print(String.valueOf(kadNode.getRoutingTable().getAllNodes().size())+\" Total nodes in all Buckets :\");\n int j=1;\n for(KademliaBucket bucket :kadNode.getRoutingTable().getBuckets()){\n if (bucket.getContacts().size()>0){\n System.out.printf(\"\\nBucket %d : %s\",j,bucket.getContacts());\n for(Contact contact : bucket.getContacts()){\n System.out.printf(\"%s, \",contact.getNode());\n\n }\n }\n j++;\n }\n }\n }", "title": "" }, { "docid": "946e9cea5fcea341a16fb5f9bf6d4379", "score": "0.5175748", "text": "@Test\n public void test() {\n TreeNode t1 = new TreeNode(5);\n TreeNode t2 = new TreeNode(3);\n TreeNode t3 = new TreeNode(6);\n TreeNode t4 = new TreeNode(2);\n TreeNode t5 = new TreeNode(4);\n TreeNode t6 = new TreeNode(1);\n t1.left = t2;\n t1.right = t3;\n t2.left = t4;\n t2.right = t5;\n t4.left = t6;\n String str = Serialize(t1);\n // TreeNode root = Deserialize(str);\n System.out.println(str);\n }", "title": "" }, { "docid": "6e480673d1dc7f98e92a8b9e0e7037e4", "score": "0.5164894", "text": "java.util.List<jelectrum.proto.Blockrepo.BitcoinBlock> \n getBlocksList();", "title": "" }, { "docid": "fe34b3dfbaccf5ac9d0fe339f8dceaaa", "score": "0.5158383", "text": "public static void main(String[] args) {\n TreeNode t1 = new TreeNode(10);\n TreeNode t2 = new TreeNode(6);\n TreeNode t3 = new TreeNode(14);\n TreeNode t4 = new TreeNode(4);\n TreeNode t6 = new TreeNode(12);\n TreeNode t7 = new TreeNode(16);\n\n t1.left = t2;\n t1.right = t3;\n t2.left = t4;\n t3.left = t6;\n t3.right = t7;\n\n TreeNode head = t1;\n String s = Serialize(head);\n System.out.println(s);\n TreeNode.preorder_loop(Deserialize(s));\n \n }", "title": "" }, { "docid": "d1e2e66c7730add93fa6ce1b66a70b1b", "score": "0.5149632", "text": "public void buildTree(int maxBlocks, List<Integer> permutation, BitSet[] dataArray)\n\t{\n\n\t\tSessionState ss = SessionState.getInstance();\n\t\tMap<String, Request> fastInitMap = ss.fastInitMap;\n\t\tif(ss.fastInit == false) { fastInitMap = null; }\n\n\t\t// set N to be the smallest power of 2 that is bigger than 'data.length'.\n\t\tN = (int) Math.pow(2, Math.ceil(Math.log(maxBlocks)/Math.log(2)));\n\t\tD = TreeBasedUtils.bitLength(N)-1;\n\n\n\t\tfinal int removeIntervalSize = 512; final double sizeFactorForSlowdown = 0.75;\n\t\tfinal int logIntervalSize = 512;\n\t\tVector<Pollable> v = new Vector<Pollable>();\n\n\t\t// initialize the tree\n\t\ttreeSize = 2*N-1;\n\t\tfor (int i = 0; i < treeSize; i++)\n\t\t{\n\t\t\tBucket temp;\n\t\t\tif (i < treeSize/2) { temp = new Bucket(new Block()); }\n\t\t\telse {\n\t\t\t\tif (i-N+1 < maxBlocks)\n\t\t\t\t{\n\t\t\t\t\tint id = permutation.indexOf(i-N+1); // make sure we are consistent with the permutation\n\t\t\t\t\tint label = i-N+1;\n\n\t\t\t\t\tBitSet data = null;\n\n\t\t\t\t\tString blockIdStr = \"\" + id;\n\t\t\t\t\tif(recLevel == 0 && fastInitMap != null && fastInitMap.containsKey(blockIdStr) == true)\n\t\t\t\t\t{\n\t\t\t\t\t\tRequest req = fastInitMap.get(blockIdStr);\n\t\t\t\t\t\tErrors.verify(req.getType() == Request.RequestType.PUT);\n\t\t\t\t\t\tPutRequest put = (PutRequest)req;\n\t\t\t\t\t\tbyte[] val = put.getValue().getData();\n\t\t\t\t\t\tErrors.verify(ClientParameters.getInstance().contentByteSize <= dataSize);\n\t\t\t\t\t\tErrors.verify(val.length <= dataSize);\n\n\t\t\t\t\t\tdata = BitSet.valueOf(val);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tif(dataArray != null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tErrors.verify(dataArray.length > id);\n\t\t\t\t\t\t\tdata = dataArray[id];\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\tlong[] val = new long[1]; val[0] = id;\n\t\t\t\t\t\t\tdata = BitSet.valueOf(val);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\ttemp = new Bucket(new Block(data, id, label));\n\n\t\t\t\t\t//{ log.append(\"[PathORAMBasic (BuildTree)] (R\" + recLevel +\") putting block \" + id + \" to label \" + label + \" (objectKey: \" + recLevel + \"#\" + (i) + \").\", Log.TRACE); }\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\ttemp = new Bucket(new Block());\n\t\t\t}\n\n\t\t\ttemp.encryptBlocks();\n\n\t\t\tString objectKey = recLevel + \"#\" + (i);\n\t\t\tDataItem di = new SimpleDataItem(temp.toByteArray());\n\t\t\tUploadOperation upload = new UploadOperation(Request.initReqId, objectKey, di);\n\t\t\tScheduledOperation sop = storedTree.uploadObject(upload);\n\n\t\t\tv.add(sop);\n\n\t\t\tif(i > 0 && (i % removeIntervalSize) == 0)\n\t\t\t{\n\t\t\t\tPollable.removeCompleted(v);\n\n\t\t\t\tif(v.size() >= (int)(removeIntervalSize * sizeFactorForSlowdown))\n\t\t\t\t{\n\t\t\t\t\t{ log.append(\"[PathORAMBasic (BuildTree)] Slowing down so storage can catch up...\", Log.TRACE); }\n\n\t\t\t\t\tint factor = (int)Math.ceil(v.size() / removeIntervalSize); if(factor > 5) { factor = 5; }\n\t\t\t\t\ttry { Thread.sleep(factor * 5); } catch (InterruptedException e) { Errors.error(e); }\n\t\t\t\t\tPollable.removeCompleted(v);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(i > 0 && (i % logIntervalSize) == 0)\n\t\t\t{\n\t\t\t\tLog.getInstance().append(\"[PathORAMBasic (BuildTree)] Uploaded \" + (i - v.size()) + \" nodes so far.\", Log.TRACE);\n\t\t\t}\n\t\t}\n\n\t\t// This waitForCompletion ensures can be used asynchronously!\n\t\tPollable.waitForCompletion(v);\n\t}", "title": "" }, { "docid": "b58b12638a807873150ab33e5345c00a", "score": "0.5144473", "text": "@Override\n public void bitcoinSerializeToStream(OutputStream stream) throws IOException {\n ByteArrayOutputStream bos = new ByteArrayOutputStream();\n super.bitcoinSerializeToStream(bos);\n byte[] bits = bos.toByteArray();\n bits = Arrays.copyOf(bits, bits.length / 2);\n stream.write(bits);\n }", "title": "" }, { "docid": "faebfe6488e4a9edc79bee4b485cad6f", "score": "0.51231337", "text": "public Node buildTree (List<Relation> data) \n{ \n}", "title": "" }, { "docid": "1acc01a6d3fb94de4a0f8c8c16c8f98d", "score": "0.511795", "text": "@Test\n public void serializeAndDeserialize() throws IOException, ClassNotFoundException {\n String put[] = {\"abcd\", \"efgh\", \"ijkl\", \"abdf\", \"a\", \"\"};\n Trie tr = new Trie();\n for (String s : put) {\n tr.add(s);\n }\n\n ByteArrayOutputStream outStream = new ByteArrayOutputStream();\n tr.serialize(outStream);\n byte[] data = outStream.toByteArray();\n\n ByteArrayInputStream inStream = new ByteArrayInputStream(data);\n Trie dsr = new Trie();\n dsr.deserialize(inStream);\n\n assertEquals(put.length, dsr.size());\n for (String s : put) {\n assertTrue(dsr.contains(s));\n }\n }", "title": "" }, { "docid": "7806fc374c14aafe465ea673432e172f", "score": "0.51155597", "text": "interface BlockStore {\n\n /**\n * Opens the block store. Returns true if a new object has to be created,\n * false if we opened an existing archive.\n */\n boolean open() throws IOException;\n\n /**\n * Closes the block store.\n */\n void close() throws IOException;\n\n /**\n * Stores node data in the backed store with the given data_id. The data\n * may be a maximum of 65535 bytes in length. The 'data_id' may be between 0\n * and 16383 (the maximum number of nodes that can be stored per block).\n * <p>\n * This will generate an exception if the store implementation doesn't\n * support writing new data items, or if an attempt is made to overwrite a\n * data item.\n */\n void putData(int data_id, byte[] buf, int off, int len) throws IOException;\n\n /**\n * Fetches the data stored with the given data_id stored within this block.\n * Generates an exception if the data id is outside the permitted range of\n * ids that can be stored in this block (0 to 16383). Returns a zero length\n * node item for node data that was allocated but not written to.\n * <p>\n * The data_id will be found within the set of nodes returned in the NodeSet.\n * It will not necessarily be found in a predictable position in the returned\n * set. The items in the node set must be iterated through to find the\n * requested data item.\n * <p>\n * If the node is empty, this method should generate a BlockReadException\n * exception but it is not required to do so.\n */\n NodeSet getData(int data_id) throws IOException;\n\n /**\n * Returns the maximum extent of data_ids stored in this block store. If\n * this is block store that can be written to, and therefore the extent\n * can not be known, an exception is generated.\n */\n int getMaxDataId() throws IOException;\n\n /**\n * Removes the data with the given data_id stored within this block. This\n * only removes the pointer to the data, not the actual data itself which is\n * left remaining in the block container. To reclaim the resources for\n * deleted nodes, the block container needs to be rewritten.\n * <p>\n * Generates an exception if data_id is out of range (valid range is 0 to\n * 16383), or if the implementing store does not permit deleting data.\n */\n boolean removeData(int data_id) throws IOException;\n\n /**\n * Creates a 64-bit checksum from all the node data recorded in this block\n * store. Uses Adler32 to generate the checksum value.\n */\n long createChecksumValue() throws IOException;\n\n /**\n * Returns the time this file was last modified. This is either the time\n * the block file was last written to if it's a mutable store, or the last\n * time the file was finished being completely written to if it's a mutable\n * block store.\n */\n long getLastModified();\n\n /**\n * Performs a file synchronize on this block store, ensuring that any data\n * is flushed onto the disk.\n */\n void fsync() throws IOException;\n\n}", "title": "" }, { "docid": "96feb049b383363499c86799c8d0ff04", "score": "0.5106781", "text": "public BlockChain(int initial) throws NoSuchAlgorithmException{\n\t\tthis.firstBlock = new Block(0, initial, null);\n\t\tthis.lastBlock = this.firstBlock;\n\t\tthis.blocks = new Node(this.firstBlock);\n\t\tcurrentBlock++;\n\t}", "title": "" }, { "docid": "1a11f86c0d1081a9317c627c391d3483", "score": "0.5093226", "text": "public void genTreeList() throws IOException {\n ArrayList<String> list = FileReader.readByBufferReader(value);\n for(int i = 0; i < list.size(); i++){\n\n if(FileReader.readObjectFmt(list.get(i)).equals(\"blob\")){\n Blob blob = new Blob(FileReader.readObjectKey(list.get(i)));\n treeList.add(blob);\n }\n else{\n Tree tree = new Tree(FileReader.readObjectKey(list.get(i)));\n treeList.add(tree);\n }\n }\n }", "title": "" }, { "docid": "df456169ffd9d311eb8edfef33c3e73f", "score": "0.5087292", "text": "public static void main(String args[]) {\n BinarySearchTree bst = new BinarySearchTree();\n bst.insert(10);\n bst.insert(5);\n bst.insert(8);\n bst.insert(15);\n bst.insert(11);\n bst.insert(16);\n bst.leftView();\n //bst.inOrderTraversal();\n //bst.levelOrderTraversal();\n //bst.rootToLeafSum();\n //System.out.println(bst.getHeight());\n //bst.printLevel(2);\n //System.out.println(bst.secondLargest());\n //bst.printLeaf();\n //bst.verticalSum();\n //Pair p = bst.isSumPair(26);\n //bst.doesPathExists(36);\n //System.out.println(p.a + \" , \" + p.b);\n\n //bst.inOrderTraversal();\n\n //bst.inOrderTraversal(bst.deserialize(bst.serialize()));\n\n\n }", "title": "" }, { "docid": "c4f22ec83f9fd7c91279e5c22f51e323", "score": "0.50852215", "text": "private BPlusLeaf<KeyType, ValueType> getLeaf(byte[] bytes) {\r\n int numKeys;\r\n ValueType[] records = (ValueType[]) new Object[M - 1];\r\n byte[] tempArray;\r\n KeyType[] keys = (KeyType[]) new Comparable[M - 1];\r\n int arrayCursor = 5;\r\n long left, right;\r\n\r\n // Get number of keys\r\n tempArray = new byte[4];\r\n System.arraycopy(bytes, 1, tempArray, 0, 4);\r\n numKeys = BPlusTreeFile.bytesToInt(tempArray);\r\n\r\n // We have numKeys keys to parse first, each key is key.length\r\n for (int startingCursor = arrayCursor, i = 0; arrayCursor < startingCursor\r\n + numKeys * converter.getKeyLength(); arrayCursor += converter\r\n .getKeyLength(), i++) {\r\n tempArray = new byte[converter.getKeyLength()];\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0,\r\n converter.getKeyLength());\r\n keys[i] = converter.bytesToKey(tempArray);\r\n }\r\n // skip empty cells\r\n arrayCursor = 5 + (M - 1) * converter.getKeyLength();\r\n\r\n // add all of the internal children.\r\n int prevCursor = arrayCursor;\r\n for (int i = 0; i < numKeys; arrayCursor += converter.getRecordLength(), i++) {\r\n tempArray = new byte[converter.getRecordLength()];\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0,\r\n converter.getRecordLength());\r\n records[i] = converter.bytesToRecord(tempArray);\r\n }\r\n\r\n // skip empty records\r\n arrayCursor = prevCursor + (M - 1) * converter.getRecordLength();\r\n\r\n // Read the left and the right pointers to siblings\r\n tempArray = new byte[8];\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0, 8);\r\n left = BPlusTreeFile.bytesToLong(tempArray);\r\n arrayCursor += 8;\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0, 8);\r\n right = BPlusTreeFile.bytesToLong(tempArray);\r\n\r\n return new BPlusLeaf<KeyType, ValueType>(keys, numKeys, records, left,\r\n right);\r\n }", "title": "" }, { "docid": "6e7ac1ab33c96b7919e22ccf122e97dc", "score": "0.50716704", "text": "public boolean addBlock(Block b) {\n // IMPLEMENT THIS\n\t /*if(b.getTransactions().size() == 0) {\n\t\t return true;\n\t }*/\n\t //Genesis block return false\n\t byte[] parentHash = b.getPrevBlockHash();\n\t if(parentHash == null) {\n\t\t return false;\n\t }\n\t \n\t //parentHash key not in hashmap return false or null pointer error\n\t BlockNode parentBlock = this.H.get(parentHash);\n\t if(parentBlock == null) {\n\t\t //b = null;\n\t\t return false;\n\t }\n\t //Get transaction list to validate\n\t ArrayList<Transaction> arrayTx = b.getTransactions();\n\t \n\t int currentHeight = parentBlock.height + 1;\n\t if(currentHeight <= height - CUT_OFF_AGE) {\n\t\t return false;\n\t }\n\t \n\t //System.out.println(parentBlock.height);\n\t //Use TxHandler from Part A to validate all transactions proposed by the block\n\t TxHandler txHandler = new TxHandler(parentBlock.getUTXOPoolCopy());\n\t Transaction[] possibleTxs = new Transaction[arrayTx.size()];\n\t possibleTxs = arrayTx.toArray(possibleTxs);\n\t for(int i = 0; i < arrayTx.size(); i++) {\n\t\t possibleTxs[i].finalize();\n\t }\n\t Transaction[] validTransactions = txHandler.handleTxs(possibleTxs);\n\t \n\t //System.out.println(\"Length of validTransactions: \" + validTransactions.length);\n\t //System.out.println(\"Length of possibleTxs: \" + possibleTxs.length);\n\t \n\t UTXOPool cUpool = txHandler.getUTXOPool();\n\t //If .handlTxs returned a smaller transaction array then not all transactions were valid\n\t //Therefore the block is also invalid\n\t if(validTransactions.length < possibleTxs.length) {\n\t\t return false;\n\t }\n\t //Block is valid at this point, update block chain info\n\t //Update the utxo pool\n\t cUpool.addUTXO(new UTXO(b.getCoinbase().getHash(), 0), b.getCoinbase().getOutput(0));\n\t //create the new blocknode and add to hashmap and heads \n\t BlockNode newBlockNode = new BlockNode(b, parentBlock, cUpool);\n\t H.put((b.getHash()), newBlockNode);\n\t heads.add(newBlockNode);\n\t //Newly added block is the now highest block\n\t if(currentHeight > height) {\n\t\t height++;\n\t\t maxHeightBlock = newBlockNode;\n\t }\n\t return true;\n }", "title": "" }, { "docid": "b6b792018b769b7ab7191fd1d02234b7", "score": "0.5064057", "text": "public static <T> BNode<T> deserBRoot(T[] serRoot) {\n BNode<T> root = null;\n BNode<T> parent = null;\n BNode<T> node = null;\n List<BNode<T>> allParents = new ArrayList<BNode<T>>();\n List<BNode<T>> allChildren = new ArrayList<BNode<T>>();\n int parentIdx = 0;\n\n /* start from root, i.e i=0 */\n int i = 0;\n while (i < serRoot.length) {\n T key = serRoot[i++];\n node = key != null ? new BNode<T>(key) : null;\n if (i == 1) {\n if (node == null) {\n return null;\n }\n root = node;\n allParents.add(root);\n i++; // move to left child;\n continue;\n }\n parent = allParents.get(parentIdx++);\n /* Add children for this parent */\n for (int c = 0; c < 2; c++) {\n if (c == 0) {\n parent.left = node;\n System.out.println(\"left node:\" + node + \" added to:\" + parent + \" at index:\" + i);\n /* Move to right child */\n if (i >= serRoot.length) {\n break;\n }\n key = serRoot[i];\n System.out.println(\" right key:\" + key + \" at index:\" + i);\n } else {\n parent.right = node;\n System.out.println(\"right node:\" + node + \" added to:\" + parent);\n }\n if (node != null) {\n allChildren.add(node);\n }\n if (c == 0) {\n /* Get right node */\n node = key != null ? new BNode<T>(key) : null;\n }\n }\n /* parent changing */\n System.out.println(\"parents:\" + allParents);\n System.out.println(\"children:\" + allChildren);\n if (++i >= serRoot.length) {\n break;\n }\n key = serRoot[i++];\n if (key != null) {\n throw new IllegalArgumentException(\" null expected at index:\"\n + i + \" instead of element: \" + key);\n }\n\n if (parentIdx >= allParents.size()) {\n parentIdx = 0;\n allParents = allChildren;\n allChildren = new ArrayList<BNode<T>>();\n }\n }\n return root;\n }", "title": "" }, { "docid": "850425b75fef0b709d8e397b11577840", "score": "0.50578", "text": "public BlockChain(Block genesisBlock) {\n // IMPLEMENT THIS\n\t UTXOPool uPool = new UTXOPool(); \n\t Transaction coinbase = genesisBlock.getCoinbase(); \n\t UTXO utxoCoinbase = new UTXO(coinbase.getHash(), 0); \n\t uPool.addUTXO(utxoCoinbase, coinbase.getOutput(0)); \n\t BlockNode genesis = new BlockNode(genesisBlock, null, uPool); \n\t heads = new ArrayList<BlockNode>(); \n\t heads.add(genesis); \n\t H = new HashMap<byte[], BlockNode>(); \n\t H.put((genesisBlock.getHash()), genesis); \n\t height = 1; \n\t maxHeightBlock = genesis; \n\t txPool = new TransactionPool(); \n }", "title": "" }, { "docid": "5a829366d2219df2bdac0f521cfbe315", "score": "0.50517637", "text": "public ArrayList<Bloomable> getTreesInBloom(){\r\n return treesInBloom;\r\n }", "title": "" }, { "docid": "d72d0901d88a08c4d043e9ef9bb1d6f5", "score": "0.5042752", "text": "public void encode() {\r\n\t\tint listSize = pq.size();\r\n\t\tif (listSize == 0) {\r\n\t\t\treturn;\r\n\t\t} else if (pq.size() == 1) {\r\n\t\t\tpq.peek().addBit(\"0\");\r\n\t\t} else {\r\n\t\t\twhile (pq.size() != 1) {\r\n\t\t\t\tNode left = pq.poll();\r\n\t\t\t\tNode right = pq.poll();\r\n\t\t\t\tInternalNode in = new InternalNode(left.weight + right.weight, left, right);\r\n\t\t\t\tpq.add(in);\r\n\t\t\t}\r\n\t\t\tpq.peek().addBit(\"\");\r\n\t\t}\r\n\t\tmyList.add(pq.poll());\r\n\t\twhile (myList.size() != listSize) {\r\n\t\t\tfor (int i = 0; i < myList.size(); i++) {\r\n\t\t\t\tif (myList.get(i) instanceof InternalNode) {\r\n\t\t\t\t\tInternalNode in = (InternalNode) myList.remove(i);\r\n\t\t\t\t\tmyList.add(in.left);\r\n\t\t\t\t\tmyList.add(in.right);\r\n\t\t\t\t\ti--;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor (int i = 0; i < myList.size(); i++) {\r\n\t\t\tLeaf tempNode = (Leaf) myList.get(i);\r\n\t\t\thm.put(tempNode.getChar(), tempNode.bits);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5a4d6381bb2e42b988b2ff5345c2b5f5", "score": "0.50212026", "text": "void putListConsist(XBSerializable serial) throws XBProcessingException, IOException;", "title": "" }, { "docid": "90b6f26db40c21a0524c4b2238bc9c25", "score": "0.501098", "text": "@Test\n public void createsTree() throws Exception {\n final MkContainer container = new MkGrizzlyContainer().next(\n new MkAnswer.Simple(\n HttpURLConnection.HTTP_CREATED,\n \"{\\\"sha\\\":\\\"0abcd89jcabitest\\\",\\\"url\\\":\\\"http://localhost/1\\\"}\"\n )\n ).start(this.resource.port());\n final Trees trees = new RtTrees(\n new ApacheRequest(container.home()),\n repo()\n );\n final JsonObject tree = Json.createObjectBuilder()\n .add(\"path\", \"/path\").add(\"mode\", \"100644 \")\n .add(\"type\", \"blob\").add(\"sha\", \"sha1\")\n .add(\"content\", \"content1\").build();\n final JsonObject input = Json.createObjectBuilder()\n .add(\"tree\", tree).add(\"base_tree\", \"SHA1\")\n .build();\n try {\n final Tree tri = trees.create(input);\n MatcherAssert.assertThat(\n tri,\n Matchers.instanceOf(Tree.class)\n );\n MatcherAssert.assertThat(\n trees.get(tri.sha()),\n Matchers.equalTo(tri)\n );\n MatcherAssert.assertThat(\n container.take().method(),\n Matchers.equalTo(Request.POST)\n );\n } finally {\n container.stop();\n }\n }", "title": "" }, { "docid": "9e72d7edf9c7fae7e73735743200a56e", "score": "0.49842754", "text": "public static void main(String[] ar)\n\t{\n\t\tCBTree cbt = new CBTree(\"00011101011\", \"ABCDE\");\n/*\t\tCBNode root = cbt.root;\n\t\tSystem.out.print(\"root: \");\n\t\troot.printNode();\n\t\tSystem.out.print(\"left of root: \");\n\t\troot.left.printNode();\n\t\tSystem.out.print(\"left of 1: \");\n\t\troot.left.left.printNode();\n\t\tSystem.out.print(\"right of 1: \");\n\t\troot.left.right.printNode();\n\t\tSystem.out.print(\"left of 2: \");\n\t\troot.left.left.left.printNode();\n\t\tSystem.out.print(\"right of 2: \");\n\t\troot.left.left.right.printNode();\n\n\t\tSystem.out.print(\"right of root: \");\n\t\troot.right.printNode();\n\t\tSystem.out.print(\"left of 6: \");\n\t\troot.right.left.printNode();\n\t\tSystem.out.print(\"right of 6: \");\n\t\troot.right.right.printNode();\n\t\tSystem.out.print(\"left of 8: \");\n\t\troot.right.right.left.printNode();\n\t\tSystem.out.print(\"right of 8: \");\n\t\troot.right.right.right.printNode();\n*/\n\n\t\tSystem.out.println(cbt.postOrderTraversal());\t// good to go\n\t\tSystem.out.println(cbt.inOrderTraversal());\n\t\tSystem.out.println(cbt.postOrderStructure());\n\t\tSystem.out.println(cbt.inOrderStructure());\n\n//\t\tcbt.preOrder(cbt.root);\n//\t\tSystem.out.println();\n//\t\tcbt.preOrderC(cbt.root);\n\n\t}", "title": "" }, { "docid": "48c61d707be45388e5a95edd22efd7d1", "score": "0.49840945", "text": "public SimulatedTree() {\n\t\tnodes = new ArrayList<CellPopulation>();\n\t\tedges = new HashMap<CellPopulation, ArrayList<CellPopulation>>();\n\t\tCellPopulation germlineRoot = new CellPopulation(); \n\t\tgermlineRoot.setGermline();\n\t\tnodes.add(germlineRoot);\n\t\tnumDeadNodes = 0;\n\t}", "title": "" }, { "docid": "a789323d95c1f07c36f80f91444621f7", "score": "0.4979203", "text": "@Test(timeout = 4000)\n public void test05() throws Throwable {\n LinkedList<byte[][]> linkedList0 = new LinkedList<byte[][]>();\n byte[][] byteArray0 = new byte[7][0];\n byte[] byteArray1 = new byte[5];\n byteArray1[0] = (byte) (-2);\n byteArray1[1] = (byte)34;\n byteArray1[2] = (byte)79;\n byteArray1[3] = (byte)0;\n byteArray1[4] = (byte)115;\n byteArray0[0] = byteArray1;\n byte[] byteArray2 = new byte[9];\n byteArray2[0] = (byte)0;\n byteArray2[1] = (byte)79;\n byteArray2[2] = (byte)34;\n byteArray2[3] = (byte)0;\n byteArray2[4] = (byte)79;\n byteArray2[5] = (byte)115;\n byteArray2[6] = (byte) (-2);\n byteArray2[7] = (byte) (-2);\n byteArray2[8] = (byte)115;\n byteArray0[1] = byteArray2;\n byte[] byteArray3 = new byte[3];\n byteArray3[0] = (byte)0;\n byteArray3[1] = (byte) (-2);\n byteArray3[2] = (byte) (-2);\n byteArray0[2] = byteArray3;\n byte[] byteArray4 = new byte[8];\n byteArray4[0] = (byte)0;\n byteArray4[1] = (byte)34;\n byteArray4[2] = (byte) (-112);\n byteArray4[3] = (byte)0;\n byteArray4[4] = (byte)34;\n byteArray4[5] = (byte)115;\n byteArray4[6] = (byte)34;\n byteArray4[7] = (byte)34;\n byteArray0[3] = byteArray4;\n byte[] byteArray5 = new byte[2];\n byteArray5[0] = (byte) (-112);\n byteArray5[1] = (byte) (-2);\n byteArray0[4] = byteArray5;\n byte[] byteArray6 = new byte[9];\n byteArray6[0] = (byte) (-2);\n byteArray6[1] = (byte) (-44);\n byteArray6[2] = (byte)0;\n byteArray6[3] = (byte) (-112);\n byteArray6[4] = (byte) (-112);\n byteArray6[5] = (byte)0;\n byteArray6[6] = (byte)79;\n byteArray6[7] = (byte)0;\n byteArray6[8] = (byte) (-2);\n byteArray0[5] = byteArray6;\n byte[] byteArray7 = new byte[4];\n byteArray7[0] = (byte) (-44);\n byteArray7[1] = (byte) (-44);\n byteArray7[2] = (byte)34;\n byteArray7[3] = (byte) (-44);\n byteArray0[6] = byteArray7;\n linkedList0.add(byteArray0);\n XSQLVAR[] xSQLVARArray0 = new XSQLVAR[0];\n FBResultSet fBResultSet0 = new FBResultSet(xSQLVARArray0, linkedList0);\n FBCachedFetcher fBCachedFetcher0 = new FBCachedFetcher(linkedList0, fBResultSet0);\n fBCachedFetcher0.last();\n fBCachedFetcher0.isBeforeFirst();\n fBCachedFetcher0.deleteRow();\n assertTrue(fBCachedFetcher0.isEmpty());\n }", "title": "" }, { "docid": "5feb135f3aa41fa73fb8922ec06e43cd", "score": "0.49718437", "text": "private void buildDummyBlockchain(Repository repository) throws DataException, InterruptedException, TransformationException, IOException {\n List<PrivateKeyAccount> mintingAndOnlineAccounts = new ArrayList<>();\n PrivateKeyAccount aliceSelfShare = Common.getTestAccount(repository, \"alice-reward-share\");\n mintingAndOnlineAccounts.add(aliceSelfShare);\n\n // Deploy an AT so that we have AT state data\n PrivateKeyAccount deployer = Common.getTestAccount(repository, \"alice\");\n byte[] creationBytes = AtUtils.buildSimpleAT();\n long fundingAmount = 1_00000000L;\n AtUtils.doDeployAT(repository, deployer, creationBytes, fundingAmount);\n\n // Mint some blocks so that we are able to archive them later\n for (int i = 0; i < 1000; i++)\n BlockMinter.mintTestingBlock(repository, mintingAndOnlineAccounts.toArray(new PrivateKeyAccount[0]));\n\n // Assume 900 blocks are trimmed (this specifies the first untrimmed height)\n repository.getBlockRepository().setOnlineAccountsSignaturesTrimHeight(901);\n repository.getATRepository().setAtTrimHeight(901);\n\n // Check the max archive height - this should be one less than the first untrimmed height\n final int maximumArchiveHeight = BlockArchiveWriter.getMaxArchiveHeight(repository);\n\n // Write blocks 2-900 to the archive\n BlockArchiveWriter writer = new BlockArchiveWriter(0, maximumArchiveHeight, repository);\n writer.setShouldEnforceFileSizeTarget(false); // To avoid the need to pre-calculate file sizes\n BlockArchiveWriter.BlockArchiveWriteResult result = writer.write();\n\n // Increment block archive height\n repository.getBlockArchiveRepository().setBlockArchiveHeight(901);\n\n // Prune all the archived blocks\n repository.getBlockRepository().pruneBlocks(0, 900);\n repository.getBlockRepository().setBlockPruneHeight(901);\n\n // Prune the AT states for the archived blocks\n repository.getATRepository().rebuildLatestAtStates();\n repository.getATRepository().pruneAtStates(0, 900);\n repository.getATRepository().setAtPruneHeight(901);\n\n // Refill cache, used by Controller.getMinimumLatestBlockTimestamp() and other methods\n Controller.getInstance().refillLatestBlocksCache();\n\n repository.saveChanges();\n }", "title": "" }, { "docid": "574c4d7d0bba682da20f5e711725b6e1", "score": "0.4962299", "text": "@Test\n public void testSerDeser() throws Exception {\n BloomFilter bf1 = new BloomFilter(15000, 2, Hash.MURMUR_HASH);\n bf1.add(new Key(\"larry\".getBytes()));\n bf1.add(new Key(\"curly\".getBytes()));\n bf1.add(new Key(\"moe\".getBytes()));\n BloomFilter bf2 = new BloomFilter(15000, 2, Hash.MURMUR_HASH);\n bf2.add(new Key(\"batman\".getBytes()));\n bf2.add(new Key(\"robin\".getBytes()));\n bf2.add(new Key(\"joker\".getBytes()));\n BloomFilter bf3 = new BloomFilter(15000, 2, Hash.MURMUR_HASH);\n bf3.or(bf1);\n bf3.or(bf2);\n File bloomfile = new File(\"/tmp/bloomfilter.ser\");\n bf3.write(new DataOutputStream(new FileOutputStream(bloomfile)));\n // read this back\n BloomFilter bf4 = new BloomFilter(15000, 2, Hash.MURMUR_HASH);\n bf4.readFields(new DataInputStream(new FileInputStream(bloomfile)));\n Assert.assertTrue(bf4.membershipTest(new Key(\"larry\".getBytes())));\n Assert.assertTrue(bf4.membershipTest(new Key(\"batman\".getBytes())));\n Assert.assertFalse(bf4.membershipTest(new Key(\"spiderman\".getBytes())));\n bloomfile.delete();\n }", "title": "" }, { "docid": "2f17ee15bee0935cd0ee092df2d3c62c", "score": "0.49328443", "text": "public void testSerialization() {\n BlockBorder b1 = new BlockBorder(new RectangleInsets(1.0, 2.0, 3.0, 4.0), new GradientPaint(1.0f, 2.0f, Color.red, 3.0f, 4.0f, Color.yellow));\n BlockBorder b2 = (BlockBorder) TestUtilities.serialised(b1);\n }", "title": "" }, { "docid": "e1f53a64df58106db2f583282b324cb0", "score": "0.49271885", "text": "public interface DataStore {\n\n /**\n * Gets the number of blocks in the store.\n * @throws SQLException\n */\n long getBlocksCount() throws SQLException;\n\n /**\n * Gets the number of blocks in the active blockchain.\n * @throws SQLException\n */\n long getActiveBlocksCount() throws SQLException;\n\n /**\n * Gets the most recent block on the active blockchain. Never returns null.\n * @throws SQLException\n */\n Block getMostRecentBlock() throws SQLException;\n\n /**\n * Gets the N most recent blocks on the active blockchain.\n * Blocks returned only contain their headers, no entries.\n * @param n the number of recent-most blocks to get.\n * @throws SQLException\n */\n List<Block> getNMostRecentBlocks(int n) throws SQLException;\n\n /**\n * Gets the N most recent blocks, from (including) the given blockID backwards.\n * Blocks returned only contain their headers, no entries.\n * @param n the number of recent-most blocks to get.\n * @throws SQLException\n */\n List<Block> getNMostRecentBlocks(int n, Block fromBlock) throws SQLException;\n\n /**\n * Get all of the blocks after a certain block or between two blocks, up to a limited number.\n * @param idFrom get blocks after this block ID\n * @param limit the maximum number of block IDs to get. Provide -1 if there is no limit.\n */\n List<Block> getActiveBlocksAfter(byte[] idFrom, int limit) throws SQLException;\n\n /**\n * Inserts the given block into the store, unless it is already present or would be an orphan.\n * @param b the block\n * @return An InsertBlockResult object indicating the result of this operation\n * - success, or failure due to the block being an orphan, or a duplicate.\n * @throws SQLException\n */\n InsertBlockResult insertBlock(Block b) throws SQLException;\n\n boolean blockExists(byte[] blockID) throws SQLException;\n\n /**\n * Get a particular block.\n * @param blockID the block id\n * @throws SQLException\n */\n Block getBlock(byte[] blockID) throws SQLException;\n\n /**\n * Get all blocks in the datastore.\n * @throws SQLException\n */\n DatabaseIterator<Block> getAllBlocks() throws SQLException;\n\n /**\n * Determine if we have this block on our active chain.\n * @param blockID the block ID\n * @return true if this block is in the datastore and is on the active chain; otherwise false.\n * @throws SQLException\n */\n boolean isBlockOnActiveChain(byte[] blockID) throws SQLException;\n\n /**\n * Gets the number of entries in the store.\n * @throws SQLException\n */\n long getEntriesCount() throws SQLException;\n\n /**\n * Get a particular entry.\n * @param id the entry id\n * @throws SQLException\n */\n Entry getEntry(UUID id) throws SQLException;\n\n /**\n * Get all entries matching the given file hash.\n * @param fileHash the file hash\n * @throws SQLException\n */\n List<Entry> getEntries(byte[] fileHash) throws SQLException;\n\n /**\n * Get all entries that are unconfirmed (not part of a block on the active blockchain).\n * @throws SQLException\n */\n List<Entry> getUnconfirmedEntries() throws SQLException;\n\n /**\n * Get all entries that are confirmed (part of a block on the active blockchain).\n * @throws SQLException\n */\n DatabaseIterator<Entry> getConfirmedEntries() throws SQLException;\n\n /**\n * Get all stored entries.\n * @throws SQLException\n */\n DatabaseIterator<Entry> getAllEntries() throws SQLException;\n\n /**\n * Get all entries where one of the string metadata fields partially matches the given query.\n * Query is split on whitespace, so for example searching for \"london bridge\" will return\n * any entries containing \"london\" and any entries containing \"bridge\".\n * @param searchQuery the search query\n * @return all matching entries\n * @throws SQLException\n */\n DatabaseIterator<Entry> searchEntries(String searchQuery) throws SQLException;\n\n /**\n * Insert an entry into the store, unless it already exists\n * @param e the entry\n * @return true if the entry was inserted successfully, false if it is a duplicate.\n * @throws SQLException\n */\n boolean insertEntry(Entry e) throws SQLException;\n\n /**\n * Get a property's value. Will return null if the property is not stored.\n * @param key the property key\n * @throws SQLException\n */\n String getProperty(String key) throws SQLException;\n\n\n /**\n * Set a property. Its key and value must be at most 255 characters long.\n * @param key the property key\n * @param value the property value\n * @throws SQLException\n */\n void setProperty(String key, String value) throws SQLException;\n\n List<Identity> getIdentities() throws SQLException;\n\n void updateIdentity(Identity identity) throws SQLException;\n\n void insertIdentity(Identity identity) throws SQLException;\n\n List<byte[]> getActiveBlocksSample(int maxBlockIDs) throws SQLException;\n\n void updateEntry(Entry entry) throws SQLException;\n}", "title": "" }, { "docid": "835fb5f103b15150ab6d8ea782f1e467", "score": "0.4926749", "text": "private byte[] convertToBytes(BPlusTree_Model tree) throws IOException {\n try (ByteArrayOutputStream bos = new ByteArrayOutputStream();\n ObjectOutput out = new ObjectOutputStream(bos)) {\n out.writeObject(tree);\n return bos.toByteArray();\n } \n }", "title": "" }, { "docid": "a502a65f86b11454cb631b114af22b42", "score": "0.4917688", "text": "BNMatchDataStructure(ArrayList<CyNode> nodesAL)\n { \n matchNodes=nodesAL;\n }", "title": "" }, { "docid": "c746d1cc182d712dae0bd07642fa735a", "score": "0.49099642", "text": "jelectrum.proto.Blockrepo.BitcoinBlock getBlocks(int index);", "title": "" }, { "docid": "2a7e06ad48164fa29d68a2ce19fd37ae", "score": "0.49036068", "text": "List getAllNodes(long fileSize) throws IOException {\n int depth = HashTree.calculateDepth(fileSize);\n List hashes = new ArrayList();\n byte[] data = DATA;\n\n if (data.length % HASH_SIZE != 0) {\n if (LOG.isDebugEnabled())\n LOG.debug(\"illegal size of data field for HashTree\");\n throw new IOException(\"corrupted hash tree detected\");\n }\n\n // read the hashes from the data field\n for (int i = 0; i + HASH_SIZE <= data.length; i += HASH_SIZE) {\n byte[] hash = new byte[HASH_SIZE];\n System.arraycopy(data, i, hash, 0, HASH_SIZE);\n hashes.add(hash);\n }\n\n String root32 = Base32.encode(getRoot());\n // iterator of all hashes we read\n Iterator hashIterator = hashes.iterator();\n // the current generation we are working on\n List generation = new ArrayList(1);\n // stores the last verified generation\n List parent = null;\n // index of the generation we are working on.\n int genIndex = 0;\n // whether or not the current row is verified.\n boolean verified = false;\n \n List allNodes = new ArrayList(depth+1);\n \n // Iterate through the read elements and see if they match\n // what we calculate.\n // Only calculate when we've read enough of the current\n // generation that it may be a full generation.\n // Imagine the trees:\n // A\n // / \\\n // B C\n // / \\ \\\n // D E C\n // /\\ /\\ \\\n // F G H I C\n // or\n // A\n // / \\\n // B C\n // / \\ / \\\n // D E F G\n // /\\ /\\ /\\ /\\\n // I H J K L M N O\n //\n // In both cases, we only have read the full child gen.\n // when we've read parent.size()*2 or parent.size()*2-1\n // child nodes.\n // If it didn't match on parent.size()*2, and\n // the child has greater than that, then the tree is\n // corrupt.\n \n while (genIndex <= depth && hashIterator.hasNext()) {\n verified = false;\n byte[] hash = (byte[]) hashIterator.next();\n generation.add(hash);\n if (parent == null) {\n verified = true;\n // add generation 0 containing the root hash\n genIndex++;\n parent = generation;\n allNodes.add(generation);\n generation = new ArrayList(2);\n } else if (generation.size() > parent.size() * 2) {\n // the current generation is already too big => the hash\n // tree is corrupted, abort at once!\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"parent\");\n String str = \"\";\n for (Iterator iter = parent.iterator(); iter.hasNext(); ) {\n str = str + Base32.encode((byte[])iter.next()) + \"; \"; \n }\n LOG.debug(str);\n str = \"\";\n LOG.debug(\"newparent\");\n List newparent = HashTree.createParentGeneration(generation);\n for (Iterator iter = newparent.iterator(); iter.hasNext(); ) {\n str = str + Base32.encode((byte[])iter.next()) + \"; \"; \n }\n LOG.debug(str);\n str = \"\";\n LOG.debug(\"generation\");\n for (Iterator iter = generation.iterator(); iter.hasNext(); ) {\n str = str + Base32.encode((byte[])iter.next()) + \"; \"; \n }\n LOG.debug(str);\n str = \"\";\n\n }\n throw new IOException(\"corrupted hash tree detected\");\n } else if (generation.size() == parent.size() * 2 - 1 ||\n generation.size() == parent.size() * 2) {\n List calculatedParent =\n HashTree.createParentGeneration(generation);\n if(isMatching(parent, calculatedParent)) {\n // the current generation is complete and verified!\n genIndex++;\n parent = generation;\n allNodes.add(Collections.unmodifiableList(generation));\n // only create room for a new generation if one exists\n if(genIndex <= depth && hashIterator.hasNext())\n generation = new ArrayList(parent.size() * 2);\n verified = true;\n }\n }\n } // end of while\n \n // If the current row was unable to verify, fail.\n // In mostly all cases, this will occur with the inner if\n // statement in the above loop. However, if the last row\n // is the one that had the problem, the loop will not catch it.\n if(!verified)\n throw new IOException(\"corrupted hash tree detected\");\n\n LOG.debug(\"Valid hash tree received.\");\n return allNodes;\n }", "title": "" }, { "docid": "206c553240b3d8a5b5dbbfb978cf2bc0", "score": "0.48985603", "text": "public Tree(String Id) throws IOException {\n this.treeList = new ArrayList<>();\n fmt = \"tree\";\n mode = \"040000\";\n try{\n File file = new File(path + File.separator + Id);\n if(file.exists()){\n key = Id;\n FileInputStream is = new FileInputStream(file);\n byte[] output = ZLibUtils.decompress(is);\n is.close();\n value = new String(output);\n genTreeList();\n }\n else{\n throw new IOException();\n }\n }catch (Exception e){\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "25e3189db8bd158ef52f9213086544cd", "score": "0.48856094", "text": "public NBTTagCompound serialize() {\n/* 122 */ NBTTagCompound nbt = new NBTTagCompound();\n/* 123 */ nbt.func_74772_a(\"seed\", this.seed);\n/* 124 */ return nbt;\n/* */ }", "title": "" }, { "docid": "c319843c2786201122875aba75b2e9ac", "score": "0.48810217", "text": "java.util.List<com.lvl6.proto.StructureProto.FullUserStructureProto> \n getUpdatedMoneyTreeList();", "title": "" }, { "docid": "183b1d3a11b59c767f702b4eaa470b9a", "score": "0.48695305", "text": "public synchronized List<HashPointer> epochHandler(List<Transaction> txns) {\n\n\n\t\tTransaction[] parseTxns = new Transaction[txns.size()];\n\n\t\tfor (int ledgerindex = 0; ledgerindex < txns.size(); ledgerindex++) {\n\t\t\tparseTxns[ledgerindex] = txns.get(ledgerindex);\n\t\t}\n\t\tTransaction[] tempTxns = new Transaction[txns.size()];\n\t\tTransaction[] successTxns = new Transaction[txns.size()];\n\t\tint tempCounter = 0, successCounter = 0;\n\t\tint stuckSize = txns.size();\n\t\twhile (true) {\n\t\t\tboolean change = false;\n\t\t\ttempCounter = 0;\n\t\t\tfor (int i = 0; i < stuckSize; i++) {\n\t\t\t\tif (inLedger(parseTxns[i])) {\n\t\t\t\t\tif (isValid(parseTxns[i])) {\n\t\t\t\t\t\tchange = true;\n\t\t\t\t\t\tupdateLedger(parseTxns[i]);\n\t\t\t\t\t\tsuccessTxns[successCounter++] = parseTxns[i];\n\t\t\t\t\t}\n\t\t\t\t\telse System.out.println(\"THis is the place\");\n\t\t\t\t} else {\n\t\t\t\t\ttempTxns[tempCounter++] = parseTxns[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (change) {\n\t\t\t\tfor (int i = 0; i < tempCounter; i++) {\n\t\t\t\t\tparseTxns[i] = tempTxns[i];\n\t\t\t\t}\n\t\t\t\tstuckSize = tempCounter;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tTransaction[] result = new Transaction[successCounter];\n\t\tList<HashPointer> HashPtrList = new ArrayList<HashPointer>();\n\t\tHashPointer hashPointer;\n\t\tfor (int i = 0; i < successCounter; i++) {\n\t\t\thashPointer = new HashPointer(successTxns[i].getHash(), i);\n\t\t\tHashPtrList.add(hashPointer);\n\t\t}\n\n\t\treturn HashPtrList;\n\n\n\t}", "title": "" }, { "docid": "98f320264e7468fa4738cd1a44e04419", "score": "0.48624894", "text": "public static void main(String[] args) {\n\t\t l = new Linkedlist(1);\r\n\t\tl.next =new Linkedlist(2);\r\n\t\tl.next.next =new Linkedlist(3);\r\n\t\tl.next.next.next =new Linkedlist(4);\r\n\t\tl.next.next.next.next =new Linkedlist(5);\r\n\t\tl.next.next.next.next.next =new Linkedlist(6);\r\n\t\tl.next.next.next.next.next.next =new Linkedlist(7);\r\n\t\tl.next.next.next.next.next.next.next =new Linkedlist(8);\r\n\t\tl.next.next.next.next.next.next.next.next =new Linkedlist(9);\r\n\t\tl.next.next.next.next.next.next.next.next.next =new Linkedlist(10);\r\n\t\tl.next.next.next.next.next.next.next.next.next.next=null;\r\n\t\tLinkedlist temp = l;\r\n\t\t \r\n\t\tint count =0;\r\n\t\twhile(temp!=null){\r\n\t\t\ttemp=temp.next ;\r\n\t\t\tcount++;\r\n\t\t}\r\n\t\t\r\n\t\tBuildBStfromDLL n = BuildBSt(count);\r\n\t\t\r\nprintlevelorder(n);\r\n\t}", "title": "" }, { "docid": "b78c9825e134ccebe31ebfff222254eb", "score": "0.4855818", "text": "public TreeNode deserialize_bfs(String data) {\n String[] split = data.split(\",\");\n Queue<String> queue = new ArrayDeque<>(Arrays.asList(split));\n\n TreeNode root = getNode(queue);\n\n if(root==null) return null;\n\n Queue<TreeNode> currentLayer = new LinkedList<>();\n currentLayer.add(root);\n\n while (!queue.isEmpty()){\n TreeNode node = currentLayer.poll();\n TreeNode left = getNode(queue);\n TreeNode right = getNode(queue);\n\n node.left = left;\n node.right = right;\n\n if(left!=null)currentLayer.add(left);\n if(right!=null)currentLayer.add(right);\n }\n return root;\n }", "title": "" }, { "docid": "7277c5330bf40f240aa04898de152927", "score": "0.48493844", "text": "private static byte[] buildMessage(Map<HostPortPair, Node> nodeList, boolean isRequest, List<Block> blockChain) {\n byte[] data = new byte[14 + LocalNodeList.nodeListLengthSum(nodeList) + 36 * blockChain.size()];\n data[3] = (byte) (isRequest ? 1 : 2);\n HanukCoinUtils.intIntoBytes(data, 4, 0xBeefBeef);\n data[8] = (byte) nodeList.size();\n int index = 9;\n for (Node value : nodeList.values()) {\n if (!value.getIsNew()) {\n System.arraycopy(value.getData(), 0, data, index, value.getDataLength());\n index += value.getDataLength();\n }\n }\n HanukCoinUtils.intIntoBytes(data, index, 0xDeadDead);\n data[index += 4] = (byte) blockChain.size();\n index++;\n for (Block block : blockChain) {\n System.arraycopy(block.getBytes(), 0, data, index, 36);\n index += 36;\n }\n return data;\n }", "title": "" }, { "docid": "ac0f319cdf8cec1b17eceee8861d46a9", "score": "0.4848287", "text": "public interface MemoryBlockchainInternal {\n\n\t/**\n\t * Yields the configuration of this node.\n\t * \n\t * @return the configuration\n\t */\n\tMemoryBlockchainConfig getConfig();\n\n\t/**\n\t * Checks that the given transaction request is valid.\n\t * \n\t * @param request the request\n\t * @throws TransactionRejectedException if the request is not valid\n\t */\n\tvoid checkTransaction(TransactionRequest<?> request) throws TransactionRejectedException;\n\n\t/**\n\t * Builds a response for the given request and adds it to the store of the node.\n\t * \n\t * @param request the request\n\t * @return the response; if this node has a notion of commit, this response is typically\n\t * still uncommitted\n\t * @throws TransactionRejectedException if the response cannot be built\n\t */\n\tTransactionResponse deliverTransaction(TransactionRequest<?> request) throws TransactionRejectedException;\n\n\t/**\n\t * Rewards the validators with the cost of the gas consumed by the\n\t * transactions in the last block. This is meaningful only if the\n\t * node has some form of commit.\n\t * \n\t * @param behaving the space-separated sequence of identifiers of the\n\t * validators that behaved correctly during the creation\n\t * of the last block\n\t * @param misbehaving the space-separated sequence of the identifiers that\n\t * misbehaved during the creation of the last block\n\t * @return true if and only if rewarding was performed; rewarding might not be\n\t * performed because the manifest is not yet installed or because\n\t * the code of the validators contract failed\n\t */\n\tboolean rewardValidators(String behaving, String misbehaving);\n}", "title": "" }, { "docid": "241a54d9e35c41e324a3d5ddd308ed60", "score": "0.48440474", "text": "private static void pareTree(Leaf head, List<Sha256Hash> hashList, int maxRank, int curBank,\n int number) {\n Leaf left = head.getLeft();\n Leaf right = head.getRight();\n if (curBank < maxRank) {\n curBank++;\n number = number << 1;\n pareTree(left, hashList, maxRank, curBank, number);\n number++;\n if ( (number<<(maxRank-curBank)) >= hashList.size()) { //The smallest leaf child number = number<<(maxRank-curBank)\n Assert.assertTrue(right == null);\n Assert.assertEquals(head.getHash(), left.getHash()); //No right, leaf = left\n } else {\n pareTree(right, hashList, maxRank, curBank, number);\n Assert.assertEquals(head.getHash(), computeHash(left.getHash(), right.getHash())); //hash = sha256(left || right)\n }\n } else {\n // last rank, no child, it is real leaf. Its hash in hashList.\n Assert.assertTrue(left == null);\n Assert.assertTrue(right == null);\n Assert.assertEquals(head.getHash(), hashList.get(number));\n System.out.println(\"curBank :\" + curBank + \" number :\" + number);\n System.out.println(ByteArray.toHexString(head.getHash().getBytes()));\n }\n }", "title": "" }, { "docid": "ac86ca3498db8b77f8ee8cfded760d05", "score": "0.48349962", "text": "void beginMining(CryptographicService cryptograhpicService, List<BlockchainTransaction> bcTransactions, \n String merkleRoot, MiningManager defaultMiningManager);", "title": "" }, { "docid": "9781bf734673fbbd5b20bd24eed245a5", "score": "0.48339692", "text": "protected Block(byte[] genesisBytes) throws NoSuchAlgorithmException, InvalidKeyException, SignatureException,\r\n IOException, NoSuchProviderException, InvalidKeySpecException {\r\n\r\n Configuration config = Configuration.getInstance();\r\n\r\n // Date and time of the first meeting to plan the development of this project\r\n long timestamp = 1582135200000L;\r\n\r\n TOMConfiguration tomConf = new TOMConfiguration(-100, Configuration.CONFIG_DIR, null);\r\n\r\n Signature signature = Signature.getInstance(tomConf.getSignatureAlgorithm());\r\n signature.initSign(Keys.getPrivKey(Keys.getPrivGenesisKeyBytes(), tomConf));\r\n signature.update(genesisBytes);\r\n byte[] signatureBytes = signature.sign();\r\n\r\n System.out.println(\"New Genesis Block Signature :: \" + Base64.toBase64String(signatureBytes));\r\n\r\n Transaction t = new Transaction(genesisBytes, config.getProtocolVersion(), timestamp, signatureBytes);\r\n this.transactions = new Hashtable<>();\r\n this.transactions.put(t.getHash(), t);\r\n\r\n byte[] nonce = new byte[10];\r\n new Random(timestamp).nextBytes(nonce);\r\n\r\n this.blockHeader = new BlockHeader(new byte[0], config.getProtocolVersion(), timestamp,\r\n nonce, MerkleTree.getMerkleRoot(this.transactions));\r\n this.blockHeight = 0;\r\n this.transactionCounter = 1;\r\n }", "title": "" }, { "docid": "6421e17ffaf2f089aac9b09aa97eefda", "score": "0.48291588", "text": "public static void main(String args[]) { 0\n // / \\\n // / \\\n // 1 2\n // / \\ \\\n // 3 4 5\n // \\ /\n // 6 7\n //\n Tree2 t6 = new Tree2(6);\n Tree2 t3 = new Tree2(new Tree2(), 3, t6);\n\n Tree2 t4 = new Tree2(4);\n Tree2 t1 = new Tree2(t3, 1, t4);\n\n Tree2 t7 = new Tree2(7);\n Tree2 t5 = new Tree2(t7, 5, new Tree2());\n Tree2 t2 = new Tree2(new Tree2(), 2, t5);\n\n Tree2 t0 = new Tree2(t1, 0, t2);\n\n System.out.println(\"t0.toStringInOrder() = \" + t0);\n System.out.println(\"t1.toStringInOrder() = \" + t1);\n System.out.println(\"t2.toStringInOrder() = \" + t2);\n System.out.println(\"t3.toStringInOrder() = \" + t3);\n System.out.println(\"t4.toStringInOrder() = \" + t4);\n System.out.println(\"t5.toStringInOrder() = \" + t5);\n System.out.println(\"t6.toStringInOrder() = \" + t6);\n System.out.println(\"t7.toStringInOrder() = \" + t7);\n\n System.out.println(\"t0.countLeafs() = \" + t0.countLeafs());\n System.out.println(\"t1.countLeafs() = \" + t1.countLeafs());\n System.out.println(\"t2.countLeafs() = \" + t2.countLeafs());\n System.out.println(\"t3.countLeafs() = \" + t3.countLeafs());\n System.out.println(\"t4.countLeafs() = \" + t4.countLeafs());\n System.out.println(\"t5.countLeafs() = \" + t5.countLeafs());\n System.out.println(\"t6.countLeafs() = \" + t6.countLeafs());\n System.out.println(\"t7.countLeafs() = \" + t7.countLeafs());\n }", "title": "" }, { "docid": "50d8ec959a050242b29185d581f8322e", "score": "0.48251095", "text": "public BinaryTree() {\n\t\trootNode = new Node();\n\t\tlow = null;\n\t\thigh = null;\n\t\tquantity = 0;\n\t}", "title": "" }, { "docid": "48434b3dc77f7e6d7775931673986ed3", "score": "0.48238465", "text": "public static void serializarClubes(List pD) {\r\n XMLEncoder encoder = null; \r\n\r\n try {\r\n FileOutputStream fos = new FileOutputStream(SERIALIZED_FILE_NAME);\r\n BufferedOutputStream bos = new BufferedOutputStream(fos); \r\n encoder = new XMLEncoder(bos);\r\n System.out.println(\"Archivo generado\");\r\n } catch (FileNotFoundException fileNotFound) {\r\n System.out.println(\"ERROR: No se pudieron guardar los clubes\");\r\n } \r\n \r\n encoder.writeObject(pD);\r\n encoder.close();\r\n }", "title": "" }, { "docid": "55a3dce217cc60f13299a6dc79de4111", "score": "0.4819766", "text": "public BlockChainB(String info, String prevHash) {\r\n this.info = info;\r\n this.prevHash = prevHash;\r\n this.time = new Date().getTime();\r\n this.hash = doHash(); //calls the doHash() method to compute the hash every time the constructor is called\r\n }", "title": "" }, { "docid": "d43e07c05cf67758cc3579b191273de5", "score": "0.4816906", "text": "public static void sendList() {\n\t\t// Make List and Put List into the big Hashmap\n\t\tHashMap<String, Integer> templistlocal = new HashMap<String, Integer>();\n\t\tArrayList<String> localNames = new ArrayList<String>(Node.local.keySet());\n\t\tfor (int i = 0; i < localNames.size(); i++) {\n\t\t\ttemplistlocal.put(localNames.get(i), 0);\n\t\t}\n\t\tlocalList.put(Node.idOwn, templistlocal);\n\n\t\tHashMap<String, Integer> templistreplica = new HashMap<String, Integer>();\n\t\tArrayList<String> replicaNames = new ArrayList<String>(Node.replica.keySet());\n\t\tfor (int i = 0; i < replicaNames.size(); i++) {\n\t\t\ttemplistreplica.put(replicaNames.get(i), 0);\n\t\t}\n\t\treplicaList.put(Node.idOwn, templistreplica);\n\n\t\t// Send Hashmap to NextNode and catch\n\t\tif (Node.ipNext != null) {\n\t\t\ttry {\n\t\t\t\tINode nextnode = (INode) Naming.lookup(\"//\" + Node.ipNext + \"/node\");\n\t\t\t\tnextnode.refreshAgent(localList, replicaList);\n\t\t\t} catch (MalformedURLException | RemoteException | NotBoundException e) {\n\t\t\t\tfailure();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "bc4cfbf0f928d032b656e3da1ead0656", "score": "0.4816675", "text": "public SelfBalancingTreeSet(){super();}", "title": "" }, { "docid": "bedec5de2a6c6f0670793c7e4f2e8f4a", "score": "0.48150727", "text": "public static void main(String[] args) throws UnreadableWalletException, BlockStoreException {\n\t\tBitcoin test = new Bitcoin();\n\t\t// test.initWallet();\n\t\t// test.exportMnemonic();\n\t\t// test.importMnemonic(\"yard impulse ÷luxury drive today throw farm pepper survey wreck glass federal\");\n\t\t// test.createWallet();\n\t\ttest.getBalances();\n\n\t}", "title": "" }, { "docid": "777f48b3f9e485e696628c1c05726049", "score": "0.48116788", "text": "private void register() throws NoSuchAlgorithmException, IOException, InterruptedException{\n // Add data to identitiy chain\n int chain_id = 1;\n String pr_key;\n String pu_key;\n\n // Generate public-private key pair\n KeyPairGenerator kpg = KeyPairGenerator.getInstance(\"RSA\");\n kpg.initialize(2048);\n KeyPair keys = kpg.generateKeyPair();\n this.publicKey = keys.getPublic();\n this.privateKey = keys.getPrivate();\n pr_key = Base64.getEncoder().encodeToString(this.privateKey.getEncoded());\n pu_key = Base64.getEncoder().encodeToString(this.publicKey.getEncoded());\n System.out.println(\"After Encoding pr_key\" + pu_key);\n System.out.println(\"After Encoding pr_key\" + pr_key);\n// pr_key = new String(this.privateKey.getEncoded(), \"UTF-8\");\n// pu_key = new String(this.publicKey.getEncoded(), \"UTF-8\");\n\n // Create data block\n this.data.put(\"public_key\", pu_key);\n this.data.put(\"user_name\", this.user_name);\n\n // Mine a new block\n MineBlockRequest request = new MineBlockRequest(chain_id, this.data);\n HttpResponse<String> response = this.getResponse(\"/mineblock\", this.node_port, request);\n BlockReply mined_reply = gson.fromJson(response.body(), BlockReply.class);\n\n // Add mined block to block chain\n if (mined_reply.getChainId() == 1) {\n Block new_block = mined_reply.getBlock();\n AddBlockRequest request1 = new AddBlockRequest(chain_id, new_block);\n response = this.getResponse(\"/addblock\", this.node_port, request1);\n StatusReply status = gson.fromJson(response.body(), StatusReply.class);\n if (!status.getSuccess()) {\n System.out.println(\"Block could not be added!\");\n return;\n }\n } else {\n System.out.println(\"Incorrect chain!\");\n return;\n }\n }", "title": "" }, { "docid": "d84fdc22329e4e15eb652161d0830279", "score": "0.4807999", "text": "@Test\n public void oneLeaf(){\n BinTree<Integer, Integer> t;\n t = new Leaf<>(4);\n TreePrinter.print(t);\n assertEquals(1, TreeFunctions.countNodes(t));\n assertEquals(1, TreeFunctions.countLeaves(t));\n assertEquals(0, TreeFunctions.countInternalNodes(t));\n assertEquals(0, TreeFunctions.height(t));\n assertTrue(TreeFunctions.isBalanced(t));\n assertEquals(List.singleton(4), TreeFunctions.preorder(t));\n assertEquals(List.singleton(4), TreeFunctions.inorder(t));\n assertEquals(List.singleton(4), TreeFunctions.postorder(t));\n\n }", "title": "" }, { "docid": "e5b438a822fa664a69224c56916ba9ff", "score": "0.48070326", "text": "public void mine(Transaction transaction) {\n\n Blockchain blockchain = kademlia.getBlockchain();\n Block prev = blockchain.latestBlock();\n List<Transaction> transactions = new ArrayList<>();\n transactions.add(transaction);\n\n\n Block newBlock = new Block(\n prev.index,\n System.currentTimeMillis(),\n prev.previousHash,\n transactions\n );\n\n newBlock.addTransaction(transaction);\n blockchain.addBlock(newBlock);\n\n System.out.println(\"Successful mining! Going to share the mined block\");\n //wallet += paymentForMiner;\n\n kademlia.gossip(\n toByteArray(newBlock),\n BLOCK\n );\n }", "title": "" }, { "docid": "1d8b322066a702beb95ed51e0b642fb5", "score": "0.48054945", "text": "public void buildTree() {\n int block_ind;\n for (block_ind = 1; block_ind < block_Index.size(); block_ind ++){\n records = data.getBlockRecords(block_ind);\n for (Record rec : records) {\n insert(root, rec);\n }\n records = new ArrayList<>();\n }\n }", "title": "" }, { "docid": "191dc5c142840a44d36c6f14135ea4f5", "score": "0.48027387", "text": "public List(Node<T> start){\n\t\tthis.first = start;\n\t\tthis.size = 1;\n\t}", "title": "" }, { "docid": "541ba8ec31df00091a829acacb5c57ca", "score": "0.48019153", "text": "public static void main(String[] args) {\n\t\tBT bt = new BT(3);\n\t\tbt.insert(5);\n\t\tbt.insert(2);\n//\t\tbt.insert(1);\n\t\tbt.insert(9);\n\t\tbt.insert(4);\n\t\tbt.preorder();\n\t\tArrayList<LinkedList<Integer>> res = getNodeByLevel(bt);\n\t\tint level = 0;\n\t\tfor (LinkedList<Integer> ll : res) {\n\t\t\tSystem.out.print(\"Level \" + level + \": \");\n\t\t\tfor (int i = 0; i < ll.size(); i++)\n\t\t\t\tSystem.out.print(ll.get(i) + \" \");\n\t\t\tSystem.out.println();\n\t\t\tlevel++;\n\t\t}\n\t}", "title": "" }, { "docid": "b9a1b1d0497b54141c31a4613297c511", "score": "0.47998834", "text": "private void addDataBlock(DataBlock db) throws NoSuchAlgorithmException, IOException {\n\t\troot = add(root, db,height(),numOfLeaves);\n\t\tnumOfLeaves++;\n\t}", "title": "" }, { "docid": "c542edc908ac97172ddd9c745bc15b0e", "score": "0.479581", "text": "private TransactionList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "bb14a83fa6728a029ecd15c21a2765f4", "score": "0.4791982", "text": "public static ArrayList<Block> messageIntoBlocks(byte[] data) throws WrongFormatException {\n ArrayList<Block> blockChain = new ArrayList<>();\n int nodesCount = HanukCoinUtils.intFromBytes(data, 8);\n int index = 12;\n for (int i = 0; i < nodesCount; i++) {\n byte nameLen = data[index];\n byte hostLen = data[index + nameLen + 1];\n index += nameLen + hostLen + 8;\n }\n if (HanukCoinUtils.intFromBytes(data, index) != 0xDeadDead) {\n System.out.println(\"#Parsing error in messageIntoBlockList\");\n throw new WrongFormatException();\n }\n index += 4;\n int blockCount = HanukCoinUtils.intFromBytes(data, index);\n for (int i = 0; i < blockCount; i++) {\n blockChain.add(new Block(Arrays.copyOfRange(data, index, index + 36)));\n index += 36;\n }\n if (HanukCoinUtils.intFromBytes(data, index) != 0xBeafBeaf) {\n System.out.println(\"#Parsing error in messageIntoBlockList\");\n throw new WrongFormatException();\n }\n return blockChain;\n\n }", "title": "" }, { "docid": "93df02dd95171aa59a2f24c03aaafde5", "score": "0.47896373", "text": "public void rollBack(long versionNo) throws MerkleTreeException;", "title": "" }, { "docid": "580d25b6f2185490b298e34a4b74c824", "score": "0.47885227", "text": "java.util.List<FollowersPlus.PBTransaction> \n getTransactionsList();", "title": "" }, { "docid": "68366de747a00cd1e8c76e3e4717d327", "score": "0.47742376", "text": "public static void main(String[] args) {\n\t\tPath dbPath = Paths.get(\"./store\");\n\t\tBitsyGraph graph = new BitsyGraph(dbPath);\n\n\t\t// LTrie ltrie=new LTrie(\"./store/sat\");\n\t\tList<Operation> opList = new ArrayList<Operation>();\n\t\tIntVariable v1 = new IntVariable(\"aa\", 0, 99);\n\t\tIntVariable v2 = new IntVariable(\"bb\", 0, 99);\n\t\tOperation o1 = new Operation(Operation.Operator.ADD, v1, v2);\n\t\tOperation o2 = new Operation(Operation.Operator.SUB, v2, v1);\n\t\tOperation o3 = new Operation(Operation.Operator.LT, o1, o2);\n\t\topList.add(o1);\n\t\topList.add(o2);\n\t\topList.add(o3);\n\t\tSet<String> keys = graph.getIndexedKeys(Vertex.class);\n\t\tif(keys.isEmpty()){\n\t\t\tgraph.createKeyIndex(\"exp\", Vertex.class);\n\t\t}\n\t\tVertex father=null;\n\t\tVertex root=null;\n\t\tfor (Operation op : opList) {\n\t\t\tIterable<Vertex> vs = graph.getVertices(\"exp\", op.toString());\n\t\t\tVertex v=null;\n\t\t\tif(vs.iterator().hasNext()){\n\t\t\t\tv=vs.iterator().next();\n\t\t\t}else{\n\t\t\t\tv = graph.addVertex(null);\n\t\t\t\tv.setProperty(\"exp\", op.toString());\n\t\t\t}\n\t\t\tif(father!=null){\n\t\t\t\tfather.addEdge(\"next\", v);\n\t\t\t}else{\n\t\t\t\troot=v;\n\t\t\t}\n\t\t\tfather=v;\n\t\t}\n\t\t\n\n\t\tlong ts = System.currentTimeMillis();\n\t\t// for (int i = 0; i < 20; i++) {\n\t\t// Vertex v = graph.addVertex(\"node\"+i);\n\t\t// v.setProperty(\"rand\", Math.random());\n\t\t// v.setProperty(\"count\", i);\n\t\t//\n\t\t// if (i % 20 == 0) {\n\t\t// graph.commit();\n\t\t// }\n\t\t//\n\t\t// // Make sure the vertex is there in the middle of the Tx\n\t\t// //assertEquals(new Integer(i),\n\t\t// graph.getVertex(vids[i]).getProperty(\"count\"));\n\t\t// }\n\t\t// graph.commit();\n\t\tVertex c=root;\n\t\twhile(c!=null){\n\t\t\tSystem.out.println(c.getProperty(\"exp\"));\n\t\t\tIterable<Edge> nextE = c.getEdges(Direction.OUT, \"next\");\n\t\t\tif(nextE.iterator().hasNext()){\n\t\t\t\tc=nextE.iterator().next().getVertex(Direction.IN);\n\t\t\t}else{\n\t\t\t\tc=null;\n\t\t\t}\n\t\t}\n\t\t\n\t\tgraph.commit();\n//\t\t\n//\t\tIterator<Vertex> itr = graph.getVertices().iterator();\n//\t\twhile (itr.hasNext()) {\n//\t\t\t\n//\t\t}\n\t\tgraph.flushTxLog();\n\n\t\t// Close the database\n\t\tgraph.shutdown();\n\n\t}", "title": "" }, { "docid": "d2ea8bc8c9ec87e2e26d6e867088b6ba", "score": "0.47717577", "text": "public BinTree(){ super(); }", "title": "" }, { "docid": "b8bc120805f6b0f95924437ee4584bec", "score": "0.47693115", "text": "@Test\n public void getTree() {\n final String sha = \"0abcd89jcabitest\";\n final Trees trees = new RtTrees(\n new FakeRequest().withBody(\n Json.createObjectBuilder()\n .add(\"sha\", sha)\n .build()\n .toString()\n ),\n repo()\n );\n MatcherAssert.assertThat(\n trees.get(sha).sha(), Matchers.equalTo(sha)\n );\n }", "title": "" }, { "docid": "d479e396e879fa65c2f28c48d88265e8", "score": "0.47690123", "text": "public void gc() throws MerkleTreeException;", "title": "" }, { "docid": "a39df5feb6c9f1144b53efbafe182b48", "score": "0.47612354", "text": "public BlockChain( BlockChain orig ){\n\t\t// make a complete copy\n\t\tthis.chain = new LinkedList<Block>(orig.chain);\n\t}", "title": "" }, { "docid": "5147c668eeb0134c13c66bf18a5c19ec", "score": "0.47602573", "text": "public void balanceTreeTwo() {\n\n\t\ttransformToList();\n\n\n\t\tint N = returnSize();\n\t\tdouble log2 = Math.log(N) / Math.log(2);\n\t\tdouble pow = Math.floor(log2);\n\t\tdouble subpart = (int) Math.pow(2, pow);\n\t\tdouble M = (N + 1) - subpart;\n\t\t// use the floor function for the log2N\n\n\t\tNode iter = root;\n\t\tNode iter2 = null;\n\t\tNode iter3 = iter.right.right;\n\t\tfor (int i = 0; i < M; i++) {\n\t\t\tSystem.out.println(\"test1\");\n\t\t\tSystem.out.println(i);\n\t\t\titer2.right = rotateLeft(iter);\n\t\t\titer2 = iter2.right;\n\t\t\titer = iter3;\n\t\t\tif(iter.right != null && iter.right.right !=null) {\n\t\t\t\titer = iter.right.right;\n\t\t\t}\n\t\t}\n\t\t\n\t\titer = root;\n\t\titer2 = null;\n\t\titer3 = iter.right.right;\n\t\t\n\t\tdouble K = Math.floor(pow - 1);\n\n\t\t// new stuff\n\t\twhile(K > 1) {\n\t\t\titer2.right = rotateLeft(iter);\n\t\t\titer2 = iter2.right;\n\t\t\titer = iter3;\n\t\t\t\n\t\t\tif(iter.right != null && iter.right.right !=null) {\n\t\t\t\titer = iter.right.right;\n\t\t\t}\n\t\t\tK--;\t\n\t\t}\n\t\tif (K == 1) {\n\t\t\trotateLeft(root);\n\t\t\treturn;\n\t\t}\n\n\t}", "title": "" }, { "docid": "cbbb061188e8a210a2f256ca345f2a02", "score": "0.47567272", "text": "public interface Tree<T> extends Iterable<T>, Serializable\n{\n\t/**\n\t * @return The root node of the tree\n\t */\n\tpublic abstract TreeRoot<T> getRoot();\n\t\n\t/* (non-Javadoc)\n\t * @see java.lang.Iterable#iterator()\n\t */\n\t/**\n\t * @return An {@link Iterator} that iterates over the elements stored in the tree's nodes.\n\t * The order the elements are returned is not gauranteed by this method.\n\t */\n\tpublic abstract Iterator<T> iterator();\n\t\n\t/**\n\t * @return An {@link Iterator} that iterates over the tree's nodes.\n\t * The order the nodes are returned is not gauranteed by this method.\n\t */\n\tpublic abstract Iterator<TreeNode<T>> nodeIterator();\n\t\n\t/**\n\t * @return An {@link Collection} that contains the elements stored in the tree's nodes.\n\t * The elements are returned in breadth first order.\n\t */\n\tpublic abstract Collection<T> getBreadthFirstElements();\n\t\n\t/**\n\t * @return An {@link Collection} that contains the tree's nodes.\n\t * The nodes are returned in breadth first order.\n\t */\n\tpublic abstract Collection<TreeNode<T>> getBreadthFirstNodes();\n\t\n\t/**\n\t * @return An {@link Collection} that contains the elements stored in the tree's nodes.\n\t * The elements are returned in depth first order.\n\t */\n\tpublic abstract Collection<T> getDepthFirstElements();\n\t\n\t/**\n\t * @return An {@link Collection} that contains the tree's nodes.\n\t * The nodes are returned in depth first order.\n\t */\n\tpublic abstract Collection<TreeNode<T>> getDepthFirstNodes();\n\t\n\t/**\n\t * @return A {@link Collection} of all the elements in the tree.\n\t * The order of the elements is not gauranteed by this method.\n\t */\n\tpublic abstract Collection<T> getElements();\n\t\n\t/**\n\t * @return A {@link Collection} of all nodes in the tree.\n\t * The order of the nodes is not gauranteed by this method.\n\t */\n\tpublic abstract Collection<TreeNode<T>> getNodes();\n\t\n\t/**\n\t * @return The number of elements in the tree.\n\t */\n\tpublic abstract int size();\n\t\n\t/**\n\t * @return The depth of the tree, i.e. the number of levels the tree has.\n\t */\n\tpublic abstract int depth();\n}", "title": "" }, { "docid": "26284c2b32758e5000e62460bc10f810", "score": "0.4756408", "text": "@Test\n public void test_CoinMarket_Search() throws Exception {\n CoinMarket CM = CoinMarket.getInstance();\n ArrayList<Coin> c = CM.getCoins();\n assertEquals(\"Bitcoin\", c.get(0).getName());\n c =CM.searchCoin(\"Ethereum\") ;\n assertEquals(2, c.size()); //there are 2 ethereum coins\n assertNotEquals(\"Bitcoin\", c.get(0).getName());\n assertEquals(\"Ethereum\", c.get(0).getName());\n }", "title": "" }, { "docid": "6d79b1949401bcb29018e43b29fc69d7", "score": "0.47539058", "text": "public static void main(String[] args) {\n // max = new Maximum();\n BinaryTreeTraversal b = new BinaryTreeTraversal();\n b.r = new TreeNode(5);\n b.r.left = new TreeNode(6);\n b.r.right = new TreeNode(7);\n b.r.left.left = new TreeNode(8);\n b.r.left.right = new TreeNode(9);\n b.r.right.left = new TreeNode(10);\n b.r.right.right = new TreeNode(11);\n \n \n //newline(\"BT to DLL\");\n //BinaryTreeToDLL(b.r);\n //printList();\n\n newline(\"levelOrder\");\n BinaryTreeTraversal.levelOrder(b.r).stream().forEach(l -> {\n l.stream().forEach(s -> System.out.print(s + \" \"));\n System.out.println();\n });\n\n newline(\"reverselevelOrder\");\n\n BinaryTreeTraversal.reverselevelOrder(b.r).stream().forEach(l -> {\n l.stream().forEach(s -> System.out.print(s + \" \"));\n System.out.println();\n });\n\n newline(\"zigzag\");\n\n BinaryTreeTraversal.zigzag(b.r).stream().forEach(l -> {\n l.stream().forEach(s -> System.out.print(s + \" \"));\n System.out.println();\n });\n\n newline(\"levelAverage\");\n\n BinaryTreeTraversal.levelAverage(b.r).stream().forEach(s -> System.out.println(s + \" \"));\n\n newline(\"levelordersuccessor\");\n\n System.out.println(BinaryTreeTraversal.levelordersuccessor(b.r, 11));\n\n newline(\"connectlevelordersiblings\");\n\n BinaryTreeTraversal.connectlevelordersiblings(b.r);\n\n newline(\"convertalllevelorder\");\n\n BinaryTreeTraversal.convertalllevelorder(b.r);\n\n newline(\"rightViewOfTree\");\n\n BinaryTreeTraversal.rightViewOfTree(b.r).stream().forEach(s -> System.out.print(s.val + \" \"));\n\n newline(\"printTreeBoundary\");\n\n BinaryTreeTraversal.printTreeBoundary(b.r);\n\n newline(\"hasPath\");\n System.out.println(BinaryTreeTraversal.hasPath(b.r, 19));\n\n newline(\"findAllRootToLeafPaths\");\n\n BinaryTreeTraversal.findAllRootToLeafPaths(b.r).stream().forEach(l -> {\n l.stream().forEach(s -> System.out.print(s + \" \"));\n System.out.println();\n });\n\n newline(\"maxSumPath\");\n\n System.out.println(BinaryTreeTraversal.maxSumPath(b.r));\n\n }", "title": "" }, { "docid": "748e469821cf3fea236b4c548d0bbb78", "score": "0.47425973", "text": "protected Block(byte[] genesisBytes, byte[] signature) {\r\n Configuration config = Configuration.getInstance();\r\n\r\n // Date and time of the first meeting to plan the development of this project\r\n long timestamp = 1582135200000L;\r\n\r\n Transaction t = new Transaction(genesisBytes, config.getProtocolVersion(), timestamp, signature);\r\n this.transactions = new Hashtable<>();\r\n this.transactions.put(t.getHash(), t);\r\n\r\n byte[] nonce = new byte[10];\r\n new Random(timestamp).nextBytes(nonce);\r\n\r\n this.blockHeader = new BlockHeader(new byte[0], config.getProtocolVersion(), timestamp,\r\n nonce, MerkleTree.getMerkleRoot(this.transactions));\r\n this.blockHeight = 0;\r\n this.transactionCounter = 1;\r\n }", "title": "" }, { "docid": "b207027fdbaa31d6c8e7839713b26c95", "score": "0.4739681", "text": "byte[] encode() {\n/* 90 */ ByteArrayOutputStream bos = new ByteArrayOutputStream();\n/* 91 */ DataOutputStream dos = null;\n/* 92 */ byte[] barr = null;\n/* */ \n/* */ try {\n/* 95 */ dos = new DataOutputStream(bos);\n/* 96 */ if (this.spawns == null) {\n/* 97 */ dos.writeInt(0);\n/* */ } else {\n/* */ \n/* 100 */ dos.writeInt(this.spawns.length);\n/* 101 */ for (Spawnpoint spawn : this.spawns) {\n/* */ \n/* 103 */ dos.writeShort(spawn.tilex);\n/* 104 */ dos.writeShort(spawn.tiley);\n/* 105 */ dos.writeUTF(spawn.name);\n/* 106 */ dos.writeUTF(spawn.description);\n/* 107 */ dos.writeByte(spawn.kingdom);\n/* */ } \n/* */ } \n/* 110 */ dos.flush();\n/* 111 */ dos.close();\n/* */ }\n/* 113 */ catch (Exception ex) {\n/* */ \n/* 115 */ logger.log(Level.WARNING, ex.getMessage(), ex);\n/* */ }\n/* */ finally {\n/* */ \n/* 119 */ StreamUtilities.closeOutputStreamIgnoreExceptions(dos);\n/* 120 */ barr = bos.toByteArray();\n/* 121 */ StreamUtilities.closeOutputStreamIgnoreExceptions(bos);\n/* 122 */ setData(barr);\n/* */ } \n/* 124 */ return barr;\n/* */ }", "title": "" }, { "docid": "00626c08fc6d88433344d9c9f69fd2b3", "score": "0.4738914", "text": "private void borrow(LeafNode child, InnerNode parent, LeafNode sibling) {\r\n \tif(getLeftSibling(child).equals(sibling)) {\r\n \t\t//Left sibling - borrow last\r\n \t\tArrayList<Entry> en = new ArrayList<Entry>(getDegree());\r\n \t\ten.add(sibling.getEntries().get(sibling.getEntries().size()-1));\r\n \t\ten.addAll(child.getEntries());\r\n \t\tchild.setEntries(en);\r\n \t\t\r\n \t\ten = null;\r\n \t\t//en.clear();\r\n \t\ten = sibling.getEntries();\r\n \t\ten.remove(en.size()-1);\r\n \t\tsibling.setEntries(en);\r\n \t\t\r\n \t\tArrayList<Field> key = new ArrayList<Field>(getDegree());\r\n \t\tkey.addAll(parent.getKeys());\r\n \t\tkey.add(key.indexOf(child.getEntries().get(0).getField()),sibling.getEntries().get(sibling.getEntries().size()-1).getField());\r\n \t\tkey.remove(child.getEntries().get(0).getField());\r\n \t\tparent.setKeys(key);\r\n \t\treturn;\r\n \t}\r\n \telse {\r\n \t\t//Right sibling - borrow first\r\n \t\tArrayList<Entry> en = new ArrayList<Entry>(getDegree());\r\n \t\ten.addAll(child.getEntries());\r\n \t\ten.add(sibling.getEntries().get(0));\r\n \t\tchild.setEntries(en);\r\n \t\t\r\n \t\ten = null;\r\n \t\ten = sibling.getEntries();\r\n \t\ten.remove(0);\r\n \t\tsibling.setEntries(en);\r\n \t\t\r\n \t\tArrayList<Field> key = new ArrayList<Field>(getDegree());\r\n \t\tkey.addAll(parent.getKeys());\r\n \t\tkey.add(key.indexOf(child.getEntries().get(child.getEntries().size()-2).getField()), child.getEntries().get(child.getEntries().size()-1).getField());\r\n \t\tkey.remove(child.getEntries().get(child.getEntries().size()-2).getField());\r\n \t\tparent.setKeys(key);\r\n \t\treturn;\r\n \t}\r\n }", "title": "" }, { "docid": "e61d403ed4e3a63d86982f4a82a9688f", "score": "0.47370696", "text": "private MTNode add(MTNode node, DataBlock db, int height,int numOfLeaves) throws NoSuchAlgorithmException, IOException {\n\t\tif(node==null) {\n\t\t\tif(height==0||height==-1) {\n\t\t\t\tif(db!=null)\n\t\t\t\t\treturn new MTNode(HashGeneration.generateSHA256(new File(db.dataPath)),db);\n\t\t\t\telse\n\t\t\t\t\treturn new MTNode(\"\",null);\n\t\t\t}else {\n\t\t\t\tnode = new MTNode(\"\",null);\n\t\t\t\tnode.left=add(node.left,db,height-1,numOfLeaves);\n\t\t\t\tsetHash(node);\n\t\t\t\treturn node;\n\t\t\t}\n\t\t}\n\t\tint maxLeaf = (int) Math.pow(2, height);\n\t\tif(numOfLeaves==maxLeaf) {\n\t\t\tMTNode newRoot = new MTNode(\"\",null);\n\t\t\tnewRoot.left=node;\n\t\t\tnewRoot.right=add(newRoot.right,db,height,0);\n\t\t\tsetHash(newRoot);\n\t\t\treturn newRoot;\n\t\t}\n\t\tif(numOfLeaves>=maxLeaf/2) {\n\t\t\tnode.right=add(node.right,db,height-1,numOfLeaves-maxLeaf/2);\n\t\t}else if(numOfLeaves<maxLeaf/2) {\n\t\t\tnode.left=add(node.left,db,height-1,numOfLeaves);\n\t\t}\n\t\tsetHash(node);\n\t\treturn node;\n\t}", "title": "" }, { "docid": "e82af50142692685f4dfcd4534b58830", "score": "0.47342625", "text": "public void traveseGetNodeSet() {\r\n\t\tPPCTreeNode root = ppcRoot.firstChild;\r\n\t\tint pre = 0;\r\n\t\titemsetCount = new int[(numOfFItem - 1) * numOfFItem / 2];\r\n\t\tnlistBegin = new int[(numOfFItem - 1) * numOfFItem / 2];\r\n\t\tnlistLen = new int[(numOfFItem - 1) * numOfFItem / 2];\r\n\t\tSupportDict = new int[PPCNodeCount + 1];\r\n\t\twhile (root != null) {\r\n\t\t\troot.foreIndex = pre;\r\n\t\t\tSupportDict[pre] = root.count;\r\n\t\t\titemSup[root.label] += root.count; \r\n\t\t\tpre++;\r\n\t\t\tPPCTreeNode temp = root.father;\r\n\t\t\twhile (temp.label != -1) {\r\n\t\t\t\titemsetCount[root.label * (root.label - 1) / 2 + temp.label] += root.count;\r\n\t\t\t\tnlistLen[root.label * (root.label - 1) / 2 + temp.label]++;\r\n\t\t\t\ttemp = temp.father;\r\n\t\t\t}\r\n\t\t\tif (root.firstChild != null) {\r\n\t\t\t\troot = root.firstChild;\r\n\t\t\t} else {\r\n\t\t\t\tif (root.rightSibling != null) {\r\n\t\t\t\t\troot = root.rightSibling;\r\n\t\t\t\t} else {\r\n\t\t\t\t\troot = root.father;\r\n\t\t\t\t\twhile (root != null) {\r\n\t\t\t\t\t\tif (root.rightSibling != null) {\r\n\t\t\t\t\t\t\troot = root.rightSibling;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\troot = root.father;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tint sum = 0;\r\n\t\tfor (int i = 0; i < (numOfFItem - 1) * numOfFItem / 2; i++) {\r\n\t\t\tif (itemsetCount[i] >= minSupport) {\r\n\t\t\t\tnlistBegin[i] = sum;\r\n\t\t\t\tsum += nlistLen[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (bf_cursor + sum > bf_currentSize * 0.85) {\r\n\t\t\tbf_col++;\r\n\t\t\tbf_cursor = 0;\r\n\t\t\tbf_currentSize = sum + 1000;\r\n\t\t\t//bf[bf_col] = new int[bf_currentSize];\r\n\t\t}\r\n\t\tbf[bf_col] = new int[bf_currentSize];\r\n\t\t\r\n\t\tnlistCol = bf_col;\r\n\t\tfirstNlistBegin = bf_cursor;\r\n\t\troot = ppcRoot.firstChild;\r\n\t\tbf_cursor += sum;\r\n\t\twhile (root != null) {\r\n\t\t\tPPCTreeNode temp = root.father;\r\n\t\t\twhile (temp.label != -1) {\r\n\t\t\t\tif (itemsetCount[root.label * (root.label - 1) / 2 + temp.label] >= minSupport) {\r\n\t\t\t\t\tint cursor = nlistBegin[root.label * (root.label - 1) / 2\r\n\t\t\t\t\t\t\t+ temp.label]\r\n\t\t\t\t\t\t\t+ firstNlistBegin;\r\n\t\t\t\t\tbf[nlistCol][cursor] = root.foreIndex;\r\n\t\t\t\t\tnlistBegin[root.label * (root.label - 1) / 2 + temp.label] += 1;\r\n\t\t\t\t}\r\n\t\t\t\ttemp = temp.father;\r\n\t\t\t}\r\n\t\t\tif (root.firstChild != null) {\r\n\t\t\t\troot = root.firstChild;\r\n\t\t\t} else {\r\n\t\t\t\tif (root.rightSibling != null) {\r\n\t\t\t\t\troot = root.rightSibling;\r\n\t\t\t\t} else {\r\n\t\t\t\t\troot = root.father;\r\n\t\t\t\t\twhile (root != null) {\r\n\t\t\t\t\t\tif (root.rightSibling != null) {\r\n\t\t\t\t\t\t\troot = root.rightSibling;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\troot = root.father;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor (int i = 0; i < numOfFItem * (numOfFItem - 1) / 2; i++) {\r\n\t\t\tif (itemsetCount[i] >= minSupport) {\r\n\t\t\t\tnlistBegin[i] = nlistBegin[i] - nlistLen[i];\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f248be312592c9c3de154e34200cbfce", "score": "0.4727276", "text": "protected abstract List<N> branch() throws IOException;", "title": "" }, { "docid": "3543b59a395b1afc784661fc12e8f19f", "score": "0.47260866", "text": "private ArrayList<T> constructTree() {\r\n\t\treturn constructTree(r);\r\n\t}", "title": "" }, { "docid": "803c618d1ec0f663cbd437cd1fe8e2ff", "score": "0.4721791", "text": "@Test(timeout = 4000)\n public void test07() throws Throwable {\n LinkedList<byte[][]> linkedList0 = new LinkedList<byte[][]>();\n byte[][] byteArray0 = new byte[7][3];\n byte[] byteArray1 = new byte[7];\n byteArray1[0] = (byte) (-92);\n byteArray1[1] = (byte) (-126);\n byteArray1[2] = (byte) (-62);\n byteArray1[3] = (byte)4;\n byteArray1[4] = (byte)50;\n byteArray1[5] = (byte) (-44);\n byteArray1[6] = (byte)72;\n byteArray0[0] = byteArray1;\n byte[] byteArray2 = new byte[1];\n byteArray2[0] = (byte) (-62);\n byteArray0[1] = byteArray2;\n byte[] byteArray3 = new byte[6];\n byteArray3[0] = (byte)72;\n byteArray3[1] = (byte)72;\n byteArray3[2] = (byte) (-44);\n byteArray3[3] = (byte) (-126);\n byteArray3[4] = (byte) (-126);\n byteArray3[5] = (byte)4;\n byteArray0[2] = byteArray3;\n byte[] byteArray4 = new byte[0];\n byteArray0[3] = byteArray4;\n byte[] byteArray5 = new byte[9];\n byteArray5[0] = (byte)50;\n byteArray5[1] = (byte)4;\n byteArray5[2] = (byte) (-62);\n byteArray5[3] = (byte) (-62);\n byteArray5[4] = (byte)72;\n byteArray5[5] = (byte) (-126);\n byteArray5[6] = (byte) (-126);\n byteArray5[7] = (byte) (-44);\n byteArray5[8] = (byte)72;\n byteArray0[4] = byteArray5;\n byte[] byteArray6 = new byte[1];\n byteArray6[0] = (byte) (-62);\n byteArray0[5] = byteArray6;\n byte[] byteArray7 = new byte[0];\n byteArray0[6] = byteArray7;\n linkedList0.add(byteArray0);\n FBCachedFetcher fBCachedFetcher0 = new FBCachedFetcher(linkedList0, (FBObjectListener.FetcherListener) null);\n fBCachedFetcher0.getRowNum();\n // Undeclared exception!\n try { \n fBCachedFetcher0.previous();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.firebirdsql.jdbc.FBCachedFetcher\", e);\n }\n }", "title": "" }, { "docid": "7aaefc0467c0837a0e29d1733205535d", "score": "0.4717408", "text": "@Test\n public void chainDownloadEnd2End() throws Exception {\n Context.propagate(new Context(100, Transaction.DEFAULT_TX_FEE, false, true));\n Block b1 = createFakeBlock(blockStore, Block.BLOCK_HEIGHT_GENESIS).block;\n blockChain.add(b1);\n Block b2 = makeSolvedTestBlock(b1);\n Block b3 = makeSolvedTestBlock(b2);\n Block b4 = makeSolvedTestBlock(b3);\n Block b5 = makeSolvedTestBlock(b4);\n\n connect();\n \n peer.startBlockChainDownload();\n GetBlocksMessage getblocks = (GetBlocksMessage)outbound(writeTarget);\n assertEquals(blockStore.getChainHead().getHeader().getHash(), getblocks.getLocator().get(0));\n assertEquals(Sha256Hash.ZERO_HASH, getblocks.getStopHash());\n // Remote peer sends us an inv with some blocks.\n InventoryMessage inv = InventoryMessage.ofBlocks(b2, b3);\n // We do a getdata on them.\n inbound(writeTarget, inv);\n GetDataMessage getdata = (GetDataMessage)outbound(writeTarget);\n assertEquals(b2.getHash(), getdata.getItems().get(0).hash);\n assertEquals(b3.getHash(), getdata.getItems().get(1).hash);\n assertEquals(2, getdata.getItems().size());\n // Remote peer sends us the blocks. The act of doing a getdata for b3 results in getting an inv with just the\n // best chain head in it.\n inbound(writeTarget, b2);\n inbound(writeTarget, b3);\n\n inv = InventoryMessage.ofBlocks(b5);\n // We request the head block.\n inbound(writeTarget, inv);\n getdata = (GetDataMessage)outbound(writeTarget);\n assertEquals(b5.getHash(), getdata.getItems().get(0).hash);\n assertEquals(1, getdata.getItems().size());\n // Peer sends us the head block. The act of receiving the orphan block triggers a getblocks to fill in the\n // rest of the chain.\n inbound(writeTarget, b5);\n getblocks = (GetBlocksMessage)outbound(writeTarget);\n assertEquals(b5.getHash(), getblocks.getStopHash());\n assertEquals(b3.getHash(), getblocks.getLocator().getHashes().get(0));\n // At this point another block is solved and broadcast. The inv triggers a getdata but we do NOT send another\n // getblocks afterwards, because that would result in us receiving the same set of blocks twice which is a\n // timewaste. The getblocks message that would have been generated is set to be the same as the previous\n // because we walk backwards down the orphan chain and then discover we already asked for those blocks, so\n // nothing is done.\n Block b6 = makeSolvedTestBlock(b5);\n inv = InventoryMessage.ofBlocks(b6);\n inbound(writeTarget, inv);\n getdata = (GetDataMessage)outbound(writeTarget);\n assertEquals(1, getdata.getItems().size());\n assertEquals(b6.getHash(), getdata.getItems().get(0).hash);\n inbound(writeTarget, b6);\n assertNull(outbound(writeTarget)); // Nothing is sent at this point.\n // We're still waiting for the response to the getblocks (b3,b5) sent above.\n inv = InventoryMessage.ofBlocks(b4, b5);\n inbound(writeTarget, inv);\n getdata = (GetDataMessage)outbound(writeTarget);\n assertEquals(1, getdata.getItems().size());\n assertEquals(b4.getHash(), getdata.getItems().get(0).hash);\n // We already have b5 from before, so it's not requested again.\n inbound(writeTarget, b4);\n assertNull(outbound(writeTarget));\n // b5 and b6 are now connected by the block chain and we're done.\n assertNull(outbound(writeTarget));\n closePeer(peer);\n }", "title": "" }, { "docid": "3a0b719705f530e0bc507dc84e39690f", "score": "0.47148564", "text": "public Trie() {\n root = new Node('1');\n \n }", "title": "" }, { "docid": "40a46a74be4f601c8711d5b292589977", "score": "0.47071075", "text": "private BPlusInternalNode<KeyType> getInternalNode(byte[] bytes) {\r\n int numKeys, numChildren;\r\n Long[] children = new Long[M];\r\n byte[] tempArray;\r\n KeyType[] keys = (KeyType[]) new Comparable[M - 1];\r\n int arrayCursor = 5;\r\n long left, right;\r\n\r\n // Get number of keys\r\n tempArray = new byte[4];\r\n System.arraycopy(bytes, 1, tempArray, 0, 4);\r\n numKeys = BPlusTreeFile.bytesToInt(tempArray);\r\n\r\n // We have numKeys keys to parse first, each key is key.length\r\n for (int startingCursor = arrayCursor, i = 0; arrayCursor < startingCursor\r\n + numKeys * converter.getKeyLength(); arrayCursor += converter\r\n .getKeyLength(), i++) {\r\n tempArray = new byte[converter.getKeyLength()];\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0,\r\n converter.getKeyLength());\r\n keys[i] = converter.bytesToKey(tempArray);\r\n }\r\n // skip empty cells\r\n arrayCursor = 5 + (M - 1) * converter.getKeyLength();\r\n\r\n // Parse the number of children\r\n tempArray = new byte[4];\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0, 4);\r\n arrayCursor += 4;\r\n numChildren = BPlusTreeFile.bytesToInt(tempArray);\r\n\r\n int prevCursor = arrayCursor;\r\n // add all of the internal children.\r\n for (int i = 0; i < numChildren; arrayCursor += 8, i++) {\r\n tempArray = new byte[8];\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0, 8);\r\n children[i] = BPlusTreeFile.bytesToLong(tempArray);\r\n }\r\n // skip empty children\r\n // skip empty records\r\n arrayCursor = prevCursor + (M) * 8;\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0, 8);\r\n left = BPlusTreeFile.bytesToLong(tempArray);\r\n arrayCursor += 8;\r\n System.arraycopy(bytes, arrayCursor, tempArray, 0, 8);\r\n right = BPlusTreeFile.bytesToLong(tempArray);\r\n return new BPlusInternalNode<KeyType>(keys, numKeys, children,\r\n numChildren, left, right);\r\n }", "title": "" } ]
84ea37d71603a787bf8d6dc90e9fd020
Gets the departure date.
[ { "docid": "d186a64b040c4935081fd6a7e60052d1", "score": "0.8296645", "text": "public Date getDepartureDate();", "title": "" } ]
[ { "docid": "52e61e6c5d7558e17e929bfee17dfa10", "score": "0.8373989", "text": "public Calendar getDepartureDate()\n\t{\n\t\treturn this.departure;\n\t}", "title": "" }, { "docid": "584be13859a6aa76f893aa5499922ae2", "score": "0.784829", "text": "public String getDepartDate() {\n\t\treturn departDateElement.getAttribute(\"value\");\n\t}", "title": "" }, { "docid": "e11ae08444b126ae682cef075e5918ed", "score": "0.7451963", "text": "public java.util.Calendar getDDepDate() {\n return dDepDate;\n }", "title": "" }, { "docid": "48e2ff3d6bbfb1145dd9214d7ad06a4a", "score": "0.7405442", "text": "public Date getDeldte() {\r\n return deldte;\r\n }", "title": "" }, { "docid": "0c5b584a31bab20a85be8c70d3531feb", "score": "0.72429436", "text": "public java.sql.Date getDEPARTURE_FROM_LOC_DATE()\n {\n \n return __DEPARTURE_FROM_LOC_DATE;\n }", "title": "" }, { "docid": "adb08697cb7f56a34ecd75933c36b7a0", "score": "0.7202931", "text": "public String getDepartingDate() {\r\n return departingDate;\r\n }", "title": "" }, { "docid": "2d4707ce7edc4843cdcc3de449dad32b", "score": "0.7182701", "text": "public String deceasedDate() {\n return getString(FhirPropertyNames.PROPERTY_DECEASED_DATE);\n }", "title": "" }, { "docid": "8cf4bee0e1d3ae89192cd7bf93a90e04", "score": "0.7130781", "text": "@Override\n public String getDepartureString() {\n return this.departDate + \" \" + this.departTime;\n }", "title": "" }, { "docid": "d6ee13daa1e708f263449978921e2836", "score": "0.70874316", "text": "public LocalDate getDateDebut() {\n\t\treturn dateDebut;\n\n\t}", "title": "" }, { "docid": "cd3af3f4584bb9f11be36b8011cac20d", "score": "0.70556056", "text": "public DayOfWeekType getDepartureDay() {\n return departureDay;\n }", "title": "" }, { "docid": "3e88b23418d682798c767df531cb6890", "score": "0.70480555", "text": "Calendar getDepartureDateAndTime();", "title": "" }, { "docid": "e0a47bdc2d2c9a757bff38bb9042be8f", "score": "0.6981326", "text": "public String getDepartureTime (){\n\t\treturn mDeparture;\n\t}", "title": "" }, { "docid": "5f8f5bcc2b53c34d0527e449e913e08a", "score": "0.6922089", "text": "public String getDepartureTime() {\n return departTime;\n }", "title": "" }, { "docid": "7effa05453287c1376c153bb391c885d", "score": "0.6798931", "text": "public DateTime getDepartDateTime() {\n return departDateTime;\n }", "title": "" }, { "docid": "597d66040df9f1e5eab244069ad3ebb1", "score": "0.6797963", "text": "public int getDepartureTime() {\r\n\t\treturn departureTime;\r\n\t}", "title": "" }, { "docid": "4f63f5ad03cb8c29d925c9a3cee069ab", "score": "0.66283566", "text": "public int getDepartureTime()\n {\n return departureTime;\n }", "title": "" }, { "docid": "8da423dd8f0be6d9333ea8bd26b22664", "score": "0.65773433", "text": "public Date getDEAL_VALUE_DATE() {\r\n return DEAL_VALUE_DATE;\r\n }", "title": "" }, { "docid": "b88adc93ac5e3e3ae998db0a5757ce54", "score": "0.65773094", "text": "public FlightDateTime getDepartureTime() {\n return departureTime == null ? scheduledDepartureTime : departureTime;\n }", "title": "" }, { "docid": "6c2c5f2d07c0dc916acaaa91e956bd7a", "score": "0.65747", "text": "public DATE getDebutService(){\n\t\treturn debutService;\n\t}", "title": "" }, { "docid": "1c065bf1b5006d16635def8681e510dc", "score": "0.6569043", "text": "public void setDepartureDate(Date departureDate);", "title": "" }, { "docid": "bb74c4c0632e83190dc2ff7d71b4485f", "score": "0.6464319", "text": "private Date getDeadlineDate() {\n String dateString = jtf_DeadLine.getText();\n Date date = Utils.parseDateFromString(dateString);\n System.out.println(\"Date:\" + date.toString());\n return date;\n }", "title": "" }, { "docid": "d0f1fc26a2b2088383acc12d43da25c3", "score": "0.6456712", "text": "public String getFormattedDepartureTime() {\n return getDepartureTime().getFormattedDateTime();\n }", "title": "" }, { "docid": "f2ccf9ccb606921c4407c782019c9f98", "score": "0.6424992", "text": "public String getAccessionDeaccessionFromDate() {\n return accessionDeaccessionFromDate;\n }", "title": "" }, { "docid": "e4e24697dc7bad55e7a4b8b7ffd10f5c", "score": "0.6393205", "text": "public java.lang.String getDepartureTime() {\n java.lang.Object ref = departureTime_;\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 departureTime_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "e4e24697dc7bad55e7a4b8b7ffd10f5c", "score": "0.6393205", "text": "public java.lang.String getDepartureTime() {\n java.lang.Object ref = departureTime_;\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 departureTime_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0c0c51551757c5858f22fcf4037bf0b3", "score": "0.6371017", "text": "public java.lang.String getDepartureTime() {\n java.lang.Object ref = departureTime_;\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 departureTime_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "0c0c51551757c5858f22fcf4037bf0b3", "score": "0.6371017", "text": "public java.lang.String getDepartureTime() {\n java.lang.Object ref = departureTime_;\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 departureTime_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "6331f99bda4a1fe9644b6fe20afc2ec5", "score": "0.63546234", "text": "public String getLeavingDate();", "title": "" }, { "docid": "b8d2cd319c2bbed8a48ec438c3a78299", "score": "0.63234806", "text": "public java.util.Date getDisbursmentDate () {\n\t\treturn disbursmentDate;\n\t}", "title": "" }, { "docid": "a885142cd778e3511faa240c610d6d2a", "score": "0.62976974", "text": "public ZonedDateTime getDepartureTime() {\n return flights.get(0).getDepartureTime();\n }", "title": "" }, { "docid": "8e0cf860220c86eb2cf604639991fda3", "score": "0.62792856", "text": "public Departement getDepartement() {\n\t\treturn departement;\n\t}", "title": "" }, { "docid": "d1094194ff681c6c315ca9fb15aa97e2", "score": "0.623844", "text": "java.lang.String getDepartureTime();", "title": "" }, { "docid": "d1094194ff681c6c315ca9fb15aa97e2", "score": "0.623844", "text": "java.lang.String getDepartureTime();", "title": "" }, { "docid": "b5acfcf6e969d25f173f00a64e9df837", "score": "0.62277794", "text": "public String getAccessionDeaccessionToDate() {\n return accessionDeaccessionToDate;\n }", "title": "" }, { "docid": "a4f78169309f19ddea02a6729cb2304f", "score": "0.6218884", "text": "public Date getEpDeletetime() {\n return epDeletetime;\n }", "title": "" }, { "docid": "e0e51c7d8c7b888334e6254dd4b8b321", "score": "0.62120444", "text": "public void setDeldte(Date deldte) {\r\n this.deldte = deldte;\r\n }", "title": "" }, { "docid": "77c77d4ebc656ea85410b42a0049713b", "score": "0.61894935", "text": "public String getDepartment(){\n\t\treturn departName;\n\t}", "title": "" }, { "docid": "f6dcec39298a1c519fe541f962cdda39", "score": "0.6178986", "text": "public Date getFechaBajaDesde() {\r\n\t\treturn fechaBajaDesde;\r\n\t}", "title": "" }, { "docid": "a0fbf8d24644382ebdf939d313667eef", "score": "0.6131679", "text": "public Date getFechaAltaDesde() {\r\n\t\treturn fechaAltaDesde;\r\n\t}", "title": "" }, { "docid": "b67b50dcc0c5fa34024175d6e18166ef", "score": "0.61268324", "text": "public Date getDateDembauche () {\n return dateEmbauche.copie();\n }", "title": "" }, { "docid": "117879ae33a71eee4bd345eadb0e931a", "score": "0.61088866", "text": "public String getDsdate() {\n return dsdate;\n }", "title": "" }, { "docid": "7b1f0bbda1afbfd5f8faf3d2f7a99e63", "score": "0.6108426", "text": "public java.util.Calendar getDArrDate() {\n return dArrDate;\n }", "title": "" }, { "docid": "b3097fcb22f4b72347b85317723c869c", "score": "0.60992306", "text": "@Override\n public java.util.Date getFecha() {\n return _partido.getFecha();\n }", "title": "" }, { "docid": "87c33bf52713f3733b273218d06c7b9b", "score": "0.6090375", "text": "@NotNull public Builder departureTime(@NotNull java.util.Date date) {\n putValue(\"departureTime\", date);\n return this;\n }", "title": "" }, { "docid": "78c64f23d43ad3054467fc455df8d4a5", "score": "0.60801524", "text": "public Date getDebitEndDate() {\n return debitEndDate;\n }", "title": "" }, { "docid": "32937adcc955f182c8e69f2561027ccf", "score": "0.6059302", "text": "Date getEDate();", "title": "" }, { "docid": "b214230a03ea6fa5959108de436be3b9", "score": "0.6050315", "text": "public Date getCertifiedDate() {\r\n \r\n Long deprovisioningCertifiedMillis = this.getCertifiedMillis();\r\n \r\n Date deprovisioningCertifiedDate = deprovisioningCertifiedMillis == null ? null : new Date(deprovisioningCertifiedMillis);\r\n \r\n return deprovisioningCertifiedDate;\r\n }", "title": "" }, { "docid": "e61c9f08e34805b853da90247ed4d900", "score": "0.6014634", "text": "@Override\n public int getDate() {\n return this.deadline.getDay();\n }", "title": "" }, { "docid": "b296b1f9eeb04c6030a1cfd45e7c483e", "score": "0.600076", "text": "public Date getFinishDate() {\n if (this.finishDate == null) {\n return null;\n }\n return new Date(this.finishDate.getTime());\n }", "title": "" }, { "docid": "993f5a2c0a953d27d7115510e36c2568", "score": "0.59981567", "text": "public Date getDateDembauche() {\r\n return dateEmbauche.copie();\r\n }", "title": "" }, { "docid": "25154e39322d642ccbeb6d5d1b519860", "score": "0.59950155", "text": "public String getDeptName() {\n return deptName;\n }", "title": "" }, { "docid": "25154e39322d642ccbeb6d5d1b519860", "score": "0.59950155", "text": "public String getDeptName() {\n return deptName;\n }", "title": "" }, { "docid": "ee495229ec5035deadbe3180e2518b49", "score": "0.5983576", "text": "public Date getDebitStartDate() {\n return debitStartDate;\n }", "title": "" }, { "docid": "4f5df287aecbf61542beeee209d2e551", "score": "0.59828305", "text": "public Date getDueDate() {\n\t\treturn date; //changed DaTe to date\r\n\t}", "title": "" }, { "docid": "e1fcc0ca26042f4a5543079b796a2cb0", "score": "0.5969478", "text": "public java.lang.String getDepartureAirport() {\n java.lang.Object ref = departureAirport_;\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 departureAirport_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "b759d87e70f661e1e2d1e82c6ec0b77d", "score": "0.59657586", "text": "public String getDeptName() {\r\n return deptName;\r\n }", "title": "" }, { "docid": "033a699a9d76272826ecccca98a98a77", "score": "0.59628254", "text": "public java.lang.String getDepartureAirport() {\n java.lang.Object ref = departureAirport_;\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 departureAirport_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "7e15986e855ee6b1ff55d897508870ae", "score": "0.5935911", "text": "public String getDept() {\n return dept;\n }", "title": "" }, { "docid": "7e15986e855ee6b1ff55d897508870ae", "score": "0.5935911", "text": "public String getDept() {\n return dept;\n }", "title": "" }, { "docid": "c9d0b2953c00b2ed821b717c3c5a0006", "score": "0.59191966", "text": "@Schema(description = \"The intended departure time. If left out and no arrivalTime is set, the current time should be assumed.\")\n \n @Valid\n public OffsetDateTime getDepartureTime() {\n return departureTime;\n }", "title": "" }, { "docid": "35df35931ec935d4c13979876aa67b72", "score": "0.5908741", "text": "public Date getDelTime() {\n return delTime;\n }", "title": "" }, { "docid": "57401ea4892e676ecd8e865b320026ec", "score": "0.5908236", "text": "public String getDepartment() {\r\n\t\treturn department;\r\n\t}", "title": "" }, { "docid": "57401ea4892e676ecd8e865b320026ec", "score": "0.5908236", "text": "public String getDepartment() {\r\n\t\treturn department;\r\n\t}", "title": "" }, { "docid": "57401ea4892e676ecd8e865b320026ec", "score": "0.5908236", "text": "public String getDepartment() {\r\n\t\treturn department;\r\n\t}", "title": "" }, { "docid": "2b9029e738d70c258ba888d865ac1fd6", "score": "0.59071046", "text": "public com.google.protobuf.ByteString\n getDepartureTimeBytes() {\n java.lang.Object ref = departureTime_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n departureTime_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "2b9029e738d70c258ba888d865ac1fd6", "score": "0.59071046", "text": "public com.google.protobuf.ByteString\n getDepartureTimeBytes() {\n java.lang.Object ref = departureTime_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n departureTime_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "2efda799e1bb7f95a4028d21b97e7641", "score": "0.5903092", "text": "private void updateDatedeparture() {\n String myFormat = \"MM/dd/yy\";\n SimpleDateFormat sdf = new SimpleDateFormat(myFormat, Locale.FRANCE);\n\n departureDate.setText(sdf.format(myCalendar.getTime()));\n }", "title": "" }, { "docid": "57fe64d97394ab55d9d8460355b941e0", "score": "0.58904284", "text": "public Date getDob() {\n return dob;\n }", "title": "" }, { "docid": "e7f5f26b80446162bd16579e7d7a43f8", "score": "0.58841044", "text": "public Date getDeliveryDate() {\n return (Date)getAttributeInternal(DELIVERYDATE);\n }", "title": "" }, { "docid": "463837ae7a6d06729d0bada85e8dd8b1", "score": "0.5866489", "text": "@JsonIgnore public Airport getDepartureAirport() {\n return (Airport) getValue(\"departureAirport\");\n }", "title": "" }, { "docid": "7efc61a7d5630cf2fd7f0cb055d7b90a", "score": "0.58657753", "text": "public Date getFechaDesde()\r\n/* 164: */ {\r\n/* 165:283 */ return this.fechaDesde;\r\n/* 166: */ }", "title": "" }, { "docid": "ca131c809128dec8a359794bcaac77dd", "score": "0.58526725", "text": "public Date getDeadlineDate() {\r\n return deadlineDate;\r\n }", "title": "" }, { "docid": "885c06d29fdd87b5071fad2add60fb0e", "score": "0.58508426", "text": "public void setDepartureDay(DayOfWeekType departureDay) {\n this.departureDay = departureDay;\n }", "title": "" }, { "docid": "f72243e4dc9c36ab150ecea2770690d6", "score": "0.58415174", "text": "public Date getFinishDate()\r\n {\r\n Date result = m_finishDate;\r\n if (result == null)\r\n {\r\n result = getParentFile().getFinishDate();\r\n }\r\n return (result);\r\n }", "title": "" }, { "docid": "c42e6ed54a9fa1bcba8cf2019e2a3bd4", "score": "0.58330715", "text": "public synchronized String getDepartment()\r\n {\r\n return department;\r\n }", "title": "" }, { "docid": "044ad9a58a7fab0bae8aabdca20aa67a", "score": "0.58312255", "text": "Date getDueDate();", "title": "" }, { "docid": "044ad9a58a7fab0bae8aabdca20aa67a", "score": "0.58312255", "text": "Date getDueDate();", "title": "" }, { "docid": "884ff2517da04e3b7cf010f994b57525", "score": "0.58291596", "text": "private Date getdDay() {\n\t\treturn this.dDay;\r\n\t}", "title": "" }, { "docid": "841928196ef2e3f13f2ddadd8be94e8f", "score": "0.5823382", "text": "public com.google.protobuf.ByteString\n getDepartureTimeBytes() {\n java.lang.Object ref = departureTime_;\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 departureTime_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "841928196ef2e3f13f2ddadd8be94e8f", "score": "0.5823382", "text": "public com.google.protobuf.ByteString\n getDepartureTimeBytes() {\n java.lang.Object ref = departureTime_;\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 departureTime_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "df42849d294b708c7b1a42952490aa3d", "score": "0.57827026", "text": "public String getDepartment() {\r\n return department;\r\n }", "title": "" }, { "docid": "cab5ef06fd6bc294b7b32ebe622672a7", "score": "0.57796067", "text": "Date getDateRDV() {\n return this.dateRDV;\n }", "title": "" }, { "docid": "1cf116a7ad8d916e8c15575f5076f6ac", "score": "0.5762773", "text": "public static Department getDepartment() {\n\t\treturn Departments.getDepartment(\"Computing Science\");\n\t}", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.576203", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.576203", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.576203", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.576203", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "26a2d2ef34c8f9a487c73ba33da0f21a", "score": "0.576203", "text": "public String getDepartment() {\n return department;\n }", "title": "" }, { "docid": "984ccdb8641b417ec83e96bec1b44989", "score": "0.5761995", "text": "public String get_task_due_date()\n {\n return task_due_date.toString();\n }", "title": "" }, { "docid": "cdd09b308b4dcdef44cdd01251d4d927", "score": "0.5759949", "text": "public Date getFechaExclusion()\r\n/* 160: */ {\r\n/* 161:178 */ return this.fechaExclusion;\r\n/* 162: */ }", "title": "" }, { "docid": "5e13ff9fb2943ce252d25b0b942af232", "score": "0.5746196", "text": "String getEndDate();", "title": "" }, { "docid": "d2aeddbfe2752f38d30cbb99d75fda75", "score": "0.57460284", "text": "public int getDebut() {\n\t\treturn this.debut;\n\t}", "title": "" }, { "docid": "97cc3c2c39f33b220c27f7573e3c589f", "score": "0.57443464", "text": "public LocalDate getDate () {\n\t\treturn DateUtils.toLocalDate(this.start);\n\t}", "title": "" }, { "docid": "c1ff873f5031b92b289e4b17aa6776bb", "score": "0.57411313", "text": "public Date getGmtDeal() {\n return gmtDeal;\n }", "title": "" }, { "docid": "639342872487512d8d630efbf798c419", "score": "0.57355684", "text": "public java.lang.String getDept_name() {\r\n return dept_name;\r\n }", "title": "" }, { "docid": "5054c715331cf141d5fcb82c6fc94393", "score": "0.5731914", "text": "public Date getDeliveryEndDate() {\n return (Date)getAttributeInternal(DELIVERYENDDATE);\n }", "title": "" }, { "docid": "e1757c9631b0d3446aa761a674a85b91", "score": "0.5729009", "text": "public Date getArrivalDate() ;", "title": "" }, { "docid": "bed93393f9eec811e1c65cb756e40722", "score": "0.57195795", "text": "public Date getDeliveryDate() {\n return (Date) getAttributeInternal(DELIVERYDATE);\n }", "title": "" }, { "docid": "bea74bea8b223c834bbf43d600384972", "score": "0.57192856", "text": "public String getDepartment() {\n return departmentField.getText();\n }", "title": "" }, { "docid": "821478af61c1cfccd69a7413480e1c4a", "score": "0.5715581", "text": "public java.time.LocalDate getFechaDeLaVisita() {\n return fechaDeLaVisita.get();\n }", "title": "" } ]
fa9ef9556a6fc06a878009cb931ac5cd
Hashtable htblColNameValue5 = new Hashtable( ); htblColNameValue5.put("id", new Integer( 2343422 )); htblColNameValue5.put("name", "Ahmed Noor" ); htblColNameValue5.put("gpa", new Double( 0.98 ) ); //dbApp.insertIntoTable( strTableName , htblColNameValue ); Tuple t5= new Tuple(htblColNameValue5, "id"); //htblColNameValue.clear( ); Hashtable htblColNameValue4 = new Hashtable( ); htblColNameValue4.put("id", new Integer( 2343430 )); htblColNameValue4.put("name", "ali Noor" ); htblColNameValue4.put("gpa", new Double( 0.95 ) ); //dbApp.insertIntoTable( strTableName , htblColNameValue ); //new line System.out.println("rien"); Tuple t4= new Tuple(htblColNameValue4, "id"); //htblColNameValue2.clear( ); Page p1=new Page(200,"test_delete_1"); Hashtable htblColNameValue3 = new Hashtable( ); htblColNameValue3.put("id", new Integer( 2343432 )); htblColNameValue3.put("name", "omar Noor" ); htblColNameValue3.put("gpa", new Double( 0.95 ) ); //dbApp.insertIntoTable( strTableName , htblColNameValue ); //new line Tuple t3= new Tuple(htblColNameValue3, "id"); //htblColNameValue2.clear( ); Hashtable htblColNameValue = new Hashtable(); htblColNameValue.put("id", new Integer(2)); Tuple t1=new Tuple(htblColNameValue,"id"); Hashtable htblColNameValue1 = new Hashtable(); htblColNameValue1.put("id", new Integer( 10)); Tuple t2=new Tuple(htblColNameValue1,"id"); Page p1 = new Page(10); p1.insertInto(t4); System.out.println("min: "+p1.minKey + " max: "+ p1.maxKey); p1.insertInto(t3); System.out.println("min: "+p1.minKey + " max: "+ p1.maxKey); p1.insertInto(t5); System.out.println("min: "+p1.minKey + " max: "+ p1.maxKey); p1.insertInto(t2); System.out.println("min: "+p1.minKey + " max: "+ p1.maxKey); p1.insertInto(t1); System.out.println("min: "+p1.minKey + " max: "+ p1.maxKey); System.out.println(p1.rows.size()); System.out.println(p1.rows.contains(t)); System.out.println(p1.rows.contains(t2)); System.out.println(p1.rows.contains(t3)); ======= System.out.println("p1 "+p1); //System.out.println("t1"+t); //System.out.println("t2"+t2); //System.out.println("p1 "+p1.rows); System.out.println(t5.getKeyValue()); System.out.println(t4.getKeyValue()); System.out.println(t3.getKeyValue()); System.out.print(p1.exists(t5)); System.out.print(p1.exists(t4)); System.out.println(p1.exists(t3)); System.out.println(t1.getKeyValue()); System.out.println(t2.getKeyValue()); System.out.println(p1); p1.deleteFrom(t2); System.out.println(p1); p1.deleteFrom(t1); System.out.println(p1); p1.deleteFrom(t5); System.out.println(p1); p1.deleteFrom(t4); System.out.println(p1); p1.deleteFrom(t3); System.out.println(p1); System.out.println(p1.exists(t1)); System.out.println(p1.exists(t2));
[ { "docid": "ddf840e8beb82081dff18e923efd71de", "score": "0.68020064", "text": "public static void main(String[] args) throws DBAppException {\n\tString strTableName = \"Student\";\r\n\tDBApp dbApp = new DBApp( );\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"dbapp created\");\r\n\r\n\tHashtable htblColNameType = new Hashtable( );\r\n\t\r\n\thtblColNameType.put(\"id\", \"java.lang.Integer\");\r\n\thtblColNameType.put(\"name\", \"java.lang.String\");\r\n\thtblColNameType.put(\"gpa\", \"java.lang.double\");\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"table par in\");\r\n\r\n\tdbApp.createTable( strTableName, \"id\", htblColNameType );\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"table created\");\r\n\t\r\n\tHashtable htblColNameValue = new Hashtable( );\r\n\t\r\n\thtblColNameValue.put(\"id\", new Integer( 2343432 ));\r\n\thtblColNameValue.put(\"name\", new String(\"Ahmed Noor\" ) );\r\n\thtblColNameValue.put(\"gpa\", new Double( 0.95 ) );\r\n\tdbApp.insertIntoTable( strTableName , htblColNameValue );\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"entry1 made\");\r\n\thtblColNameValue.clear( );\r\n\t\r\n\thtblColNameValue.put(\"id\", new Integer( 453455 ));\r\n\thtblColNameValue.put(\"name\", new String(\"Ahmed Noor\" ) );\r\n\thtblColNameValue.put(\"gpa\", new Double( 0.95 ) );\r\n\tdbApp.insertIntoTable( strTableName , htblColNameValue );\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"entry2 made\");\t\r\n\thtblColNameValue.clear( );\r\n\t\r\n\thtblColNameValue.put(\"id\", new Integer( 5674567 ));\r\n\thtblColNameValue.put(\"name\", new String(\"Dalia Noor\" ) );\r\n\thtblColNameValue.put(\"gpa\", new Double( 1.25 ) );\r\n\tdbApp.insertIntoTable( strTableName , htblColNameValue );\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"entry2 made\");\r\n\r\n\thtblColNameValue.clear( );\r\n\thtblColNameValue.put(\"id\", new Integer( 23498 ));\r\n\thtblColNameValue.put(\"name\", new String(\"John Noor\" ) );\r\n\thtblColNameValue.put(\"gpa\", new Double( 1.5 ) );\r\n\tdbApp.insertIntoTable( strTableName , htblColNameValue );\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"entry4 made\");\r\n\thtblColNameValue.clear( );\r\n\t\r\n\thtblColNameValue.put(\"id\", new Integer( 78452 ));\r\n\thtblColNameValue.put(\"name\", new String(\"Zaky Noor\" ) );\r\n\thtblColNameValue.put(\"gpa\", new Double( 0.88 ) );\r\n\tdbApp.insertIntoTable( strTableName , htblColNameValue );\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"entry5 made\");\r\n\thtblColNameValue.clear( );\r\n\r\n\r\n\t\r\n\t\r\n}", "title": "" } ]
[ { "docid": "03d19881de6fec18c3ed7c3f1386cc87", "score": "0.6430098", "text": "@Test\n public void tableMethod() {\n HashBasedTable<Integer, Integer, String> table1 = HashBasedTable.create();\n HashBasedTable<Integer, Integer, String> table2 = HashBasedTable.create(2, 2);\n HashBasedTable<Integer, Integer, String> table3 = HashBasedTable.create(table2);\n\n //插入测试数据\n table3.put(1, 1, \"r1c1\");\n table3.put(1, 2, \"r1c2\");\n table3.put(2, 1, \"r2c1\");\n table3.put(2, 2, \"r2c2\");\n table3.put(3, 1, \"r3c1\");\n table3.put(3, 2, \"r3c2\");\n System.out.println(\"orgin table=> \" + table3);\n //测试清除元素\n System.out.println(\"(1,1) contained: \" + table3.contains(1, 1));\n table3.remove(1, 1);\n System.out.println(\"after remove (1,1): \" + table3.contains(1, 1));\n System.out.println(\"(1,1) element value: \" + table3.get(1, 1));\n //单取列和行\n System.out.println(\"column 2: \" + table3.column(2));\n System.out.println(\"row 1: \" + table3.row(1));\n //打印所有元素\n System.out.println(\"final table: \" + table3);\n }", "title": "" }, { "docid": "ed6bf3d183e7e13817bffb5df10ec1ef", "score": "0.6145628", "text": "public void deleteTuple(int tid, int tableId, Tuple t)\n throws Exception {\n // your code here\n \tHeapFile hf = Database.getCatalog().getDbFile(tableId);\n \tHeapPage hp = hf.deleteTupleReturn(t);\n \tint pid = hp.getId();\n \tTableAndPage single = new TableAndPage(tableId, pid);\n \t\n \tboolean update = false;\n \tMap<HeapPage, TableAndPage> copyCache = copyCache(cache);\n \tif (copyCache.containsKey(hp)) {\n \t\t//TODO\n \t\tfor (Lock lock : lockQueue) {\n \t\t\tif (lock.tableId == tableId && lock.tid == tid && lock.pid == pid) {\n \t\t\t\tif (lock.perm != Permissions.READ_WRITE) {\n \t\t\t\t\tlockQueue.remove(lock);\n \t\t\t\t\tLock newLock = new Lock(tid, tableId, pid, Permissions.READ_WRITE);\n \t\t\t\t\tlockQueue.add(newLock);\n \t\t\t\t\tcache.remove(hp);\n \t\t\t\t\thp.setDirty();\n \t\t\t\t\tcache.put(hp, single);\n \t\t\t\t\tbreak;\n \t\t\t\t} else {\n \t\t\t\t\tcache.remove(hp);\n \t\t\t\t\thp.setDirty();\n \t\t\t\t\tcache.put(hp, single);\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tupdate = true;\n \t} \n \tif (!update) {\n \t\thp.setDirty();\n \t\tcache.put(hp, single);\n \t\tLock writeLock = new Lock(tid, tableId, pid, Permissions.READ_WRITE);\n \t\tList<TableAndPage> list = tran.get(tid);\n\t\t\tif (list == null) {\n \t\tlist = new ArrayList<>();\n \t}\n \tlist.add(single);\n \tlockQueue.add(writeLock);\n\t tran.put(tid, list);\n\t dirtyRecord.put(single, true);\n\t hp.setDirty();\n \t}\n }", "title": "" }, { "docid": "7721c1d24a3129073368d7fb6ff04eea", "score": "0.59443307", "text": "public void insertTuple(int tid, int tableId, Tuple t)\n throws Exception {\n \t // your code here\n \tHeapFile hf = Database.getCatalog().getDbFile(tableId);\n \tHeapPage hp = hf.addTuple(t);\n \tint pid = hp.getId();\n \tTableAndPage single = new TableAndPage(tableId, pid);\n \tboolean update = false;\n \tMap<HeapPage, TableAndPage> copyCache = copyCache(cache);\n \t\n \tif (copyCache.containsKey(hp)) {\n \t\t//TODO\n \t\tfor (Lock lock : lockQueue) {\n \t\t\tif (lock.tableId == tableId && lock.tid == tid && lock.pid == pid) {\n \t\t\t\tif (lock.perm != Permissions.READ_WRITE) {\n \t\t\t\t\tlockQueue.remove(lock);\n \t\t\t\t\tLock newLock = new Lock(tid, tableId, pid, Permissions.READ_WRITE);\n \t\t\t\t\tlockQueue.add(newLock);\n \t\t\t\t\tcache.remove(hp);\n \t\t\t\t\thp.setDirty();\n \t\t\t\t\tcache.put(hp, single);\n \t\t\t\t\tbreak;\n \t\t\t\t} else {\n \t\t\t\t\tcache.remove(hp);\n \t\t\t\t\thp.setDirty();\n \t\t\t\t\tcache.put(hp, single);\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tupdate = true;\n \t} \n \tif (!update) {\n \t\thp.setDirty();\n \t\tcache.put(hp, single);\n \t\tLock writeLock = new Lock(tid, tableId, pid, Permissions.READ_WRITE);\n \t\tList<TableAndPage> list = tran.get(tid);\n\t\t\tif (list == null) {\n \t\tlist = new ArrayList<>();\n \t}\n \tlist.add(single);\n \tlockQueue.add(writeLock);\n\t tran.put(tid, list);\n\t dirtyRecord.put(single, true);\n\t hp.setDirty();\n \t}\n \t\n }", "title": "" }, { "docid": "ed342787d6e87890057c0a7e36e4dfc2", "score": "0.5928523", "text": "private static void test4() {\n\t\t// TODO Auto-generated method stub\n\t\ttry{\n\t\t\tHashMap <Integer, Integer> list = new HashMap<Integer, Integer>();// list of proteins with same query=hit\n\t\t\tint idx =1;\n\t\t\tint x = 0;\n\t\t\tfor (int i=1; i<=17;i++){\n\t\t\t\tPreparedStatement pstm3 = CAMPS_CONNECTION.prepareStatement(\"select \" +\n\t\t\t\t\t\t\"seqid_query,seqid_hit from alignments_initial limit \"+idx+\",\"+10000000);\n\t\t\t\tidx = i*10000000;\n\t\t\t\tSystem.out.print(\"\\n Hashtable of Alignments In Process \"+idx+\"\\n\");\n\n\t\t\t\tResultSet rs3 = pstm3.executeQuery();\n\t\t\t\twhile (rs3.next()){\n\t\t\t\t\tint sqQ = rs3.getInt(1);\n\t\t\t\t\tint sqH = rs3.getInt(2);\n\t\t\t\t\tif (x %100000 == 0){\n\t\t\t\t\t\tSystem.out.print(\"Processed \" + x +\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t\tif(sqQ == sqH){\n\t\t\t\t\t\tif (!list.containsKey(sqQ)){\n\t\t\t\t\t\t\tlist.put(sqQ,null);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tx++;\n\t\t\t\t}\n\t\t\t\trs3.close();\n\t\t\t\tpstm3.close();\n\t\t\t}\n\n\t\t\t// till now have retrieved the same query and hit \n\t\t\t// now find if they have any other relation\n\t\t\t// but for that\n\t\t\tSystem.out.print(\"\\n\\n List Size Before population: \"+list.size()+\"\\n\");\n\t\t\tidx =1;\n\t\t\tx = 0;\n\t\t\tfor (int i=1; i<=17;i++){\n\t\t\t\tPreparedStatement pstm3 = CAMPS_CONNECTION.prepareStatement(\"select \" +\n\t\t\t\t\t\t\"seqid_query,seqid_hit from alignments_initial limit \"+idx+\",\"+10000000);\n\t\t\t\tidx = i*10000000;\n\t\t\t\tSystem.out.print(\"\\n Hashtable of Alignments In Process \"+idx+\"\\n\");\n\n\t\t\t\tResultSet rs3 = pstm3.executeQuery();\n\t\t\t\twhile (rs3.next()){\n\t\t\t\t\tint sqQ = rs3.getInt(1);\n\t\t\t\t\tint sqH = rs3.getInt(2);\n\t\t\t\t\tif (x %100000 == 0){\n\t\t\t\t\t\tSystem.out.print(\"Processed \" + x +\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t\tif(sqQ != sqH){\n\t\t\t\t\t\tif (list.containsKey(sqQ)){\n\t\t\t\t\t\t\tlist.remove(sqQ);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (list.containsKey(sqH)){\n\t\t\t\t\t\t\tlist.remove(sqH);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tx++;\n\t\t\t\t}\n\t\t\t\trs3.close();\n\t\t\t\tpstm3.close();\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\\nNumber of proteins with only self scores in Alignment_initial: \" + list.size() +\"\\n\");\n\n\n\t\t}\n\t\tcatch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "title": "" }, { "docid": "959a2eae783c735d786fe1ac172d7c27", "score": "0.5917498", "text": "public void insert(String tableName, Hashtable<String, Object> hashTable)\n\t\t\tthrows ClassNotFoundException, IOException {\n\t\t\n\t\tFile p = new File(\"C:/Users/Mena/Desktop/sem 6/db/proj/31_1112\");\n\t\tFile[] files = p.listFiles();\n\t\tint pageNumber = 0;\n\t\tArrayList<String> trees3andy = new ArrayList<String>();\n\t\tfor (int i = 0; i < files.length; i++) {\n\t\t\tif (files[i].isFile()) {\n\t\t\t\tString fullName = files[i].getName();\n\t\t\t\tif (fullName.length() >= 5) {\n\t\t\t\t\tString extension = fullName.substring(\n\t\t\t\t\t\t\tfullName.length() - 5, fullName.length());\n\t\t\t\t\tif (extension.equals(\"class\")) {\n\t\t\t\t\t\tString fileName = fullName.substring(0,\n\t\t\t\t\t\t\t\tfullName.length() - 6);\n\t\t\t\t\t\tString[] split = fileName.split(\",\");\n\t\t\t\t\t\tString[] bTreeSplit = fileName.split(\"-\");\n\t\t\t\t\t\tint curPage = Integer.parseInt(split[1]);\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t//law fy eroor yeb2a e3mel if split not null\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (split[0].equals(tableName))\n\t\t\t\t\t\t\tpageNumber = Math.max(curPage, pageNumber);\n\t\t\t\t\t\tif(bTreeSplit[0].equals(tableName))\n\t\t\t\t\t\t\t//if hashtable has that coloumn\n\t\t\t\t\t\t\t//law mawgood aslan \n\t\t\t\t\t\t\ttrees3andy.add(bTreeSplit[1]);\n\t\t\t\t\t\t//law fy errors shoof enny a3mel el arraylist be null fel awel \n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tObjectInputStream ois = new ObjectInputStream(new FileInputStream(\n\t\t\t\tnew File(tableName + \",\" + pageNumber + \".class\")));\n\t\tPage page = (Page) ois.readObject();\n\t\tois.close();\n\n\t\tif (page.counter == page.n) {\n\t\t\tPage p1 = new Page(tableName, n);\n\t\t\tp1.addRecord(hashTable);\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(\n\t\t\t\t\tnew FileOutputStream(new File(tableName + \",\"\n\t\t\t\t\t\t\t+ (pageNumber + 1) + \".class\")));\n\t\t\toos.writeObject(p1);\n\t\t\toos.close();\n\t\t\n\t\t\twhile (!(trees3andy.isEmpty())){\n\t\t\t\tString value = trees3andy.get(0);\n\t\t\t\ttrees3andy.remove(0);\n\t\t\t\t\n\t\t\t\tObjectInputStream o = new ObjectInputStream(new FileInputStream(\n\t\t\t\t\t\tnew File(tableName + \"-\" + value + \".class\")));\n\t\t\t\tBTree tree = (BTree) o.readObject();\n\t\t\t\to.close();\n\t\t\t\tint n = pageNumber + 1;\n\t\t\t\tString concat = n + \",\" + 0;\n\t\t\t\ttree.insert((Comparable) hashTable.get(value), concat);\n\t\t\t}\n\t\t\n\t\t} else {\n\t\t\tpage.addRecord(hashTable);\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(\n\t\t\t\t\tnew FileOutputStream(new File(tableName + \",\" + pageNumber\n\t\t\t\t\t\t\t+ \".class\")));\n\t\t\toos.writeObject(page);\n\t\t\toos.close();\n\t\t\n\n\t\t\twhile (!(trees3andy.isEmpty())){\n\t\t\t\tString value = trees3andy.get(0);\n\t\t\t\ttrees3andy.remove(0);\n\t\t\t\t\n\t\t\t\tObjectInputStream o = new ObjectInputStream(new FileInputStream(\n\t\t\t\t\t\tnew File(tableName + \"-\" + value + \".class\")));\n\t\t\t\tBTree tree = (BTree) o.readObject();\n\t\t\t\to.close();\n\t\t\t\tint n = page.counter;\n\t\t\t\tString concat = pageNumber + \",\" + n;\n\t\t\t\ttree.insert((Comparable) hashTable.get(value), concat);\n\t\t\t}\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "125d8d06f4d922278db3e5f4e50505a2", "score": "0.59171873", "text": "public static void main(String[] args) throws IOException, ClassNotFoundException {\n\r\n\r\n\t\tHashtable <Integer, Record> hpat = new Hashtable <Integer, Record>();\r\n\t\tHashtable <Integer, Doctor> hdoc = new Hashtable <Integer, Doctor>();\r\n\t\t\r\n\t\tSystem.out.println(\"Retrieving all data from Database...\");\r\n\t\ttry { \r\n\t\t\t\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\"); \r\n\t\t\tConnection con=DriverManager.getConnection(\"jdbc:mysql://localhost:3306/_31158?autoReconnect=true&useSSL=false\",\"root\",\"Numair@2000\"); \r\n\t\t\t\r\n\t\t\tStatement stmt=con.createStatement(); \r\n\t\t\t\r\n\t\t\tResultSet rs=stmt.executeQuery(\"select * from patient\");\r\n\t\t\t\r\n\t\t\twhile(rs.next()) { \r\n\t\t\t\tRecord P = new Record(rs.getInt(1), rs.getString(2), rs.getString(6), rs.getInt(3), rs.getInt(4), rs.getInt(5));\r\n\t\t\t\thpat.put(rs.getInt(1), P);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\trs=stmt.executeQuery(\"select Doctor.*, doctor_pass.password from doctor left join doctor_pass on Doctor.doct_id=doctor_pass.doct_id\");\r\n\t\t\twhile(rs.next()) {\r\n\t\t\t\tDoctor Doc = new Doctor(rs.getInt(1), rs.getString(2), rs.getString(3), rs.getString(4), rs.getString(5));\r\n\t\t\t\thdoc.put(rs.getInt(1), Doc);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\tcatch(Exception e) { \r\n\t\t\tSystem.out.println(e);\r\n\t\t}\r\n\t\t\r\n\t\tSet <Integer> ex = hdoc.keySet();\r\n\t\tSystem.out.println(\"Doctor ID\\tFirstName\\tLastName\\tSpecialization\");\r\n\t\t\r\n\t\tfor(Integer key:ex) {\r\n\t\t\tDoctor Doc = new Doctor();\r\n\t\t\tDoc = hdoc.get(key);\r\n\t\t\tSystem.out.println(key+\"\\t\"+Doc.doct_fname+\"\\t\"+Doc.doct_lname+\"\\t\"+Doc.specialization);\r\n\t\t}\r\n\t\t\r\n\t\tScanner Scan = new Scanner (System.in);\r\n\t\t\r\n\t\tSystem.out.print(\"Enter Your Doctor's ID : \\t\");\r\n\t\tint Doc_id = Scan.nextInt();\r\n\t\tDoctor Temp = new Doctor(); \r\n\t\tTemp = hdoc.get(Doc_id);\r\n\t\t\r\n\t\tSystem.out.println(\"Enter Your Password\");\r\n\t\tString Pass = Scan.nextLine();\r\n\t\t\r\n\t\tif(Pass.equals(Temp.password)) {\r\n\t\t\tSystem.out.println(\"Welcome Dr. \" + Temp.doct_fname + \" \" + Temp.doct_lname);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"Sorry Try Again Later...\");\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t\thpatS=hpat;\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tScan.close();\r\n\t}", "title": "" }, { "docid": "f45371e99b286c967d203fc40734cdd3", "score": "0.5782046", "text": "public void deleteFromTable(String strTableName,\n\t\t\tHashtable<String, Object> htblColNameValue, String strOperator)\n\t\t\tthrows Exception {\n\t\t\n\t\t/* assume that size of hstbl 1, NO OPERATOR \n\t\t * khod col w dawar 3ala b+ bta3ty, search w get num and rec place \n\t\t * put in arraylist and loop 3al b + w gowa el b+ haloop\n\t\t * \n\t\t */\n\t\tArrayList<Hashtable<String, Object>> recs = new ArrayList<Hashtable<String,Object>>();\n\t\tString address = \"\";\n\t\tFile p = new File(\"C:/Users/Mena/Desktop/sem 6/db/proj/31_1112\");\n\t\tFile[] files = p.listFiles();\n\t\tArrayList<String> elTrees = new ArrayList<String>();\n\n\t\tfor (int i = 0; i < files.length; i++) {\n//\t\t\tArrayList<String> elTrees = new ArrayList<String>();\n\t\t\tif (files[i].isFile()) {\n\t\t\t\tString fullName = files[i].getName();\n\t\t\t\tif (fullName.length() >= 5) {\n\t\t\t\t\tString extension = fullName.substring(\n\t\t\t\t\t\t\tfullName.length() - 5, fullName.length());\n\t\t\t\t\tif (extension.equals(\"class\")) {\n\t\t\t\t\t\tString fileName = fullName.substring(0,\n\t\t\t\t\t\t\t\tfullName.length() - 6);\n\t\t\t\t\t\tString[] split = fileName.split(\",\");\n\t\t\t\t\t\tString[] splitTree = fileName.split(\"-\");\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (htblColNameValue.size() ==1){\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (splitTree[0].equals(strTableName)){\n\t\t\t\t\t\t\telTrees.add(splitTree[1]);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t//normal delete if i have an operator ya3ny \n\t\t\t\t\t\t\t\n//\t\t\t\t\t\tif (elTrees.isEmpty()){\n\t\t\t\t\t\tif (split[0].equals(strTableName)) {\n\t\t\t\t\t\t\tObjectInputStream ois = new ObjectInputStream(\n\t\t\t\t\t\t\t\t\tnew FileInputStream(new File(strTableName\n\t\t\t\t\t\t\t\t\t\t\t+ \",\" + split[1] + \".class\")));\n\t\t\t\t\t\t\tPage page = (Page) ois.readObject();\n\t\t\t\t\t\t\tois.close();\n\t\t\t\t\t\t\tpage.delSearch(htblColNameValue, strOperator, page, split[1],strTableName );\n\t\t\t\t\t\n\t\t\t\t\t\t}\n\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\t//esm el b+ trees el 3andy..ha-delete mn kol el b+ trees + mn el 3ady table \n\t\tif(!(elTrees.isEmpty())){\n\t\t\tString s = elTrees.get(0);\n\t\t\telTrees.remove(s);\n\t\t\t//dah bta3 el prim key btw \n\t\t\tObjectInputStream ois = new ObjectInputStream(\n\t\t\t\t\tnew FileInputStream(new File(strTableName\n\t\t\t\t\t\t\t+ \"-\" + s + \".class\")));\n\t\t\tBTree tree = (BTree) ois.readObject();\n\t\t\tois.close();\n\t\t\taddress = (String) tree.search((Comparable) htblColNameValue.get(s));\n\t\t\tString spliter [] = address.split(\",\");\n\n\t\t\tObjectInputStream os = new ObjectInputStream(\n\t\t\t\t\tnew FileInputStream(new File(strTableName\n\t\t\t\t\t\t\t+ \",\" + spliter[0] + \".class\")));\n\t\t\tPage page = (Page) os.readObject();\n\t\t\tos.close();\n\n\t\t\trecs.add(page.pageContent[Integer.parseInt(spliter[1])]);\n\t\t\ttree.delete((Comparable) htblColNameValue.get(s));\n\t\t\t\n\t\t}\n\t\twhile(!(elTrees.isEmpty())){\n\t\t\tString s = elTrees.get(0);\n\t\t\telTrees.remove(s);\n\t\t\tObjectInputStream ois = new ObjectInputStream(\n\t\t\t\t\tnew FileInputStream(new File(strTableName\n\t\t\t\t\t\t\t+ \"-\" + s + \".class\")));\n\t\t\tBTree tree = (BTree) ois.readObject();\n\t\t\tois.close();\n\t\t\tObject c = recs.get(0).get(s); //asume en fy record wa7ed bas \n\t\t\ttree.delete((Comparable) c);\n\t\n\t\t}\n\t}", "title": "" }, { "docid": "35a98295e40d17c79651ba576eb5088c", "score": "0.57811964", "text": "public Page deleteTuple(TransactionId tid, Tuple t) throws DbException,\n TransactionAbortedException {\n // some code goes here\n PageId pageId = t.getRecordId().getPageId();\n HeapPage page = (HeapPage) Database.getBufferPool().getPage(tid, pageId, Permissions.READ_WRITE);\n page.deleteTuple(t);\n return page;\n // not necessary for proj1\n }", "title": "" }, { "docid": "e1be5e11739f3f347f5080cb760d6af1", "score": "0.56413585", "text": "private Hashtable constructPersonHashtable(Vector vecProposalPersonData){\r\n \r\n Hashtable newData = new Hashtable();\r\n \r\n //htPersonBiographyData = new Hashtable();\r\n //htPerBioData = new Hashtable();\r\n \r\n vecProposalPerson = new Vector();\r\n vecPerson = new Vector();\r\n \r\n if( vecProposalPersonData == null ){\r\n return newData;\r\n }\r\n \r\n ProposalPersonFormBean proposalPersonFormBean = null;\r\n \r\n Vector personTableRow = null;\r\n \r\n String personId = null;\r\n Vector vecPropPersonBioDetail = null;\r\n //Commented for pmd check, unused local variable \r\n //Vector vecPersonBioDetail = null;\r\n //Case#1777 Start\r\n sortId=getMaxSortId();\r\n //Case#1777 End\r\n \r\n for( int indx = 0; indx < vecProposalPersonData.size() ; indx ++ ){\r\n try{\r\n // construct table data from vector of investigator beans\r\n proposalPersonFormBean = new ProposalPersonFormBean();\r\n proposalPersonFormBean = ( ProposalPersonFormBean )\r\n vecProposalPersonData.get( indx );\r\n if( proposalPersonFormBean != null){\r\n \r\n personId = proposalPersonFormBean.getPersonId();\r\n String fullName = proposalPersonFormBean.getFullName();\r\n String primaryTitle = proposalPersonFormBean.getPrimaryTitle();\r\n //Case #1777 Start 11\r\n if(sortId==null){\r\n sortId = new Integer(1);\r\n proposalPersonFormBean.setSortId(sortId);\r\n proposalPersonFormBean.setAcType(TypeConstants.UPDATE_RECORD);\r\n //commented for case #2032 , by tarique start\r\n //savePerson = true;\r\n //commented for case #2032 , by tarique end\r\n }else if(proposalPersonFormBean.getSortId() == null){\r\n sortId = new Integer(sortId.intValue()+ 1);\r\n proposalPersonFormBean.setSortId(sortId);\r\n proposalPersonFormBean.setAcType(TypeConstants.UPDATE_RECORD);\r\n //commented for case #2032 , by tarique start\r\n //savePerson = true;\r\n //commented for case #2032 , by tarique end\r\n }\r\n //Case #1777 End 11\r\n /* insert each proposal person bean into hastable with personId\r\n as key and proposal person bean as value */\r\n newData.put( personId, proposalPersonFormBean );\r\n \r\n personTableRow = new Vector();\r\n personTableRow.add( fullName == null ? \"\" : fullName );\r\n personTableRow.add( primaryTitle == null ? \"\" : primaryTitle );\r\n personTableRow.add(personId);\r\n //Code added for case#2938 - Proposal Hierarchy enhancement\r\n personTableRow.add(new Boolean(proposalPersonFormBean.isEditable()));\r\n ////System.out.println(\"In SetFormData personId is : \"+personId);\r\n \r\n /* JM 9-2-2015 add the status to a hidden column */\r\n personTableRow.add(new String(proposalPersonFormBean.getStatus()));\r\n /* JM END */\r\n \r\n /* JM 9-2-2015 add the isExternalPerson flag to a hidden column */\r\n personTableRow.add(new String(proposalPersonFormBean.getIsExternalPerson()));\r\n /* JM END */\r\n \r\n //Case:#4210 - Proposal Personnel issues: sync biosketch - Please select a document type loop - Start \r\n //Checks when personDetail window is opened or not\r\n //If opened and closed then htPersonBiographyData HashTable object is used \r\n // OtherWise values are fetched from database\r\n if(personClicked != 2){//Case:#4210 - End\r\n if(htPersonBiographyData == null){\r\n htPersonBiographyData = new Hashtable();\r\n }\r\n vecPropPersonBioDetail = new Vector();\r\n vecPropPersonBioDetail = proposalPersonFormBean.getPropBiography();\r\n //vecPersonBioDetail = proposalPersonFormBean.getPersonBiography();\r\n if( personId != null && vecPropPersonBioDetail != null ){\r\n htPersonBiographyData.put( personId , (Vector)vecPropPersonBioDetail.clone() );\r\n }\r\n }\r\n\r\n //if(vecPersonBioDetail != null){\r\n // htPerBioData.put( personId , (Vector)vecPersonBioDetail.clone() );\r\n //}\r\n vecProposalPerson.add( personTableRow );\r\n }\r\n }catch( Exception err ){\r\n err.printStackTrace();\r\n }\r\n }\r\n return newData;\r\n }", "title": "" }, { "docid": "acb6bc0b0a3361d2c5eb286f87dd8a2e", "score": "0.55963445", "text": "public static void main(String[] args) {\n Hashtable<String,String> table = new Hashtable<>();\n\n //维护一个访问顺序\n Map<Integer, Integer> map1 = new LinkedHashMap<Integer, Integer>(16, (float) 0.75);\n for (int i = 0; i < 10; i++) {\n map1.put(i, i + 1);\n }\n Iterator<Map.Entry<Integer, Integer>> iterator = map1.entrySet().iterator();\n while (iterator.hasNext()) {\n Map.Entry<Integer, Integer> next = iterator.next();\n System.out.print(\" key: \" + next.getKey() + \" value: \" + next.getValue());\n }\n map1.get(0);\n System.out.println();\n iterator = map1.entrySet().iterator();\n while (iterator.hasNext()) {\n Map.Entry<Integer, Integer> next = iterator.next();\n System.out.print(\" key: \" + next.getKey() + \" value: \" + next.getValue());\n }\n\n\n }", "title": "" }, { "docid": "59be26b829763aa94e49e08e701cf255", "score": "0.5591354", "text": "public static void main(String args[]){\n\t\tHashtable table = new Hashtable();\n\t\t//Hash table is synchronized \n\t\t//duplicates keys are not allowed\n\t table.put(1,\"12\");\n\t table.put(1,\"12\");\n\t //null key or null value are not allowed\n\t //table.put(null, \"a\");\n\t //table.put(1,null);\n\t System.out.println(table);\n\t\t\n\t}", "title": "" }, { "docid": "5f779dbfef1d72e72cfeaee8395dc2bc", "score": "0.55463225", "text": "public Page deleteTuple(TransactionId tid, Tuple t) throws DbException,\n TransactionAbortedException {\n \n PageId pid = t.getRecordId().getPageId();\n if (pid.getTableId() != getId() || pid.pageNumber() >= numPages()) {\n throw new DbException(\"The tuple is not a member of the file\");\n }\n \n HeapPage page;\n // ensure that between getPage() and markDirty(), \n // the page will not be evicted\n synchronized (Database.getBufferPool()) {\n page = (HeapPage) Database.getBufferPool().getPage(tid, pid, Permissions.READ_WRITE);\n // Must first inform buffer pool that the page will be modified to avoid being evicted\n Database.getBufferPool().markDirty(pid);Database.getBufferPool().markDirty(pid);\n }\n page.markDirty(true, tid);\n page.deleteTuple(t);\n return page;\n }", "title": "" }, { "docid": "5cbe2910fbc13c6aeb4df396daaf851d", "score": "0.5539842", "text": "public static void main (String [] args)\r\n {\r\n TupleGenerator test = new TupleGeneratorImpl ();\r\n\r\n test.addRelSchema (\"Student\",\r\n \"id name address status\",\r\n \"Integer String String String\",\r\n \"id\",\r\n null);\r\n \r\n test.addRelSchema (\"Professor\",\r\n \"id name deptId\",\r\n \"Integer String String\",\r\n \"id\",\r\n null);\r\n \r\n test.addRelSchema (\"Course\",\r\n \"crsCode deptId crsName descr\",\r\n \"String String String String\",\r\n \"crsCode\",\r\n null);\r\n \r\n test.addRelSchema (\"Teaching\",\r\n \"crsCode semester profId\",\r\n \"String String Integer\",\r\n \"crcCode semester\",\r\n new String [][] {{ \"profId\", \"Professor\", \"id\" },\r\n { \"crsCode\", \"Course\", \"crsCode\" }});\r\n \r\n test.addRelSchema (\"Transcript\",\r\n \"studId crsCode semester grade\",\r\n \"Integer String String String\",\r\n \"studId crsCode semester\",\r\n new String [][] {{ \"studId\", \"Student\", \"id\"},\r\n { \"crsCode\", \"Course\", \"crsCode\" },\r\n { \"crsCode semester\", \"Teaching\", \"crsCode semester\" }});\r\n\r\n String [] tables = { \"Student\", \"Professor\", \"Course\", \"Teaching\", \"Transcript\" };\r\n \r\n Scanner keyboard = new Scanner(System.in);\r\n System.out.println(\"Enter amount of tuples to be tested: \");\r\n int userChoice = keyboard.nextInt();\r\n System.out.println();\r\n \r\n int tups [] = new int [] { userChoice, 1, 2, 5, 5000 };\r\n \r\n Comparable [][][] resultTest = test.generate (tups);\r\n \r\n // What index method is to be used; TreeMap as default\r\n String mapType = \"TreeMap\";\r\n \r\n Table student = new Table(\"Student\", \"id name address status\", \"Integer String String String\", \"id\", mapType);\r\n for (int i = 0; i < resultTest[0].length; i++){\r\n //out.println(\"size of ref: \"+(FileList.getSize(resultTest[0][i])));\r\n student.insert(resultTest[0][i]);\r\n }\r\n \r\n Table professor = new Table(\"Professor\", \"id name deptId\", \"Integer String String\", \"id\", mapType );\r\n \r\n for (int i = 0; i < resultTest[1].length; i++)\r\n professor.insert(resultTest[1][i]);\r\n \r\n Table course = new Table(\"Course\", \"crsCode deptId crsName descr\", \"String String String String\", \"crsCode\", mapType);\r\n \r\n for (int i = 0; i < resultTest[2].length; i++)\r\n course.insert(resultTest[2][i]);\r\n \r\n Table teaching = new Table(\"Teaching\", \"crsCode semester profId\", \"String String Integer\", \"crsCode semester\", mapType);\r\n \r\n for (int i = 0; i < resultTest[3].length; i++)\r\n teaching.insert(resultTest[3][i]);\r\n \r\n Table transcript = new Table(\"Transcript\", \"studId crsCode semester grade\", \"Integer String String String\", \"studId crsCode semester\", mapType);\r\n \r\n for (int i = 0; i < resultTest[4].length; i++){\r\n transcript.insert(resultTest[4][i]);\r\n}\r\n \r\n \r\n \r\n \r\n // NUMBER OF TRIALS FOR EACH METHOD\r\n int iters = 5;\r\n \r\n // Duration array to hold each trial of each table\r\n Duration selectTrialTimes[][] = new Duration[4][iters];\r\n Instant start, finish;\r\n \r\n // Initialize and fill all tables with various indexing structures \r\n mapType = \"ExtHashMap\";\r\n \tTable studentExt = new Table(\"StudentExt\", \"id name address status\", \"Integer String String String\", \"id\", mapType);\r\n \tfor (int j = 0; j < resultTest[0].length; j++)\r\n studentExt.insert(resultTest[0][j]);\r\n \t\r\n \tmapType = \"BpTreeMap\";\r\n Table studentBp = new Table(\"StudentBp\", \"id name address status\", \"Integer String String String\", \"id\", mapType);\r\n for (int j = 0; j < resultTest[0].length; j++)\r\n studentBp.insert(resultTest[0][j]);\r\n \r\n mapType = \"LinHashMap\";\r\n Table studentLin = new Table(\"StudentLin\", \"id name address status\", \"Integer String String String\", \"id\", mapType);\r\n for (int j = 0; j < resultTest[0].length; j++)\r\n studentLin.insert(resultTest[0][j]);\r\n\r\n // Loop to test all differently implemented tables on the select( predicate ) method\r\n for( int i = 0; i < iters; i ++ ) {\r\n \tComparable comp = student.getRandomValue(\"id\");\r\n \t\r\n \tstart = Instant.now();\r\n \tTable tree_select = student.select(new KeyType( comp ));\r\n //tree_select.print();\r\n \tfinish = Instant.now();\r\n \tselectTrialTimes[0][i] = Duration.between( start, finish ); \r\n \r\n start = Instant.now();\r\n Table ext_select = studentExt.select(new KeyType( comp ));\r\n //ext_select.print();\r\n finish = Instant.now();\r\n selectTrialTimes[3][i] = Duration.between( start, finish ); \r\n\r\n start = Instant.now();\r\n \tTable bp_select = studentBp.select(new KeyType( comp ));\r\n //bp_select.print();\r\n \tfinish = Instant.now();\r\n \tselectTrialTimes[1][i] = Duration.between( start, finish ); \r\n \r\n start = Instant.now();\r\n \tTable lin_select = studentLin.select(new KeyType( comp ));\r\n //lin_select.print();\r\n \tfinish = Instant.now();\r\n \tselectTrialTimes[2][i] = Duration.between( start, finish ); \r\n \t\r\n }\r\n \r\n \r\n // Array values will be stored in for the ranged select\r\n Duration selectPartTwo[][] = new Duration[4][iters];\r\n \r\n // Tables to be used for the ranged select\r\n mapType = \"TreeMap\";\r\n \tTable studentFirst = new Table(\"StudentFirst\", \"id name address status\", \"Integer String String String\", \"id\", mapType);\r\n \tfor (int j = 0; j < resultTest[0].length; j++)\r\n studentFirst.insert(resultTest[0][j]);\r\n \tmapType = \"ExtHashMap\";\r\n \tTable studentSecond = new Table(\"StudentSecond\", \"id name address status\", \"Integer String String String\", \"id\", mapType);\r\n \tfor (int j = 0; j < resultTest[0].length; j++)\r\n studentSecond.insert(resultTest[0][j]);\r\n \t\r\n \tmapType = \"BpTreeMap\";\r\n Table studentThird = new Table(\"StudentThird\", \"id name address status\", \"Integer String String String\", \"id\", mapType);\r\n for (int j = 0; j < resultTest[0].length; j++)\r\n studentThird.insert(resultTest[0][j]);\r\n \r\n mapType = \"LinHashMap\";\r\n Table studentFourth = new Table(\"StudentFourth\", \"id name address status\", \"Integer String String String\", \"id\", mapType);\r\n for (int j = 0; j < resultTest[0].length; j++)\r\n studentFourth.insert(resultTest[0][j]);\r\n \t\r\n \t\r\n for( int i = 0; i < iters; i++ ) {\r\n \t\r\n \tComparable firstVal = studentFirst.getRandomValue( \"id\" );\r\n \tComparable secondVal = studentFirst.getRandomValue( \"id\" );\r\n if (firstVal > secondVal){\r\n Comparable temp = firstVal;\r\n firstVal = secondVal;\r\n secondVal = temp;\r\n }\r\n \t\r\n \tstart = Instant.now();\r\n \tTable tree_range = studentFirst.rangeSelect(new KeyType(firstVal), false, new KeyType( secondVal ), false);\r\n //tree_range.print();\r\n \tfinish = Instant.now();\r\n \tselectPartTwo[0][i] = Duration.between(start, finish);\r\n \t\r\n \tstart = Instant.now();\r\n \tTable ext_range = studentSecond.rangeSelect(new KeyType(firstVal), false, new KeyType( secondVal ), false);\r\n //ext_range.print();\r\n \tfinish = Instant.now();\r\n \tselectPartTwo[1][i] = Duration.between(start, finish);\r\n \t\r\n \tstart = Instant.now();\r\n \tTable bp_range = studentThird.rangeSelect(new KeyType(firstVal), false, new KeyType( secondVal ), false);\r\n //bp_range.print();\r\n \tfinish = Instant.now();\r\n \tselectPartTwo[2][i] = Duration.between(start, finish);\r\n \t\r\n \tstart = Instant.now();\r\n \tTable lin_range = studentFourth.rangeSelect(new KeyType(firstVal), false, new KeyType( secondVal ), false);\r\n //lin_range.print();\r\n \tfinish = Instant.now();\r\n \tselectPartTwo[3][i] = Duration.between(start, finish);\r\n \t\r\n }\r\n \r\n \r\n Duration joinTrialTimes[][] = new Duration[4][iters];\r\n // This for loop is for the join call on the student table\r\n for ( int i = 0; i < iters; i++ ) {\r\n \tstart = Instant.now();\r\n Table result = student.join(\"id\", \"studId\", transcript);\r\n //result.print();\r\n \tfinish = Instant.now();\r\n \tjoinTrialTimes[0][i] = Duration.between( start, finish); \r\n \t\r\n \tstart = Instant.now();\r\n \tresult = studentExt.join( \"id\", \"studId\", transcript);\r\n //result.print();\r\n \tfinish = Instant.now();\r\n \tjoinTrialTimes[3][i] = Duration.between( start, finish );\r\n \r\n \tstart = Instant.now();\r\n \tresult = studentLin.join( \"id\", \"studId\", transcript);\r\n //result.print();\r\n \tfinish = Instant.now();\r\n \tjoinTrialTimes[2][i] = Duration.between( start, finish );\r\n \t\r\n \tstart = Instant.now();\r\n \tresult = studentBp.join( \"id\", \"studId\", transcript);\r\n //result.print();\r\n \tfinish = Instant.now();\r\n \tjoinTrialTimes[1][i] = Duration.between( start, finish );\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n // FINAL FOR LOOP THAT PRINTS ALL DURATIONS\r\n // ALL VALUES PRINTED AND AVERAGED\r\n \r\n System.out.println(\"NUMBER OF TUPLES = \" + userChoice );\r\n System.out.println(\"select( keyVal ) on TreeMap in ms\");\r\n double sum = 0.0;\r\n double temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = selectTrialTimes[0][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"select( keyVal ) on BpTreeMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = selectTrialTimes[1][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"select( keyVal ) on LinHashMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = selectTrialTimes[2][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"select( keyVal ) on ExtHashMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = selectTrialTimes[3][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n System.out.println(\"----------------------\");\r\n System.out.println();\r\n \r\n System.out.println(\"select( keyVal1, keyVal2 ) on TreeMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = selectPartTwo[0][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"select( keyVal1, keyVal2 ) on BpTreeMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = selectPartTwo[1][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"select( keyVal1, keyVal2 ) on LinHashMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = selectPartTwo[2][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"select( keyVal1, keyVal2 ) on ExtHashMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = selectPartTwo[3][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n System.out.println(\"----------------------\");\r\n System.out.println();\r\n System.out.println(\"join( id, studId, transcript ) on TreeMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = joinTrialTimes[0][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"join( id, studId, transcript ) on BpTreeMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = joinTrialTimes[1][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"join( id, studId, transcript ) on LinHashMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = joinTrialTimes[2][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n System.out.println(\"join( id, studId, transcript ) on ExtHashMap in ms\");\r\n sum = 0.0;\r\n temp = 0.0;\r\n for( int i = 0; i < iters; i++ ) {\r\n \ttemp = joinTrialTimes[3][i].toMillis();\r\n \tSystem.out.println(\"Trial #\" + i + \": \" + temp);\r\n \tsum += temp;\r\n }\r\n \r\n System.out.println(\"Average: \" + sum/iters);\r\n System.out.println();\r\n \r\n \r\n }", "title": "" }, { "docid": "b1cbbd9c9f161c6d26eca09a5a05db54", "score": "0.55396724", "text": "public static void main(String[] args) {\n\t\t\n\t\tHashtable ht = new Hashtable();\n\n\t\t\n\t\t ht.put(1, \"tom\");\n\t\t ht.put(2, \"test\");\n\n\t\t ht.put(3, \"selenium\");\n\t\t \n\t\t //create clone copy /shallow copy of hashtable\n\t\t \n\t\t \n\t\t \n\t\t\tHashtable<Integer,String> h = new Hashtable<>();\n\t\t\t\n\t\t\th=(Hashtable)ht.clone();\n\t\t\tSystem.out.println(\"The values from ht object\"+ht);\n\n\t\t\tSystem.out.println(\"The values from hobject\"+h);\n\t\t\t\n\t\t\tht.clear();\n\t\t\tSystem.out.println(\"The values from ht object\"+ht);\n\n\t\t\tSystem.out.println(\"The values from hobject\"+h);\n\t\t\t\n\t\t\tHashtable h3 = new Hashtable();\n\t\t\th3.put(\"a\", \"naveen\");\n\t\t\t\n\t\t\th3.put(\"v\", \"manger\");\n\n\t\t\th3.put(\"c\", \"selenium\");\n\t\t\t\n\t\t\tif(h3.contains(\"naveen\")){\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"value is found in hash table \");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t//Print all the values in hash table by using Enumeration ---elements()\n\t\t\t\n\t\t\tEnumeration e =h3.elements();\n\t\t\tSystem.out.println(\"print the values from enumerator\");\n\t\t\twhile(e.hasMoreElements()){\n\t\t\t\tSystem.out.println(e.nextElement());\n\t\t\t}\n\t\t\t\n\t\t//get all the values from hash table using -entrySet---set of hasth table values\n\t\t\t\nSystem.out.println(\"print hashcode of particular element present in hashtable\"+h3.get(\"a\").hashCode());\t\t\t\n\n\n\n//no null key and null values ar alloweded\n\n\n/*h3.put(null, \"daya\");\nh3.put(\"df\",null);\nSystem.out.println(\"values and keys are\"+h3);\n*/\n\nHashMap hh = new HashMap();\n\nhh.put(\"a\", \"ramu\");\nhh.put(\"b\", null);\nhh.put(\"c\", null);\n//hash map we will allow one null key and no of null values-------accepted\n\nhh.put(null, \"daya\");\nhh.put(null, \"mango\");\nSystem.out.println(\"hashmap implementation------------data\");\n\nSystem.out.println(hh);\n\n\t}", "title": "" }, { "docid": "03aa8c8997bf4030397c1096b9153dfd", "score": "0.54960346", "text": "public int delTestListbyPageId(String id) throws SQLException {\n\t\tStatement stat = null;\n\t\tConnection conn = null;\n\t\tResultSet rs = null;\n\t\tDataConn db= new DataConn();\n\t\tconn = db.getDBConn();\n\t\tstat = conn.createStatement();\n\t\tPreparedStatement ps=null;\n\t\tString sql = \"delete from etl_test where pageid=\"+id;\n\t\tSystem.out.print(sql);\n\t\tps = conn.prepareStatement(sql);\n\t\tint rowsForInsert = ps.executeUpdate(sql);\n\t\tSystem.out.print(rowsForInsert);\n\t\treturn rowsForInsert;\n\t}", "title": "" }, { "docid": "ec5cee72c8404efafb6adf940d83f2c6", "score": "0.54886824", "text": "public static void main(String[] args) {\n\t\r\n\t\r\n\t\r\n\tMap<Integer, String> hm=new Hashtable<>();\r\n\thm.put(1, \"Pradeep\");//put takes key value pair\r\n\t//hm.put(\"2\", 5);\r\n\t//hm.put(null, \"kiran\");//Cannot have null key, gives run time exception\r\n\thm.put(5, \"Pradeep\");\r\n\thm.put(2, \"Pradeep1\");\r\n\t//hm.put(6, null);//Cannot have null key, gives run time exception\r\n\t//hm.put(7, null);//Cannot have null key, gives run time exception\r\n//\thm.put(null, \"I'm\");//Cannot have null key, gives run time exception\r\n\t\r\n\tSystem.out.println(hm);\r\n\thm.put(5, \"Raju\");\r\n\tSystem.out.println(hm);\r\n\tSystem.out.println(hm.get(5));//get w.r.t key\r\n\t\r\n\t//Getting key value pair using entry set and iterator\r\n\t\r\n//\tSet s=hm.entrySet();\r\n//Iterator ir=s.iterator();\r\n//\r\n//while(ir.hasNext())\r\n//{\r\n//\tSystem.out.println(ir.next());\r\n//}\r\n\t\r\n\t\r\n\t// Using new entry set style\r\n\t\r\n\tfor (Map.Entry<Integer, String> entry:hm.entrySet())\r\n\t{\r\n\t\tSystem.out.println(\"Key: \"+entry.getKey()+\"Value: \"+entry.getValue());\r\n\t}\r\n\t\r\n\tSystem.out.println(hm.keySet());\r\n\t\r\n}", "title": "" }, { "docid": "c3a2cf41cdcd2b933ef63ef2f2deaf50", "score": "0.54783547", "text": "public static void main(String[] arg) \r\n {\n Hashtable h = new Hashtable(); \r\n \r\n Hashtable<Integer, String> h1 = \r\n new Hashtable<Integer, String>(); \r\n \r\n h.put(3, \"Geeks\"); \r\n h.put(2, \"forGeeks\"); \r\n h.put(1, \"isBest\"); \r\n \r\n // create a clone or shallow copy of hash table h \r\n h1 =(Hashtable)h.clone(); \r\n \r\n // checking clone h1 \r\n System.out.println(\"values in clone: \" + h1); \r\n \r\n // clear hash table h \r\n h.clear(); \r\n \r\n // checking hash table h \r\n System.out.println(\"after clearing: \" + h); \r\n }", "title": "" }, { "docid": "352ef91f65f6682262549797e0b1e4b8", "score": "0.5448269", "text": "private static void test() {\n\t\t// TODO Auto-generated method stub\n\t\ttry{\n\t\t\tint idx =1;\n\t\t\tHashMap <Integer, Integer> seqs = new HashMap<Integer, Integer>(); // key - seqid and val is statement\n\t\t\tfor (int i=1; i<=17;i++){\n\n\t\t\t\tPreparedStatement pstm3 = CAMPS_CONNECTION.prepareStatement(\"select \" +\n\t\t\t\t\t\t\"seqid_query,seqid_hit from alignments_initial limit \"+idx+\",\"+10000000);\n\t\t\t\tidx = i*10000000;\n\t\t\t\t//System.out.print(\"\\n Hashtable of Alignments In Process \"+idx+\"\\n\");\n\t\t\t\tint setsize = 0;\n\t\t\t\tResultSet rs3 = pstm3.executeQuery();\n\t\t\t\twhile (rs3.next()){\n\t\t\t\t\tsetsize++;\n\t\t\t\t\tint q = rs3.getInt(1);\n\t\t\t\t\tint h = rs3.getInt(2);\n\t\t\t\t\tif (!seqs.containsKey(q)){\n\t\t\t\t\t\tseqs.put(q, null);\n\t\t\t\t\t}\n\t\t\t\t\tif (!seqs.containsKey(h)){\n\t\t\t\t\t\tseqs.put(h, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n Hashtable of Alignments \"+idx+\", the set size was:\"+setsize+\"\\n\");\n\t\t\t}\n\n\t\t\t//*******\n\t\t\tPreparedStatement pstm1 = CAMPS_CONNECTION.prepareStatement(\"\" +\n\t\t\t\t\t\"select sequenceid,tms_id from tms group by sequenceid,tms_id\");\n\t\t\tResultSet rs1 = pstm1.executeQuery();\n\t\t\tint sqLast = 0;\n\t\t\tint tNow = 0;\n\t\t\tint tLast = 0;\n\n\t\t\tint tms = 0;\n\t\t\tint count =0;\n\t\t\tint tm1 = 0;\n\t\t\tint tm2 = 0;\n\t\t\tint tm3 = 0;\n\n\t\t\tboolean first = true;\n\t\t\tint x =0;\n\t\t\twhile(rs1.next()){\n\t\t\t\tx++;\n\t\t\t\tif (x%1000 == 0){\n\t\t\t\t\tSystem.out.print(\"Processed \" + x +\"\\n\");\n\t\t\t\t}\n\t\t\t\tint sqNow = rs1.getInt(1);\n\t\t\t\ttNow = rs1.getInt(2);\n\n\t\t\t\tif(sqNow != sqLast && !first){\n\t\t\t\t\tif(seqs.containsKey(sqLast)){\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t\ttms = tms + tLast;\n\t\t\t\t\t\tif(tLast==1){\n\t\t\t\t\t\t\ttm1 = tm1 + 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(tLast==2){\n\t\t\t\t\t\t\ttm2 = tm2 + 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(tLast==3){\n\t\t\t\t\t\t\ttm3 = tm3 + 1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tsqLast = sqNow;\n\n\t\t\t\t}\n\t\t\t\ttLast = tNow;\n\t\t\t\t// the set of tms for this protein is complete\n\t\t\t\t// add sqlast and the refresh all\n\t\t\t\tif (first){\n\t\t\t\t\tsqLast = sqNow;\n\t\t\t\t\ttLast = tNow;\n\t\t\t\t\tfirst = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tpstm1.close();\n\t\t\trs1.close();\n\t\t\t// ****************\n\t\t\tSystem.out.print(\"number of unique sequences in alignments2 table\\n\" +\n\t\t\t\t\t\"irrespective of the query or hit... so this is the\\n\" +\n\t\t\t\t\t\"number of combinations\\n\"+ seqs.size());\n\t\t\tSystem.out.print(\"Proteins with TM1: \"+ tm1 + \"\\n\");\n\t\t\tSystem.out.print(\"Proteins with TM2: \"+ tm2 + \"\\n\");\n\t\t\tSystem.out.print(\"Proteins with TM3: \"+ tm3 + \"\\n\");\n\n\t\t}\n\t\tcatch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "492f24567d87995a008acedcc345306e", "score": "0.5445011", "text": "public static void main(String[] args) {\n// MyHashtable myHashtable = new MyHashtable(100, MyHashtable.FODDING_FUNCTION, MyHashtable.DOUBLE_HASHING);\n// myHashtable.add(new Employee(1020, \"abc\"));\n// myHashtable.add(new Employee(9999, \"pqr\"));\n// System.out.println(myHashtable.get(1020));\n// System.out.println(myHashtable.get(9999));\n// System.out.println(myHashtable.delete(1020));\n// System.out.println(myHashtable.get(1020));\n//\n// System.out.println(\"----------------fodding and double hashing ---------------\");\n\n System.out.println(\"----------------modulo function and direct chaining ---------------\");\n MyHashtable myHashtable = new MyHashtable(100, MyHashtable.MODULO_FUNCTION, MyHashtable.DIRECT_CHANING);\n myHashtable.add(new Employee(1000, \"abc\"));\n System.out.println(myHashtable.get(1000));\n System.out.println(\"----------------modulo function and direct chaining ---------------\");\n }", "title": "" }, { "docid": "ae9a907ac2cced0394b38a0e48a3fac5", "score": "0.5430547", "text": "@Test\r\n\tpublic void basicTest() {\r\n\t\tSimpleHashtable table = new SimpleHashtable(3);\r\n\t\tAssert.assertTrue(table.isEmpty());\r\n\t\tAssert.assertFalse(table.containsKey(\"Ivana\"));\r\n\r\n\t\ttable.put(\"Ivana\", Integer.valueOf(2));\r\n\t\ttable.put(\"Ante\", Integer.valueOf(2));\r\n\t\ttable.put(\"Jasna\", Integer.valueOf(2));\r\n\t\ttable.put(\"Kristina\", Integer.valueOf(5));\r\n\t\ttable.put(\"Ivana\", Integer.valueOf(5));\r\n\r\n\t\tAssert.assertEquals(4, table.size());\r\n\t\tAssert.assertEquals(5, table.get(\"Ivana\"));\r\n\t\tAssert.assertTrue(table.containsKey(\"Kristina\"));\r\n\t\tAssert.assertTrue(table.containsValue(Integer.valueOf(2)));\r\n\t\tAssert.assertFalse(table.containsKey(null));\r\n\r\n\t\ttable.remove(\"Kristina\");\r\n\t\ttable.remove(null);\r\n\t\ttable.remove(\"Ante\");\r\n\t\tAssert.assertEquals(2, table.size());\r\n\t\tAssert.assertEquals(null, table.get(\"Kristina\"));\r\n\t\tAssert.assertEquals(null, table.get(null));\r\n\r\n\t\ttable.clear();\r\n\t\tAssert.assertTrue(table.isEmpty());\r\n\t\tAssert.assertFalse(table.containsKey(\"Ivana\"));\r\n\r\n\t\ttable.put(\"Kristina\", Integer.valueOf(5));\r\n\t\tAssert.assertEquals(1, table.size());\r\n\t\tAssert.assertEquals(5, table.get(\"Kristina\"));\r\n\t\ttable.put(\"Jasna\", Integer.valueOf(2));\r\n\t\tAssert.assertEquals(\"[Kristina=5, Jasna=2]\", table.toString());\r\n\r\n\t}", "title": "" }, { "docid": "485f3b57edc286dee1852a7fe9afd744", "score": "0.54140514", "text": "public void createTest(String id, String nameSubject, String nameTest, String separator,\n ArrayList<Pair<String, HashMap<String, Boolean>>> test) {\n\n try(Statement stmt = conn.createStatement()) {\n Date date = new Date(System.currentTimeMillis());\n SimpleDateFormat format1 = new SimpleDateFormat(\"dd-MM-yyyy\");\n String insertTest = \"INSERT INTO Test\" +\n \"(name_test, subject, create_test_date, separator) \" +\n \"VALUES (\\'\" + nameTest + \"\\', \\'\" + nameSubject +\n \"\\', TO_DATE(\\'\"+format1.format(date)+\"\\', 'dd-MM-yyyy'), \\'\" + separator + \"\\')\";\n stmt.executeUpdate(insertTest);\n ResultSet rsIdTest =\n stmt.executeQuery(\"select id from Test where name_test = \\'\" + nameTest\n + \"\\' and subject = \\'\" + nameSubject + \"\\'\");\n int idTest = 0;\n if (rsIdTest.next()) {\n idTest = rsIdTest.getInt(\"id\");\n }\n String insertTestTutors = \"INSERT INTO TestTutors\" + \"(id_tutor, id_test)\" +\n \"VALUES (\\'\" + Integer.parseInt(id) + \"\\', \\'\" + idTest + \"\\')\";\n stmt.executeUpdate(insertTestTutors);\n\n for (int i = 0; i < test.size(); i++) {\n\n String insertQuestions = \"INSERT INTO Questions\" +\n \"(question)\" + \"VALUES (\\'\" + test.get(i).getKey() + \"\\')\";\n stmt.executeUpdate(insertQuestions);\n ResultSet rsIdQuestion =\n stmt.executeQuery(\"select id from Questions where question = \\'\" + test.get(i).getKey() + \"\\'\");\n int idQuestion = 0;\n if (rsIdQuestion.next()) {\n idQuestion = rsIdQuestion.getInt(\"id\");\n }\n String insertTestQuestion = \"INSERT INTO TestQuestion\" +\n \"(id_test, id_question)\" +\n \"VALUES (\\'\" + idTest + \"\\',\\'\" + idQuestion + \"\\')\";\n stmt.executeUpdate(insertTestQuestion);\n\n for (String o: test.get(i).getValue().keySet()) {\n int correct;\n if (test.get(i).getValue().get(o)) {\n correct = 1;\n } else {\n correct = 0;\n }\n String insertAnswers = \"INSERT INTO Answers\" + \"(id_question, answer, correct)\" +\n \"VALUES (\\'\" + idQuestion + \"\\', \\'\" + o + \"\\', \\'\" + correct + \"\\')\";\n stmt.executeUpdate(insertAnswers);\n }\n }\n } catch (SQLException e) {\n logger.log(Level.ERROR, \"Error in Statement\", e);\n }\n }", "title": "" }, { "docid": "b9dca1d49b23481fd0aab30102b67549", "score": "0.5388796", "text": "public InsertDeleteGetRandomInO1() {\n hm = new HashMap<>();\n list = new ArrayList<>();\n }", "title": "" }, { "docid": "0a4931a4883e7bb2ff31f8e963e3b517", "score": "0.53675723", "text": "@Test\n public void rebuildSmallPages() throws Exception {\n\n Path dataPath = folder.newFolder(\"data\").toPath();\n Path logsPath = folder.newFolder(\"logs\").toPath();\n Path metadataPath = folder.newFolder(\"metadata\").toPath();\n Path tmpDir = folder.newFolder(\"tmpDir\").toPath();\n String nodeId = \"localhost\";\n\n ServerConfiguration config1 = new ServerConfiguration();\n config1.set(ServerConfiguration.PROPERTY_MAX_LOGICAL_PAGE_SIZE, 1024L);\n\n int records = 1000;\n int keylen = 25;\n int strlen = 50;\n\n int originalPages;\n try (DBManager manager = new DBManager(\"localhost\",\n new FileMetadataStorageManager(metadataPath),\n new FileDataStorageManager(dataPath),\n new FileCommitLogManager(logsPath),\n tmpDir, null, config1, null)) {\n manager.start();\n CreateTableSpaceStatement st1 = new CreateTableSpaceStatement(\"tblspace1\", Collections.singleton(nodeId), nodeId, 1, 0, 0);\n manager.executeStatement(st1, StatementEvaluationContext.DEFAULT_EVALUATION_CONTEXT(), NO_TRANSACTION);\n manager.waitForTablespace(\"tblspace1\", 10000);\n\n execute(manager, \"CREATE TABLE tblspace1.tsql (k1 string, s1 string, n1 int, primary key(k1))\",\n Collections.emptyList());\n\n for (int i = 0; i < records; ++i) {\n executeUpdate(manager, \"INSERT INTO tblspace1.tsql(k1,s1,n1) values(?,?,?)\",\n Arrays.asList(\n RandomString.getInstance().nextString(keylen),\n RandomString.getInstance().nextString(strlen),\n Integer.valueOf(i)));\n }\n\n manager.checkpoint();\n\n String uuid = manager.getMetadataStorageManager().describeTableSpace(\"tblspace1\").uuid;\n String tableUuid = manager.getTableSpaceManager(\"tblspace1\").getTableManager(\"tsql\").getTable().uuid;\n originalPages = manager.getDataStorageManager().getActualNumberOfPages(uuid, tableUuid);\n assertTrue(originalPages > 10);\n\n }\n\n ServerConfiguration config2 = new ServerConfiguration();\n\n config2.set(ServerConfiguration.PROPERTY_MAX_LOGICAL_PAGE_SIZE, 2048L);\n config2.set(ServerConfiguration.PROPERTY_COMPACTION_DURATION, -1L);\n\n try (DBManager manager = new DBManager(\"localhost\",\n new FileMetadataStorageManager(metadataPath),\n new FileDataStorageManager(dataPath),\n new FileCommitLogManager(logsPath),\n tmpDir, null, config2, null)) {\n manager.start();\n\n assertTrue(manager.waitForTablespace(\"tblspace1\", 20000));\n\n manager.checkpoint();\n\n String tableUuid = manager.getTableSpaceManager(\"tblspace1\").getTableManager(\"tsql\").getTable().uuid;\n String uuid = manager.getMetadataStorageManager().describeTableSpace(\"tblspace1\").uuid;\n int pages = manager.getDataStorageManager().getActualNumberOfPages(uuid, tableUuid);\n\n /* There are at least half pages! */\n assertTrue(pages <= (originalPages / 2) + (originalPages % 2));\n }\n\n }", "title": "" }, { "docid": "d16782d4f99c2159daf514e4d477c4d2", "score": "0.536171", "text": "public HeapPage getPage(int tid, int tableId, int pid, Permissions perm)\n throws Exception {\n // your code here\n \tTableAndPage single = new TableAndPage(tableId, pid);\n \t\n \tHeapPage hp = Database.getCatalog().getDbFile(tableId).readPage(pid);\n \tif (cache.size() >= maxPage) {\n \t\tSystem.out.println(\"!!!!!!!!!!detect exceed amx page\");\n \t\tevictPage();\n \t\t/*try {\n \t\t\tevictPage();\t\n \t\t}catch(Exception e) {\n \t\t\t//wait till the page is successfully evict\n \t\t}*/\n \t} else {\n \t\t// if not contained\n if (lockQueue.size() == 0) {\n \t/*if (perm == Permissions.READ_WRITE) {\n \t\thp.setDirty();\n \t}*/\n \tcache.put(hp, single);\n \tList<TableAndPage> list = new ArrayList<>();\n \tlist.add(single);\n \t tran.put(tid, list);\n \t Lock lock = new Lock(tid, tableId, pid, perm);\n \tlockQueue.add(lock);\n } else {\n \tboolean update = false;\n \t//check whether i can add lock or not\n for (Lock lock : lockQueue) {\n \t\tif (lock.pid == single.pid && lock.tableId == single.tableId) {\n \t\t\t//if the page has already has a write lock, block\n \t//if the page has already has a read lock, and new perm is also read, no problem;\n \t\n \t\t\tif (lock.perm == Permissions.READ_ONLY) {\n \t\tif (perm == Permissions.READ_ONLY) {\n \t\t\t//allow\n \t\t\tcache.put(hp, single);\n \t\t\tList<TableAndPage> list = tran.get(tid);\n \t\t\tif (list == null) {\n \t\tlist = new ArrayList<>();\n \t\tlist.add(single);\n \t\tLock l = new Lock(tid, tableId, pid, perm);\n \t\tlockQueue.add(l);\n \t} else if (!list.contains(single)) {\n \t\tlist.add(single);\n \t}\n \t tran.put(tid, list);\n \t update = true;\n \t break;\n \t\t} else {\n \t\t\t//new permission is read_write\n \t\t\tif (lock.tid != tid) {\n \t\t\t\t//abort the new one\n \t\t\t\ttransactionComplete(tid, false);\n \t\t\t\tupdate = true;\n \t\t\t}\n \t\t}\n \t} else {\n \t\t//if original permission is read_write, abort everything\n \t\tif (lock.tid != tid) {\n \t\t\ttransactionComplete(tid, false);\n \t\t\tupdate = true;\n \t\t}\n \t\t\n \t}\n \t\t} \n \t\t\n \t}\n if (!update) {\n \t/*if (perm == Permissions.READ_WRITE) {\n \t\thp.setDirty();\n \t}*/\n \tcache.put(hp, single);\n List<TableAndPage> list = tran.get(tid);\n if (list == null) {\n \tlist = new ArrayList<>();\n }\n list.add(single);\n tran.put(tid, list);\n Lock l = new Lock(tid, tableId, pid, perm);\n lockQueue.add(l);\n }\n \n }\n \t}\n \treturn hp;\n\n }", "title": "" }, { "docid": "e5f93c1f96f4811decfc15f6fb8f40b4", "score": "0.5351425", "text": "public void tableinsert() throws Exception{\n\t\t\n\t\tString table=this.getPageElement(\"t1\").getValue().toUpperCase();\n\t\tif(table!=null&&!\"\".equals(table.trim())){\n\t\t\ttable=table.toUpperCase().trim();\n\t\t\tString name=this.getPageElement(\"t2\").getValue();\n\t\t\tif(name.length()>50){\n\t\t\t\tthis.setMainMessage(\"集名称长度过长\");\n\t\t\t}else if(name!=null&&!\"\".equals(name.trim())){\n\t\t\t\tString regex = \"^[A-Za-z0-9\\u4e00-\\u9fa5]+$\";\n\t\t\t\tif (name.matches(regex)) {\n\t\t\t\t\tthis.getPageElement(\"t2\").setValue(name);\n\t\t\t\tString sql=\"select * from code_table where table_code='\"+table+\"'\";\n\t\t\t\tCommQuery cqbs=new CommQuery();\n\t\t\t\tList<HashMap<String, Object>> list=cqbs.getListBySQL(sql);\n\t\t\t\tif(list!=null&&list.size()>0){\n\t\t\t\t\tthis.setMainMessage(\"信息集序号与库中已有信息集序号重复,请重填\");\n\t\t\t\t}else{\n\t\t\t\t\tString num=this.getPageElement(\"isGroupCode\").getValue();\n\t\t\t\t\tString value=this.getPageElement(\"select1\").getValue();\n\t\t\t\t\tString radionum=this.getPageElement(\"r1\").getValue();\n\t\t\t\t\tString secretlevel=this.getPageElement(\"t0\").getValue();\n\t\t\t\t\tsql=\"insert into code_table (TABLE_CODE,TABLE_NAME,TABLE_GROUP,CMPRLT_QD,TBLPRP_QD,ISCOMPFLD,secretlevel,createtime) values('\"+table+\"','\"+name+\"','\"+value+\"','\"+radionum+\"','0',\"+num+\",'\"+secretlevel+\"',sysdate)\";\n\t\t\t\t\tHBSession hbsess = HBUtil.getHBSession();\t\n\t\t\t\t\tStatement stmt = hbsess.connection().createStatement();\n\t\t\t\t\tstmt.executeUpdate(sql);\n\t\t\t\t\t\n\t\t\t\t\tString id=\"A0000\";\n\t\t\t\t\tif(\"B\".equals(value)){\n\t\t\t\t\t\tid=\"B0111\";\n\t\t\t\t\t}\n\t\t\t\t\tsql=\"create table \"+table+\"(\"+table+\"00 varchar(120) primary key,\"+id+\" varchar(120)\";\n\t\t\t\t\tif(\"0\".endsWith(radionum)){\n\t\t\t\t\t\tsql=sql+\",\"+table+\"99 varchar(10),ID varchar(50)\";\n\t\t\t\t\t}\n\t\t\t\t\tsql=sql+\")\";\n\t\t\t\t\tstmt.executeUpdate(sql);\n\t\t\t\t\tgenerateFlowField(stmt,value,table,name,radionum);// add mtf 2017.7.11 追加一个默认的流程表用到的字段\n\t\t\t\t\tloadTable(value);\n\t\t\t\t\tcheanCode();\n\t\t\t\t\tthis.setMainMessage(\"信息集新增成功!\");\n\t\t\t\t\tthis.getPageElement(\"t1\").setValue(\"\");\n\t\t\t\t\tthis.getPageElement(\"t2\").setValue(\"\");\n\t\t\t\t\tthis.getPageElement(\"t0\").setValue(\"\");\n\t\t\t\t\tthis.getPageElement(\"r1\").setValue(\"0\");\n\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis.setMainMessage(\"集名称只能输入汉字、字母或阿拉伯数字\");\n\t\t\t\t\tthis.getPageElement(\"t2\").setValue(\"\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tthis.setMainMessage(\"集名称不能为空\");\n\t\t\t}\n\t\t}else{\n\t\t\tthis.setMainMessage(\"集代码不能为空\");\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "022d208219b917659babe4c908f2bb6e", "score": "0.53156435", "text": "@Test\n public void test005_insert10_and_remove5_and_get5()\n throws IllegalNullKeyException, DuplicateKeyException, KeyNotFoundException {\n bookObject.insert(bookTable.get(0).getKey(), bookTable.get(0));\n bookObject.insert(bookTable.get(1).getKey(), bookTable.get(1));\n bookObject.insert(bookTable.get(2).getKey(), bookTable.get(2));\n bookObject.insert(bookTable.get(3).getKey(), bookTable.get(3));\n bookObject.insert(bookTable.get(4).getKey(), bookTable.get(4));\n bookObject.insert(bookTable.get(5).getKey(), bookTable.get(5));\n bookObject.insert(bookTable.get(6).getKey(), bookTable.get(6));\n bookObject.insert(bookTable.get(7).getKey(), bookTable.get(7));\n bookObject.insert(bookTable.get(8).getKey(), bookTable.get(8));\n bookObject.insert(bookTable.get(9).getKey(), bookTable.get(9));\n bookObject.insert(bookTable.get(10).getKey(), bookTable.get(10));\n\n\n bookObject.remove(bookTable.get(0).getKey());\n bookObject.remove(bookTable.get(1).getKey());\n bookObject.remove(bookTable.get(2).getKey());\n bookObject.remove(bookTable.get(3).getKey());\n bookObject.remove(bookTable.get(4).getKey());\n bookObject.remove(bookTable.get(5).getKey());\n\n for (int i = 6; i < 11; i++) {\n if (!bookObject.get(bookTable.get(i).getKey()).equals(bookTable.get(i))) {\n fail(\"Failed to get proper book for a key\");\n }\n }\n }", "title": "" }, { "docid": "a8cc446a8ea771eca16cd07928045476", "score": "0.52841705", "text": "private void enlarge(){\n\n // Set new table\n KVPair[] newTable = new KVPair[primeGenerator.getNextPrime()];\n\n // Insertion\n for(int i= 0;i < table.length;i++) {\n // Iterate each element and add into new table\n if(table[i] != null){\n KVPair currPair = table[i];\n insertHelper(currPair,newTable);\n }\n }\n table = newTable;\n }", "title": "" }, { "docid": "c1ebea5c0fb2b7747833b2158f0a8155", "score": "0.5284111", "text": "public static void main(String[] args) {\n\n\t\tHashtable h1 = new Hashtable();\n\t\t\n\t\th1.put(1, \"Abi\");\n\t\th1.put(2, \"Gan\");\n\t\th1.put(3, \"Aad\");\n\t\t\n\t\tHashtable h2 = new Hashtable();\n\t\t\n\t\th2= (Hashtable)h1.clone();\n\t\t\n\t\tSystem.out.println(\" values of h1 \"+ h1);\n\t\tSystem.out.println(\" values of h1 \"+h2);\n\t\t\n\t\th1.clear();\n\t\tSystem.out.println(h1);\n\t\t\n\t\tSystem.out.println(h2);\n\t\t\n\t\tHashtable ht = new Hashtable();\n\t\tht.put(\"A\", \"Abi\");\n\t\tht.put(\"B\", \"Aad\");\n\t\t\n\t\tif(ht.containsValue(\"Abi\"))\n\t\t\tSystem.out.println(\"value found\");\n\t\t//to print all values using enumeration elements()\n\t\tEnumeration e = ht.elements();\n\t\t\n\t\tSystem.out.println(\"Enumeration \");\n\t\t\n\t\twhile(e.hasMoreElements()) {\n\t\t\tSystem.out.println(e.nextElement());\n\t\t}\n\t\t\n\t\n\t//get all values from hashtable using entry set\n\tSystem.out.println(\"Entry set\");\n\tSet s = ht.entrySet();\n\tSystem.out.println(s);\t\n\t\n\t//to check if 2 Hashtavle are equal or not\t\n\tHashtable ht1 = new Hashtable();\n\tht1.put(\"A\", \"Abi\");\n\tht1.put(\"B\", \"gfj\");\n\tht1.put(\"B\", \"gfj\");// it contains oly unique values\n\t//ht1.put(null, \"Aahu\");// will give null pointer exception\n\t//ht1.put(\"A\", null);// will give null pointer exception\n\tSystem.out.println(ht1);\n\tif(ht.equals(ht1))\n\t\tSystem.out.println(\"Equal\");\n\telse\n\t\tSystem.out.println(\"not equal\");\n\t\t\n\t\t// get the value from key\n\tSystem.out.println(ht1.get(\"B\"));\n\t\t\n\t//get the hashcode of hashtable object\n\tSystem.out.println(\"the hash code: \"+ht1.hashCode());\n\tSystem.out.println(\"the hash code: \"+ht.hashCode());\t\n\t}", "title": "" }, { "docid": "eed3535a9a3a8403ab1052fc5b350d6f", "score": "0.5271023", "text": "@Test\n\tvoid test10() {\n\t\tint expected=5;\n\t\tint actual=0;\n\t\tint totalrow=driver.findElements(By.xpath(\"//table[@id='table1']/tbody/tr\")).size();\n\t\tHashMap<String,String> map1 = new HashMap<String,String>();\n\t\tfor(int index=1;index<=totalrow;index++) {\n\t\t\tString firstName=driver.findElement(By.xpath(\"//table[@id='table1']/tbody/tr[\"+index+\"]/td[2]\")).getText();\n\t\t\tString userName=driver.findElement(By.xpath(\"//table[@id='table1']/tbody/tr[\"+index+\"]/td[4]\")).getText();\n\t\t\tmap1.put(firstName, userName);\n\t\t}\n\t\tactual=map1.size();\n\t\tSystem.out.println(map1);\n\t\tAssert.assertEquals(actual, expected);\n\t}", "title": "" }, { "docid": "3fdba1de40a4139710dee062e11e3c9b", "score": "0.5268083", "text": "@Test\n public void testSize() {\n assertEquals(0, ht.size());\n ht.add(\"key\", \"value\");\n assertEquals(1, ht.size());\n ht.add(\"name\", \"age\");\n assertEquals(2,ht.size());\n \n ht.add(\"age\", \"twenty\");\n ht.add(\"job\", \"engineer\");\n ht.add(\"car\", \"honda\");\n \n assertEquals(5, ht.size());\n \n for(int i=0;i<1000;i++)\n {\n ht.add(\"key_\"+i, \"value_\"+i);\n }\n \n assertEquals(1005, ht.size());\n }", "title": "" }, { "docid": "3f7681b02ea8f31d7f087e3b9514e1dd", "score": "0.5266754", "text": "@Test\n public void test007_insert_and_remove_and_getNumKeys()\n throws IllegalNullKeyException, DuplicateKeyException, KeyNotFoundException {\n bookObject.insert(bookTable.get(0).getKey(), bookTable.get(0));\n bookObject.insert(bookTable.get(1).getKey(), bookTable.get(1));\n bookObject.insert(bookTable.get(2).getKey(), bookTable.get(2));\n bookObject.insert(bookTable.get(3).getKey(), bookTable.get(3));\n bookObject.insert(bookTable.get(4).getKey(), bookTable.get(4));\n bookObject.insert(bookTable.get(5).getKey(), bookTable.get(5));\n bookObject.insert(bookTable.get(6).getKey(), bookTable.get(6));\n bookObject.insert(bookTable.get(7).getKey(), bookTable.get(7));\n bookObject.insert(bookTable.get(8).getKey(), bookTable.get(8));\n bookObject.insert(bookTable.get(9).getKey(), bookTable.get(9));\n bookObject.insert(bookTable.get(10).getKey(), bookTable.get(10));\n\n if (bookObject.numKeys() != 11) {\n fail(\"The number of keys in the hashTable should be 11 but was actually: \"\n + bookObject.numKeys());\n }\n\n // Iterates through and removes everything from the list and checks the number of keys\n for (int i = 10; i > -1; i--) {\n bookObject.remove(bookTable.get(i).getKey());\n if (bookObject.numKeys() != i) {\n fail(\"numKeys is not the correct value\");\n }\n }\n }", "title": "" }, { "docid": "a050f6539ddcfbd0e01c598fd03a2b5f", "score": "0.5260342", "text": "public Iterator selectFromTable(String strTable,\n\t\t\tHashtable<String, Object> htblColNameValue, String strOperator)\n\t\t\tthrows Exception {\n\t\t\n\t\t\n\t\tFile p = new File(\"C:/Users/Mena/Desktop/sem 6/db/proj/31_1112\");\n\t\tFile[] files = p.listFiles();\n\t//\tSystem.out.println(\"len \" + files.length);\n\t\t// int pageNumber = 1;\n\t\tQueue<String> results = new LinkedList<String>();\n\t\tfor (int i = 0; i < files.length; i++) {\n\t\t\t//System.out.println(i + \" \" + files.length);\n\t\t\tif (files[i].isFile()) {\n\t\t\t\tString fullName = files[i].getName();\n\t\t\t\tif (fullName.length() >= 5) {\n\t\t\t\t\tString extension = fullName.substring(\n\t\t\t\t\t\t\tfullName.length() - 5, fullName.length());\n\t\t\t\t\tif (extension.equals(\"class\")) {\n\t\t\t\t\t\tString fileName = fullName.substring(0,\n\t\t\t\t\t\t\t\tfullName.length() - 6);\n\t\t\t\t\t\tString [] splitBTree = fileName.split(\"-\");\n\t\t\t\t\t\tString[] split = fileName.split(\",\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t// System.out.println(fullName);\n\t\t\t\t\t\t// System.out.println(split[0]);\n\t\t\t\t\t\tIterator<String> iter3alhtbl = htblColNameValue.keySet().iterator();\n\n\t\t\t\t\t\twhile (iter3alhtbl.hasNext()) {\n\t\t\t\t\t\t\tString nameOfItsCol = iter3alhtbl.next();\n\t\t\t\t\t\tif (splitBTree[0].equals(strTable)){\n\t\t\t\t\t\t\tif (splitBTree[1].equals(nameOfItsCol)){\n\t\t\t\t\t\t\t\n\t\t\t\t\t\tObjectInputStream o = new ObjectInputStream(\n\t\t\t\t\t\t\t\tnew FileInputStream(new File(strTable + \"-\"\n\t\t\t\t\t\t\t\t\t\t+ splitBTree[1] + \".class\")));\n\n\t\t\t\t\t\tBTree whatever = (BTree) o.readObject();\n\t\t\t\t\t\to.close();\n\t\t\t\t\t\t\t\t\n\t\t\t\t\tString returnedAddress =(String) whatever.search((Comparable) htblColNameValue.get(nameOfItsCol));\n\t\t\t\t\t\t\n\t\t\t\t\t\t//el mafroud law dy sa7 yeb2a yeraga3lena el address wl value aw 7aga keda \n\t\t\t\t\t\t//yeb2a keda ma3aya makan el record, ha-get el value 3alatool \n\t\t\t\t\t\t//load el page bta3to \n\t\t\t\t\t\t\n\t\t\t\t\t\t//by convention en el string bta3 el address dah maslan haykoon pagenum, rec num\n\t\t\t\t\t\t//ex page 1,3\n\t\t\t\t\t\t// page =1 and row = 3\n\t\t\t\t\t\t\n\t\t\t\t\t\tString split3aladd [] = returnedAddress.split(\",\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tObjectInputStream ois = new ObjectInputStream(\n\t\t\t\t\t\t\t\tnew FileInputStream(new File(strTable + \",\"\n\t\t\t\t\t\t\t\t\t\t+ split3aladd[0] + \".class\")));\n\t\t\t\t\t\tPage page = (Page) ois.readObject();\n\t\t\t\t\t\tois.close();\n\t\t\t\t\t\tHashtable<String, Object> returnedHash = page.pageContent[Integer.parseInt(split3aladd[1])];\n\t\t\t\t\t\tIterator<String> iter = returnedHash.keySet().iterator();\n\n\t\t\t\t\t\twhile (iter.hasNext()) {\n\t\t\t\t\t\t\tString bla= iter.next();\n\t\t\t\t\t\t\tresults.add((String) returnedHash.get(bla));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\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\tif (split[0].equals(strTable)) {\n\n\t\t\t\t\t\t\tObjectInputStream ois = new ObjectInputStream(\n\t\t\t\t\t\t\t\t\tnew FileInputStream(new File(strTable + \",\"\n\t\t\t\t\t\t\t\t\t\t\t+ split[1] + \".class\")));\n\t\t\t\t\t\t\tPage page = (Page) ois.readObject();\n\t\t\t\t\t\t\tois.close();\n\t\t\t\t\t\t\tArrayList<String> t = page.search(htblColNameValue,\n\t\t\t\t\t\t\t\t\tstrOperator);\n\n//\t\t\t\t\t\t\tSystem.out\n//\t\t\t\t\t\t\t\t\t.println(\"weselt le 3and page search w kharagt\");\n\t\t\t\t\t\t\t// System.out.println(t + \"T\");\n\t\t\t\t\t\t\tfor (int j = 0; j < t.size(); j++) {\n\t\t\t\t\t\t\t\tresults.add(t.get(j));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// System.out.println(results.get(results.size()-1));\n\t\t\t\t\t\t\t// hageeb esm el coloumn mn el page then ashoofo\n\t\t\t\t\t\t\t// equals el bta3a wala la2 law equal\n\t\t\t\t\t\t}\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\t\t\n\t\t}\t// System.out.println(results.size() + strTable);\n\n\t\t}\n\t\t\tfor (int i = 0; i < results.size(); i++)\n\t\t\t\tSystem.out.println(results.remove());\n\n\t\t\tIterator<String> it = new Iterator<String>() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic String next() {\n\t\t\t\t\treturn results.poll();\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic boolean hasNext() {\n\t\t\t\t\treturn !results.isEmpty();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\treturn it;\n\n\t\t}", "title": "" }, { "docid": "0b376ad43b5f36de5f516d6af02ef4eb", "score": "0.5234909", "text": "@Test\n public void testTable() throws DatabaseException {\n Session session = db.createSession();\n Table table = session.createTable(\"ken\", \"sSbiIldaA\");\n\n // test insert\n Row row = table.allocateRow();\n Row row2 = table.allocateRow();\n\n row.setString(0, \"hello\");\n row.setString(1, \" world!\");\n row.setByte(2, Byte.MAX_VALUE);\n row.setShort(3, Short.MAX_VALUE);\n row.setInt(4, Integer.MAX_VALUE);\n row.setLong(5, Long.MAX_VALUE);\n row.setDouble(6, Double.MAX_VALUE);\n row.setBytes(7, new byte[]{(byte) 1, (byte) 2, (byte) 3});\n row.setBytes(8, new byte[]{(byte) 4, (byte) 5, (byte) 6, (byte) 7,\n (byte) 8, (byte) 9});\n\n RID rowid = table.insert(row);\n\n table.fetch(rowid, row2);\n Assert.assertTrue(row.equals(row2));\n\n // test update\n row.setString(0, \"xxxxxxxxxxxxxxxxxx\");\n row.setString(1, \"yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy\");\n row.setByte(2, (byte) 2);\n row.setShort(3, (short) 3);\n row.setInt(4, 4);\n row.setLong(5, 5);\n row.setDouble(6, 6);\n row.setBytes(7, new byte[]{(byte) 7});\n row.setBytes(8, new byte[]{(byte) 8});\n\n table.update(rowid, row);\n\n table.fetch(rowid, row2);\n Assert.assertTrue(row.equals(row2));\n\n // test delete\n table.remove(rowid);\n\n Assert.assertFalse(table.fetch(rowid, row2));\n Assert.assertTrue(row.equals(row2));\n }", "title": "" }, { "docid": "b4672b3b8d2e1a351e389ab3189a86fc", "score": "0.52230525", "text": "public static void main(String[] args) {\n\t\tHashMap<String, String> hm = new HashMap<>();\r\n\t\t//Inserts values.\r\n\t\thm.put(\"Category2\",\"Value1\");\r\n\t\thm.put(\"Category2\",\"Value2\");\r\n\t\thm.put(\"Category1\",\"Value3\");\r\n\t\thm.put(\"Category3\",\"Value4\");\r\n\t\thm.put(\"Category2\",\"Value7\");\r\n\t\t\r\n\t\t//Uses HashMap interface for deduplication of categories. Does not Sort\r\n\t\tSystem.out.printf(\"Uses HashMap interface for deduplication of categories. Does not Sort%n\");\r\n\t\tSet<String> hmKeys = hm.keySet();\r\n\t\tfor (String key : hmKeys) {\r\n\t\t\tSystem.out.println(key + \" = \" + hm.get(key));\r\n\t\t}\r\n\t\t\r\n\t\t//Creates new object and assigns it to a variable.\r\n\t\tTreeMap<String, String> tm = new TreeMap<>();\r\n\t\t//Inserts values.\r\n\t\ttm.put(\"Category2\",\"Value1\");\r\n\t\ttm.put(\"Category2\",\"Value2\");\r\n\t\ttm.put(\"Category1\",\"Value3\");\r\n\t\ttm.put(\"Category3\",\"Value4\");\r\n\t\ttm.put(\"Category2\",\"Value7\");\r\n\t\t\r\n\t\t//Uses TreeMap interface for sorting and deduplication of categories.\r\n\t\tSystem.out.printf(\"%nUses TreeMap interface for sorting and deduplication of categories.%n\");\r\n\t\tSet<String> tmKeys = tm.keySet();\r\n\t\tfor (String key : tmKeys) {\r\n\t\t\tSystem.out.println(key+ \" = \" + tm.get(key));\r\n\t\t}\r\n\t\t\r\n\t\t//Creates new object and assigns it to a variable.\r\n\t\tHashtable<String, String> ht = new Hashtable<>();\r\n\t\t//Inserts values.\r\n\t\tht.put(\"Category2\",\"Value1\");\r\n\t\tht.put(\"Category2\",\"Value2\");\r\n\t\tht.put(\"Category1\",\"Value3\");\r\n\t\tht.put(\"Category3\",\"Value4\");\r\n\t\tht.put(\"Category2\",\"Value7\");\r\n\t\t\r\n\t\t//Uses HashTable interface for deduplication of categories. Does not Sort\r\n\t\tSystem.out.printf(\"%nUses HashTable interface for deduplication of categories. Does not Sort%n\");\r\n\t\tSet<String> keys2 = ht.keySet();\r\n\t\tfor (String key : keys2) {\r\n\t\t\tSystem.out.println(key + \" = \" + ht.get(key));\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "f0220a8a92e5d9af5cfa69fa9adb36c3", "score": "0.52140087", "text": "public String _put(String _key,Object _value) throws Exception{\n_sql1.ExecNonQuery2(\"INSERT OR REPLACE INTO main VALUES(?, ?)\",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_key),(Object)(_ser.ConvertObjectToBytes(_value))}));\n //BA.debugLineNum = 19;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "a5ce4c3f1fe75975911ebb5e9da10efd", "score": "0.52120185", "text": "@Test\r\n\tpublic void testSearchEmpHobbyStringShort() throws Exception\r\n\t{\n\t\tps = dbCon.prepareStatement(\"insert into Hobby values (null,'eeee')\");\r\n\t\tps.executeUpdate();\r\n\t\tps = dbCon.prepareStatement (\"select hobbyID from hobby where hobbyDescription = 'eeee'\");\r\n\t\tResultSet rs = ps.executeQuery();\r\n\t\twhile(rs.next())\r\n\t\t{\r\n\t\t\ttempHobbyId = rs.getShort(\"hobbyID\");\r\n\t\t}\r\n\t\tps = dbCon.prepareStatement(\"insert into EmployeeHobby values (null, ?, ?) \");\r\n\t\tps.setString(1, \"eeee\");\r\n\t\tps.setShort (2, tempHobbyId);\r\n\t\tps.executeUpdate();\r\n\t\t\r\n\t\t\r\n\t\tPreparedStatement ps = null;\r\n\t\tps = dbCon.prepareStatement(\"select id from employeeHobby where employeeId=? and hobbyId=?\");\r\n\t\tps.setString(1, \"eeee\");\r\n\t\tps.setShort(2, tempHobbyId);\r\n\t\tResultSet rs1 = ps.executeQuery();\r\n\t\tint resultCount = 0;\r\n\t\tif (rs1.next()) \r\n\t\t{\r\n\t\t\tresultCount++;\r\n\t\t}\r\n\t\tassertTrue(resultCount>0);\r\n\t\t\r\n// delete records from Hobby and employeeHobby \t\t\r\n\t\tps = dbCon.prepareStatement(\"delete from Hobby where (hobbyID = 'eeee')\");\r\n\t\tps.executeUpdate();\t\r\n\t\tps = dbCon.prepareStatement(\"delete from employeeHobby where employeeID = 'eeee'\");\r\n\t\tps.executeUpdate();\t\r\n\t}", "title": "" }, { "docid": "9534f0c83fc518b0671b0f2d1cd66f86", "score": "0.51749206", "text": "public static String printPageDataId(VariablesSecureApp vars, DataGrid gridstruct,HttpSecureAppServlet servlet,HttpServletResponse response, String windowname,String strOffset,\n FieldProvider[] data) throws IOException, ServletException {\n \n int minOffset = new Integer(vars.getStringParameter(\"minOffset\")).intValue();\n int maxOffset = new Integer(vars.getStringParameter(\"maxOffset\")).intValue();\n String type = \"Hidden\";\n String title = \"\";\n String description = \"\";\n\n // get current page\n final DecimalFormat df = Utility.getFormat(vars, \"priceEdition\");\n final DecimalFormat qdf = Utility.getFormat(vars, \"qtyEdition\");\n int page = TableSQLData.calcAndGetBackendPage(vars, windowname + \".currentPage\");\n minOffset = (page * TableSQLData.maxRowsPerGridPage) + minOffset;\n maxOffset = (page * TableSQLData.maxRowsPerGridPage) + maxOffset;\n\n \n StringBuffer strRowsData = new StringBuffer();\n strRowsData.append(\"<xml-rangeid>\\n\");\n strRowsData.append(\" <status>\\n\");\n strRowsData.append(\" <type>\").append(type).append(\"</type>\\n\");\n strRowsData.append(\" <title>\").append(title).append(\"</title>\\n\");\n strRowsData.append(\" <description>\").append(description).append(\"</description>\\n\");\n strRowsData.append(\" </status>\\n\");\n strRowsData.append(\"<ids> \\n\");\n for (int i = 0; i < data.length; i++) {\n if (i>=minOffset && i<=maxOffset) {\n strRowsData.append(\"<id>\");\n strRowsData.append(data[i].getField(gridstruct.keycolumname)).append(\"#\");\n strRowsData.append(data[i].getField(\"name\")).append(\"#\");\n if (gridstruct.rowKeys!=null){\n for (int l = 0; l < gridstruct.rowKeys.length; l++) {\n if (gridstruct.rowKeys[l].getDatatype().equals(\"DECIMAL\"))\n strRowsData.append(qdf.format(new BigDecimal(data[i].getField(gridstruct.rowKeys[l].name)))).append(\"#\");\n else \n if (gridstruct.rowKeys[l].getDatatype().equals(\"PRICE\")) \n strRowsData.append(df.format(new BigDecimal(data[i].getField(gridstruct.rowKeys[l].name)))).append(\"#\");\n else \n strRowsData.append(data[i].getField(gridstruct.rowKeys[l].name)).append(\"#\");\n }\n } \n strRowsData.append(\"</id> \\n\");\n }\n }\n strRowsData.append(\"</ids> \\n\"); \n strRowsData.append(\"</xml-rangeid>\\n\");\n \n\n \n return Replace.replace(strRowsData.toString(),\"&\",\"&#252;\");\n }", "title": "" }, { "docid": "59916f5ccf87ad32bf752ed4a7fc2070", "score": "0.5171201", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException, SQLException {\n \n response.setContentType(\"text/html;charset=UTF-8\");\n PrintWriter out = response.getWriter();\n \n \n dbConnect conn= new dbConnect();\n String UniqueID=\"\";\n \n String del=\" select * from todelete \";\n conn.rs7=conn.state7.executeQuery(del);\n int cnt=0;\n while(conn.rs7.next()){\n cnt++;\n UniqueID=conn.rs7.getString(1);\n //get the unique ids that should be deleted\n System.out.println(cnt+\"__ Delete Id \"+conn.rs7.getString(1));\n \n \n String query = \"delete from enrollment where UniqueID='\"+UniqueID+\"'\";\n String childage = \"delete from childage where UniqueID='\"+UniqueID+\"'\";\n String clientoparea = \"delete from clientoparea where UniqueID='\"+UniqueID+\"'\";\n String clientoccupation = \"delete from clientoccupation where UniqueID='\"+UniqueID+\"'\";\n String medical = \"delete from medical_form where unique_identifier='\"+UniqueID+\"'\";\n \n \nString selectRA=\"select * from riskreductionmain where UniqueID ='\"+UniqueID+\"'\";\nconn.rs2 = conn.state2.executeQuery(selectRA);\nwhile(conn.rs2.next()){\n String riskreductiondet = \"delete from riskreductiondetails where RiskReductionID='\"+conn.rs2.getString(\"RiskReductionID\") +\"' \"; \n conn.state.executeUpdate(riskreductiondet);\n\n}\nString selectRR=\"select * from riskassessmentmain where UniqueID ='\"+UniqueID+\"'\";\nconn.rs3 = conn.state3.executeQuery(selectRR);\nwhile(conn.rs3.next()){\n String riskreductionasse = \"delete from riskassessmentdetails where AssessmentID='\"+conn.rs3.getString(\"AssessmentID\") +\"' \"; \n conn.state.executeUpdate(riskreductionasse);\n\n}\n\n String riskreductionmain = \"delete from riskreductionmain where UniqueID='\"+UniqueID+\"' \";\n String riskassessmentmain = \"delete from riskassessmentmain where UniqueID='\"+UniqueID+\"' \";\n \n\nconn.state.executeUpdate(query);\nconn.state.executeUpdate(riskreductionmain);\nconn.state.executeUpdate(riskassessmentmain);\nconn.state.executeUpdate(childage);\nconn.state.executeUpdate(clientoparea);\nconn.state.executeUpdate(clientoccupation);\nconn.state.executeUpdate(medical);\n\n \n \n \n \n } \n }", "title": "" }, { "docid": "08370a05b0799faff33a638ea578a663", "score": "0.51678157", "text": "public String _createtable() throws Exception{\n_sql1.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS main(key TEXT PRIMARY KEY, value NONE)\");\n //BA.debugLineNum = 176;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "b6c9fa87476f50ab76ad2d27e079c05b", "score": "0.5159215", "text": "private void hashMapvsTable() throws InterruptedException {\n\t\tHashMap hashmap1 = new HashMap<>();\r\n\t\thashmap1.put(\"1\", \"One\");\r\n\t\thashmap1.put(\"2\", \"Two\");\r\n\t\thashmap1.put(\"3\", \"Thre\");\r\n\t\thashmap1.put(\"4\", \"Four\");\r\n\t\thashmap1.entrySet();\r\n\r\n\t\tHashtable<String, String> hashTable2 = new Hashtable<>();\r\n\t\thashTable2.put(\"5\", \"Five\");\r\n\t\thashTable2.put(\"6\", \"Six\");\r\n\t\thashTable2.put(\"7\", \"Seven\");\r\n\t\thashTable2.put(\"8\", \"Eight\");\r\n\r\n\t\tMap<Integer, Integer> myMap = new HashMap();\r\n\t\tList<Thread> listOfThreads = new ArrayList<>();\r\n\r\n\t\tRandom rand = new Random();\r\n\r\n\t\t// Create 10 Threads\r\n\t\tfor (int i = 0; i < 10; i++) {\r\n\t\t\tThread thread = new Thread(() -> {\r\n\r\n\t\t\t\t// Let Each thread insert 3000 Items\r\n\t\t\t\tfor (int j = 0; j < 3000; j++) {\r\n\t\t\t\t\tmyMap.put(counter++, j);\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tThread.sleep(40);\r\n\t\t\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t});\r\n\t\t\tthread.start();\r\n\t\t\tlistOfThreads.add(thread);\r\n\t\t}\r\n\r\n\t\tList<Thread> listOfThreads2 = new ArrayList<>();\r\n\t\tfor (int i = 0; i < 10; i++) {\r\n\t\t\tThread thread = new Thread(() -> {\r\n\r\n\t\t\t\t// Let Each thread insert 3000 Items\r\n\t\t\t\tfor (int j = 0; j < 3000; j++) {\r\n\t\t\t\t\tmyMap.remove(--counter);\r\n\t\t\t\t}\r\n\r\n\t\t\t});\r\n\t\t\tthread.start();\r\n\t\t\tlistOfThreads2.add(thread);\r\n\t\t}\r\n\t\tfor (int i = 0; i < 10; i++) {\r\n\t\t\tlistOfThreads.get(i).join();\r\n\t\t\tlistOfThreads2.get(i).join();\r\n\t\t}\r\n\r\n\t\tSystem.out.println(\"Count should be 30000, actual is : \" + myMap.size());\r\n\t}", "title": "" }, { "docid": "48c2767d911ac9504cac9272fd9a7de0", "score": "0.51370364", "text": "@Test(timeout = 4000)\n public void test126() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Submit submit0 = new Submit(errorPage0, (String) null, (String) null);\n Table table0 = new Table(submit0, (String) null);\n table0.ins((Object) submit0);\n assertEquals(\"Table_1\", table0.getComponentId());\n \n table0.id((String) null);\n assertFalse(table0._isGeneratedId());\n }", "title": "" }, { "docid": "4a82ceebb30e32d16eda3cab1eb7206e", "score": "0.51301545", "text": "@Override\n public\n int hashCode()\n {\n // some code goes here\n// throw new UnsupportedOperationException(\"implement this\");\n int hash = 17;\n hash = 31*hash + tuple_no;\n hash = 31*hash + page_id.hashCode();\n return hash;\n }", "title": "" }, { "docid": "9dfdafbff3fbe6a4371db73e2049be92", "score": "0.51287985", "text": "@Test\n public void test008_insert_and_remove_and_getLoadFactorThreshold()\n throws IllegalNullKeyException, DuplicateKeyException, KeyNotFoundException {\n bookObject.insert(bookTable.get(0).getKey(), bookTable.get(0));\n bookObject.insert(bookTable.get(1).getKey(), bookTable.get(1));\n bookObject.insert(bookTable.get(2).getKey(), bookTable.get(2));\n bookObject.insert(bookTable.get(3).getKey(), bookTable.get(3));\n bookObject.insert(bookTable.get(4).getKey(), bookTable.get(4));\n bookObject.insert(bookTable.get(5).getKey(), bookTable.get(5));\n bookObject.insert(bookTable.get(6).getKey(), bookTable.get(6));\n bookObject.insert(bookTable.get(7).getKey(), bookTable.get(7));\n bookObject.insert(bookTable.get(8).getKey(), bookTable.get(8));\n bookObject.insert(bookTable.get(9).getKey(), bookTable.get(9));\n bookObject.insert(bookTable.get(10).getKey(), bookTable.get(10));\n\n bookObject.remove(bookTable.get(0).getKey());\n bookObject.remove(bookTable.get(1).getKey());\n bookObject.remove(bookTable.get(2).getKey());\n bookObject.remove(bookTable.get(3).getKey());\n bookObject.remove(bookTable.get(4).getKey());\n bookObject.remove(bookTable.get(5).getKey());\n bookObject.remove(bookTable.get(6).getKey());\n bookObject.remove(bookTable.get(7).getKey());\n bookObject.remove(bookTable.get(8).getKey());\n bookObject.remove(bookTable.get(9).getKey());\n bookObject.remove(bookTable.get(10).getKey());\n\n if (bookObject.numKeys() != 0) {\n fail(\"numKeys should have been 0 but was actually: \" + bookObject.numKeys());\n }\n\n if (!(bookObject.getLoadFactorThreshold() - 0.49 < 0.001)) {\n fail(\"The initial load factor threshold was not set correctly\");\n }\n }", "title": "" }, { "docid": "6e055b72a81453ff4c0b47cafcc9697a", "score": "0.51263803", "text": "public ArrayList<Page> insertTuple(TransactionId tid, Tuple t)\n throws DbException, IOException, TransactionAbortedException {\n // some code goes here\n HeapPageId pid = getFreePage(tid).getId();\n HeapPage page = (HeapPage)Database\n .getBufferPool()\n .getPage(tid, pid,Permissions.READ_WRITE);\n\n page.insertTuple(t);\n ArrayList<Page> arrayList = new ArrayList<>();\n arrayList.add(page);\n return arrayList;\n // not necessary for proj1\n }", "title": "" }, { "docid": "7036e8d88749468549f1f26572d79eaa", "score": "0.512318", "text": "@Test\n\tpublic void test_hash_table() {\n\t\tMap<Integer, Integer> table = new Hashtable<>();\n\t\ttable.put(1, 2);\n\t\ttable.put(null, 1);\n\t}", "title": "" }, { "docid": "d0e333f5f823a0f3dc900e773dadd560", "score": "0.51229537", "text": "public ArrayList<Page> insertTuple(TransactionId tid, Tuple t)\n throws DbException, IOException, TransactionAbortedException {\n \n ArrayList<Page> pages = new ArrayList<Page>();\n \n for (int i = 0; ; i++) {\n HeapPageId pid = new HeapPageId(getId(), i);\n // acquire READ_ONLY lock first\n HeapPage page = (HeapPage) Database.getBufferPool().getPage(tid,\n pid, Permissions.READ_ONLY);\n if (page.getNumEmptySlots() == 0) {\n Database.getBufferPool().releasePage(tid, pid);\n continue;\n }\n \n synchronized (Database.getBufferPool()) {\n page = (HeapPage) Database.getBufferPool().getPage(tid,\n pid, Permissions.READ_WRITE);\n // Must first inform buffer pool that the page will be modified to avoid being evicted\n Database.getBufferPool().markDirty(pid);\n }\n \n page.markDirty(true, tid);\n page.insertTuple(t);\n pages.add(page);\n \n if (i == numPages()) {\n incrementNumPages();\n }\n \n return pages;\n }\n }", "title": "" }, { "docid": "cc114fba47fd118a459af07e24d662a0", "score": "0.51160276", "text": "public String _deleteall() throws Exception{\n_sql1.ExecNonQuery(\"DROP TABLE main\");\n //BA.debugLineNum = 163;BA.debugLine=\"CreateTable\";\n_createtable();\n //BA.debugLineNum = 164;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "21382704c7f29ecfab280f9657c906ee", "score": "0.5112177", "text": "@Test \r\n public void test004_insert_remove_many() throws IllegalNullKeyException, DuplicateKeyException {\r\n \tboolean TorF = false;\r\n \t\r\n \tbookObject.insert(bookTable.get(0).getKey(),bookTable.get(0)); //inserts \r\n \tbookObject.insert(bookTable.get(1).getKey(),bookTable.get(1));\r\n \tbookObject.insert(bookTable.get(2).getKey(),bookTable.get(2));\r\n \tbookObject.insert(bookTable.get(3).getKey(),bookTable.get(3));\r\n \tbookObject.insert(bookTable.get(4).getKey(),bookTable.get(4));\r\n \tbookObject.insert(bookTable.get(5).getKey(),bookTable.get(5));\r\n \tbookObject.remove(bookTable.get(3).getKey()); //removes \r\n \tbookObject.remove(bookTable.get(2).getKey());\r\n \tbookObject.remove(bookTable.get(1).getKey());\r\n \tbookObject.remove(bookTable.get(4).getKey());\r\n \tbookObject.remove(bookTable.get(5).getKey());\r\n \t\r\n \tif(bookObject.numKeys() == 0) { //checks if all of the values were removed. \r\n \t\tTorF = true;\r\n \t}\r\n \t\r\n \tif(TorF = false) {\r\n \t\tfail(\"If test worked, TorF should have returned true, but false.\");\r\n \t}\r\n \t\r\n \t\r\n }", "title": "" }, { "docid": "c7c4338218884c82b459dd9474416ca8", "score": "0.51075363", "text": "public void run() throws IOException {\r\n\t\tResultSet rs = null; \r\n\r\n\t\t\r\n\t\tFile fout1 = new File(\"C:\\\\Users\\\\mouna\\\\dumps\\\\logs\\\\GeneralizationComparisonJHotDrawTableAtLeast2.txt\");\r\n\t\tFileOutputStream fos1 = new FileOutputStream(fout1);\r\n\t\tBufferedWriter bwfile1 = new BufferedWriter(new OutputStreamWriter(fos1));\r\n\t\t\r\n\t\t\r\n\t\tFile fout2 = new File(\"C:\\\\Users\\\\mouna\\\\dumps\\\\logs\\\\GeneralizationComparisonJHotDrawTableAtLeast3.txt\");\r\n\t\tFileOutputStream fos2 = new FileOutputStream(fout2);\r\n\t\tBufferedWriter bwfile2 = new BufferedWriter(new OutputStreamWriter(fos2));\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t// Connect to MySQL\r\n\t\tConnection conn = null;\r\n\t\ttry {\r\n\t\t\tconn = getConnection();\r\n\t\t\tSystem.out.println(\"Connected to database\");\r\n\t\t\t\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(\"ERROR: Could not connect to the database\");\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Create a table\r\n\t\ttry {\r\n\t\t\tList<Interface> implementationList = new ArrayList<Interface>(); \r\n\t\t\tList<SuperClass2> superclassList = new ArrayList<SuperClass2>(); \r\n\t\t\tHashMap<String, String> myhashmap= new \tHashMap<String, String>(); \r\n\t\t\tStatement st= conn.createStatement();\r\n\t\t\tint count=0; \r\n\t\t\tResultSet res2=st.executeQuery(\"SELECT *\" + \r\n\t\t\t\t\t\"\t\t\tFROM databasejhotdraw.tracesclasses\" ); \r\n\t\t\twhile(res2.next()) {\r\n\t\t\t\tString requirementid=\"\"; \r\n\t\t\t\tString classid=\"\"; \r\n\t\t\t\tString gold5=\"\"; \r\n\t\t\t\tString goldAtLeast3=\"\"; \r\n\t\t\t\tString goldAtLeast2=\"\"; \r\n\t\t\t\tString gold=\"\"; \r\n\t\t\t\trequirementid=res2.getString(\"requirementid\"); \r\n\t\t\t\tclassid=res2.getString(\"classid\"); \r\n\t\t\t\tgold5=res2.getString(\"gold5\"); \r\n\t\t\t\tgoldAtLeast3=res2.getString(\"goldAtLeast3\"); \r\n\t\t\t\tgoldAtLeast2=res2.getString(\"goldAtLeast2\"); \r\n\r\n\t\t\t\tgold=res2.getString(\"gold\"); \r\n\t\t\t\tmyhashmap.put(requirementid+\"-\"+classid, gold+\"-\"+gold5+\"-\"+goldAtLeast3+\"-\"+goldAtLeast2); \r\n\t\t\t\tSystem.out.println(count);\r\n\t\t\t\tcount++; \r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tPredictionEvaluation predMouna= new PredictionEvaluation();\r\n\t\t\tPredictionEvaluation predAlex= new PredictionEvaluation();\r\n\t\t\tbwfile1.write(\"RequirementID, ClassID,CLASS-GOLD, #methodsTotal, #methodsT, #methodsN, #methodsE, PrecisionRecall\");\r\n\t\t\tbwfile1.newLine();\r\n\t\t\tbwfile2.write(\"RequirementID, ClassID,CLASS-GOLD, #methodsTotal, #methodsT, #methodsN, #methodsE, PrecisionRecall\");\r\n\t\t\tbwfile2.newLine();\r\n\t\t\tcount=0; \r\n\t\t\tint count2=0; \r\n\r\n\t\t\tfor ( Entry<String, String>entry : myhashmap.entrySet()) {\r\n\t\t\t String key = entry.getKey();\r\n\t\t\t String value = entry.getValue();\r\n\t\t\t // now work with key and value...\r\n\t\t\t String[] keys = key.split(\"-\"); \r\n\t\t\t String[] values = value.split(\"-\"); \r\n\t\t\t\t String RequirementID= keys[0]; \r\n\t\t\t\t String classid= keys[1]; \r\n\t\t\t\t String gold= values[0]; \r\n\t\t\t\t String gold5= values[1]; \r\n\t\t\t\t String goldAtLeast3TracesClasses= values[2]; \r\n\t\t\t\t String goldAtLeast2TracesClasses= values[3]; \r\n\t\t\t\t \r\n//\t\t\t\t res2=st.executeQuery(\"SELECT COUNT(*)\" + \r\n//\t\t\t\t\t\t\t\"\t\t\tFROM databasejhotdraw.tracesclasses inner join traces where traces.requirementid='\"+RequirementID+\"'AND traces.classid='\"+classid +\"'\");\r\n//\t\t\t\t while(res2.next()) {\r\n//\t\t\t\t\t MethodsTotal= res2.getInt(1); \r\n//\t\t\t\t\t System.out.println(\"MethodsTotal\"+MethodsTotal);\r\n//\t\t\t\t }\r\n\t\t\t\t\r\n\t\t\t\tint AtLeast2TMethodTraces=0; \r\n\t\t\t\tint AtLeast2NMethodTraces=0; \r\n\t\t\t\tint AtLeast2EMethodTraces=0; \r\n\t\t\t\t int MethodsTotal=0; \r\n\t\t\t\t int MethodsTotalAtLeast3=0; \r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tint AtLeast3TMethodTraces=0; \r\n\t\t\t\tint AtLeast3NMethodTraces=0; \r\n\t\t\t\tint AtLeast3EMethodTraces=0; \r\ncount=0; \r\nres2=st.executeQuery(\"SELECT *\" + \r\n\t\t\"\t\t\tFROM databasejhotdraw.tracesclasses inner join traces where traces.requirementid='\"+RequirementID+\"'AND traces.classid='\"+classid +\r\n\t\t\"' and tracesclasses.requirementid='\"+RequirementID+\"'and tracesclasses.classid='\"+classid+\r\n\t\t\r\n\t \"'\"); \r\n\t\t\t\t while(res2.next()) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t String goldAtLeast2Traces =null; \r\n\t\t\t\t\t String goldAtLeast3Traces =null; \r\n\t\t\t\t\t goldAtLeast2Traces =res2.getString(\"goldAtLeast2\"); \r\n\t\t\t\t\t goldAtLeast3Traces =res2.getString(\"goldAtLeast3\"); \r\n\t\t\t\t\t if(goldAtLeast2Traces.trim().equals(\"T\")) {\r\n\t\t\t\t\t\t AtLeast2TMethodTraces++; \r\n\t\t\t\t\t }\r\n\t\t\t\t\t \r\n\t\t\t\t\t if(goldAtLeast2Traces.trim().equals(\"N\")) {\r\n\t\t\t\t\t\t AtLeast2NMethodTraces++; \r\n\t\t\t\t\t }\r\n\t\t\t\t\t \tif(goldAtLeast2Traces.trim().equals(\"E\")) {\r\n\t\t\t\t\t \t\tAtLeast2EMethodTraces++; \r\n\t\t\t\t\t }\r\n\t\t\t\t\t \t\r\n\t\t\t\t\t \t\r\n\t\t\t\t\t \t\r\n\t\t\t\t\t if(goldAtLeast3Traces.trim().equals(\"T\")) {\r\n\t\t\t\t\t\t\t AtLeast3TMethodTraces++; \r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t if(goldAtLeast3Traces.trim().equals(\"N\")) {\r\n\t\t\t\t\t\t\t AtLeast3NMethodTraces++; \r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t \tif(goldAtLeast3Traces.trim().equals(\"E\")) {\r\n\t\t\t\t\t\t \t\tAtLeast3EMethodTraces++; \r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t \t\r\n\t\t\t\t\t MethodsTotal= AtLeast2TMethodTraces+AtLeast2NMethodTraces+AtLeast2EMethodTraces; \r\n\t\t\t\t\t MethodsTotalAtLeast3= AtLeast3TMethodTraces+AtLeast3NMethodTraces+AtLeast3EMethodTraces; \r\n\r\n//\t\t\t\t\t\tSystem.out.println(count+\" COUNT\");\r\n\t\t\t\t\t\tcount++; \r\n\t\t\t\t }\r\n\t\t\t\t \r\n\t\t\t\t \r\n\t\t\t\t \r\n\t\t\t\t \r\n\t\t\t\tif(gold5.trim().equals(\"T\") && gold.trim().equals(\"T\")) {\r\n\t\t\t\t\tpredMouna.TruePositive++; \r\n\t\t\t\t}\r\n\t\t\t\telse if(gold5.trim().equals(\"T\") && gold.trim().equals(\"N\")) {\r\n\t\t\t\t\tpredMouna.FalsePositive++; \r\n\t\t\t\t}\r\n\t\t\t\tif(gold5.trim().equals(\"N\") && gold.trim().equals(\"N\")) {\r\n\t\t\t\t\tpredMouna.TrueNegative++; \r\n\t\t\t\t}\r\n\t\t\t\telse if(gold5.trim().equals(\"N\") && gold.trim().equals(\"T\")) {\r\n\t\t\t\t\tpredMouna.FalseNegative++; \r\n\t\t\t\t}\r\n\t\t\t\telse if(gold5.trim().equals(\"E\") || gold.trim().equals(\"E\")) {\r\n\t\t\t\t\tpredMouna.E++; \r\n\t\t\t\t}\r\n\t\t\t\t \r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tString PrecisionRecall=null; \r\n\t\t\t\t\r\n\t\t\t\tif(goldAtLeast2TracesClasses.trim().equals(\"T\") && gold.trim().equals(\"T\")) {\r\n\t\t\t\t\tpredAlex.TruePositive++;\r\n\t\t\t\t\tPrecisionRecall=\"TP\"; \r\n\t\t\t\t}\r\n\t\t\t\telse if(goldAtLeast2TracesClasses.trim().equals(\"T\") && gold.trim().equals(\"N\")) {\r\n\t\t\t\t\tpredAlex.FalsePositive++; \r\n\t\t\t\t\tPrecisionRecall=\"FP\"; \r\n\t\t\t\t}\r\n\t\t\t\tif(goldAtLeast2TracesClasses.trim().equals(\"N\") && gold.trim().equals(\"N\")) {\r\n\t\t\t\t\tpredAlex.TrueNegative++; \r\n\t\t\t\t\tPrecisionRecall=\"TN\"; \r\n\t\t\t\t}\r\n\t\t\t\telse if(goldAtLeast2TracesClasses.trim().equals(\"N\") && gold.trim().equals(\"T\")) {\r\n\t\t\t\t\tpredAlex.FalseNegative++; \r\n\t\t\t\t\tPrecisionRecall=\"FN\"; \r\n\t\t\t\t}\r\n\t\t\t\telse if(goldAtLeast2TracesClasses.trim().equals(\"E\") || gold.trim().equals(\"E\")) {\r\n\t\t\t\t\tpredAlex.E++; \r\n\t\t\t\t\tPrecisionRecall=\"E\"; \r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tString PrecisionRecallAtLeast3=null; \r\n\t\t\t\t\r\n\t\t\t\tif(goldAtLeast3TracesClasses.trim().equals(\"T\") && gold.trim().equals(\"T\")) {\r\n\t\t\t\t\tpredAlex.TruePositive++;\r\n\t\t\t\t\tPrecisionRecallAtLeast3=\"TP\"; \r\n\t\t\t\t}\r\n\t\t\t\telse if(goldAtLeast3TracesClasses.trim().equals(\"T\") && gold.trim().equals(\"N\")) {\r\n\t\t\t\t\tpredAlex.FalsePositive++; \r\n\t\t\t\t\tPrecisionRecallAtLeast3=\"FP\"; \r\n\t\t\t\t}\r\n\t\t\t\tif(goldAtLeast3TracesClasses.trim().equals(\"N\") && gold.trim().equals(\"N\")) {\r\n\t\t\t\t\tpredAlex.TrueNegative++; \r\n\t\t\t\t\tPrecisionRecallAtLeast3=\"TN\"; \r\n\t\t\t\t}\r\n\t\t\t\telse if(goldAtLeast3TracesClasses.trim().equals(\"N\") && gold.trim().equals(\"T\")) {\r\n\t\t\t\t\tpredAlex.FalseNegative++; \r\n\t\t\t\t\tPrecisionRecallAtLeast3=\"FN\"; \r\n\t\t\t\t}\r\n\t\t\t\telse if(goldAtLeast3TracesClasses.trim().equals(\"E\") || gold.trim().equals(\"E\")) {\r\n\t\t\t\t\tpredAlex.E++; \r\n\t\t\t\t\tPrecisionRecallAtLeast3=\"E\"; \r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t bwfile1.write(RequirementID+\",\"+classid+\",\"+goldAtLeast2TracesClasses+\",\"+MethodsTotal+\",\"+AtLeast2TMethodTraces+\",\"+\r\n\t\t\t\t\t\t AtLeast2NMethodTraces+\",\"+AtLeast2EMethodTraces+\",\"+PrecisionRecall);\r\n\t\t\t\t bwfile1.newLine();\r\n\t\t\t\t \r\n\t\t\t\t \r\n\t\t\t\t \r\n\t\t\t\t bwfile2.write(RequirementID+\",\"+classid+\",\"+goldAtLeast3TracesClasses+\",\"+MethodsTotalAtLeast3+\",\"+AtLeast3TMethodTraces+\",\"+\r\n\t\t\t\t\t\t AtLeast3NMethodTraces+\",\"+AtLeast3EMethodTraces+\",\"+PrecisionRecallAtLeast3);\r\n\t\t\t\t bwfile2.newLine();\r\n\t\t\t\t \r\n\t\t\t\t \r\n\t\t\t\t \r\n\t\t\t\tSystem.out.println(\"count2 \"+count2);\r\n\t\t\t\tcount2++; \r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tint TotalAlex=predAlex.E+predAlex.TruePositive+predAlex.TrueNegative+predAlex.FalsePositive+predAlex.FalseNegative; \r\n\t\t\tint TotalMouna=predMouna.E+predMouna.TruePositive+predMouna.TrueNegative+predMouna.FalsePositive+predMouna.FalseNegative; \r\n\t\t\tSystem.out.println(\"Alex ======\"+predAlex.toString2()+ \" TOTAL \"+TotalAlex);\r\n\t\t\tSystem.out.println(\"Mouna ======\"+predMouna.toString2()+ \" TOTAL \"+TotalMouna);\r\n\t\t\tSystem.out.println(\"finished\");\r\n\t\t\tbwfile1.close();\r\n\t\t\tbwfile2.close();\r\n\t } catch (SQLException e) {\r\n\t\t\tSystem.out.println(\"ERROR: Could not create the table\");\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "b647da60a80d9d554204484383710e81", "score": "0.51027864", "text": "@Override\n\tpublic void deleteFile(String name,Hashtable<String,Poster> table) {\n\t\tint serial = 0;\n\t\tSessionFactory factory = HibernateSessionFactory.getInstance();\n\t\tSession session1 = factory.openSession();\n\t\tsession1.beginTransaction();\n\t\tQuery query = session1.createQuery(\"from FileMaster where name= :word \");\n\t\tquery.setParameter(\"word\", name);\n\t\tList<FileMaster> list = (List<FileMaster>) query.list();\n\t\tfor(int i=0;i<list.size();i++) {\n\t\t\tserial = list.get(i).getSerial();}\n\t\tSession session = factory.openSession();\n\t\tsession.beginTransaction();\n\t\tquery = session.createQuery(\"delete Indexer as indx where indx.file.serial= :ser\");\n\t\tquery.setParameter(\"ser\", serial);\n\t\tint result = query.executeUpdate();\n\t\tsession.getTransaction().commit();\n\t\tsession = factory.openSession();\n\t\tsession.beginTransaction();\n\t\tquery = session.createQuery(\"delete FileMaster where name= :word\");\n\t\tquery.setParameter(\"word\", name);\n\t\tresult = query.executeUpdate();\n\t\tsession.getTransaction().commit();\n\t\tSet<String> e =table.keySet();\n\t\tfor(String key : e)\n\t\t{\n\t\t\tPoster p = table.get(key);\n\t\t\tfor(int j=0; j<p.files.size();j++) \n\t\t\t{\n\t\t\t\tFileMaster fm=(FileMaster) p.files.get(j);\n\t\t\t\tif(fm!=null) \n\t\t\t\t{\n\t\t\t\t\t//System.out.println(\"Name in list:\" + fm.getName());\n\t\t\t\t\t//System.out.println(\"Want to delete:\" + name);\n\t\t\t\t\tname = name.toLowerCase();\n\t\t\t\t\tif(name.equals(fm.getName().toLowerCase())) \n\t\t\t\t\t{\n\t\t\t\t\t\tp.files.remove(j);\n\t\t\t\t\t\tp.counter--;\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\n\t}", "title": "" }, { "docid": "a04b80be6420ca5e9ab5c459caf46f69", "score": "0.510232", "text": "public void _copyToEJB(java.util.Hashtable h) {\n java.lang.Integer localCreatedby = (java.lang.Integer) h.get(\"createdby\");\n Integer localStorageplace = (Integer) h.get(\"storageplace\");\n java.lang.String localAddress = (java.lang.String) h.get(\"address\");\n java.sql.Date localClosedate = (java.sql.Date) h.get(\"closedate\");\n java.sql.Timestamp localCreated = (java.sql.Timestamp) h.get(\"created\");\n java.lang.String localInternalphone = (java.lang.String) h.get(\"internalphone\");\n java.lang.Integer localModifiedby = (java.lang.Integer) h.get(\"modifiedby\");\n java.lang.Integer localOperator = (java.lang.Integer) h.get(\"operator\");\n Integer localRegionid = (Integer) h.get(\"regionid\");\n java.sql.Timestamp localModified = (java.sql.Timestamp) h.get(\"modified\");\n java.lang.String localName = (java.lang.String) h.get(\"name\");\n java.lang.String localPstnphone = (java.lang.String) h.get(\"pstnphone\");\n\n if ( h.containsKey(\"createdby\") )\n setCreatedby((localCreatedby));\n if ( h.containsKey(\"storageplace\") )\n setStorageplace((localStorageplace).intValue());\n if ( h.containsKey(\"address\") )\n setAddress((localAddress));\n if ( h.containsKey(\"closedate\") )\n setClosedate((localClosedate));\n if ( h.containsKey(\"created\") )\n setCreated((localCreated));\n if ( h.containsKey(\"internalphone\") )\n setInternalphone((localInternalphone));\n if ( h.containsKey(\"modifiedby\") )\n setModifiedby((localModifiedby));\n if ( h.containsKey(\"operator\") )\n setOperator((localOperator));\n if ( h.containsKey(\"regionid\") )\n setRegionid((localRegionid).intValue());\n if ( h.containsKey(\"modified\") )\n setModified((localModified));\n if ( h.containsKey(\"name\") )\n setName((localName));\n if ( h.containsKey(\"pstnphone\") )\n setPstnphone((localPstnphone));\n\n}", "title": "" }, { "docid": "07f1633c7b8ca956f328692ceac4475a", "score": "0.51016855", "text": "@Test\n\tpublic void testHashTable() {\n\t\tHashTable<String> ht = new HashTable<String>();\n\t\tassertEquals(0, ht.size());\n\t\tassertEquals(0, ht.getSize());\n\t\tassertEquals(200, ht.getHashTableLength());\n\t\t\n\t\tht.setSize(1);\n\t\tassertEquals(1, ht.size());\n\t\tassertEquals(1, ht.getSize());\n\t\t\n\t\tht.setSize(0);\n\t\tassertEquals(0, ht.size());\n\t\tassertEquals(0, ht.getSize());\n\t\t\n\t\tString sa = \"sanchit\";\n\t\tString bo = \"bodhit\";\n\t\tString su = \"surag\";\n\t\tString av = \"avani\";\n\t\t\n\t\tht.insert(sa);\n\t\tht.insert(bo);\n\t\tht.insert(su);\n\t\tht.insert(av);\n\t\t\n\t\tassertEquals(4, ht.getSize());\n\t\tassertEquals(\"sanchit\", ht.lookUp(sa));\n\t\t\n\t\tHashTable<String> h = new HashTable<String>(1);\n\t\th.insert(sa);\n\t\th.insert(bo);\n\t\t\n\t\tassertEquals(2, h.getSize());\n\t\tassertEquals(\"sanchit\", h.lookUp(sa));\n\t}", "title": "" }, { "docid": "f91bc9cfc2016123544d82b10969fc50", "score": "0.510156", "text": "@Test\r\n\tvoid testBALST_021_test_numKeys_with_insert_and_remove() {\r\n\t\ttry {\r\n\r\n\t\t\tfor (int i = 0; i < 40; i++) {\r\n\t\t\t\tbalst2.insert(i, \"i\");\r\n\t\t\t}\r\n\t\t\tif (balst2.numKeys() != 40) {\r\n\t\t\t\tfail(\"numKeys did not increment properly\");\r\n\t\t\t}\r\n\r\n\t\t\tfor (int i = 0; i < 40; i++) {\r\n\t\t\t\tbalst2.remove(i);\r\n\t\t\t}\r\n\t\t\tif (balst2.numKeys() != 0) {\r\n\t\t\t\tfail(\"numKeys did not decrement properly\");\r\n\t\t\t}\r\n\t\t} catch (IllegalNullKeyException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tfail(\"Unexpected exception AVL 000: \" + e.getMessage());\r\n\t\t} catch (DuplicateKeyException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tfail(\"Unexpected exception AVL 000: \" + e.getMessage());\r\n\t\t} catch (KeyNotFoundException 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": "673f430f8db824328b6eff3f717ad921", "score": "0.50944406", "text": "public static void main(String[] args) throws Exception{\r\n Map table = new Hashtable();\r\n table.put(null,1);\r\n }", "title": "" }, { "docid": "4a267cee5081bd5e20693484413028ff", "score": "0.50932986", "text": "public static void main(String[] args) throws SQLException, InterruptedException, IOException {\n\t\t \r\n\t\tStatement stmt = null;\r\n\t\tResultSet rset = null;\r\n\r\n\t\tConnection con = DriverManager.getConnection(\"jdbc:phoenix:hadoop1:2181\");\r\n\t\tstmt = con.createStatement();\r\n\t\t//stmt.executeUpdate(\"DROP TABLE TEST\");\r\n\t\tint regionNum =new RegionSpiltNum(8).regionNum();\r\n\t\t//stmt.executeUpdate(\"create table IF NOT EXISTS TEST (mykey varchar not null primary key, mycolumn varchar) SALT_BUCKETS =\"+regionNum+\"\");\r\n\r\n\t\tchar[] A_z = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S',\r\n\t\t\t\t'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',\r\n\t\t\t\t'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };\r\n\t\tRandom r = new Random();\r\n\r\n//\t\tfor (int i = 0; i < 10; i++) {\r\n//\t\t\tString rowkey = MD5Hash.getMD5AsHex(Bytes.toBytes(A_z[r.nextInt(A_z.length)])).substring(0, 8)+\"-\"+ String.valueOf(i);\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(rowkey);\r\n//\t\t\tint calchash = hash(Bytes.toBytes(rowkey), 1, rowkey.length()-1);\r\n//\t\t\tbyte region_Loaction =(byte) Math.abs(calchash%regionNum);\r\n//\t\t\t\r\n//\t\t\t\r\n//\t\t\tSystem.out.println(region_Loaction);\r\n//\t\t\t\r\n//\t\t\tstmt.executeUpdate(\r\n//\t\t\t\t\t\"UPSERT INTO TEST (mykey,mycolumn) VALUES ('\" + rowkey + \"','\" + String.valueOf(i)+\"')\");\r\n//\t\t}\r\n//\t\tcon.commit();\r\n\t\t\r\n\t\t//String tablenameS =\"testtable_htd\";\r\n\t\tPreparedStatement statement = con.prepareStatement(\"select * from \\\"testtable_htd\\\" limit 1000\");\r\n\t\trset = statement.executeQuery();\r\n\t\twhile (rset.next()) {\r\n\t\t\tbyte[] newrowkey = new byte[rset.getString(\"ROW\").length()-5];\r\n\t\t\tbyte[] oldrowkey = Bytes.toBytes(rset.getString(\"ROW\")) ;\r\n\t\t\tSystem.arraycopy(oldrowkey, 1, newrowkey, 0, oldrowkey.length-5);\r\n\t\t\tSystem.out.println(new String(newrowkey));\r\n\t\t}\r\n\t\tstatement.close();\r\n\t\tcon.close();\r\n\t}", "title": "" }, { "docid": "6c3420a3ac04eb2ebb009b281eedb90f", "score": "0.5091757", "text": "@Override\n\tpublic int insert(String table, String key,\n\t\t\tHashMap<String, ByteIterator> values) {\n\t\tout.println(\"w \" + hash(key) + \" \" + values.entrySet().iterator().next().getValue());\n\t\tout.flush();\n\t\tString buf;\n\t\ttry {\n\t\t\tbuf=in.readLine();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.toString());\n\t\t}\n\t\treturn OK;\n\t}", "title": "" }, { "docid": "2af8a31cd4bf6db562d274386167116b", "score": "0.50859976", "text": "public String _remove(String _key) throws Exception{\n_sql1.ExecNonQuery2(\"DELETE FROM main WHERE key = ?\",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_key)}));\n //BA.debugLineNum = 140;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "6dce1104a32aa2826558680cec72ae70", "score": "0.5085026", "text": "public static void main(String[] args) throws SQLException {\n String url=\"jdbc:mysql://localhost:3306/bank\";\n String username=\"root\";\n String password=\"12345\";\n\n\n Connection con= DriverManager.getConnection(url,username,password);\n\n //step: 3 create statement object\n Statement statement=con.createStatement();\n\n //Demo: 1-> create a table\n\n\n /*\n String sql=\"create table admin(ad_id integer primary key auto_increment,name char(20),username char(30),password char(20))\";\n statement.executeUpdate(sql);\n System.out.println(\"Table created\");\n\n */\n\n\n //Demo: 2-> Insert data into our table\n\n String sql=\"insert into admin(name,username,password) values(?,?,?)\";\n\n // Get PrepareStatement object\n PreparedStatement preparedStatement=con.prepareStatement(sql);\n //set values to the PrepareStatement\n preparedStatement.setString(1,\"shihab\");\n preparedStatement.setString(2,\"shihab\");\n preparedStatement.setString(3,\"123456\");\n int rowCreated=preparedStatement.executeUpdate();\n\n System.out.println(rowCreated+\" row(s) created\");\n\n\n\n // Demo: 3-> update data of our table\n\n /*\n String sql=\"update admin set username=?,password=? where ad_id=?\";\n\n PreparedStatement preparedStatement=con.prepareStatement(sql);\n // set the values\n preparedStatement.setString(1,\"MdUddin\");\n preparedStatement.setString(2,\"123456\");\n preparedStatement.setInt(3,1);\n\n int rowCreated=preparedStatement.executeUpdate();\n System.out.println(rowCreated+\" row(s) Updated\");\n\n */\n\n //Demo:4 -> Delete data from out table\n/*\n String sql=\"delete from admin where ad_id=?\";\n PreparedStatement preparedStatement=con.prepareStatement(sql);\n preparedStatement.setInt(1,2);\n int rowCreated=preparedStatement.executeUpdate();\n System.out.println(rowCreated+\" row(s) deleted\");\n\n */\n //demo: 5-> Read the data from table\n\n String sql2=\"select * from admin\";\n ResultSet rs=statement.executeQuery(sql2);\n\n while (rs.next()){\n int id=rs.getInt(1);\n String name=rs.getString(2);\n String uName= rs.getString(3);\n String pWord= rs.getString(4);\n\n System.out.println(\"Id \"+id+\", name: \"+name+\", Username: \"+uName+\", Password: \"+pWord);\n\n }\n\n //step: 5-> close connection\n\n con.close();\n if (con.isClosed()){\n System.out.println(\"Connection closed.\");\n }else {\n System.out.println(\"Connection open.\");\n }\n }", "title": "" }, { "docid": "5feee3fc55f4b74498569a7b35381598", "score": "0.5075734", "text": "public int delTeacherById(String teaId)\r\n/* 239: */ {\r\n/* 240:226 */ int j = 0;\r\n/* 241:227 */ int[] subIds = new TeacherSubBeanCl().getS_id(teaId);\r\n/* 242:229 */ if (subIds == null) {\r\n/* 243:229 */ System.out.println(\"subIds.length=0\");\r\n/* 244: */ }\r\n/* 245: */ try\r\n/* 246: */ {\r\n/* 247:231 */ this.ct = new ConnDb().getConn();\r\n/* 248:232 */ if (subIds != null)\r\n/* 249: */ {\r\n/* 250:234 */ String sql = \"delete from T_Teacher_Sub where t_id=?\";\r\n/* 251:235 */ this.ps = this.ct.prepareStatement(sql);\r\n/* 252:236 */ this.ps.setString(1, teaId);\r\n/* 253:237 */ this.ps.executeUpdate();\r\n/* 254: */ \r\n/* 255:239 */ sql = \"delete from t_subject where id=?\";\r\n/* 256:240 */ this.ps = this.ct.prepareStatement(sql);\r\n/* 257:241 */ for (int i = 0; i < subIds.length; i++)\r\n/* 258: */ {\r\n/* 259:242 */ this.ps.setInt(1, subIds[i]);\r\n/* 260:243 */ this.ps.executeUpdate();\r\n/* 261: */ }\r\n/* 262: */ }\r\n/* 263:247 */ String sql = \"delete from t_teacher where id=?\";\r\n/* 264:248 */ this.ps = this.ct.prepareStatement(sql);\r\n/* 265:249 */ this.ps.setString(1, teaId);\r\n/* 266:250 */ j = this.ps.executeUpdate();\r\n/* 267:251 */ return j;\r\n/* 268: */ }\r\n/* 269: */ catch (Exception e)\r\n/* 270: */ {\r\n/* 271: */ int i;\r\n/* 272:254 */ e.printStackTrace();\r\n/* 273:255 */ return j;\r\n/* 274: */ }\r\n/* 275: */ finally\r\n/* 276: */ {\r\n/* 277:257 */ closeSourse();\r\n/* 278: */ }\r\n/* 279: */ }", "title": "" }, { "docid": "92d2d4ebb29689be88fe10cdec0f66e7", "score": "0.50703335", "text": "@Test\r\n\tpublic void testGetEmpHobbyString() throws Exception\r\n\t{\n\t\tshort hobbyId = 3;\r\n\t\tps = dbCon.prepareStatement(\"insert into EmployeeHobby values (null, ?, ?) \");\r\n\t\tps.setString(1, \"bbbb\");\r\n\t\tps.setShort (2, hobbyId);\r\n\t\tps.executeUpdate();\r\n\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tPreparedStatement ps = null;\r\n\t\tps = dbCon.prepareStatement(\"select * from employeeHobby where employeeId=?\");\r\n\t\tps.setString(1, \"bbbb\");\r\n\t\tResultSet rs = ps.executeQuery();\r\n\t\tint resultCount = 0;\r\n\t\tif (rs.last()) \r\n\t\t{\r\n\t\t\tresultCount = rs.getRow();\r\n\t\t\t rs.beforeFirst(); \r\n\t\t}\r\n\t\tArrayList<Short> empHobbyList= new ArrayList<Short>();\r\n\t\t\r\n\t\twhile(rs.next())\r\n\t\t{\r\n\t\t\tint j=0;\r\n\t\t\tempHobbyList.add(new Short(rs.getShort(\"hobbyId\")));\r\n\t\t\tj++;\r\n\t\t}\r\n\t\t\r\n\t\tassertTrue(empHobbyList.size() > 0);\r\n\t\t\r\n// delete the record used for testing\r\n\t\tps = dbCon.prepareStatement(\"delete from employeeHobby where employeeID = ?\");\r\n\t\tps.setString(1, \"bbbb\");\r\n\t\tps.executeUpdate();\r\n\t}", "title": "" }, { "docid": "1bb84c9909d46575a2c6da26d51147f8", "score": "0.50549006", "text": "public static void main(String[] args) {\n\t\tLinkedHashMap<Integer, product> h= new LinkedHashMap<Integer, product>();\r\n\t\th.put(1,new product(11, \"samsung\", 25.5));\r\n\t\th.put(2,new product(13, \"lg\", 35.4));\r\n\t\th.put(3,new product(15, \"fan\", 26.5));\r\n\t\th.put(4,new product(16, \"radio\", 32.54));\r\n\t\t\r\n\t\t//approch 1\r\n\t\t\r\n\t\tSet<Entry<Integer,product>> hh=h.entrySet();\r\n\t\tIterator<Entry<Integer, product>> itr = hh.iterator();\r\n\t\twhile(itr.hasNext())\r\n\t\t{\r\n\t\t\tEntry<Integer, product> entry = itr.next();\r\n\t\t\tproduct pp = entry.getValue();\r\n\t\t\tif(pp.id ==13)\r\n\t\t\t\titr.remove();\r\n\t\t\t\r\n\t\t\tif(pp.pname.equals(\"fan\"))\r\n\t\t\t\titr.remove();\r\n\t\t}\r\n\t\tfor(Entry<Integer, product> e1:h.entrySet())\r\n\t\t{\r\n\t\t\tproduct p = e1.getValue();\r\n\t\t\tSystem.out.println(p.id+\"++++++\"+p.pname+\"+++++\"+p.cost);\r\n\t\t}\r\n\t\t\r\n\t\t//Approch 2\r\n\t\tfor(Map.Entry<Integer, product> e:h.entrySet())\r\n\t\t{\r\n\t\t\tint key = e.getKey();\r\n\t\t\tproduct p = e.getValue();\r\n\t\t\tSystem.out.println(p.id+\"====\"+p.pname+\"====\"+p.cost);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "67288431c11f7e6cf462be373f92c9b5", "score": "0.5051968", "text": "public static void main (String [] args)\n {\n out.println ();\n\n Table movie = new Table (\"movie\", \"title year length genre studioName producerNo\",\n \"String Integer Integer String String Integer\", \"title year\");\n\n Table cinema = new Table (\"cinema\", \"title year length genre studioName producerNo\",\n \"String Integer Integer String String Integer\", \"title year\");\n\n Table movieStar = new Table (\"movieStar\", \"name address gender birthdate\",\n \"String String Character String\", \"name\");\n\n Table starsIn = new Table (\"starsIn\", \"movieTitle movieYear starName\",\n \"String Integer String\", \"movieTitle movieYear starName\");\n\n Table movieExec = new Table (\"movieExec\", \"certNo name address fee\",\n \"Integer String String Float\", \"certNo\");\n\n Table studio = new Table (\"studio\", \"name address presNo\",\n \"String String Integer\", \"name\");\n\n Comparable [] film0 = { \"Star_Wars\", 1977, 124, \"sciFi\", \"Fox\", 12345 };\n Comparable [] film1 = { \"Star_Wars_2\", 1980, 124, \"sciFi\", \"Fox\", 12345 };\n Comparable [] film2 = { \"Rocky\", 1985, 200, \"action\", \"Universal\", 12125 };\n Comparable [] film3 = { \"Rambo\", 1978, 100, \"action\", \"Universal\", 32355 };\n out.println ();\n movie.insert (film0);\n movie.insert (film1);\n movie.insert (film2);\n movie.insert (film3);\n movie.print ();\n\n Comparable [] film4 = { \"Galaxy_Quest\", 1999, 104, \"comedy\", \"DreamWorks\", 67890 };\n out.println ();\n cinema.insert (film2);\n cinema.insert (film3);\n cinema.insert (film4);\n cinema.print ();\n\n Comparable [] star0 = { \"Carrie_Fisher\", \"Hollywood\", 'F', \"9/9/99\" };\n Comparable [] star1 = { \"Mark_Hamill\", \"Brentwood\", 'M', \"8/8/88\" };\n Comparable [] star2 = { \"Harrison_Ford\", \"Beverly_Hills\", 'M', \"7/7/77\" };\n out.println ();\n movieStar.insert (star0);\n movieStar.insert (star1);\n movieStar.insert (star2);\n movieStar.print ();\n\n Comparable [] cast0 = { \"Star_Wars\", 1977, \"Carrie_Fisher\" };\n out.println ();\n starsIn.insert (cast0);\n starsIn.print ();\n\n Comparable [] exec0 = { 9999, \"S_Spielberg\", \"Hollywood\", 10000.00 };\n out.println ();\n movieExec.insert (exec0);\n movieExec.print ();\n\n Comparable [] studio0 = { \"Fox\", \"Los_Angeles\", 7777 };\n Comparable [] studio1 = { \"Universal\", \"Universal_City\", 8888 };\n Comparable [] studio2 = { \"DreamWorks\", \"Universal_City\", 9999 };\n out.println ();\n studio.insert (studio0);\n studio.insert (studio1);\n studio.insert (studio2);\n studio.print ();\n\n out.println ();\n\n out.println(\"\\nSELECT----------------SELECT------------------SELECT---------------SELECT------------SELECT--------------------\\n\");\n out.println ();\n //Table t_select1 = movie.select (\"title == Star_Wars & year > 1955\");\n Table t_select1 = movie.select (\"title == Star_Wars\");\n t_select1.print ();\n \n out.println ();\n Table t_select2 = movie.select (\"length > 100 & studioName == Universal | genre == sciFi\");\n t_select2.print ();\n \n out.println(\"\\nPROJECT----------------PROJECT------------------PROJECT---------------PROJECT------------PROJECT--------------------\");\n out.println ();\n Table t_project1 = movie.project (\"title year\");\n t_project1.print ();\n\n\t\tout.println ();\n Table t_project2 = cinema.project (\"title genre studioName\");\n t_project2.print ();\n\n out.println(\"\\nUNION----------------UNION------------------UNION---------------UNION------------UNION--------------------\");\n out.println ();\n Table t_union1 = movie.union (cinema);\n t_union1.print ();\n \n out.println ();\n Table t_union2 = movieStar.union (studio);\n t_union2.print ();\n \n out.println(\"\\nMINUS----------------MINUS------------------MINUS---------------MINUS------------MINUS--------------------\");\n out.println ();\n Table t_minus1 = movie.minus (cinema);\n t_minus1.print ();\n \n out.println ();\n Table t_minus2 = movieStar.minus (studio);\n t_minus2.print ();\n \n out.println(\"\\nJOIN----------------JOIN------------------JOIN---------------JOIN------------JOIN--------------------\");\n out.println ();\n Table t_join1 = movie.join (\"studioName == name\", studio);\n t_join1.print ();\n \n out.println ();\n Table t_join2 = movieStar.join (\"name == starName\", starsIn);\n t_join2.print ();\n \n /* Table U\n Table unionTest1 = new Table (\"movieExec\", \"certNo name address fee\",\n \"Integer String String Float\", \"certNo\");\n Table unionTest2 = new Table (\"movieExec\", \"certNo name address fee\",\n \"Integer String String Float\", \"certNo\");\n \n Comparable [] exec10 = { 9999, \"S_Spielberg\", \"Hollywood\", 10000.00 };\n Comparable [] exec1 = { 9997, \"S_Patel\", \"Bollywood\", 1000.00 };\n Comparable [] exec2 = { 9998, \"M_Scorcese\", \"Atlanta\", 50000.00 };\n \n Comparable [] exec3 = { 10000, \"W_Disney\", \"Orlando\", 1.00 };\n \n unionTest1.insert(exec10);\n unionTest1.insert(exec1);\n unionTest1.insert(exec2);\n unionTest2.insert(exec3);\n unionTest2.insert(exec4);\n unionTest2.insert(exec5);\n \n Table unionTestResult = unionTest1.union(unionTest2);\n unionTestResult.print();\n \n t_union.print ();\n\n out.println ();\n Table t_minus = movie.minus (cinema);\n t_minus.print ();\n\n out.println ();\n Table t_join = movie.join (\"studioName == name\", studio);\n t_join.print ();\n \n out.println(\"----------------TEST------------------TEST---------------TEST------------TEST--------------------\\n\");\n String [] array = {\"1970\", \"year\", \"<\", \"year\", \"1990\", \"<\", \"&\"};\n \n Table random = new Table(\"random\", \"double short long\", \"Double Short Long\", \"double\");\n \n Comparable [] random1 = {5.55555555555, 404, 10};\n \n FileList studioList = new FileList(studio,studio.tupleSize());\n studioList.add(studio0);\n studioList.add(studio1);\n studioList.add(studio2);\n //studioList.get(1);\n Comparable [] temp2=studioList.get(0);\n for(int x=0;x<temp2.length;++x){\n \tSystem.out.println(temp2[x]);\n }\n temp2=studioList.get(1);\n for(int x=0;x<temp2.length;++x){\n \tSystem.out.println(temp2[x]);\n }\n temp2=studioList.get(2);\n for(int x=0;x<temp2.length;++x){\n \tSystem.out.println(temp2[x]);\n }\n System.out.println(\"new test\");\n FileList randomList = new FileList(random,random.tupleSize());\n randomList.add(random1);\n temp2=randomList.get(0);\n for(int x=0;x<temp2.length;++x){\n \tSystem.out.println(temp2[x]);\n }\n \n //out.println();\n //Table t3_join = starsIn.join(\"movieTitle == title\", movie);\n //t3_join.print();\n */\n \n \n \n }", "title": "" }, { "docid": "9cd61ed6536997624404911335608c15", "score": "0.5048468", "text": "public static void main(String[] args) throws SQLException {\n ConexaoBD.iniciarConexao();\n \n DoadorDAO d = new DoadorDAO();\n \n //ArmazemDAO teste = new ArmazemDAO();\n //ProdutoDAO teste = new ProdutoDAO();\n //RotaDAO teste = new RotaDAO();\n //EncomendaDAO c1 = new EncomendaDAO(4);\n int size = d.size();\n //boolean emp = teste.isEmpty();\n //boolean tam = teste.isEmpty();\n //boolean tam = teste.containsKey(424);\n //Encomenda e1 = c1.get(4);\n //c1.put(2, e1);\n //Produto p1 = teste.get(1);\n //Produto p2 = teste.get(2);\n \n //System.out.println(p1.toString());\n //System.out.println(p2.toString());\n \n //teste.put(1000, p1);\n //teste.put(1001, p2);\n \n //teste.remove(441);\n //teste.remove(442);\n \n \n //ResultSet rs2 = statement.executeQuery(\"SELECT count(*) FROM cliente\");\n \n // if(rs2.next())\n //System.out.println(\"Numero de Clientes : \"+rs2.getString(1));\n \n //rs2.close();\n \n //System.out.println(\"Empty : \"+emp);\n System.out.println(\"Size : \"+size);\n \n ConexaoBD.terminarConexao();\n }", "title": "" }, { "docid": "161eeccb8af4a00a82c1dd15f1d320c5", "score": "0.5041816", "text": "public static void main(String[] args) {\n try {\n //Load driver\n Class.forName(\"com.mysql.cj.jdbc.Driver\");\n Connection conn = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/java19\", \"root\", \"koodinh\");\n Statement stm = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);\n String query = \"SELECT * FROM users\";\n ResultSet rs = stm.executeQuery(query);\n rs.next();\n rs.relative(5);\n String id = rs.getString(\"id\");\n String fullName = rs.getString(\"fullname\");\n String userName = rs.getString(\"username\");\n String address = rs.getString(\"address\");\n System.out.println(id + \"-\" + fullName + \"-\" + userName + \"-\" + address);\n\n /*while (rs.next()) {\n String id = rs.getString(\"id\");\n String fullName = rs.getString(\"fullname\");\n String userName = rs.getString(\"username\");\n String address = rs.getString(\"address\");\n System.out.println(id + \"-\" + fullName + \"-\" + userName + \"-\" + address);\n }*/\n\n /* query = \"INSERT INTO users(id,fullname,username,address) VALUES(101,'Nam','Nam','HN')\";\n stm.execute(query);*/\n\n PreparedStatement prp = conn.prepareStatement(\"INSERT INTO users(id,fullname,username,address) VALUES(?,?,?,?)\");\n prp.setInt(1, 102);\n prp.setString(2, \"Nguyen Luan\");\n prp.setString(3, \"Lrandom\");\n prp.setString(4, \"Ha Long\");\n prp.execute();\n\n prp.setInt(1,104);\n\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "473013f829cff7bef1555fd7d2289aea", "score": "0.5041266", "text": "private static void test7() {\n\t\t// TODO Auto-generated method stub\n\t\ttry{\n\t\t\tHashMap <Integer, Integer> Prots = new HashMap<Integer, Integer>();// list of proteins in clusters_mcl \n\t\t\tPreparedStatement pstm1 = CAMPS_CONNECTION.prepareStatement(\"\" +\n\t\t\t\t\t\"SELECT sequenceid from clusters_mcl\");\n\t\t\tResultSet rs1 = pstm1.executeQuery();\n\t\t\twhile(rs1.next()){\n\t\t\t\tint s = rs1.getInt(1);\n\t\t\t\tif(!Prots.containsKey(s)){\n\t\t\t\t\tProts.put(s,null);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\"+Prots.size()+\"\\n\");\n\t\t}\n\t\tcatch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "7ecb2998c2b767da20e17feaaad54ec8", "score": "0.50404334", "text": "public static void main(String[] args) {\r\n\t\t//main method for testing, edit as much as you want\r\n\t\tThreeTenHashTable1<String,String> st1 = new ThreeTenHashTable1<>(10);\r\n\t\tThreeTenHashTable1<String,Integer> st2 = new ThreeTenHashTable1<>(5);\r\n\t\t\r\n\t\tif(st1.getCapacity() == 10 && st2.getCapacity() == 5 && st1.size() == 0 && st2.size() == 0) {\r\n\t\t\tSystem.out.println(\"Yay 1\");\r\n\t\t}\r\n\t\t\r\n\t\tst1.put(\"a\",\"apple\");\r\n\t\tst1.put(\"b\",\"banana\");\r\n\t\tst1.put(\"banana\",\"b\");\r\n\t\tst1.put(\"b\",\"butter\");\r\n\t\t\r\n\t\tif(st1.toString().equals(\"a:apple\\nb:butter\\nbanana:b\") && st1.toStringDebug().equals(\"[0]: null\\n[1]: null\\n[2]: null\\n[3]: null\\n[4]: null\\n[5]: null\\n[6]: null\\n[7]: a:apple\\n[8]: b:butter\\n[9]: banana:b\")) {\r\n\t\t\tSystem.out.println(\"Yay 2\");\r\n\t\t}\r\n\t\tSystem.out.println(st1.getCapacity() == 10);\r\n\t\tSystem.out.println(st1.size() == 3);\r\n\t\tSystem.out.println(st1.get(\"a\").equals(\"apple\"));\r\n\t\tSystem.out.println(st1.get(\"b\").equals(\"butter\"));\r\n\t\tSystem.out.println(st1.get(\"banana\").equals(\"b\"));\r\n\t\tif(st1.getCapacity() == 10 && st1.size() == 3 && st1.get(\"a\").equals(\"apple\") && st1.get(\"b\").equals(\"butter\") && st1.get(\"banana\").equals(\"b\")) {\r\n\t\t\tSystem.out.println(\"Yay 3\");\r\n\t\t}\r\n\t\t\r\n\t\tst2.put(\"a\",1);\r\n\t\tst2.put(\"b\",2);\r\n\t\tst2.put(\"e\",3);\r\n\t\tst2.put(\"y\",4);\r\n\r\n\t\tSystem.out.println(st2);\r\n\t\tSystem.out.println(st2.toString().equals(\"e:3\\ny:4\\na:1\\nb:2\"));\r\n\t\tSystem.out.println(st2.toStringDebug().equals(\"[0]: null\\n[1]: e:3\\n[2]: y:4\\n[3]: null\\n[4]: null\\n[5]: null\\n[6]: null\\n[7]: a:1\\n[8]: b:2\\n[9]: null\"));\r\n\t\tif(st2.toString().equals(\"e:3\\ny:4\\na:1\\nb:2\") && st2.toStringDebug().equals(\"[0]: null\\n[1]: e:3\\n[2]: y:4\\n[3]: null\\n[4]: null\\n[5]: null\\n[6]: null\\n[7]: a:1\\n[8]: b:2\\n[9]: null\")) {\r\n\t\t\tSystem.out.println(\"Yay 4\");\r\n\t\t}\r\n\t\t\r\n\t\tif(st2.getCapacity() == 10 && st2.size() == 4 && st2.get(\"a\").equals(1) && st2.get(\"b\").equals(2) && st2.get(\"e\").equals(3) && st2.get(\"y\").equals(4)) {\r\n\t\t\tSystem.out.println(\"Yay 5\");\r\n\t\t}\r\n\t\t\r\n\t\tif(st2.remove(\"e\").equals(3) && st2.getCapacity() == 10 && st2.size() == 3 && st2.get(\"e\") == null && st2.get(\"y\").equals(4)) {\r\n\t\t\tSystem.out.println(\"Yay 6\");\r\n\t\t}\r\n\t\t\r\n\t\tif(st2.toString().equals(\"y:4\\na:1\\nb:2\") && st2.toStringDebug().equals(\"[0]: null\\n[1]: tombstone\\n[2]: y:4\\n[3]: null\\n[4]: null\\n[5]: null\\n[6]: null\\n[7]: a:1\\n[8]: b:2\\n[9]: null\")) {\r\n\t\t\tSystem.out.println(\"Yay 7\");\r\n\t\t}\r\n\r\n\t\tif(st2.rehash(2) == false && st2.size() == 3 && st2.getCapacity() == 10) {\r\n\t\t\tSystem.out.println(\"Yay 8\");\r\n\t\t}\r\n\t\t\r\n\t\tif(st2.rehash(4) == true && st2.size() == 3 && st2.getCapacity() == 4) {\r\n\t\t\tSystem.out.println(\"Yay 9\");\r\n\t\t}\r\n\t\t\r\n\t\tif(st2.toString().equals(\"y:4\\na:1\\nb:2\") && st2.toStringDebug().equals(\"[0]: null\\n[1]: y:4\\n[2]: a:1\\n[3]: b:2\")) {\r\n\t\t\tSystem.out.println(\"Yay 10\");\r\n\t\t}\r\n\t\t\r\n\t\tThreeTenHashTable1<String,String> st3 = new ThreeTenHashTable1<>(2);\r\n\t\tst3.put(\"a\",\"a\");\r\n\t\tst3.remove(\"a\");\r\n\t\t\r\n\t\tif(st3.toString().equals(\"\") && st3.toStringDebug().equals(\"[0]: null\\n[1]: tombstone\")) {\r\n\t\t\tst3.put(\"a\",\"a\");\r\n\t\t\tif(st3.toString().equals(\"a:a\") && st3.toStringDebug().equals(\"[0]: null\\n[1]: a:a\")) {\r\n\t\t\t\tSystem.out.println(\"Yay 11\");\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c856f77ca66ea1920f0f45ca603e1b50", "score": "0.5036537", "text": "public static void main(String[] args) { HashMap - keeps data in key and value pair\n//\t\t one null key and multiple null value allowed\n//\t\t duplicate values are allowed\n//\t\t\n//\t\tHashMap vs HashTable\n//\t\t1. HashMap is non synchronized. It is not-thread safe and can't be shared between many threads\n//\t\t2. HashMap allows one null key and multiple null values whereas HashTable doesn't allow any null key or value.\n//\t\t3. HashMap is generally preferred over HashTable if thread synchronization is not needed.\n//\t\t\n//\t\tWhy HashTable doesn't allow null and HashMap does?\n//\t\tTo successfully store and retrieve objects from a HashTable, the objects used as keys must implement the hash code method and equals method. Since null is not an object so it cannot be implemented\n//\t\t\n\t\tHashMap<Integer, String> hm = new HashMap<Integer, String>();\n\t\thm.put(1, \"java\"); // put() - inserting key & values\n\t\thm.put(5, \"selenium\");\n\t\thm.put(3, \"TestNg\");\n\t\thm.put(9,\"cucumnber\"); // values gets inserted according to hashCode of key\n\t\t\n\t\tSystem.out.println(\"1.Size of hashMap: \"+hm.size());\n\t\n\t\tSystem.out.println(\"2.Value pointed by key-3: \"+hm.get(3)); // 3 is not an index but a key\n\t\tSystem.out.println(\"3.Entry set of hashMap: \"+hm.entrySet()); //entrySet() - return key to value\n\t\tSystem.out.println(\"4.key set of hashMap: \"+hm.keySet());\n\t\t\n\t\thm.put(null, \"Maven\");\n\t\tSystem.out.println(\"5.Entry set of hashMap: \"+hm.entrySet());\n\t\tSystem.out.println(\"6.We will get the value of Key'null': \"+hm.get(null));\n\t\thm.put(null, \"Appium\");\n\t\tSystem.out.println(\"7.EntrySet of hashMap: \"+hm.entrySet());\n\t\thm.put(9, \"Jira\");\n\t\tSystem.out.println(\"8.EntrySet of hashMap: \"+hm.entrySet());\n\t\thm.put(null, null);\n\t\thm.put(10, null);\n\t\thm.put(11, null);\n\t\tSystem.out.println(\"9.Size of hashMap: \"+hm.size());\n\t\tSystem.out.println(\"10.Entryset of hashMap: \"+hm.entrySet());\n\t\t\n\t\tSystem.out.println(\"11.If null key is present: \"+hm.containsKey(null)); // containsKey() - checking if key is present \n\t\tSystem.out.println(\"12.If java as a value is present: \"+hm.containsValue(\"java\")); // contains() - contains will check if value is present and its also case sensitive.\n\t\t\n\t\tSystem.out.println(\"13.Check the hashcode for this table: \"+hm.hashCode());\n\t\thm.remove(null); // remove() - will remove the value pointed by that specific key\n\t\tSystem.out.println(\"14.EntrySet of hashmap to check if null is removed: \"+hm.entrySet());\n\t\t\n\t\thm.replace(10,\"HP ALM\"); // replace() - will replace value from the specific key provided\n\t\tSystem.out.println(\"15.Entryset of hashmap to check if the value is Replaced in a specfic key: \"+hm.entrySet());\n\t\t\n\t\tSystem.out.println(\"16.Check All values in hashMap: \"+hm.values()); // values() - will return all the values\n\t\t\n//\t\tIterator<Integer> it = hm.keySet().iterator();\n////\t\twhile(it.hasNext()) {\n////\t\t\tint key = it.next();\n////\t\t\tString value = hm.get(key);\n////\t\t\tSystem.out.print(value+ \" \");\n//\t}\n//\t\t\t\n\t\t\tIterator<Entry<Integer, String>> it1 = hm.entrySet().iterator();\n\t\t\twhile(it1.hasNext()) {\n\t\t\t\tEntry<Integer, String> entry = it1.next();\n\t\t\t\tint key = entry.getKey();\n\t\t\t\tString value = entry.getValue();\n\t\t\t\tSystem.out.println(\"Key is \"+key+\" and value pointed is \"+value);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tHashtable<Integer, String> ht = new Hashtable<Integer, String>();\n\t\t\tht.put(1, \"Tom\");\n\t\t\tht.put(2, \"Jerry\");\n\t\t\tht.put(3, \"Henry\");\n\t\t\tSystem.out.println(ht.entrySet());\n\t\t\tSystem.out.println(ht.keySet());\n\t\t\t\n//\t\t\tht.put(null, null); // Null pointer exception - null values is not allowed in hashTable. null values is not allowed in either key or value\n\t\t\tht.put(null, \"John\"); // Null pointer exception - not allowed in HashTable \n\t\t\tSystem.out.println(ht.entrySet()); \n\t\t\n\t\t\n\t\t\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n \t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "9c0f6e91ef628721e54cf79033b3cf5e", "score": "0.5036457", "text": "public static void main(String args[]){\n HashMap<Integer,String> hmap = new HashMap<Integer,String>();\n\n hmap.put(12,\"Chaitanya\");\n hmap.put(2,\"Rahul\");\n hmap.put(7,\"Singh\");\n hmap.put(49,\"Ajeet\");\n hmap.put(3,\"Anuj\");\n\n Set set = hmap.entrySet();\n //System.out.println(\"Set values: \"+set);\n\n Iterator iterator = set.iterator();\n while(iterator.hasNext()){\n Map.Entry mentry = (Map.Entry)iterator.next();\n System.out.print(\"Key is: \"+mentry.getKey()+\" &Value is: \");\n System.out.println(mentry.getValue());\n }\n\n String var = hmap.get(2);\n System.out.println(\"Value at index 2 is: \"+var);\n\n hmap.remove(3);\n System.out.println(\"Map key and values after removal: \");\n Set set2 = hmap.entrySet();\n Iterator iterator2 = set2.iterator();\n while(iterator2.hasNext()){\n Map.Entry mentry2 = (Map.Entry)iterator2.next();\n System.out.print(\"Key is: \"+mentry2.getKey()+\" &Value is \");\n System.out.println(mentry2.getValue());\n\n }\n }", "title": "" }, { "docid": "9f468c92896220375b8ab31eb5aff2ec", "score": "0.50341094", "text": "@Test\n public void testCollision(){\n HashTable hashTable=new HashTable();\n hashTable.add(\"ab\",10);\n hashTable.add(\"cd\",14);\n //make sure that both keys have same index.\n assertEquals(hashTable.hash(\"ab\"),hashTable.hash(\"cd\"),0.0);\n //getting the data from the same index depend on its key.\n assertEquals(10,hashTable.get(\"ab\"),0.0);\n assertEquals(14,hashTable.get(\"cd\"),0.0);\n }", "title": "" }, { "docid": "2184c81afa79b207640eedd40b535a43", "score": "0.50300235", "text": "public interface HashTableADT {\r\n\r\n // Returns the load factor threshold that was \r\n // passed into the constructor when creating \r\n // the instance of the HashTable.\r\n // When the current load factor is greater than or \r\n // equal to the specified load factor threshold,\r\n // the table is resized and elements are rehashed.\r\n\t/**\r\n\t * Default constructor that sets hashTable size to java default of 16.\r\n\t * Sets loadFactorThreshold to java default of 0.75.\r\n\t * Initialized hash table as an array of linked list.\r\n\t * \r\n\t * @param: none\r\n\t * \r\n\t * @return: none\r\n\t * \r\n\t */\r\n public double getLoadFactorThreshold() ;\r\n\r\n // Returns the current load factor for this hash table\r\n // load factor = number of items / current table size \r\n /**\r\n \t * Getter method returns loadFactorThreshold\r\n \t * \r\n \t * @param: none\r\n \t * \r\n \t * @return: double loadFactorThreshold\r\n \t * \r\n \t */\r\n public double getLoadFactor() ;\r\n\r\n // Return the current Capacity (table size)\r\n // of the hash table array.\r\n //\r\n // The initial capacity must be a positive integer, 1 or greater\r\n // and is specified in the constructor.\r\n /**\r\n * Getter method that returns the load factor\r\n * \r\n * @param: none\r\n * \r\n * @return: double load factor\r\n * \r\n */\r\n public int numKeys() ;\r\n \r\n\r\n //Add the key to the data structure and increase the number of keys.\r\n /**\r\n * \r\n * @param: Topic key\r\n * \r\n * @return: none\r\n * \r\n */\r\n public void insert(Topic key);\r\n\r\n\r\n // Returns the value associated with the specified key\r\n // Does not remove key or decrease number of keys\r\n /**\r\n * \r\n * @param: String name\r\n * \r\n * @return: Topic\r\n * \r\n */\r\n public Topic get(String name);\r\n}", "title": "" }, { "docid": "b2e39b7102cbd2ff9d8c17e72222f345", "score": "0.50205666", "text": "public void insertTuple(TransactionId tid, int tableId, Tuple t)\n throws DbException, IOException, TransactionAbortedException {\n DbFile file = Database.getCatalog().getDbFile(tableId);\n ArrayList<Page> dirtiedPages = file.addTuple(tid, t);\n for (Page dirtiedPage: dirtiedPages) {\n dirtiedPage.markDirty(true, tid);\n }\n }", "title": "" }, { "docid": "6033deb4785890ab049e019d93f4eb34", "score": "0.5016524", "text": "public int insertByTb(TeacherBean tb1)\r\n/* 142: */ {\r\n/* 143:139 */ int i = 0;\r\n/* 144: */ try\r\n/* 145: */ {\r\n/* 146:142 */ String sql = \"insert into t_teacher (id,psw,name,sex,phoneNum,email,jobTitle,subNum,maxSubNum,department,type,xibie) values (?,?,?,?,?,?,?,?,?,?,?,?)\";\r\n/* 147:143 */ this.ct = new ConnDb().getConn();\r\n/* 148:144 */ this.ps = this.ct.prepareStatement(sql);\r\n/* 149:145 */ this.ps.setString(1, tb1.getId());\r\n/* 150:146 */ this.ps.setString(2, tb1.getPsw());\r\n/* 151:147 */ this.ps.setString(3, tb1.getName());\r\n/* 152:148 */ this.ps.setString(4, SEX.toStringValue(tb1.getSex()));\r\n/* 153:149 */ this.ps.setString(5, tb1.getPhoneNum());\r\n/* 154:150 */ this.ps.setString(6, tb1.getEmail());\r\n/* 155:151 */ this.ps.setString(7, tb1.getJobTitle());\r\n/* 156:152 */ this.ps.setInt(8, tb1.getSubNum());\r\n/* 157:153 */ this.ps.setInt(9, tb1.getMaxSubNum());\r\n/* 158:154 */ this.ps.setString(10, tb1.getDepartment());\r\n/* 159:155 */ this.ps.setInt(11, tb1.getType());\r\n/* 160:156 */ this.ps.setString(12, tb1.getXibie());\r\n/* 161:157 */ i = this.ps.executeUpdate();\r\n/* 162:158 */ return i;\r\n/* 163: */ }\r\n/* 164: */ catch (Exception e)\r\n/* 165: */ {\r\n/* 166:161 */ e.printStackTrace();\r\n/* 167:162 */ return -1;\r\n/* 168: */ }\r\n/* 169: */ finally\r\n/* 170: */ {\r\n/* 171:164 */ closeSourse();\r\n/* 172: */ }\r\n/* 173: */ }", "title": "" }, { "docid": "6974e7693406195e4bbcdb7081853bf7", "score": "0.5014797", "text": "@Test\n public void testNonUniqueKey() throws Exception {\n Session session = db.createSession();\n Table table = session.createTable(\"ken\", \"sSbiIldaA\");\n byte[] keyMap = new byte[]{0, 2};\n Index index = table.createIndex(keyMap, false);\n String[] strings = new String[]{\"hello\", \"world\", \"ken\", \"westlund\",\n \"liam robert westlund & erin rose westlund\"};\n String[] sortedStrings = new String[]{\"hello\", \"ken\",\n \"liam robert westlund & erin rose westlund\", \"westlund\",\n \"world\"};\n int[] sortedIndex = new int[]{0, 2, 4, 3, 1};\n\n db.stopDatabase();\n db.startDatabase();\n\n session = db.createSession();\n table = session.getTable(\"ken\");\n index = table.getIndex(keyMap);\n\n // test insert\n Row row = table.allocateRow();\n Row row2 = table.allocateRow();\n\n row.setString(0, \"hello\");\n row.setString(1, \" world!\");\n row.setByte(2, Byte.MAX_VALUE);\n row.setShort(3, Short.MAX_VALUE);\n row.setInt(4, Integer.MAX_VALUE);\n row.setLong(5, Long.MAX_VALUE);\n row.setDouble(6, Double.MAX_VALUE);\n row.setBytes(7, new byte[]{(byte) 1, (byte) 2, (byte) 3});\n row.setBytes(8, new byte[]{(byte) 4, (byte) 5, (byte) 6, (byte) 7,\n (byte) 8, (byte) 9});\n\n int rows = 10000;\n for (int i = 0; i < rows; i++) {\n row.setString(0, strings[i % 5]);\n row.setString(1, strings[i % 5]);\n row.setByte(2, (byte) (i % 5));\n row.setShort(3, (short) i);\n row.setInt(4, i);\n row.setShort(5, (short) i);\n row.setDouble(6, .5 + i);\n table.insert(row);\n }\n\n // Now scan the table using the index\n Cursor ic = index.allocateCursor();\n scanNonUnique(ic, rows, row, row2, strings, sortedStrings, sortedIndex);\n\n // Drop the index, then re-create the index on table with\n // pre-existing rows, then\n // scan again to validate the index is populated.\n table.dropIndex(keyMap);\n index = table.createIndex(keyMap, false);\n ic = index.allocateCursor();\n scanNonUnique(ic, rows, row, row2, strings, sortedStrings, sortedIndex);\n\n deleteAll(ic, rows, row, row2);\n table.dropIndex(keyMap);\n session.dropTable(table.getName());\n }", "title": "" }, { "docid": "fe6588ddd3bec087540272fbbd7defa2", "score": "0.5007689", "text": "public void createTable() {\n\n\n StringBuilder sqlStringBuilder1 = new StringBuilder();\n sqlStringBuilder1.append(\"CREATE TABLE iterations \").append(\" ( \");\n sqlStringBuilder1.append(\"id VARCHAR(20) NOT NULL\").append(\",\");\n sqlStringBuilder1.append(\"iterationid VARCHAR(20) NOT NULL\").append(\",\");\n sqlStringBuilder1.append(\"fitnessvalue VARCHAR(20) NOT NULL\");\n sqlStringBuilder1.append(\" );\");\n System.out.println(sqlStringBuilder1);\n update(sqlStringBuilder1.toString());\n }", "title": "" }, { "docid": "06eab24c34b7dfb89ce9e2ad940ac762", "score": "0.5001784", "text": "public static void main(String[] args) {\n\t\tHashMap<Integer, String> map = new HashMap<Integer, String>();\n\t\tmap.put(111, \"John\"); // map.put(new Integer(111), \"John\");\n\t\tmap.put(123, \"Sia\");\n\t\tmap.put(77, \"Kim\");\n\t\tmap.put(678, \"Leo\");\n\t\tmap.put(999, \"Mike\");\n\t\t\n\t\t// Key is always unique\n\t\tmap.put(77, \"Jennie\"); // updating the data in HashMap\n\t\t\n\t\tmap.put(333, \"Leo\");\n\t\t\n\t\tmap.put(null, \"Harry\");\n\t\t\n\t\tmap.put(454, null);\n\t\tmap.put(455, null);\n\t\t\n\t\tmap.put(null, \"George\");\n\t\t\n\t\tSystem.out.println(\"map is: \"+map);\n\t\t\n\t\tString value = map.get(111);\n\t\tSystem.out.println(\"Value at 111 is: \"+value);\n\t\tmap.remove(111);\n\t\t\n\t\tSystem.out.println(\"Map now is: \"+map);\n\t\tSystem.out.println(\"map size is: \"+map.size());\n\t\t\n\t\tif(map.containsKey(77)){\n\t\t\tSystem.out.println(\"Yes map contains a key 77\");\n\t\t}\n\t\t\n\t\tif(map.containsValue(\"Leo\")){\n\t\t\tSystem.out.println(\"Yes map contains value Leo\");\n\t\t}\n\t\t\n\t\t// Iterating in HashMap\n\t\tSet<Integer> keys = map.keySet();\n\t\tSystem.out.println(\"keys: \"+keys);\n\t\t\n\t\tIterator<Integer> itr = keys.iterator();\n\t\twhile(itr.hasNext()){\n\t\t\tInteger key = itr.next();\n\t\t\tString val = map.get(key);\n\t\t\tSystem.out.println(\"Key is: \"+key+\" Value is: \"+val);\n\t\t}\n\t\t\n\t\t// Explore : What is EntrySet in HashMap ?\n\t\t\n\t\t// Thread-Safe or Synchronized\n\t\tHashtable<Integer, String> table = new Hashtable<Integer, String>();\n\t\ttable.put(111, \"John\"); \n\t\ttable.put(123, \"Sia\");\n\t\ttable.put(77, \"Kim\");\n\t\ttable.put(678, \"Leo\");\n\t\ttable.put(999, \"Mike\");\n\t\t//table.put(null, \"Mike\"); // no null key\n\t\t//table.put(112, null);\t // no null values\n\t\t\n\t\tSystem.out.println(\"table is: \"+table);\n\t}", "title": "" }, { "docid": "462aa087f0a8181b1b7cf269a8ba4728", "score": "0.50011235", "text": "@Test\n\tpublic void test014_remove_key_empty_hash_table() {\n\t\ttry {\n\t\t\t//This should return false because the table is empty\n\t\t\tassertTrue(!(htIntegerKey.remove(1)));\n\t\t}catch (Exception e) {\n\t\t\t//An improper exception was thrown\n\t\t\te.printStackTrace();\n\t\t\tfail(\"There was an improper exception was thrown\");\n\t\t}\n\t}", "title": "" }, { "docid": "14e1600359d0e385ed7959561ef6fc94", "score": "0.49921584", "text": "public static void main(String args[]){\n\t\t Hashtable<Integer, String> ht=new Hashtable<Integer, String>();\n\t\t\t//Q: enter the ele\n\t\t\tht.put(0, \"harish\");\n\t\t\tht.put(1, \"sunny\");\n\t\t\tht.put(10, \"india\");\n\t\t\t//Q:get ele from index\n\t\t\tSystem.out.println(ht.get(2));\n\t\t\tSystem.out.println(ht);\n\t\t\t\n\t\t\t//Q:remove ele\n\t\t\tht.remove(10);\n\t\t\tSystem.out.println(ht);\n\t}", "title": "" }, { "docid": "50b441a95bdf3b3b8116748f222076b4", "score": "0.4986153", "text": "@Test\n public void testKeyTypes() throws Exception {\n for (int j = 0; j < 2; j++) {\n Session session = db.createSession();\n Table table = session.createTable(\"ken\", \"sSbiIldaA\");\n byte[] keyMap = new byte[]{4, 0, 1, 2, 3, 5, 6, 7, 8};\n Index index = table.createIndex(keyMap, true);\n String[] strings = new String[]{\"hello\", \"world\", \"ken\",\n \"westlund\", \"liam robert westlund & erin rose westlund\"};\n\n db.stopDatabase();\n db.startDatabase();\n\n session = db.createSession();\n table = session.getTable(\"ken\");\n index = table.getIndex(keyMap);\n\n // test insert\n Row row = table.allocateRow();\n Row row2 = table.allocateRow();\n\n row.setString(0, \"hello\");\n row.setString(1, \" world!\");\n row.setByte(2, Byte.MAX_VALUE);\n row.setShort(3, Short.MAX_VALUE);\n row.setInt(4, Integer.MAX_VALUE);\n row.setLong(5, Long.MAX_VALUE);\n row.setDouble(6, Double.MAX_VALUE);\n row.setBytes(7, new byte[]{(byte) 1, (byte) 2, (byte) 3});\n row.setBytes(8, new byte[]{(byte) 4, (byte) 5, (byte) 6,\n (byte) 7, (byte) 8, (byte) 9});\n\n int rows = 10000;\n\n for (int k = 0; k < 2; k++) {\n for (int i = 0; i < rows; i++) {\n row.setString(0, strings[random(4)]);\n row.setString(1, strings[random(4)]);\n row.setNull(2, true);\n row.setShort(3, (short) i);\n row.setInt(4, i);\n row.setShort(5, (short) i);\n row.setDouble(6, .5 + i);\n table.insert(row);\n }\n // Test uniqueness contraint\n try {\n table.insert(row);\n throw new Exception(\"Was expecting an exception.\");\n } catch (DatabaseException dbe) {\n }\n\n // Now scan the table using the index\n Cursor ic = index.allocateCursor();\n scanTypes(ic, rows, row, row2);\n\n // Drop the index, then re-create the index on table with\n // pre-existing rows, then\n // scan again to validate the index is populated.\n table.dropIndex(keyMap);\n index = table.createIndex(keyMap, true);\n ic = index.allocateCursor();\n scanTypes(ic, rows, row, row2);\n\n deleteAll(ic, rows, row, row2);\n }\n table.dropIndex(keyMap);\n session.dropTable(table.getName());\n session.commit();\n }\n }", "title": "" }, { "docid": "03b03c97c27b200cdc87aaaa9bf5f33a", "score": "0.49722037", "text": "@Test\r\n\tpublic void difference_between_HashMap_and_Hashtable()\r\n\t{\r\n\t}", "title": "" }, { "docid": "2c2138915e5aba983957a139575e35e6", "score": "0.49709386", "text": "public Patient getdataandInsert(Patient patient)\n {\n\n Survey survey=patient.getSurvey();\n Gail gail1=patient.getGail();\n Date dob=patient.getDateOfBirth();\n int noOfBiopsy=survey.getNoOfBiopsy();\n System.out.println(\"noofbiopsy in patient Service\"+noOfBiopsy);\n int biopsyMaliGnancy=survey.getBiopsyMalignancy();\n System.out.println(\"biopsymalignancy \"+biopsyMaliGnancy);\n int firstMenstrualPeriod=patient.getFirstMenstrualPeriod();\n System.out.println(\"1 st mentural period\"+firstMenstrualPeriod);\n int firstPregnancyAge=patient.getFirstPregnancyAge();\n System.out.println(\" 1st preg age\"+firstPregnancyAge);\n int familyHistory=survey.getFamilyBCHistoryStatus();\n System.out.println(\"family history\"+familyHistory);\n int race=patient.getRaceId();\n System.out.println(\"race\"+race);\n Format formatter = new SimpleDateFormat(\"yyyy-MM-dd\");\n String s = formatter.format(dob);\n System.out.println(\"sring s \"+s);\n String query1=patientRepository.cage;\n String value1=query1.replace(\"dob\",s);\n Map<String, Object> db=postgresJdbcTemplate.queryForMap(value1);\n System.out.println(\"db map\"+db);\n double ag= (double) db.get(\"age\");\n System.out.println(\"before converting into int age\"+ag);\n int age=(int)ag;\n System.out.println(\"age\"+age);\n patient.setAge(age);\n\n\n Map<String,Integer> gail =new HashMap<String,Integer>();\n System.out.println(\"inside checkgail\");\n gail.put(\"age\",age);\n gail.put(\"no_of_biopsy\",noOfBiopsy);\n gail.put(\"biopsy_malignancy\",biopsyMaliGnancy);\n gail.put(\"first_menstrual_period\",firstMenstrualPeriod);\n gail.put(\"first_pregnancy_age\",firstPregnancyAge);\n gail.put(\"family_breast_cancer_history_status\",familyHistory);\n gail.put(\"race_ethnicity\",race);\n System.out.println(\"gail \"+gail);\n System.out.println(\"before executing gail model\");\n double response = gailModel.riskSummary(gail);\n System.out.println(response);\n\n try{\n\n Patient res = patientRepository.save(patient);\n patient.setSurvey(survey);\n Survey res1=surveyRepository.save(survey);\n gail1.setScore(response);\n gailRepository.save(gail1);\n LOGGER.info(\"successFull execution of inserting in patient table in patientService\");\n return res;\n }\n catch(Exception e)\n {\n LOGGER.error(\"Error in executing in saving patient data in patient table in patientService\"+e.getMessage());\n throw e;\n }\n }", "title": "" }, { "docid": "eedbcddbb23ee2cfba5acfea374e6b59", "score": "0.49581283", "text": "@Test\n @Run(unless = {Dbms.SQLITE})\n public void testId_table(Config config) throws Exception {\n TableStrategyDao dao = new TableStrategyDaoImpl(config);\n for (int i = 0; i < 110; i++) {\n TableStrategy entity = new TableStrategy();\n TableStrategy entity2 = new TableStrategy();\n int[] result = dao.insert(Arrays.asList(entity, entity2));\n assertEquals(2, result.length);\n assertEquals(1, result[0]);\n assertEquals(1, result[1]);\n assertNotNull(entity.getId());\n assertNotNull(entity2.getId());\n assertTrue(entity.getId() < entity2.getId());\n }\n }", "title": "" }, { "docid": "3c05b78506adbb4b6761c1eb98f13505", "score": "0.4950774", "text": "@SuppressWarnings({ \"unchecked\", \"deprecation\" })\n\tpublic static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\tsessionFactory = new Configuration().configure().buildSessionFactory();\n\t\tsession = sessionFactory.openSession();\n\t\tsession.beginTransaction();\n\t\t/*session.save(employee1);\n\t\tsession.save(employee2);\n\t\tsession.save(address1);\n\t\tsession.save(address2);*/\n\t\t\n\t\t\n\t\t//Getting all the list\n\t\tQuery query = session.createQuery(\"from Employee\");\n\t\tList<Employee> empList = query.list();\n\t\tSystem.out.println(\"All Employee list\");\n\t\tfor (Employee employee : empList) {\n\t\t\tSystem.out.println(employee.getId()+\" \"+employee.getName());\n\t\t}\n\t\t\n\t\t//HQL example - Get Employee with id\n\t\t/*System.out.println(\"*******************************************************\");\n\t\tquery = session.createQuery(\"from Employee where id = :id\");\n\t\tquery.setInteger(\"id\", 2);\n\t\tEmployee employee = (Employee)query.uniqueResult();\n\t\tSystem.out.println(employee.getId()+\" \"+employee.getName()+\" \"+employee.getAddress().getCity());*/\n\t\t\n\t\t\n\t\t\n\t\t//HQL pagination example\n\t\t/*System.out.println(\"*******************************************************\");\n\t\tquery = session.createQuery(\"from Employee\");\n\t\tquery.setFirstResult(0);\n\t\tquery.setFetchSize(2);\n\t\tempList = query.list();\n\t\t//System.out.println(empList.size());\n\t\tfor(Employee emp4 : empList){\n\t\t\tSystem.out.println(\"Paginated Employees::\"+emp4.getId()+\",\"+emp4.getName()+\",\"+emp4.getAddress().getCity());\n\t\t}*/\n\t\t\n\t\t//HQL Update Employee\n\t\t/*System.out.println(\"*******************************************************\");\n\t\tquery = session.createQuery(\"update Employee set emp_name = :name where emp_id= :id\");\n\t\tquery.setParameter(\"name\", \"Kiran Kumar\");\n\t\tquery.setLong(\"id\", 1);\n\t\tint result = query.executeUpdate();\n\t\tSystem.out.println(\"Employee Update Status=\"+result);*/\n\t\t\n\t\t\n\t\t//HQL Delete Employee, we need to take care of foreign key constraints too\n\t\t/*System.out.println(\"*******************************************************\");\n\t\tquery = session.createQuery(\"delete from Employee where emp_id= :id\");\n\t\tquery.setLong(\"id\", 34);\n\t\tint result = query.executeUpdate();\n\t\tSystem.out.println(\"Employee Delete Status=\"+result);\n\t\tsession.getTransaction().commit();\n\t\tsession.close();\n\t\t\n\t\tsession = sessionFactory.openSession();\n\t\tsession.beginTransaction();\n\t\tquery = session.createQuery(\"delete from Address where address_id= :id\");\n\t\tquery.setLong(\"id\", 36);\n\t\tresult = query.executeUpdate();\n\t\tSystem.out.println(\"Address Delete Status=\"+result);\n\t\tsession.getTransaction().commit();\n\t\tsession.close();*/\n\t\t\n\t\t\n\t\t//HQL Aggregate function examples\n\t\t/*System.out.println(\"*******************************************************\");\n\t\tquery = session.createQuery(\"select sum(salary) from Employee\");\n\t\tdouble sumSalary = (Double) query.uniqueResult();\n\t\tSystem.out.println(\"Sum of all Salaries= \"+sumSalary);*/\n\t\t\n\t\t\n\t\t//HQL join examples\n\t\t/*System.out.println(\"*******************************************************\");\n\t\tquery = session.createQuery(\"select e.name, a.city from Employee e INNER JOIN e.address a\");\n\t\tList<Object[]> list = query.list();\n\t\tfor(Object[] arr : list){\n\t\t\tSystem.out.println(Arrays.toString(arr));\n\t\t}*/\n\t\t\t\n\t\t\n\t\t//HQL group by and like example\n\t\t/*System.out.println(\"*******************************************************\");\n\t\tquery = session.createQuery(\"select e.name, sum(e.salary), count(e) from Employee e where e.name like '%i%' group by e.name\");\n\t\tList<Object[]> groupList = query.list();\n\t\tfor(Object[] arr : groupList){\n\t\t\tSystem.out.println(Arrays.toString(arr));\n\t\t}*/\n\t\t\n\t\t//HQL order by example\n\t\tSystem.out.println(\"*******************************************************\");\n\t\tquery = session.createQuery(\"from Employee e order by e.id desc\");\n\t\tempList = query.list();\n\t\tfor(Employee emp3 : empList){\n\t\t\tSystem.out.println(\"ID Desc Order Employee::\"+emp3.getId()+\",\"+emp3.getAddress().getCity());\n\t\t}\n\t\t\n\t\tsession.getTransaction().commit();\n\t\tsession.close();\n\t\tsessionFactory.close();\n\t}", "title": "" }, { "docid": "e04119e59d90071615c735ce3265c3a2", "score": "0.49466845", "text": "public static void dataStructure(){\n\t\t/*\n\t\t * Hashtable: No null. Key value pair storage. Thread safe\n\t\t */\n\t\tbyte[] anArrayOfBytes;\n\t\tlong[] anArrayOfLongs;\n\t\tfloat[] anArrayOfFloats;\n\t\tdouble[] anArrayOfDoubles;\n\t\tboolean[] anArrayOfBooleans;\n\t\tchar[] anArrayOfChars;\n\t\tString[] anArrayOfStrings;\n\n\t\t/*\n\t\t * Hashtable: No null. Key value pair storage. Thread safe\n\t\t */\n\t\tHashtable<Integer,String> myTable = new Hashtable<Integer,String>();\n\t\tmyTable.put(1, \"Jean\");\n\t\tmyTable.put(2, \"Claude\");\n\t\tmyTable.put(2, \"Gomez\");\n\t\tSystem.out.println(myTable.get(1));\n\t\t/*\n\t\t * HashMap: Can take null value. Key value pair storage. Non Thread safe.\n\t\t */\n\t\tHashMap<Integer,String> myMap = new HashMap<Integer,String>();\n\t\tmyMap.put(1, \"First\");\n\t\tmyMap.put(2,\"Second\");\n\t\tSystem.out.println(myMap.get(1));\t\t\n\n\t\tIterator<Map.Entry<Integer, String>> it = myMap.entrySet().iterator();\n\n\t\twhile (it.hasNext()) {\n\t\t\tMap.Entry<Integer, String> entry = it.next();\n\t\t // Remove entry if key is null or equals 0.\n\t\t\tif (entry.getKey() == 1) {\n\t\t // it.remove();\n\t\t\t\tSystem.out.println(\"Iterator: \" + entry.getValue());\n\t\t\t}\n\t\t}\n\t\t/*\n\t\t * HashSet: Unique items\n\t\t */\t\n\t\tHashSet<String> mySet = new HashSet<String>();\n\t\tmySet.add (\"First\");\n\t\tmySet.add (\"Second\");\n\t\tmySet.add (\"Third\");\n\t\tif(mySet.contains(\"First\")){\n\t\t\tSystem.out.println(\"The Set already contains First\");\n\t\t}\n\n\t\t/*\n\t\t * For While Switch\n\t\t */\n\t\tfor(int i=1; i<11; i++){\n\t\t\tSystem.out.println(\"Count is: \" + i);\n\t\t}\n\n\t\tint[] numbersArray = {1,2,3,4,5,6,7,8,9,10};\n\t\tfor (int singleItem : numbersArray) {\n\t\t\tSystem.out.println(\"Count is: \" + singleItem);\n\t\t}\n\n\t\tint month = 7;\n\t\tString monthString;\n\t\tswitch (month) {\n\t\t\tcase 1: monthString = \"January\";\n\t\t\tbreak;\n\t\t\tcase 2: monthString = \"February\";\n\t\t\tbreak;\n\t\t\tcase 3: monthString = \"March\";\n\t\t\tbreak;\n\t\t\tcase 4: monthString = \"April\";\n\t\t\tbreak;\n\t\t\tcase 5: monthString = \"May\";\n\t\t\tbreak;\n\t\t\tcase 6: monthString = \"June\";\n\t\t\tbreak;\n\t\t\tcase 7: monthString = \"July\";\n\t\t\tbreak;\n\t\t\tcase 8: monthString = \"August\";\n\t\t\tbreak;\n\t\t\tcase 9: monthString = \"September\";\n\t\t\tbreak;\n\t\t\tcase 10: monthString = \"October\";\n\t\t\tbreak;\n\t\t\tcase 11: monthString = \"November\";\n\t\t\tbreak;\n\t\t\tcase 12: monthString = \"December\";\n\t\t\tbreak;\n\t\t\tdefault: monthString = \"Invalid month\";\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(monthString);\n\t\tint count = 1;\n\t\twhile (count < 11) {\n\t\t\tSystem.out.println(\"Count is: \" + count);\n\t\t\tcount++;\n\t\t}\n\t}", "title": "" }, { "docid": "aa0772fed5d2d36bf8a5274d25e90714", "score": "0.49204183", "text": "public void createTestRun()\n\t\t \n\t\t { \n//\t\t\t Connection conn = null;\n//\t\t\t Statement stmt = null;\n//\t\t\t \n//\t\t\t try\n//\t\t\t \n//\t\t\t {\n//\t\t\t //STEP 2: Register JDBC driver\n//\t\t\t Class.forName(\"com.mysql.jdbc.Driver\");\n\t//\n//\t\t\t //STEP 3: Open a connection\n//\t\t\t System.out.println(\"Connecting to a selected database...\");\n//\t\t\t conn = DriverManager.getConnection(DB_URL, USER, PASS);\n//\t\t\t System.out.println(\"Connected database successfully...\");\n//\t\t\t \n//\t\t\t String sql;\n//\t\t\t \n//\t\t\t stmt = conn.createStatement();\n//\t\t\t stmt.execute(\"use LSIAutomation\");\n//\t\t\t \n//\t\t\t //STEP 4: Execute a query\n//\t\t\t System.out.println(\"Creating table in given database...\");\n//\t\t\t sql = \"INSERT INTO SUITE VALUES('1','test')\"; \n//\t\t\t stmt.executeUpdate(sql);\n//\t\t\t sql = \"Select MAX(pkey) from SUITE\";\n//\t\t\t ResultSet rs = stmt.executeQuery(sql);\n//\t\t\t \n//\t\t\t int maxPkey=0;\n//\t\t\t while(rs.next())\n//\t\t\t {\n//\t\t\t \t maxPkey = rs.getInt(\"pkey\");\n//\t\t\t \t\n//\t\t\t }\n//\t\t\t \n//\t\t\t sql = \"INSERT INTO SUITE \" +\n//\t\t\t \"VALUES(\"+maxPkey+\",'TestRun\"+Util.getLastsetTimeinmili()+\"')\";\n//\t\t\t stmt.executeUpdate(sql);\n//\t\t\t \n//\t\t\t oTD.runId = oTD.runId+1;\n//\t\t\t System.out.println(\"Inserted records into the table...\");\n\t//\n//\t\t\t }catch(SQLException se){\n//\t\t\t //Handle errors for JDBC\n//\t\t\t se.printStackTrace();\n//\t\t\t }catch(Exception e){\n//\t\t\t //Handle errors for Class.forName\n//\t\t\t e.printStackTrace();\n//\t\t\t }finally{\n//\t\t\t //finally block used to close resources\n//\t\t\t try{\n//\t\t\t if(stmt!=null)\n//\t\t\t conn.close();\n//\t\t\t }catch(SQLException se){\n//\t\t\t }// do nothing\n//\t\t\t try{\n//\t\t\t if(conn!=null)\n//\t\t\t conn.close();\n//\t\t\t }catch(SQLException se){\n//\t\t\t se.printStackTrace();\n//\t\t\t }//end finally try\n//\t\t\t }//end try\n\t\t\t System.out.println(\"Goodbye!\");\n\t\t }", "title": "" }, { "docid": "fe122675ab259c105eb291b5c5e26f37", "score": "0.49108082", "text": "@Test(timeout = 4000)\n public void test125() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Submit submit0 = new Submit(errorPage0, (String) null, (String) null);\n Table table0 = new Table(submit0, (String) null);\n TableBlock tableBlock0 = table0.tbody();\n tableBlock0.id(\"\");\n assertFalse(tableBlock0._isGeneratedId());\n assertEquals(\"Table_1\", table0.getComponentId());\n }", "title": "" }, { "docid": "dcb11e55ca4cd3a0a5fb172d834ecd8a", "score": "0.4905628", "text": "public InsertDeleteGetRandomO1() {\n nums = new ArrayList();\n map = new HashMap();\n rand = new Random();\n }", "title": "" }, { "docid": "f03cbb6752e272bfc4cc4b7c85f2027c", "score": "0.48939013", "text": "public void putData(List<Put> lp) throws IOException{\r\n //Put p = new Put(Bytes.toBytes(\"rowKey\"));\r\n //p.add(Bytes.toBytes(\"family\"), Bytes.toBytes(\"qualifier\"), Bytes.toBytes(\"value\"));\r\n table.put(lp);\r\n }", "title": "" }, { "docid": "9fc6fa2c1900f584fae218f42fb81d60", "score": "0.48932076", "text": "private static void test3() {\n\t\ttry{\n\n\t\t\tfor (int i=1; i<=5;i++){\n\n\t\t\t\tPreparedStatement pstm1 = CAMPS_CONNECTION.prepareStatement(\n\t\t\t\t\t\t\"INSERT INTO proteins \" +\n\t\t\t\t\t\t\t\t\"(sequenceid,name,description,databaseid,taxonomyid) VALUES \" +\n\t\t\t\t\t\t\"(?,?,?,?,?)\");\n\n\t\t\t\tpstm1.setInt(1, i);\n\t\t\t\tpstm1.setString(2, \"test\");\n\t\t\t\tpstm1.setString(3, \"test\");\n\t\t\t\tpstm1.setInt(4, 0);\n\t\t\t\tpstm1.setInt(5, 0);\n\n\t\t\t\tint p = pstm1.executeUpdate();\n\t\t\t\tif(i>0){\n\t\t\t\t\tSystem.out.print(\"\\nSuccess \"+i +\" \"+p+\"\\n\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(\"\\nFailed \"+i +\" \"+p+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "ab5b154165e0269ff4e3661c5d0806f2", "score": "0.48920333", "text": "public Hashtable getHashtableData( String requestID, String lineItem, String CompanyID )\n\t{\n\t\tHashtable ResultData=new Hashtable();\n\t\tVector result=new Vector();\n\t\tDBResultSet dbrs=null;\n\t\tResultSet rs=null;\n\n\t\tString detailquery=\"select x.*,p.RECERT,p.SIZE_VARIES,mfg.* from \\n\";\n\t\tdetailquery+=\"(select i.MIN_TEMP, i.MAX_TEMP, i.TEMP_UNITS, car.MANAGE_KITS_AS_SINGLE_UNIT,cai.item_id,i.company_id,i.REQUEST_ID,i.MATERIAL_DESC,i.MANUFACTURER, \\n\";\n\t\tdetailquery+=\"i.MATERIAL_ID,i.PART_ID,i.PART_SIZE, \\n\";\n\t\tdetailquery+=\"i.SIZE_UNIT,i.PKG_STYLE,i.MFG_CATALOG_ID,i.CASE_QTY,i.DIMENSION, \\n\";\n\t\tdetailquery+=\"i.GRADE,i.MFG_TRADE_NAME,i.NETWT,i.NETWT_UNIT,i.COMPONENTS_PER_ITEM,i.SAMPLE_ONLY, \\n\";\n\t\tdetailquery+=\"i.MFG_SHELF_LIFE_BASIS,i.MFG_SHELF_LIFE,i.ITEM_VERIFIED,i.MFG_STORAGE_TEMP,i.COMMENTS,i.MATERIAL_TYPE,i.LABEL_COLOR \\n\";\n\t\tdetailquery+=\" from customer.catalog_add_item_qc i, customer.catalog_add_request_new car,customer.catalog_add_item cai \\n\";\n\t\tdetailquery+=\"where i.request_id = car.request_id and car.request_id = cai.request_id and i.request_id = cai.request_id and i.line_item = cai.line_item and i.part_id = cai.part_id and cai.line_item = \" + lineItem + \") x, \\n\";\n\t\tdetailquery+=\"global.part p,global.material m,global.manufacturer mfg \\n\";\n\t\tdetailquery+=\"where \\n\";\n\t\tdetailquery+=\"x.item_id = p.item_id(+) and \\n\";\n\t\tdetailquery+=\"x.material_id = p.material_id(+) and \\n\";\n\t\tdetailquery+=\"x.material_id = m.material_id(+) and \\n\";\n\t\tdetailquery+=\"x.company_id = '\" + CompanyID + \"' and \\n\";\n\t\tdetailquery+=\"x.request_id = \" + requestID + \" and\\nm.MFG_ID = mfg.MFG_ID(+)\\n order by p.PART_ID asc \\n\";\n\n\t\tint totalrecords=0;\n\t\tString ItemID=\"\";\n\t\tString caseqty=\"\";\n\t\tString manassingleunit=\"\";\n\n\t\ttry\n\t\t{\n\t\t\tdbrs=db.doQuery( detailquery );\n\t\t\trs=dbrs.getResultSet();\n\n\t\t\twhile ( rs.next() )\n\t\t\t{\n\t\t\t\ttotalrecords+=1;\n\n\t\t\t\tResultData=new Hashtable();\n\n\t\t\t\tItemID=BothHelpObjs.makeBlankFromNull( rs.getString( \"ITEM_ID\" ) );\n\t\t\t\tcaseqty=BothHelpObjs.makeBlankFromNull( rs.getString( \"CASE_QTY\" ) );\n\t\t\t\tmanassingleunit = BothHelpObjs.makeBlankFromNull( rs.getString( \"MANAGE_KITS_AS_SINGLE_UNIT\" ) );\n\n\t\t\t\tResultData.put( \"REQUEST_ID\",BothHelpObjs.makeBlankFromNull( rs.getString( \"REQUEST_ID\" ) ) );\n\t\t\t\t//MANUFACTURER\n\t\t\t\tResultData.put( \"MANUFACTURER\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MFG_DESC\" ) ) );\n\t\t\t\t//MANUFACTURER_ID\n\t\t\t\tResultData.put( \"MANUFACTURER_ID\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MFG_ID\" ) ) );\n\t\t\t\t//MFG_URL\n\t\t\t\tResultData.put( \"MFG_URL\",rs.getString( \"MFG_URL\" ) == null ? \"\" : rs.getString( \"MFG_URL\" ) );\n\t\t\t\t//CONTACT\n\t\t\t\tResultData.put( \"CONTACT\",rs.getString( \"CONTACT\" ) == null ? \"\" : rs.getString( \"CONTACT\" ) );\n\t\t\t\t//PHONE\n\t\t\t\tResultData.put( \"PHONE\",rs.getString( \"PHONE\" ) == null ? \"\" : rs.getString( \"PHONE\" ) );\n\t\t\t\t//EMAIL\n\t\t\t\tResultData.put( \"EMAIL\",rs.getString( \"EMAIL\" ) == null ? \"\" : rs.getString( \"EMAIL\" ) );\n\t\t\t\t//NOTES\n\t\t\t\tResultData.put( \"NOTES\",rs.getString( \"NOTES\" ) == null ? \"\" : rs.getString( \"NOTES\" ) );\n\t\t\t\t//GRADE\n\t\t\t\tResultData.put( \"GRADE\",BothHelpObjs.makeBlankFromNull( rs.getString( \"GRADE\" ) ) );\n\t\t\t\t//MATERIAL_DESC\n\t\t\t\tResultData.put( \"MATERIAL_DESC\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MATERIAL_DESC\" ) ) );\n\t\t\t\t//MFG_TRADE_NAME\n\t\t\t\tResultData.put( \"TRADE_NAME\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MFG_TRADE_NAME\" ) ) );\n\t\t\t\t//Material ID\n\t\t\t\tResultData.put( \"MATERIAL_ID\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MATERIAL_ID\" ) ) );\n\t\t\t\t//MFG_CATALOG_ID\n\t\t\t\tResultData.put( \"MFG_PART_NO\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MFG_CATALOG_ID\" ) ) );\n\t\t\t\t//shelf life\n\t\t\t\tResultData.put( \"SHELF_LIFE\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MFG_SHELF_LIFE\" ) ) );\n\t\t\t\t//Shelf Life Basis\n\t\t\t\tResultData.put( \"SHELF_LIFE_BASIS\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MFG_SHELF_LIFE_BASIS\" ) ) );\n\t\t\t\t//storage temperature\n\t\t\t\tResultData.put( \"STORAGE_TEMP\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MFG_STORAGE_TEMP\" ) ) );\n\t\t\t\t//NO OF COMPONENTS\n\t\t\t\tResultData.put( \"NO_OF_COMPONENTS\",BothHelpObjs.makeBlankFromNull( rs.getString( \"COMPONENTS_PER_ITEM\" ) ) );\n\t\t\t\t//PART SIZE\n\t\t\t\tResultData.put( \"PART_SIZE\",BothHelpObjs.makeBlankFromNull( rs.getString( \"PART_SIZE\" ) ) );\n\t\t\t\t//PART_SIZE_UNIT\n\t\t\t\tResultData.put( \"PART_SIZE_UNIT\",BothHelpObjs.makeBlankFromNull( rs.getString( \"SIZE_UNIT\" ) ) );\n\t\t\t\t//PACKAGING STYLE\n\t\t\t\tResultData.put( \"PACKAGING_STYLE\",BothHelpObjs.makeBlankFromNull( rs.getString( \"PKG_STYLE\" ) ) );\n\t\t\t\t//Dimension\n\t\t\t\tResultData.put( \"DIMENSION\",BothHelpObjs.makeBlankFromNull( rs.getString( \"DIMENSION\" ) ) );\n\t\t\t\t//NET WEIGHT\n\t\t\t\tResultData.put( \"NET_WEIGHT\",BothHelpObjs.makeBlankFromNull( rs.getString( \"NETWT\" ) ) );\n\t\t\t\t//NET WEIGHT UNIT\n\t\t\t\tResultData.put( \"NET_WEIGHT_UNIT\",BothHelpObjs.makeBlankFromNull( rs.getString( \"NETWT_UNIT\" ) ) );\n\t\t\t\t//COMMENTS\n\t\t\t\tResultData.put( \"COMMENTS\",BothHelpObjs.makeBlankFromNull( rs.getString( \"COMMENTS\" ) ) );\n\t\t\t\t//CASE_QTY\n\t\t\t\tResultData.put( \"CASE_QTY\",BothHelpObjs.makeBlankFromNull( rs.getString( \"CASE_QTY\" ) ) );\n\t\t\t\t//SAMPLE SIZE\n\t\t\t\tResultData.put( \"SAMPLE_SIZE\",BothHelpObjs.makeBlankFromNull( rs.getString( \"SAMPLE_ONLY\" ) ) );\n\t\t\t\t// CATEGORY\n\t\t\t\tResultData.put( \"CATEGORY\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MATERIAL_TYPE\" ) ) );\n\t\t\t\t//NO_OF_CHEMICAL_COMP\n\t\t\t\tResultData.put( \"NO_OF_CHEMICAL_COMP\",\" \" );\n\t\t\t\t//PART ID\n\t\t\t\tResultData.put( \"PART_ID\",BothHelpObjs.makeBlankFromNull( rs.getString( \"PART_ID\" ) ) );\n\t\t\t\t//UPDATE_FLAG\n\t\t\t\tResultData.put( \"UPDATE_FLAG\",new Boolean( true ) );\n\t\t\t\t//Recerts\n\t\t\t\tResultData.put( \"RECERTS\",BothHelpObjs.makeBlankFromNull( rs.getString( \"RECERT\" ) ) );\n\t\t\t\t//Size Varies\n\t\t\t\tResultData.put( \"SIZE_VARIES\",BothHelpObjs.makeBlankFromNull( rs.getString( \"SIZE_VARIES\" ) ) );\n\t\t\t\t//ITEM_VERIFIED\n\t\t\t\tResultData.put( \"ITEM_VERIFIED\",BothHelpObjs.makeBlankFromNull( rs.getString( \"ITEM_VERIFIED\" ) ) );\n\n\t\t\t\t//MANAGE_KITS_AS_SINGLE_UNIT\n\t\t\t\t//ResultData.put( \"MANAGE_KITS_AS_SINGLE_UNIT\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MANAGE_KITS_AS_SINGLE_UNIT\" ) ) );\n\t\t\t\t//MIN_TEMP\n\t\t\t\tResultData.put( \"MIN_TEMP\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MIN_TEMP\" ) ) );\n\t\t\t\t//MAX_TEMP\n\t\t\t\tResultData.put( \"MAX_TEMP\",BothHelpObjs.makeBlankFromNull( rs.getString( \"MAX_TEMP\" ) ) );\n\t\t\t\t//TEMP_UNITS\n\t\t\t\tResultData.put( \"TEMP_UNITS\",BothHelpObjs.makeBlankFromNull( rs.getString( \"TEMP_UNITS\" ) ) );\n\t\t\t\t//LABEL_COLOR\n\t\t\t\tResultData.put( \"LABEL_COLOR\",BothHelpObjs.makeBlankFromNull( rs.getString( \"LABEL_COLOR\" ) ) );\n\n\t\t\t\tresult.addElement( ResultData );\n\t\t\t}\n\t\t}\n\t\tcatch ( Exception e1 )\n\t\t{\n\t\t\t//e1.printStackTrace();\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\tif ( dbrs != null )\n\t\t\t{\n\t\t\t\tdbrs.close();\n\t\t\t}\n\t\t}\n\n\t\tHashtable recsum=new Hashtable();\n\t\trecsum.put( \"TOTAL_NUMBER\",new Integer( totalrecords ) );\n\t\t//ITEM_ID\n\t\trecsum.put( \"ITEM_ID\",ItemID );\n\t\t//CASE_QTY\n\t\trecsum.put( \"CASE_QTY\",caseqty );\n\t\t//PART_DESC\n\t\trecsum.put( \"PART_DESC\",\"\" );\n\t\t//MANAGE_KITS_AS_SINGLE_UNIT\n\t\trecsum.put( \"MANAGE_KITS_AS_SINGLE_UNIT\",\"\" );\n\t\trecsum.put( \"DATA\",result );\n\t\trecsum.put( \"REQUEST_ID\",requestID );\n recsum.put( \"LINE_ITEM\",lineItem );\n\t\treturn recsum;\n\t}", "title": "" }, { "docid": "1924b22e5e29b3a2641fccdf291fa9c4", "score": "0.488613", "text": "public static void main(String[] args) {\n\t\tExemplairesDao DAO1 = new ExemplairesDao();\r\n\t\t//System.out.println(\"Recherche dans la Dao de la key 1 : \"+DAO1.findByKey(1));\r\n\t\t\r\n\t\t\r\n\t\t// ============ Creation de la Dao exemplaire\r\n\t\tExemplaire ex1 = new Exemplaire(\"25/05/2015\",\"ISBN001\") ;\r\n\t\tSystem.out.println(ex1.toString());\r\n\t\t//ajout de l'exemplaire\r\n\t\tDAO1.ajoutExemplaire(ex1);\r\n\t\t//Recherche de l'exemplaire\r\n\t\tSystem.out.println(\"Recherche dans la Dao de la key 1 : \"+DAO1.findByKey(1));\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\t\r\n\t\tExemplaire ex2 = new Exemplaire(\"18/03/2012\",\"ISBN002\") ;\r\n\t\tSystem.out.println(ex2.toString());\r\n\t\tDAO1.ajoutExemplaire(ex2);\r\n\t\t//Recherche de l'exemplaire\r\n\t\tSystem.out.println(\"Recherche dans la Dao de la key 2 : \"+DAO1.findByKey(2));\t\t\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\t//=========== Cr�ation d'un Data Base des Utilisateurs \r\n\t\tUtilisateursDao UtilisateurDao1= new UtilisateursDao();\r\n\t\t//System.out.println(UtilisateurDao1.findByKey(1001));\r\n\t\t\r\n\t\t//============ Creation d'un Adherent\r\n\t\tAdherent ad = new Adherent(\"NomAdherent\",\"PrenomAdherent\",\"05/02/1985\", \"Femme\",\"pwd\",\"psd\",\"058956585\");\r\n\t\tSystem.out.println(ad.toString());\r\n\t\tSystem.out.println();\r\n\t\tUtilisateurDao1.ajoutUtilisateur(ad);\r\n\t\tSystem.out.println(\"Recherche de l'adherent avec id 1000 : \"+UtilisateurDao1.findByKey(1000));\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\t//======== Creation d'un emprunt en cours pour un adh�rent\r\n\t\tEmpruntEnCours emp1 = new EmpruntEnCours(ex1, ad ,\"22/03/2016\");\r\n\t\tSystem.out.println(emp1);\r\n\t\t//System.out.println(ad.isConditionsPretAcceptees());\r\n\t\t//System.out.println(ad.getNbExemplaireRetards());\r\n\t\t\r\n\t\t//======= Ajout de l'emprunt a l'adherent\r\n\t\tad.addEmpruntEnCours(emp1);\r\n\t\tex1.setEmpruntEnCours(emp1);\r\n\t\tex1.setStatus(EnumStatusExemplaire.PRETE);\r\n\r\n\t\t//======== Creation d'un emprunt en cours pour un adh�rent\r\n\r\n/*\t\tEmpruntEnCours emp2 = new EmpruntEnCours(ex2, ad);\r\n\t\tad.addEmpruntEnCours(emp2);\r\n\t\tex2.setEmpruntEnCours(emp2);\r\n\t\tex2.setStatus(EnumStatusExemplaire.PRETE);*/\r\n\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "f9ca0834b15765db273deeb492c9ab8a", "score": "0.48775703", "text": "@Test\n public void getByRowKeysNew(){\n String tableName = \"graph_ccb_dev:te_repayment\";\n String rowKey = \"006F52E9102A8D3BE2FE5614F42BA989\";\n String url = \"hbase://192.168.1.16,192.168.1.17,192.168.1.18:2181\";\n List<Map<String, Object>> results = hBaseQueryDao.getByRowKeys(storeURL, tableName, url, rowKey);\n System.out.println(JSON.toJSONString(results, true));\n }", "title": "" }, { "docid": "ac9c09309ddde99222c94df2e55844f9", "score": "0.4875904", "text": "@Test\n public void testTableCursor() throws Exception {\n Session session = db.createSession();\n Table table = session.createTable(\"ken\", \"sSbiIldaA\");\n Table table2 = session.createTable(\"ken1\", \"sSbiIldaA\");\n\n // test insert\n Row row = table.allocateRow();\n Row row2 = table2.allocateRow();\n\n row.setString(0, \"hello\");\n row.setString(1, \" world!\");\n row.setByte(2, Byte.MAX_VALUE);\n row.setShort(3, Short.MAX_VALUE);\n row.setInt(4, Integer.MAX_VALUE);\n row.setLong(5, Long.MAX_VALUE);\n row.setDouble(6, Double.MAX_VALUE);\n row.setBytes(7, new byte[]{(byte) 1, (byte) 2, (byte) 3});\n row.setBytes(8, new byte[]{(byte) 4, (byte) 5, (byte) 6, (byte) 7,\n (byte) 8, (byte) 9});\n\n try {\n table2.insert(row);\n throw new Exception(\"Was expecting an error\");\n } catch (DatabaseException e) {\n table2.insert(row2);\n }\n\n for (int i = 0; i < 10000; i++) {\n row.setInt(4, i);\n table.insert(row);\n }\n\n session.commit();\n\n Cursor cursor = table.allocateCursor();\n cursor.open();\n try {\n cursor.removeCurrent();\n throw new Exception(\"Was expecting an error\");\n } catch (DatabaseException e) {\n }\n\n try {\n cursor.updateCurrent(row);\n throw new Exception(\"Was expecting an error\");\n } catch (DatabaseException e) {\n }\n\n for (int i = 0; i < 10000; i++) {\n cursor.fetchNext(row);\n Assert.assertTrue(row.getInt(4) == i);\n }\n cursor.rewind();\n for (int i = 0; i < 10000; i++) {\n cursor.fetchNext(row);\n row.setInt(4, 10001);\n cursor.updateCurrent(row);\n }\n cursor.rewind();\n for (int i = 0; i < 10000; i++) {\n cursor.fetchNext(row);\n Assert.assertTrue(row.getInt(4) == i);\n }\n cursor.open();\n for (int i = 0; i < 10000; i++) {\n cursor.fetchNext(row);\n Assert.assertTrue(row.getInt(4) == 10001);\n }\n cursor.rewind();\n for (int i = 0; i < 10000; i++) {\n cursor.fetchNext(row);\n cursor.removeCurrent();\n }\n cursor.rewind();\n for (int i = 0; i < 10000; i++) {\n cursor.fetchNext(row);\n Assert.assertTrue(row.getInt(4) == 10001);\n }\n cursor.open();\n Assert.assertFalse(cursor.fetchNext(row));\n\n session.commit();\n }", "title": "" }, { "docid": "bb758782d18cef7a3994756a00a25b36", "score": "0.48714", "text": "public static void main(String[] args) {\n\t\t\n\t\tHashMap<Integer,String> hashmap=new HashMap<Integer,String>(); \n\t\thashmap.put(1, \"Jesus\");\n\t\thashmap.put(2, \"samy\");\n\t\thashmap.put(3, \"jomi\");\n\t\thashmap.put(4, \"johanna\");\n\t\thashmap.put(1, \"jomi\");\n\t\thashmap.put(null, \"lilly\");\n\t\thashmap.put(5, \"jesus1\");\n\t\thashmap.put(null, \"lolly\");\n\t\t\n\t\tSystem.out.println(hashmap);\t//{null=lolly, 1=jomi, 2=samy, 3=jomi, 4=johanna, 6=jesus1}\n\n\t\t// to make a copy of the existing map:\n\t\tHashMap<Integer,String> duplimap=new HashMap<Integer,String>();\n\t\tduplimap.putAll(hashmap);\n\t\tSystem.out.println(duplimap);//{null=lolly, 1=jomi, 2=samy, 3=jomi, 4=johanna, 5=jesus1}\n\t\t\n\t\t// to delete the map:\n\t\tduplimap.clear();\n\t\tSystem.out.println(duplimap);\t\t//{}\n\t\t\n\t\t//to check the key is present or not\n\t\tSystem.out.println(hashmap.containsKey(1));\t\t//true\n\t\t\n\t\t// to check the value is present or not\n\t\tSystem.out.println(hashmap.containsValue(\"jomi\"));\t//true\n\t\t\n\t\t// clone the map\n\t\tSystem.out.println(hashmap.clone());//{null=lolly, 1=jomi, 2=samy, 3=jomi, 4=johanna, 5=jesus1}\n\t\t\n\t\t//check the map is empty or not\n\t\tSystem.out.println(hashmap.isEmpty());//false\n\t\t\n\t\t/*fetch the set of keys in the map so use keySet() method, because set is not allowed\n\t\tduplicate values */\n\t\tSystem.out.println(hashmap.keySet());//[null, 1, 2, 3, 4, 5]\n\t\t\n\t\t// fetch a value\n\t\tSystem.out.println(hashmap.get(3));\t//jomi\n\t\t\n\t\t//fetch all the values\n\t\tSystem.out.println(hashmap.values());//[lolly, jomi, samy, jomi, johanna, jesus1]\n\t\t\n\t\t// fetch all the keys and values\n\t\tSystem.out.println(hashmap.entrySet());//[null=lolly, 1=jomi, 2=samy, 3=jomi, 4=johanna, 5=jesus1]\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "17b48ac3cd20e7fb59abee400de16571", "score": "0.4865199", "text": "public static void main(String[] args) throws IOException {\n\t\tint[] fl ={10,20};\n\t\tchar[][] fl1 = {{},{}};\n\t\tchar[][] fl2 ={{'A','n','t','o','n'},{'C','h','e','k','h','o','v'}};\n\t\tchar[][] fl3 ={{'V','l','a','d','i','m','i','r'},{'N','a','b','o','k','o','v'}};\n\t\tchar[][] fl4 ={{'A','l','o','n','z','o'},{'C','h','u','r','c','h'}};\n\t\tchar[][] fl6 ={{'M','a','r','k'},{'T','w','a','i','n'}};\n\t\tchar[][] fl5 ={{'G','o','t','t','t','l','o','b'},{'F','r','e','g','e'}};\n\t\tchar[][] fl7 ={{'H','a','n','n','a','h'},{'A','r','e','n','d','t'}};\n\t\tchar[][] fl8 ={{'G','e','o','r','g','e'},{'E','l','i','o','t'}};\n\t\tchar[][] fl9 ={{'J','i','a','n','m','u'},{'D','e','n','g'}};\n//\t\tDBTable dbR = new DBTable(\"src/h2/allFiles/DBTable_01\",fl,2);\n\t\tDBTable dbR = new DBTable(\"src/h2/allFiles/DBTable_01\");\n//\t\tDBTable dbR = new DBTable(\"f1\");\n//\t\tdbR.insert(0, fl2);\n//\t\tdbR.insert(10, fl3);\n//\t\tdbR.insert(61, fl4);\n//\t\tdbR.insert(21, fl5);\n//\t\tdbR.insert(40, fl6);\n//\t\tdbR.insert(70, fl7);\n//\t\tdbR.insert(31, fl8);\n\t\t\n//\t\tdbR.remove(31);\n\t\tdbR.tableRead();\n\t\tSystem.out.println(\"------------\");\n\t\tSystem.out.println(dbR.search(0));\n//\t\tSystem.out.println(dbR.search(10));\n//\t\tSystem.out.println(dbR.findKey(60));\n//\t\tSystem.out.println(dbR.findKey(190));\n\t\t//Sys/m.out.println(raf.length());\n\t\t//System.out.println(dbR.getFree(0));\n\t\t//System.out.println(dbR.findKeyAddr(0));\n\t\t//System.out.println(dbR.findKeyAddr(999));\n\t\t//dbR.close();\n\t\t\n//\t\tExtHash extHash = new ExtHash(\"src/h2/allFiles/DBTable_01\",2);\n\t\tExtHash extHash = new ExtHash(\"src/h2/allFiles/DBTable_01\");\n//\t\tExtHash extHash = new ExtHash(\"f1\");\n\t\textHash.dirDisplay();\n\t\tSystem.out.println(\"-------------\");\n\t\textHash.bucketDisplay();\n//\t\tint[] k1 = {60,10};\n//\t\tint[] k2 = {40,50};\n//\t\tint[] k3 = {70,30};\n//\t\tint[] k4 = {20,0};\n//\t\tlong[] a1 ={212,148};\n//\t\tlong[] a2 ={532,20};\n//\t\tlong[] a3 ={404,596};\n//\t\tlong[] a4 ={340,0};\n//\t\tinsertTest(2,2,k2,a2);\n//\t\tinsertTest(2,2,k3,a3);\n//\t\tinsertTest(2,2,k4,a4);\n\t\t//extHash.bucketDisplay();\n\t\t//System.out.println(extHash.search(10));\n//\t\tint h = hash(10);\n//\t\tSystem.out.println(h);\n\t\t//insertDir();\n\t\tfor (int i = 0; i < 24; i++) {\n\t\t\tdbR.search(i);\n\t\t}\n\t}", "title": "" }, { "docid": "7b02ada3163f555eafd1e93933504be3", "score": "0.48614323", "text": "public static void main(String[] args) {\n Connection conn = null;\n try {\n Class.forName(\"org.apache.phoenix.jdbc.PhoenixDriver\");\n Properties props = new Properties();\n props.setProperty(\"phoenix.functions.allowUserDefinedFunctions\", \"true\");\n conn = DriverManager.getConnection(\"jdbc:phoenix:172.18.18.135:2181\", props);\n ResultSet rs;\n// rs = conn.createStatement().executeQuery(\"select facecomp('feature','feature') as related from \\\"objectinfo\\\" limit 100\");\n// String sql = \" select facecomp(\\\"feature\\\",\\\"feature\\\") as related from \\\"objectinfo\\\" limit 100\";\n Table table = HBaseHelper.getTable(\"objectinfo\");\n Get get = new Get(Bytes.toBytes(\"0001111110105196601274112\"));\n Result result = table.get(get);\n byte[] feature = result.getValue(Bytes.toBytes(\"person\"), Bytes.toBytes(\"feature\"));\n String feature_str = Bytes.toString(feature);\n System.out.println(feature_str);\n// String sql = \"select facecomp('\"+feature_str + \"','\" + feature_str + \"') as related \";\n String sql = \"select facecomp(\\\"feature\\\", \\\"feature\\\") as related from \\\"objectinfo\\\" \";\n System.out.println(sql);\n\n PreparedStatement pst = conn.prepareStatement(sql);\n// pst.setString(1, feature_str);\n\n rs = pst.executeQuery(sql);\n System.out.println(rs.next());\n System.out.println(rs.getFloat(\"related\"));\n// System.out.println(rs.next());\n// String feature = rs.getString(1);\n// feature=floatArray2string(string2floatArray(feature));\n// System.out.println(feature.length());\n// System.out.println(conn + \" connected !!!\");\n//\n// Table table = HBaseHelper.getTable(\"objectinfo\");\n// Get get = new Get(Bytes.toBytes(\"0001111110105196601274112\"));\n// Result result = table.get(get);\n// byte[] feature_01 = result.getValue(Bytes.toBytes(\"person\"), Bytes.toBytes(\"feature\"));\n// String feature_01_str = new String(feature_01, \"ISO8859-1\");\n//\n// Get get1 = new Get(Bytes.toBytes(\"0001111110105196601274112\"));\n// Result result1 = table.get(get);\n// byte[] feature_02 = result.getValue(Bytes.toBytes(\"person\"), Bytes.toBytes(\"feature\"));\n// String feature_02_str = new String(feature_01, \"ISO8859-1\");\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (SQLException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n try {\n conn.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "32d20f08183a7cfa3850536985595998", "score": "0.48570147", "text": "public static void degreetable(Node a, HashMap<Integer,Node> dtable){\n// removing the subtree from with node a and insert it into dtable\n a.right=null;\n a.left=null;\n a.parent=null;\n a.childcut=false;\n// if dtable doesnt contain the entry with same degree then insert this subtree into dtable\n if (!dtable.containsKey(a.degree)){\n\n dtable.put(a.degree,a);\n }\n// if dtable already has a entry with same degree then meld those two trees and insert into dtable with updated degree\n else{\n Node b = dtable.get(a.degree);\n dtable.remove(b.degree);\n if(a.data>b.data)\n degreetable(meld(a,b),dtable);\n else\n degreetable(meld(b,a),dtable);\n }\n }", "title": "" }, { "docid": "8ad0171fa16249d2e233430fbcd327a6", "score": "0.48548284", "text": "static void deleteFromRowStoreTable (Connection connection) throws SQLException {\n System.out.println(\"Podaj id usuwanego wiersza:\");\n int id = scanner.nextInt();\n scanner.nextLine();\n Statement delete = connection.createStatement();\n ResultSet set = delete.executeQuery(\"select * from store\");\n if(id==set.getInt(\"id\")){\n set.deleteRow();\n set.close();\n return;\n }\n }", "title": "" }, { "docid": "c0f127eaf7285d82c415d8a19c386f73", "score": "0.48544192", "text": "public QuadraticProbingHashTable(int size){\n this.size=size; //set the size\n this.hashTable = new Integer[size]; //create the inner hashtable\n this.numberOfCollisions=0; // set number of collisions to 0\n }", "title": "" }, { "docid": "dd75afcd315558601c9fb47fe4cc37be", "score": "0.48527405", "text": "@Test\n public void testAddingToHashTable(){\n HashTable hashTable=new HashTable();\n hashTable.add(\"abc\",123);\n System.out.println(hashTable.array[hashTable.hash(\"abc\")].value);\n assertEquals(123,hashTable.array[hashTable.hash(\"abc\")].value,0.0);\n }", "title": "" }, { "docid": "b9363707ac5ff9352ec2df735f20da17", "score": "0.48440164", "text": "public static void main(String[] args) {\n\n HashTableUsingLL htl = new HashTableUsingLL();\n htl.put(1, \"san\");\n htl.put(2, \"san\");\n htl.put(2, \"test\");\n htl.print();\n System.out.println(htl.get(2));\n htl.remove(1);\n htl.print();\n }", "title": "" } ]
d028ca9c0a90d4e5e475d33c1b6fd503
Metodo que imprime la oracion del general
[ { "docid": "d8a8a8731211c2b438c9d25f70486342", "score": "0.0", "text": "public void planificaEstrategia() {\n System.out.println(\"Llevaremos tres divisiones a la frontera!\");\n }", "title": "" } ]
[ { "docid": "316a71526789ae3b4b4ed918e614a84c", "score": "0.55814815", "text": "private int[] nor() {\r\n \t\tint[] ret = {0,0};\r\n \t\tret[0] = ~(currentInstruction.op1Value | currentInstruction.op2Value);\r\n \t\treturn (ret);\r\n \t}", "title": "" }, { "docid": "9e54b0f2b877b50a63bfd375428752fc", "score": "0.5452516", "text": "@Override\n\tpublic void visit(Or n) {\n\n\t}", "title": "" }, { "docid": "c8d7ecada9d64e5f2f40bcac1c480381", "score": "0.5421743", "text": "abstract protected void inverseRedispersion();", "title": "" }, { "docid": "1465dc4accb6108c3a6b3786340665fb", "score": "0.5358687", "text": "private int[] or() {\r\n \t\tint[] ret = {0,0};\r\n \t\tret[0] = currentInstruction.op1Value | currentInstruction.op2Value;\r\n \t\treturn (ret);\r\n \t}", "title": "" }, { "docid": "408a96a2ced7c715758ead2669ec8a2a", "score": "0.5314304", "text": "public boolean isOrario() {\n return orario;\n }", "title": "" }, { "docid": "46a00161110ae31888cedb43af68891f", "score": "0.53094786", "text": "public abstract void dramatisPersonae();", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.52735466", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.52735466", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "95714777d0e6d66f33991d82d720776d", "score": "0.52567595", "text": "public void omoguci();", "title": "" }, { "docid": "3c3609e57c2ba51c525fcfc8d8e8cb12", "score": "0.5240286", "text": "public void setOrario(boolean orario) {\n this.orario = orario;\n }", "title": "" }, { "docid": "b16cd48e51ef0f9d571e7b64e9fe3920", "score": "0.52386236", "text": "boolean or(IScalarAttribute _attr1, IScalarAttribute _attr2);", "title": "" }, { "docid": "fc91f931c92178c731c523918a3959f7", "score": "0.52265775", "text": "private boolean esOpRelacional()\n\t{\n\n\t\tint posicionParaBactraking = posicionActual;\n\t\t// posicion para guardar los lexemas en la tabla de símbolos\n\t\tint filaIniToken = filaActual; \n\t\tint columnaInicialToken = columnaActual;\n\n\t\t//se almacena el caracterActual en la cadena lexema\n\t\tString lexema = \"\";\n\t\tif(caracterActual=='|')\n\t\t{\n\t\t\tlexema += caracterActual;\n\t\t\tsigteCaracter();\n\n\t\t\tif(caracterActual=='<' || caracterActual=='>')\n\t\t\t{\n\t\t\t\tlexema += caracterActual + \"\";\n\t\t\t\tsigteCaracter();\n\t\t\t}\n\t\t\tif( caracterActual=='=')\n\t\t\t{\n\t\t\t\tlexema = caracterActual + \"\";\n\t\t\t\tsigteCaracter();\n\n\t\t\t\tif( caracterActual=='=')\n\t\t\t\t{\n\t\t\t\t\tlexema += caracterActual + \"\";\n\t\t\t\t\tsigteCaracter();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(caracterActual=='|'){\n\t\t\t\tlexema += caracterActual + \"\";\n\t\t\t\tsigteCaracter();\n\t\t\t\talmacenarToken(lexema,\"operador relacional\",filaIniToken,columnaInicialToken);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tbactracking(posicionParaBactraking, filaIniToken, columnaInicialToken);\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3de56ecda7ad55fbc037b2c7197e6a27", "score": "0.5215864", "text": "public int esIgual(Game g){\n if (g.getTitle().equals(title) && g.getPlatform().equals(platform)) {\r\n return 0;\r\n }\r\n return -1;\r\n }", "title": "" }, { "docid": "d733b8c8d8ec4d501e6ae486b4c3ee31", "score": "0.5189969", "text": "protected abstract void getForcesAndMotions();", "title": "" }, { "docid": "c0edf24082fd1fba0e358f72b8549797", "score": "0.5154635", "text": "protected void mutate(Genotipo g) {\n int tam = g.getSize();\n for(int i=0; i<tam; i++) { //for j=1 to L\n if(toss(this.P_m)) { //if rand ro<=P_m make bit_j = !bit_j \n g.setGen(i, !g.getGen(i));\n }\n }\n }", "title": "" }, { "docid": "b1cf85288d50d4302217efe098c52333", "score": "0.5149068", "text": "Obligor getObligor();", "title": "" }, { "docid": "d0c58764d554d387660c1b07acd84434", "score": "0.51443756", "text": "public void reflecto(){\r\n\t\tif (this.x!=0)\r\n\t\t\tthis.x *= -1;\r\n\t\tif (this.y!=0)\r\n\t\t\tthis.y *= -1;\r\n\t}", "title": "" }, { "docid": "c20ebef5a7b5ebbc8c17f080dcde781e", "score": "0.5122213", "text": "public boolean esImpropia() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "207741d5a6c47f5245320137eb5f4f11", "score": "0.51216274", "text": "protected void opcionSinVida(){\r\n delta=multCallPut; \r\n gamma=vega=theta=rho=0;\r\n prima = Math.max((underlyingValue - strike)*multCallPut, 0);\r\n delta=(prima==0)?0:multCallPut;\r\n \r\n }", "title": "" }, { "docid": "3b671f4fe6e55555929ead5de5ed5d5b", "score": "0.50991565", "text": "public static void modifier_Robot(){\n\t\tString com = m_game.m_view.getTextField();\n\t\tif((Game.game.tourDe1)&&(!Game.game.PhaseAction)){\n\t\t\tif(heros1.pointAction>=2){\n\t\t\t\tCase c = getCurrentCase();\n\t\t\t\tObservables obs = c.getContenu();\n\t\t\t\tif(obs.isRobot() && (Math.abs(c.getX()-heros1.getX())+Math.abs(c.getY()-heros1.getY())<=3)){\n\t\t\t\t\tRobots r = (Robots) obs;\n\t\t\t\t\tNoeud n = null;\n\t\t\t\t\tReader parser = new Reader(System.in);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tn=parser.read(com);\n\t\t\t\t\t} catch (pla.ParseException e) {\n\t\t\t\t\t\tn=null;\n\t\t\t\t\t}\n\t\t\t\t\tif(n!=null){\n\t\t\t\t\t\tCompetences listC = new Competences();\n\t\t\t\t\t\tlistC.recupListCompetence(r.a);\n\t\t\t\t\t\theros1.pickUp(listC);\n\t\t\t\t\t\tr.a=n;\n\t\t\t\t\t\tr.supCompInventaire(heros1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"Modification impossible : Trop loin du héros ou pas un robot\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"Pas assez de point d'actions\");\n\t\t\t}\n\t\t}\n\t\tif((!Game.game.tourDe1)&&(!Game.game.PhaseAction)){\n\t\t\tif(heros2.pointAction>=2){\n\t\t\t\tCase c = getCurrentCase();\n\t\t\t\tObservables obs = c.getContenu();\n\t\t\t\tif(obs.isRobot() && (Math.abs(c.getX()-heros1.getX())+Math.abs(c.getY()-heros1.getY())<=3)){\n\t\t\t\t\tRobots r = (Robots) obs;\n\t\t\t\t\tNoeud n = null;\n\t\t\t\t\tReader parser = new Reader(System.in);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tn=parser.read(com);\n\t\t\t\t\t} catch (pla.ParseException e) {\n\t\t\t\t\t\tn=null;\n\t\t\t\t\t}\n\t\t\t\t\tif(n!=null){\n\t\t\t\t\t\tCompetences listC = new Competences();\n\t\t\t\t\t\tlistC.recupListCompetence(r.a);\n\t\t\t\t\t\theros1.pickUp(listC);\n\t\t\t\t\t\tr.a=n;\n\t\t\t\t\t\tr.supCompInventaire(heros1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"Modification impossible : Trop loin du héros ou pas un robot\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"Pas assez de point d'actions\");\n\t\t\t}\n\t\t}\n\t\tm_game.returnFocus();\n\t}", "title": "" }, { "docid": "e03128062012555e0b9ff51c2d748b42", "score": "0.50933677", "text": "@Override\r\n\tpublic String getOrgi() {\n\t\treturn orgi;\r\n\t}", "title": "" }, { "docid": "edc711f039065ddc43e953e196f3f28a", "score": "0.50877804", "text": "private void metodoSinRetornoySinParametros() {\n\t\t//IFuncionalSinRetornoSinParametro operacion=ClasePruebas::metodoSinRetornoSinParametros;\n\t\t//operacion.metodo();\n\t}", "title": "" }, { "docid": "6036c16ec96a342d0fd54410e69efe6f", "score": "0.5073312", "text": "public String soma(StrategyBase base, Numero operador, \r\n Numero operadorImaginario, Numero acumulador, \r\n Numero acumuladorImaginario) {\r\n acumulador.setX(acumulador.getX() + operador.getX());\r\n operadorImaginario = new Numero();\r\n // acumuladorImaginario = new Numero();\r\n return base.converterBase(acumulador);\r\n }", "title": "" }, { "docid": "007ca9e118e605d4f8040548087005c7", "score": "0.50692755", "text": "@Override\r\n public void setOp(boolean arg0) {\n \r\n }", "title": "" }, { "docid": "4597e7e34bc3ea3e89e6dbb365ffeae9", "score": "0.5064205", "text": "public void imprimirReg() {\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"MATRIU DE IDENTIFICADORS DE REGIONS: \");\r\n\t\tfor (int i = 0; i < mida; i++) {\r\n\t\t\tfor (int j = 0; j < mida; j++) {\r\n\t\t\t\tif (regions[i][j] >= 10)\r\n\t\t\t\t\tSystem.out.print(regions[i][j] + \" \");\r\n\t\t\t\telse\r\n\t\t\t\t\tSystem.out.print(regions[i][j] + \" \");\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\" MATRIU D'OPERACIONS: \");\r\n\t\tfor (int i = 0; i < mida; i++) {\r\n\t\t\tfor (int j = 0; j < mida; j++) {\r\n\t\t\t\tSystem.out.print(getRegio(i, j).getOperacio() + \" \");\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t\tArrayList<Boolean> usat = new ArrayList(taulerReg.size());\r\n\t\tfor (int i = 0; i < taulerReg.size(); i++) {\r\n\t\t\tusat.add(true);\r\n\t\t}\r\n\t\tfor (int i = 0; i < mida; i++) {\r\n\t\t\tfor (int j = 0; j < mida; j++) {\r\n\t\t\t\tif (usat.get(regions[i][j])) {\r\n\t\t\t\t\tif (regions[i][j] < 10) {\r\n\t\t\t\t\t\tSystem.out.print(\r\n\t\t\t\t\t\t\t\t\"ID: \" + regions[i][j] + \" \" + \" OBJECTIU: \" + getRegio(i, j).getObjectiu() + \" \");\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tSystem.out.print(\r\n\t\t\t\t\t\t\t\t\"ID: \" + regions[i][j] + \" \" + \" OBJECTIU: \" + getRegio(i, j).getObjectiu() + \" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\tSystem.out.println();\r\n\t\t\t\t}\r\n\t\t\t\tusat.set(regions[i][j], false);\r\n\t\t\t}\r\n\t\t\t// System.out.println();\r\n\t\t}\r\n\t\t// System.out.println();\r\n\r\n\t}", "title": "" }, { "docid": "d7c7217bf3b6402b911680e5ad31ec90", "score": "0.50634444", "text": "ModifiesClause getDefaultModifies();", "title": "" }, { "docid": "26ec7aa89bd2bba8045a2336cebe4007", "score": "0.5054432", "text": "public ROI exclusiveOr(ROI roi) {\n\n\tif (roi == null) {\n\t throw new IllegalArgumentException(JaiI18N.getString(\"ROIShape3\"));\n\t}\n\n if (!(roi instanceof ROIShape)) {\n return super.exclusiveOr(roi);\n } else {\n ROIShape rois = (ROIShape)roi;\n Area a1 = new Area(theShape);\n Area a2 = new Area(rois.theShape);\n a1.exclusiveOr(a2);\n return new ROIShape(a1);\n }\n }", "title": "" }, { "docid": "b52af3236b1f732c265f895aae5b1e54", "score": "0.5032563", "text": "OntologicalConcept getOntolgicalConcept();", "title": "" }, { "docid": "71f6844f8c947a20835d77dafeff9a81", "score": "0.5026429", "text": "public void AsigTurno(){\n if (getTurno() == false) {\n \n }\n }", "title": "" }, { "docid": "42204013d519c206acae2027b8e74869", "score": "0.5017279", "text": "public interface EstrategiaOrdenacao {\n\t/**\n\t * Ordena os projetos de acordo com a estrategia de desempate. \n\t * @param projetos Lista de Projetos que vao ser verificados.\n\t * @param interesses String que contem os interesses de uma pessoa.\n\t * @return String que contem o codigo do projeto mais relacionado.\n\t */\n\tpublic String ordenar(List<Projeto> projetos, String interesses);\n\t\n\t/**\n\t * Retorna o codigo da proposta mais relacionada.\n\t * @param projetos Lista de projetos ordenada de acordo com a estrategia escolhida.\n\t * @return Strign que representa o codigo da proposta mais relacionada.\n\t */\n\tpublic default String imprimir(List<Projeto> projetos) {\n\t\tif (projetos.size() > 0) {\n\t\t\treturn projetos.get(0).getCodigo();\n\t\t}\n\t\treturn \"\";\n\t}\n}", "title": "" }, { "docid": "ae871aeb562baaf3b7270290a752b3dd", "score": "0.50036716", "text": "public void resetear(){\n super.resetear();\n velocidad = velocidadInicial;\n TiempoTrascuridoDesdeEmpezo = 0;\n\n Random generator = new Random();\n angulo = generator.nextInt(360);\n if(angulo >= 70.0f && angulo <= 110.0f){\n angulo += 40;\n }\n if(angulo >= 250.0f && angulo <= 290.0f){\n angulo -= 40;\n }\n }", "title": "" }, { "docid": "d017628c8873620bab05d7cc2f200494", "score": "0.5002099", "text": "public void ordenar() {\n int size = getSize();\n if (size > 1)\n {\n for (int i = 0; i < getSize(); i++)\n {\n Nodo<T> actual = raiz;\n Nodo<T> siguiente = actual.getSiguiente();\n for (int j = 1; j < getSize(); j++)\n {\n int id_Actual = getIdNumerico(actual.getTipo());\n int id_Siguiente = getIdNumerico(siguiente.getTipo());\n if ( id_Actual < id_Siguiente )\n {\n T tipo_Actual = actual.getTipo();\n actual.setTipo(siguiente.getTipo());\n siguiente.setTipo(tipo_Actual);\n actual = actual.getSiguiente();\n siguiente = siguiente.getSiguiente();\n } else\n {\n actual = actual.getSiguiente();\n siguiente = siguiente.getSiguiente();\n }\n }\n }\n }\n }", "title": "" }, { "docid": "48853d3d9950caa38618f9343944591e", "score": "0.5000655", "text": "public void setOrigem(String origem) \n\t{\n\t\tthis.origem = origem;\n\t}", "title": "" }, { "docid": "11429f7b8919f9ed3d9f7843e2c060f2", "score": "0.49882972", "text": "public boolean esIgual (Complejo c);", "title": "" }, { "docid": "7194b4564b5b40994fa4f6bcc96befec", "score": "0.49866566", "text": "private static boolean locucao_adverbial(){\n if(preposicao()){\r\n if(substantivo()){\r\n return true;\r\n }else if(adjetivo()){\r\n return true;\r\n }else if(adverbio()){\r\n return true;\r\n }else\r\n return false;\r\n }else\r\n return false;\r\n }", "title": "" }, { "docid": "8d6e95da28547b089b5c271ff220c23b", "score": "0.49864945", "text": "LogicOperator getOp();", "title": "" }, { "docid": "311c2bcac78edafcac4d744d7473bd63", "score": "0.498548", "text": "boolean esIgual(Gato otro){\n\tint[][] c = otro.getCuadricula(); /* La cuadrícula del Gato a \n\t\t\t\t\t comparar */\n\tfor(int i = 0; i < 3; i++){\n\t for(int j = 0; j < 3; j++){\n\t\tif(cuadricula[i][j] != c[i][j]) return false;\n\t }\n\t}\n\treturn true;\n }", "title": "" }, { "docid": "a3299ab5aec87822eda6f265b4bb30f7", "score": "0.49822575", "text": "public Chance or(Chance chance) {\n return (not().and(chance.not())).not();\n// return new Chance(pricise(orVal));\n }", "title": "" }, { "docid": "2ebae71548586b0d1426a6ea98ce0429", "score": "0.4981835", "text": "@Test void testOrUnchanged() {\n RexNode node = or(x, y);\n String expected = node.toString();\n check(Boolean.TRUE, node, expected);\n check(Boolean.FALSE, node, expected);\n check(null, node, expected);\n }", "title": "" }, { "docid": "103423873536a96f6f41697d1b364b6f", "score": "0.49681994", "text": "private void ubicarCorredor() {\n ArrayList<String> pistaUbicacion = new ArrayList<>();\n pistaUbicacion = equipo.getPista();\n if (identificador == 1) {\n pistaUbicacion.set(equipo.getParametros().getPosicion1(), nombre);\n equipo.setPista(pistaUbicacion);\n } else if (identificador == 2) {\n pistaUbicacion.set(equipo.getParametros().getPosicion2(), nombre);\n equipo.setPista(pistaUbicacion);\n } else if (identificador == 3) {\n pistaUbicacion.set(equipo.getParametros().getPosicion3(), nombre);\n equipo.setPista(pistaUbicacion);\n }\n }", "title": "" }, { "docid": "701fc28b0c28994dc53a80543d425120", "score": "0.4959204", "text": "public void esGolpeado() \r\n\t{\n\t\r\n\t\tif(resActual==1)\r\n\t\t\tif(vidas==1);\r\n\t\t\t\t//perdiste\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tvidas--;\r\n\t\t\t\t//deberia reaparecer en la pantalla y reiniciar el nivel\r\n\t\t\t}\r\n\t\telse \r\n\t\t\tresActual--;\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "930bbfbd7677031756c72d70f418a40e", "score": "0.49579635", "text": "public void setOrarioEffettivo(Integer orario) throws OrarioExceptions {\r\n\t\tif (orario < this.orarioPrevisto) {\r\n\t\t\tthrow new OrarioExceptions(\"Impossibile impostare un orario precedente a quello previsto\");\r\n\t\t} else {\r\n\t\t\tthis.orarioEffettivo = orario;\r\n\r\n\t\t\tlogger.info(\"Ora impostata correttamente\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5eeb12a6d39168a71fbcc0567077d853", "score": "0.4953819", "text": "int getSpecial();", "title": "" }, { "docid": "2628f1d88c134b9fecbaac30d4ca93ae", "score": "0.49523675", "text": "public void AleAtanque(){\n Aleatorio = (int) (Math.random()*probabilidad);\n\n /* if (Aleatorio<probabilidad-defesaa){\n\n }*/\n }", "title": "" }, { "docid": "c965f64585f0452348a111f926abc000", "score": "0.4951117", "text": "public void ModificaOrdine() {\n\t\treturn;\n\t}", "title": "" }, { "docid": "22ac94418d1f932d16325ac16881bf96", "score": "0.4938898", "text": "public boolean hasIgloo()\n {\n return false;\n }", "title": "" }, { "docid": "f649d0a759280919e7df9313c43fde02", "score": "0.49348208", "text": "public void gera()\r\n\t{\n\t\t\twhile (aux==0) {\r\n\t\t\t\ty=(int)(Math.random() * (21));\r\n\t\t\t\tx=(int)(Math.random() * (16));\r\n\t\t\t\tif (ctables.LabDefine[y].charAt(x)== ('.')||ctables.LabDefine[y].charAt(x)== ('O')||ctables.LabDefine[y].charAt(x)== (' ')) {\r\n\t\t\t\t\taux=1;\r\n\t\t\t\t}\r\n\t\t\t}\t\t\t\r\n\t}", "title": "" }, { "docid": "297065a1f80472cad424120efe9b0b4a", "score": "0.49331212", "text": "@Override\n\tprotected void opt() throws DisciplinaNaoInformadaException, ProfessorNaoAtribuidoException, CampoEmBrancoException,\n\t\t\tTipoDeAulaNaoAtribuidoException {\n\t\t\n\t}", "title": "" }, { "docid": "ef371b76aa1d1bc9ab2c6c337a675d06", "score": "0.49226868", "text": "@Override\r\n\tpublic Curso alterar(Curso curso) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "08273fdbb8a26101b0a240f1e5b2c753", "score": "0.49187186", "text": "protected abstract void descontoTributacao ();", "title": "" }, { "docid": "fd960c5a4fbe1b3d706060215a6fc29b", "score": "0.4914881", "text": "public final void o() {\n if (n()) {\n this.r = true;\n c cVar = this.o;\n if (cVar != null && this.a.g != null) {\n cVar.a(this.a.g);\n }\n }\n }", "title": "" }, { "docid": "6b1cc437cd29fc164784176655d67b59", "score": "0.4912994", "text": "private No Operando() {\n No no = new No(TipoNo.NO_OPERANDO);\n if(token.getClasse().equals(\"ID\")\n || token.getClasse().equals(\"CLI\")\n || token.getClasse().equals(\"CLR\")\n || token.getClasse().equals(\"CLT\")) {\n no.addFilho(new No(token));\n leToken();\n }\n return no;\n }", "title": "" }, { "docid": "e55f21c4ae0035f4364703186455ffc2", "score": "0.49090835", "text": "public interface Impresora {\n // Paginas por minuto que puede imprimir la impresora\n int PAGINAS_POR_MINUTO = 30;\n \n /** Guarda un trabajo en la cola de impresion\n * @param doc Documento a imprimir\n */\n void guardarTrabajo(Documento doc);\n \n /** Consulta si hay trabajos a imprimir en la cola de impresion\n * @return boolean que indica si hay trabajos pendientes\n */\n boolean hayTrabajos();\n \n /** SII hayTrabajos(): consulta el siguiente trabajo a imprimir\n * @return Siguiente documento a imprimir\n */\n Documento siguienteTrabajo();\n \n /** SII hayTrabajos(): elimina de la cola de impresion el siguiente\n * trabajo a imprimir.\n * @return Duracion de la impresion del siguiente trabajo (en seg.)\n */\n int imprimirSiguiente();\n}", "title": "" }, { "docid": "13f2e6c5fdd2c506cf48a76fad96ae23", "score": "0.49054995", "text": "@Override\n\tpublic void visitar(ExpressaoMaiorIgual exp) {\n\t\t\n\t}", "title": "" }, { "docid": "f1ba32b40ae37fe0c4dedc977ce8bfc8", "score": "0.49017704", "text": "private void metodoSinRetorno_1Parametro() {\n\t\tIFuncionalSinRetorno_1Parametro operacion=ClasePruebas::metodoSinRetornoSinParametros;\n\t\tClasePruebas instancia=new ClasePruebas();\n\t\toperacion.metodo(instancia);\n\t}", "title": "" }, { "docid": "630f81b21addc240c8069872266bb6c9", "score": "0.48994246", "text": "public PieceIndexSet or(PieceIndexSet other);", "title": "" }, { "docid": "29e557038c23157471f1d8e4b75760d1", "score": "0.48941627", "text": "private void imprimir() {\r\n\t\tSystem.out.println(\"Escolha as opcoes abaixo para comecar a jogar: \");\r\n\t\tSystem.out.println(\"1 - Modo classico\");\r\n\t\tSystem.out.println(\"2 - Modo Ate a Morte\");\r\n\t\tSystem.out.println(\"3 - Modo Rodadas 10\");\r\n\t\tSystem.out.println(\"4 - Modo Golpes Aleatorios\");\r\n\t\tSystem.out.println(\"5 - Outros Modos (Avancado)\");\r\n\t\tSystem.out.println(\"6 - Sair \");\r\n\t}", "title": "" }, { "docid": "99a1095e7f88e946df8dc3840d312dfd", "score": "0.4890514", "text": "public void cobraComision() {\r\n\t\tsetSaldo(getSaldo() - comision);\r\n\t}", "title": "" }, { "docid": "60398c17723306785b888e9f85a1c6a3", "score": "0.4885808", "text": "private static boolean locucao_adjetiva(){\n if(preposicao()){\r\n if(substantivo()){\r\n return true;\r\n }else if(adverbio()){\r\n return true;\r\n }else\r\n return false;\r\n }else\r\n return false;\r\n }", "title": "" }, { "docid": "ec6a9cd326aa6e5fc53ecb4635af9bc9", "score": "0.48782942", "text": "public void ordenar() {\n throw new UnsupportedOperationException(\"Not yet implemented\");\n }", "title": "" }, { "docid": "92f6d300ace728c3cccbcbd919494234", "score": "0.4872296", "text": "@Override\n public Boolean colisionoCon(BOrigen gr) {\n return true;\n }", "title": "" }, { "docid": "ecae699a07344b03dc2305632214fd8a", "score": "0.4868742", "text": "public void setIdoperario(int v) throws TorqueException\n {\n \n if (this.idoperario != v)\n {\n this.idoperario = v;\n setModified(true);\n }\n \n \n if (aOperarios != null && !(aOperarios.getIdoperario() == v))\n {\n aOperarios = null;\n }\n \n }", "title": "" }, { "docid": "cec1145c853df136d7046b7ea5a6b0d6", "score": "0.4864692", "text": "private static void addAppositeRelation (Document doc, Annotation constit) {\n\t\tString cat = (String) constit.get(\"cat\");\n\t\tAnnotation[] children = ParseTreeNode.children(constit);\n\t\tif (cat == \"np\" && children != null &&\n\t\t (children.length == 3 || children.length == 4) &&\n\t\t (children[0] != null && children[1] != null && children[2] != null) &&\n\t\t children[0].get(\"cat\") == \"np\" &&\n\t\t children[1].get(\"cat\") == \",\" &&\n\t\t children[2].get(\"cat\") == \"np\" &&\n\t\t (children.length == 3 || (children[3] != null && children[3].get(\"cat\") == \",\"))) {\n\t\t Annotation head1 = Resolve.getHeadC(children[0]);\n\t\t Annotation head2 = Resolve.getHeadC(children[2]);\n\t\t boolean name1 = head1.get(\"cat\") == \"name\";\n\t\t boolean name2 = head2.get(\"cat\") == \"name\";\n\t\t if ((name1 && !name2) || (name2 && !name1)) {\n\t\t\t\tconstit.put(\"apposite\", children[2]);\n\t\t\t // System.out.println (\"AddSyntacticRelations: found apposition \" + doc.text(constit));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "b37b13fd20728ca54e48610414abede3", "score": "0.4863001", "text": "@Test\n\tvoid calcoloAnnull() {\n\t\tNonTerminale nts = new NonTerminale(\"S\");\n\t\t// Genero e aggiungo una regola non annullabile al non terminale\n\t\tNonTerminale nta = new NonTerminale(\"A\");\n\t\tTerminale ta = new Terminale(\"a\");\n\t\tList<Carattere> parteDx = new LinkedList<Carattere>();\n\t\tparteDx.add(nta);\n\t\tparteDx.add(ta);\n\t\tRegolaDiProduzione reg = new RegolaDiProduzione(nts, parteDx);\n\t\treg.calcolaAnnullabilita();\n\t\tnts.addRegola(reg);\n\t\tnts.calcolaAnnullabile();\n\t\tassertFalse(nts.isAnnullabile());\n\t}", "title": "" }, { "docid": "b341b28cd9786b8f2c291d53cd783647", "score": "0.48619437", "text": "public void setOrigem(String origem) {\n\t\tthis.origem = origem;\n\t}", "title": "" }, { "docid": "4871d1eb389c293f0a074a81880b0b52", "score": "0.48596144", "text": "public Recorrido(){\r\n\t\tthis.g=0;\r\n\t}", "title": "" }, { "docid": "ffd492461da1b63524820e1814725acf", "score": "0.48582926", "text": "public void inOrden(NodoArbol r){\n if(r!=null){//si raiz es diferente de null recorre en inOrden\n inOrden(r.hijoIzquierdo);//a partir de la raiz hijo izquierdo\n System.out.print(r.dato + \", \");//nos muestra el dato que tiene la raiz\n inOrden(r.hijoDerecho);//por ultimo el hijo derecho\n \n }\n }", "title": "" }, { "docid": "7075fbabd300c2bb9103d570b09c785b", "score": "0.4854021", "text": "public void aggiornaPosizione() {\n\t\ttry {\n\t\t\tif (!(this.fissa)) { // in questo modo se l'utente vuole tenere fissa l'applicazione gli basta spuntare la casella dedicata \n\t\t\tthis.posizione=this.sensore.rilevaPosizione(); // e non viene percio' aggiornata la posizione dell'applicazione\n\t\t\t}\n\t\t} catch (BiffException | IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "7d8f5f82ad04a93e0b16739088f49b91", "score": "0.4851288", "text": "public void orr () {\n String _source_b = _bus.binary();\n\n System.out.println(\"----------- ORR ----------\");\n System.out.println(\"A:\\t\" + _source_a.binary());\n System.out.println(\"Bus:\\t\" + _source_b);\n\n String orr = Helper.OR(_source_a.binary(), _source_b);\n\n System.out.println(\"ORR:\\t\" + orr);\n\n try {\n _dest_c.load(orr);\n } catch (Exception e) {\n System.out.println(\"ALU was not able to perform or operation\");\n System.out.println(e);\n }\n }", "title": "" }, { "docid": "6f0307de1719f5e81594b57b4dcfa13d", "score": "0.48458087", "text": "public void editarInfoUnidad(){\n if(articuloFisico.getEstadoproducto().equals(\"EN EXISTENCIA\")){\n editarArticuloFisico = true;\n }else if(articuloFisico.getEstadoproducto().equals(\"DEFECTUOSO\")){\n editarArticuloFisico = true;\n }else{\n editarArticuloFisico = false;\n new funciones().setMsj(2,\"NO SE PUDE EDITAR ARTICULO\");\n }\n }", "title": "" }, { "docid": "feca72bc0cb30652b553b9758d2f2c47", "score": "0.48449865", "text": "@Override\n\t//Rewrite \\non R(a,b)\n\tpublic void visit(OWLNegativeObjectPropertyAssertionAxiom axiom) {\n\t\t\n\t\taddFact(CKRRewritingVocabulary.NTRIPLEA, //\n\t\t\t\taxiom.getSubject().asOWLNamedIndividual().getIRI(), //\n\t\t\t\taxiom.getProperty().asOWLObjectProperty().getIRI(), //\n\t\t\t\taxiom.getObject().asOWLNamedIndividual().getIRI(),\n\t\t\t\tcontextID\n\t\t);\n\t\t\n\t\t//add fact for def.axiom\n\t if(isDefeasible(axiom)){\n\t \t//System.out.println(\"D( -R(a,b) ): \" + axiom.getAxiomWithoutAnnotations());\n\t \t\n//\t\t\tTerm subjectTerm = getConstant(axiom.getSubject().asOWLNamedIndividual().getIRI());\n//\t\t\tTerm propertyTerm = getConstant(axiom.getProperty().asOWLObjectProperty().getIRI());\n//\t\t\tTerm objectTerm = getConstant(axiom.getObject().asOWLNamedIndividual().getIRI());\n//\n//\t\t\tLiteral ovrntriplea = getLiteral(true, CKRRewritingVocabulary.OVRNTRIPLEA, \n//\t\t\t\t\t subjectTerm, propertyTerm, objectTerm, contextTerm);\n//\t\t\tLiteral tripled = getLiteral(true, CKRRewritingVocabulary.TRIPLED, \n//\t\t\t\t\t subjectTerm, propertyTerm, objectTerm, contextTerm);\n//\t\t\tLiteral prec = getLiteral(true, CKRRewritingVocabulary.PREC, \n//\t\t\t\t\t contextTerm, globalTerm);\t\t\t\n//\t\t\taddRule(ovrntriplea, tripled, prec);\n\t \t\n\t\t\taddFact(CKRRewritingVocabulary.DEF_NTRIPLEA, //\n\t\t\t\t\taxiom.getSubject().asOWLNamedIndividual().getIRI(), //\n\t\t\t\t\taxiom.getProperty().asOWLObjectProperty().getIRI(), //\n\t\t\t\t\taxiom.getObject().asOWLNamedIndividual().getIRI()\n\t\t\t);\t \t\n\t }\t\t\n\t}", "title": "" }, { "docid": "f572397d415296c1201e0c14f6b63b3a", "score": "0.48431444", "text": "public void nuevoTipoImpuesto(int codigoTipoImpuestoIngres, String nombreTipoImpuestoIngres, boolean esMontoEditableIngres){\n \n List<DTOCriterio> criteriosNombre = new ArrayList<>();\n List<DTOCriterio> criteriosCodigo = new ArrayList<>();\n\n DTOCriterio criterioNombre = new DTOCriterio(\"nombreTipoImpuesto\", \"=\", nombreTipoImpuestoIngres);\n DTOCriterio criterioCodigo = new DTOCriterio(\"codigoTipoImpuesto\", \"=\", codigoTipoImpuestoIngres);\n criteriosNombre.add(criterioNombre);\n criteriosCodigo.add(criterioCodigo);\n if(!existeDato(\"TipoImpuesto\", criteriosNombre)&&!existeDato(\"TipoImpuesto\", criteriosCodigo)){\n System.out.println(\"Codigo Ingresado No Encontrado\");\n TipoImpuesto tipoImpuesto = new TipoImpuesto();\n tipoImpuesto.setNombreTipoImpuesto(nombreTipoImpuestoIngres);\n tipoImpuesto.setCodigoTipoImpuesto(codigoTipoImpuestoIngres);\n tipoImpuesto.setEsMontoEditableTipoImpuesto(esMontoEditableIngres);\n\n FachadaPersistencia.getInstance().guardar(tipoImpuesto); \n }else{\n Excepciones.getInstance().objetoExistente(\"Tipo Impuesto - Codigo o Nombre \");\n\n }\n\n }", "title": "" }, { "docid": "1d571ed44c8ba40f65e80a4be6ff5a01", "score": "0.4840658", "text": "public void nouvelleRegleAvecPremisse(){\n\t\tLinkedList<Forme> clone = (LinkedList<Forme>) condition.clone();\n\t\tcondition.clear();\n\t\t\n\t\tif(conclusionBoolAffirmation != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleAvecPremisse(numeroRegle, clone, conclusionBoolAffirmation);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t\t\n\t\t}\n\t\tif(conclusionBoolNegation != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleAvecPremisse(numeroRegle, clone, conclusionBoolNegation);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionEntExp != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleAvecPremisse(numeroRegle, clone, conclusionEntExp);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionEntFait != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleAvecPremisse(numeroRegle, clone, conclusionEntFait);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionSymboConst != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleAvecPremisse(numeroRegle, clone, conclusionSymboConst);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionSymboFait != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleAvecPremisse(numeroRegle, clone, conclusionSymboFait);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tnumeroRegle++;\n\t}", "title": "" }, { "docid": "743309065a44039999f7e014f6c77172", "score": "0.48355132", "text": "public abstract void alterar();", "title": "" }, { "docid": "85988d4771a94f4b2849c5f816a9f500", "score": "0.48321056", "text": "public abstract void Caracteristicas();", "title": "" }, { "docid": "35789c0df11c5c7fc9876baf47a39e80", "score": "0.4828167", "text": "public T caseOR(OR object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "35789c0df11c5c7fc9876baf47a39e80", "score": "0.4828167", "text": "public T caseOR(OR object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b270b16d387c28ecf2592a038aa18346", "score": "0.4826442", "text": "@Override\n\tpublic void anular() throws ExcFiltroExcepcion {\n\n\t}", "title": "" }, { "docid": "b270b16d387c28ecf2592a038aa18346", "score": "0.4826442", "text": "@Override\n\tpublic void anular() throws ExcFiltroExcepcion {\n\n\t}", "title": "" }, { "docid": "c069eb0cc6a9ef8469594ea7b6e4930c", "score": "0.48260954", "text": "private void andvanceInGameLogic(EAzioniGiocatore azione) throws GameException {\r\n\t\tUpdateStats update;\r\n\t\tif (azione != EAzioniGiocatore.Famigliare) {\r\n\t\t\tavanzaDiTurno();\r\n\t\t\tif (!isGiroDiTurniTerminato()) {\r\n\t\t\t\t// avanzaDiTurno();\r\n\t\t\t\tupdate = new UpdateStats(EFasiDiGioco.MossaGiocatore, this.spazioAzione);\r\n\t\t\t\tupdate.setNomeGiocatore(giocatoreDiTurno.getNome());\r\n\t\t\t\tdispatchGameUpdate(update);\r\n\r\n\t\t\t} else {\r\n\r\n\t\t\t\t// terminaGiroDiTurni();\r\n\t\t\t\tresetPerNuovoTurno();\r\n\t\t\t\tif (this.turno % 2 != 0 || this.rapportoVaticanoEseguito == true) {\r\n\t\t\t\t\tupdate = new UpdateStats(EFasiDiGioco.FineTurno, this.spazioAzione);\r\n\t\t\t\t\tdispatchGameUpdate(update);\r\n\t\t\t\t}\r\n\t\t\t\tif (this.turno % 2 == 0) {\r\n\t\t\t\t\tArrayList<Giocatore> giocatoriVaticano = giocatoriChePossonoSostenereChiesa();\r\n\t\t\t\t\t// if (giocatoriVaticano.size() > 0) {\r\n\t\t\t\t\tfor (int i = 0; i < this.giocatori.size(); i++) {\r\n\t\t\t\t\t\tif (giocatoriVaticano.contains(giocatori.get(i))) {\r\n\t\t\t\t\t\t\tthis.giocatoriRapportoVaticano.add(this.giocatori.get(i));\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tthis.eseguiRapportoVaticano(giocatori.get(i), false);\r\n\t\t\t\t\t\t\t} catch (ChurchSupportException e) {\r\n\t\t\t\t\t\t\t\tSystem.err.println(\"ChurchSupportException\");\r\n\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tupdate = new UpdateStats(giocatori.get(i), EAzioniGiocatore.SostegnoChiesa,\r\n\t\t\t\t\t\t\t\t\tthis.spazioAzione);\r\n\t\t\t\t\t\t\tdispatchGameUpdate(update);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (giocatoriRapportoVaticano.size() == 0)\r\n\t\t\t\t\t\t\tthis.rapportoVaticanoEseguito = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tscegliOrdine();\r\n\t\t\t\tthis.giocatoreDiTurno = giocatori.get(0);\r\n\r\n\t\t\t\tif (!isPeriodoTerminato()) {\r\n\t\t\t\t\t// avanzaGiroDiTurni();\r\n\t\t\t\t\tposizionaCarteSuTorre();\r\n\t\t\t\t\tlanciaDadi();\r\n\t\t\t\t\tupdate = new UpdateStats(EFasiDiGioco.InizioTurno, this.giocatori, this.spazioAzione);\r\n\t\t\t\t\tupdate.setNomeGiocatore(this.giocatoreDiTurno.getNome());\r\n\t\t\t\t\tdispatchGameUpdate(update);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// terminaPeriodo();\r\n\t\t\t\t\tthis.periodo++;\r\n\r\n\t\t\t\t\tif (this.rapportoVaticanoEseguito == false) {\r\n\r\n\t\t\t\t\t\tupdate = new UpdateStats(EFasiDiGioco.SostegnoChiesa, giocatoriChePossonoSostenereChiesa(),\r\n\t\t\t\t\t\t\t\tthis.spazioAzione);\r\n\t\t\t\t\t\tdispatchGameUpdate(update);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tupdate = new UpdateStats(EFasiDiGioco.FinePeriodo, this.spazioAzione);\r\n\t\t\t\t\t\tdispatchGameUpdate(update);\r\n\r\n\t\t\t\t\t\tif (!isPartitaFinita()) {\r\n\t\t\t\t\t\t\t// avanzaPeriodo();\r\n\t\t\t\t\t\t\tthis.rapportoVaticanoEseguito = false;\r\n\t\t\t\t\t\t\tposizionaCarteSuTorre();\r\n\t\t\t\t\t\t\tlanciaDadi();\r\n\t\t\t\t\t\t\tupdate = new UpdateStats(EFasiDiGioco.InizioPeriodo, this.spazioAzione);\r\n\t\t\t\t\t\t\tdispatchGameUpdate(update);\r\n\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t// terminaPartita();\r\n\t\t\t\t\t\t\tthis.rapportoVaticanoEseguito = false;\r\n\t\t\t\t\t\t\tupdate = new UpdateStats(EFasiDiGioco.FinePartita, this.spazioAzione);\r\n\t\t\t\t\t\t\tdispatchGameUpdate(update);\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\tif (!azione.equals(EAzioniGiocatore.SostegnoChiesa))\r\n\t\t\t\t\tthis.turno++;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "20fb5b37a30110f7651f1ebebf21ea1b", "score": "0.48159593", "text": "public void reinitialposneg(){\n\t\tthis.global_neg=0;\n\t\tthis.global_pos=0;\n\t}", "title": "" }, { "docid": "9c78a206fa4675f342cd679d450d1bcf", "score": "0.48130068", "text": "private void defensa()\n {\n //Pelota en nuestro campo\n if(pelotaEnNuestroCampo())\n {\n //Si estoy lejos de la pelota \n if(bola.octant()!= posicion.octant() )\n {\n resultado.setx(egoBola.x);\n resultado.sety(egoBola.y);\n resultado.setr(1.0);\n }\n //estoy cerca, intento correr con ella.\n else\n {\n correConLaPelota();\n }\n \n }\n //Pelota en campo contrario\n else\n {\n //si estoy lejos de la pelota, vuelvo al centro\n if(bola.octant()!= posicion.octant())\n {\n Vec2 temp=new Vec2(-posicion.x,-posicion.y);\n resultado.sett(temp.t);\n resultado.setr(1.0);\n }\n //corro con la pelota.\n else\n {\n correConLaPelota();\n }\n }\n \n }", "title": "" }, { "docid": "3aaee2c1a2d189cdd664cb0611a47e36", "score": "0.48092508", "text": "public void novoIAJogo()\n { \n int profundidadeIA = 0;\n \n Object nivel = JOptionPane.showInputDialog(this, \"Selecione o nivel do IA:\"+\n \"Facil(depth(3); Normal Depth(4)\",\"\",\n JOptionPane.QUESTION_MESSAGE,\n null,\n new Object[] {\"Facil\", \"Normal\"},\n \"Facil\");\n \n if( nivel == null)\n {\n return;\n }\n else\n {\n if( nivel.toString().equals(\"Facil\"))\n {\n profundidadeIA = 3;\n }\n else\n {\n profundidadeIA = 4;\n \n }\n }\n\n corIA = Peca.Color.preta;\n \n // cria um novo Jogo\n this.novoJogo();\n // then sets the ai for the board a profundidade do agente e setada aquiiiiii\n //System.out.println(\"COR IA: \"+corIA);\n agenteIA=new Agente_IA(corIA, profundidadeIA);\n jogoTabuleiro.setAi(agenteIA); //intelligence artificiallll\n \n // simula um evento de clique para solicitar ao IA para fazer o primeiro movimento\n if (corIA == Peca.Color.branca)\n {\n mousePressed(null);\n }\n }", "title": "" }, { "docid": "dc5da33cb130a5cbab801ed94d41accc", "score": "0.48075375", "text": "public void nouvelleRegleSansPremisse(){\n\t\tif(conclusionBoolAffirmation != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleSansPremisse(numeroRegle, conclusionBoolAffirmation);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionBoolNegation != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleSansPremisse(numeroRegle, conclusionBoolNegation);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionEntExp != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleSansPremisse(numeroRegle, conclusionEntExp);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionEntFait != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleSansPremisse(numeroRegle, conclusionEntFait);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionSymboConst != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleSansPremisse(numeroRegle, conclusionSymboConst);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tif(conclusionSymboFait != null){\n\t\t\tRegleAbstraite nouvelleRegle = new RegleSansPremisse(numeroRegle, conclusionSymboFait);\n\t\t\tnouvelleRegle.ecrireSuccesseur(baseDeRegle);\n\t\t\tbaseDeRegle = nouvelleRegle;\n\t\t}\n\t\tnumeroRegle++;\n\t}", "title": "" }, { "docid": "590b13fc4de8b9b84b4d5af7270a6ef7", "score": "0.48038095", "text": "@Override\n\tpublic void visit(BitwiseOr arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "faea90dfdb558bdfdb5207e1d6f3f66f", "score": "0.4803437", "text": "private int alturaInicialDoSolo(Actor ator){\n\n return NIVEL_DO_SOLO - ator.getImage().getHeight()/2;\n\n }", "title": "" }, { "docid": "b665def33ee6d85a770566def021657d", "score": "0.4796511", "text": "public void aggiornaStato() {\n switch(getIndiceStatoCorrente()) {\n case Stato.NONVALIDO:\n boolean ok = true;\n for(Campo c: getTuttiCampi())\n if(!c.isFacoltativo() && c.getValore()==null) \n ok = false;\n // questo controlla che le date siano nell'ordine giusto\n if(((getDataRitiroIscrizione() != null && getTermineIscrizione()!= null) && getDataRitiroIscrizione().compareTo(getTermineIscrizione()) > 0) ||\n (getData() != null && getTermineIscrizione().compareTo(getData()) > 0) ||\n (getDataConlusiva() != null && getData().compareTo(getDataConlusiva()) > 0) )\n ok = false;\n if (ok)\n nuovoStato(Stato.VALIDO); \n break;\n case Stato.VALIDO:\n // questo controlla che le date siano nell'ordine giusto\n if(((getDataRitiroIscrizione() != null && getTermineIscrizione()!= null) && getDataRitiroIscrizione().compareTo(getTermineIscrizione()) > 0) ||\n (getData() != null && getTermineIscrizione().compareTo(getData()) > 0) ||\n (getDataConlusiva() != null && getData().compareTo(getDataConlusiva()) > 0) ) {\n nuovoStato(Stato.NONVALIDO);\n break;\n } \n for(Campo c: getTuttiCampi())\n if(!c.isFacoltativo() && c.getValore()==null) {\n nuovoStato(Stato.NONVALIDO);\n break;\n }\n break;\n case Stato.APERTO:\n int numMinPartecipanti = (Integer)campi[I_NUM_PARTECIPANTI].getValore(), \n numMaxPartecipanti = getNumIscrittiMax();\n // Condizione 1 per passare da aperto a chiuso\n if(LocalDate.now().compareTo((LocalDate)campi[I_TERMINE_ISCRIZIONE].getValore()) > 0 &&\n getNumIscritti() >= numMinPartecipanti && getNumIscritti() <= numMaxPartecipanti)\n nuovoStato(Stato.CHIUSO);\n // Condizione 2 per passare da aperto a chiuso\n else if(LocalDate.now().compareTo((LocalDate)campi[I_TERMINE_ISCRIZIONE].getValore()) <= 0 &&\n LocalDate.now().compareTo((LocalDate)campi[I_DATA_RITIRO_ISCRIZIONE].getValore()) > 0 &&\n getNumIscritti() == numMaxPartecipanti)\n nuovoStato(Stato.CHIUSO);\n else if (LocalDate.now().compareTo((LocalDate)campi[I_TERMINE_ISCRIZIONE].getValore()) > 0) // la data attuale supera la data termine iscrizione\n nuovoStato(Stato.FALLITO);\n break;\n case Stato.CHIUSO:\n //if (LocalDate.now().compareTo((LocalDate)campi[I_DATA_CONCLUSIVA].getValore()) > 0) // quando la data attuale supera la data di termine evento\n if (campi[I_DATA_CONCLUSIVA].getValore() != null) {\n if (LocalDate.now().compareTo((LocalDate)campi[I_DATA_CONCLUSIVA].getValore()) > 0)\n nuovoStato(Stato.CONCLUSO);\n } else\n if (LocalDate.now().compareTo((LocalDate)campi[I_DATA].getValore()) > 0)\n nuovoStato(Stato.CONCLUSO); \n break;\n }\n }", "title": "" }, { "docid": "74b3b886f949057787d9a0c9128ae0fb", "score": "0.47883007", "text": "@Override\r\n\tpublic boolean alta(Libro l) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "9e2baec257610aff9c48225123e5ffc4", "score": "0.47831404", "text": "static final public Absyn.OrExpr OrExpr(Absyn.Expr passed) throws ParseException {\n Absyn.Expr e;\n jj_consume_token(111);\n e = Expr();\n {if (true) return new Absyn.OrExpr(passed, e);}\n throw new Error(\"Missing return statement in function\");\n }", "title": "" }, { "docid": "3c1eb8341ffba3ac3db251cfbcff3156", "score": "0.4782647", "text": "Or createOr();", "title": "" }, { "docid": "90d4be5fa362e7777df318949b85cca5", "score": "0.47778246", "text": "public void setModoOperacion(int i) {\n\t\tmodoOperacion = i;\n\t}", "title": "" }, { "docid": "3fd1fcbe87d31cc01d4a19010802ab38", "score": "0.4771945", "text": "boolean leEsUtil(Pirata unPirata);", "title": "" }, { "docid": "143b9346d127da843a89552eee9dbe96", "score": "0.47718242", "text": "@Override\n\tpublic void visitar(ExpressaoMenorIgual exp) {\n\t\t\n\t}", "title": "" }, { "docid": "926645c592d57e956bad52a64c934943", "score": "0.47680956", "text": "public void movimientoAleatorio(){ \n World w = getWorld(); \n setLocation(getX()+velx,getY()+vely); \n if(getX()+50<((Nivel1)w).getAnc() && getOneObjectAtOffset(dx+vel,0,Piedra.class)==null\n && getOneObjectAtOffset(dx,dy,Piedra.class)==null \n && getOneObjectAtOffset(dx,-dy,Piedra.class)==null \n && getX() < 800-dx){ \n }else{ \n setImage(\"Topo2.png\");\n velx=-1;\n }\n if(getX()-50>0 && getOneObjectAtOffset(-dx-vel,0,Piedra.class)==null\n && getOneObjectAtOffset(-dx,dy,Piedra.class)==null \n && getOneObjectAtOffset(-dx,-dy,Piedra.class)==null \n && getX() > dx){ \n }else{ \n setImage(\"Topo.png\");\n velx=1;\n } \n if(getY()-50 > 0 && getOneObjectAtOffset(0,-dy-vel,Piedra.class)==null\n && getOneObjectAtOffset(dx,-dy,Piedra.class)==null \n && getOneObjectAtOffset(-dx,-dy,Piedra.class)==null \n && getY() > 80){\n }else{ \n vely=1;\n } \n if(getY()+50<=((Nivel1)w).getAltura() \n && getOneObjectAtOffset(0,dy+vel,Piedra.class)==null\n && getOneObjectAtOffset(dx,dy,Piedra.class)==null \n && getOneObjectAtOffset(-dx,dy,Piedra.class)==null \n && getY() < 600-dy){ \n }else{ \n vely=-1;\n }\n }", "title": "" }, { "docid": "8cf91f5d5e8c9010e8c569dd96d2940f", "score": "0.4767392", "text": "public void asignarDorsal(int dorsal){\n this.dorsal = dorsal;\n }", "title": "" }, { "docid": "19c5fbec26f3cd707fbae6517a4e79d8", "score": "0.47634426", "text": "@Override\n\tpublic void visitar(ExpressaoOr exp) {\n\t\t\n\t\tsetExp_Refactoring(exp);\n\t\tif(exp.getExpDireita() instanceof ValorBooleano && exp.getExpEsquerda() instanceof ValorBooleano)\n\t\t{\n\t\tboolean ExpDir = ((ValorBooleano)exp.getExpDireita()).getValor();\n\t\tboolean ExpEsq = ((ValorBooleano)exp.getExpEsquerda()).getValor();\n\t\t\n\t\t\t/*\n\t\t\t * \n\t\t\t * !X or !Y = !(X and Y)\n\t\t\t * \n\t\t\t */\n\t\t\tif(!ExpDir && !ExpEsq) {\n\t\t\tValorBooleano BoolAux = (ValorBooleano) (new ExpressaoAnd(exp.getExpDireita(),exp.getExpDireita())).avaliar();\n\t\t\tsetExp_Refactoring(new ExpressaoNot(BoolAux));\n\t\t\t\n\t\t\t}\n\t\t\n\t\t\t\n\t\t}\n\t\n\t\n\t\n\t\n\t}", "title": "" }, { "docid": "46d94e293d566c62f7212f33a4229239", "score": "0.47611707", "text": "public void pauzuj(){\n\t\tint tmp = stanGry;\n\t\tif (tmp == 1)\n\t\t\tstanGry = 2;\n\t\tif (tmp == 2)\n\t\t\tstanGry = 1;\n\t\t\n\t}", "title": "" }, { "docid": "12446529688c0f6a953dce7f70334451", "score": "0.47568446", "text": "private static void mutate(IndividuoHorario indiv) {\n//\t\tint[][] horarioGen; \n\t\tint[] genRule;\t\n\t\tint numIntentos=0;\n\t\tboolean found=false;\n\t\tHorario obHorario=new Horario();//TODO y si no declaro horario y crearMat_vacia es static?\n\t\tIndividuoHorario mutantIndiv = new IndividuoHorario();\n\n\t\tmutantIndiv.setGenoma(indiv.getGenoma());//we give the mutant individual the genome of the original invidivual \n//\t\thorarioGen=obHorario.crearMat_vacia();//T ODO aqui y en crossover ver si crear funcion para gen rule a partir de indiv o pasar por parametros\n\t\tgenRule=(Algorithm.getElHorario()).getRule();\n\n\t\t// Loop through genes\n\t\tfor (int i = 0; i < indiv.size(); i++) {//for(each gene in the genome)\n\t\t\tdo{//while(!found && numIntentos<10)\n\t\t\t\tif (Math.random() <= mutationRate) {\n\t\t\t\t\t// Create random gene\n\t\t\t\t\tmutantIndiv.setGene(i, (int) Math.ceil(Math.random()*genRule[i]));//TODO comprobar\n\t\t\t\t\tif(mutantIndiv.getGene(i)<=0){\n\t\t\t\t\t\tmutantIndiv.setGene(i, 1);\n\t\t\t\t\t}\n\t\t\t\t\t//horarioGen=obHorario.addHorario(newIndivMut.getGenoma(), horarioGen);//T ODO tengo que hacerlo incremental. Ya se hace incremental pero no se inicia a 0 los genes al crear el individuo.\n\t\t\t\t\t//T ODO cambiar como en getFiness de calculoFitness... podría crear una funcion que sea genHorario\n\n\t\t\t\t\tfound=checkAllGenoma(mutantIndiv.getGenoma());//Check\n\t\t\t\t\t//found=checkNewGen(newSol.getGene(),horarioGen,i);\t\n\t\t\t\t\tnumIntentos++;\n\t\t\t\t\tif(found){numIntentos=0;}\n\t\t\t\t}//if(mutate)\n\t\t\t}while(!found && numIntentos<10);\n\t\t\tif(!found){//if we don't find an apropiate mutation...\n\t\t\t\tmutantIndiv.setGene(i, indiv.getGene(i));//... we do not mutate this gene\n\t\t\t}\n\t\t}//for(each gene in the genome)\n\t}", "title": "" }, { "docid": "a76bd715271e7feabab6af4970c8ace1", "score": "0.47553954", "text": "private void setOpposites()\n\t{\n\t\t// uses the setOpposite method in the Button class\n\t\ttwoSides[0].buttonAt(2, 2).setOpposite(twoSides[1].buttonAt(4, 2));\n\t\ttwoSides[0].buttonAt(4, 2).setOpposite(twoSides[1].buttonAt(2, 2));\n\t\ttwoSides[0].buttonAt(2, 4).setOpposite(twoSides[1].buttonAt(4, 4));\n\t\ttwoSides[0].buttonAt(4, 4).setOpposite(twoSides[1].buttonAt(2, 4));\n\t\t\n\t\ttwoSides[1].buttonAt(2, 2).setOpposite(twoSides[0].buttonAt(4, 2));\n\t\ttwoSides[1].buttonAt(4, 2).setOpposite(twoSides[0].buttonAt(2, 2));\n\t\ttwoSides[1].buttonAt(2, 4).setOpposite(twoSides[0].buttonAt(4, 4));\n\t\ttwoSides[1].buttonAt(4, 4).setOpposite(twoSides[0].buttonAt(2, 4));\n\t}", "title": "" }, { "docid": "af89e6cebe14412b67bbf52e24f13252", "score": "0.47455016", "text": "booleanTerm getOrRight();", "title": "" }, { "docid": "172eb20ad954130de88d6d3606831f69", "score": "0.47437847", "text": "public abstract void entrenar();", "title": "" } ]
9da9c4d16af8e180136f0a5dab6526cc
Return how many cities are in the list
[ { "docid": "9f6293c131a3006112d9121d4abec401", "score": "0.8364836", "text": "public int countCities(){\n return this.cities.size();\n }", "title": "" } ]
[ { "docid": "d4af1d568365313598f51f9bceae5023", "score": "0.7709576", "text": "public static int numberOfCities(){\n return destinationCities.size(); // get the number of cities left to be visited\n }", "title": "" }, { "docid": "0c014e18b15eb8269e043baac1b37a6f", "score": "0.76579726", "text": "@Override\r\n public int getCities() {\r\n return numberOfCities;\r\n }", "title": "" }, { "docid": "c0f22f42b3408cb7e5a2d3f4bbb41eac", "score": "0.744699", "text": "public void countByCity(String city) {\n\t\t List<String> names = statePersonDictionary.entrySet().stream().filter(e -> e.getKey().equals(city))\n .map(Map.Entry :: getValue).collect(Collectors.toList());\n System.out.println(names);\n System.out.println(names.size());\n\t }", "title": "" }, { "docid": "cc58392d25f53251a3819d47b40adeb9", "score": "0.7308525", "text": "public int getCities() {\n\t\treturn cities;\n\t}", "title": "" }, { "docid": "7aa4caafd463b88ff55d3f3b92b322cb", "score": "0.71667475", "text": "public void countByCity(String city) {\n\t\tlong count = 0;\n\t\tfor (Map.Entry<String, AddressBook> entry : stateAddressBookMap.entrySet()) {\n\t\t\tcount += entry.getValue().getPersonList().stream().filter(c -> c.getCity().equals(city)).count();\n\t\t}\n\t\tSystem.out.println(\"Number of contacts in '\" + city + \"' : \" + count);\n\t}", "title": "" }, { "docid": "fdee1ec0a1476e42b81148a3384d02bb", "score": "0.70853156", "text": "public static int HowManyTimes(String city) {\r\n\t\tint count=0;\r\n\t\tfor (CustomerInterface cp : groupMember) {\r\n\t\t\tif (cp.getCity().equals(city)) {\r\n\t\t\tcount += 1;\t\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "76fdcd2f4ec4661a748909622821409c", "score": "0.6608009", "text": "int getRegionsCount();", "title": "" }, { "docid": "6e7607ec8d15e4442525c73d30a6d59e", "score": "0.6601167", "text": "public int getTotalCountyCount();", "title": "" }, { "docid": "39b2b13a0223558789de48d266788bbc", "score": "0.64599717", "text": "int getListCount();", "title": "" }, { "docid": "39b2b13a0223558789de48d266788bbc", "score": "0.64599717", "text": "int getListCount();", "title": "" }, { "docid": "39b2b13a0223558789de48d266788bbc", "score": "0.64599717", "text": "int getListCount();", "title": "" }, { "docid": "decbc00ff79cd79667e68117545b54c1", "score": "0.6426039", "text": "int getAddressesCount();", "title": "" }, { "docid": "decbc00ff79cd79667e68117545b54c1", "score": "0.6426039", "text": "int getAddressesCount();", "title": "" }, { "docid": "decbc00ff79cd79667e68117545b54c1", "score": "0.6426039", "text": "int getAddressesCount();", "title": "" }, { "docid": "657747fecf4af3afaa61bf6f9beeabd0", "score": "0.6407241", "text": "public static int returnCompanyCount(){\n return instance.companyArrayList.size();\n }", "title": "" }, { "docid": "b2280d459466f34345e637717f643e87", "score": "0.63726795", "text": "int getWebsitesCount();", "title": "" }, { "docid": "07206fe283adc5c657d2b3f7331ba240", "score": "0.63093877", "text": "public int getLocationCount() {\n return locations.size();\n }", "title": "" }, { "docid": "a71ea134b1899d9714ae00003ed0aca1", "score": "0.6262933", "text": "@Override\n public int getItemCount() {\n return cities.size();\n }", "title": "" }, { "docid": "4b8716586a108b2212602b6c91d0dc63", "score": "0.6249658", "text": "int getDeptListCount();", "title": "" }, { "docid": "865c1eecdaae2c60d8061fcdbc253d55", "score": "0.6243151", "text": "int getHostsCount();", "title": "" }, { "docid": "5e117f7f9df36c5ab7b34343d1846c8a", "score": "0.62407434", "text": "public int numberOfCompanies(){\n // This is only for debug purposes\n assert( counterN < 1 ) : \"zero companies listed\";\n return counterN;\n\t}", "title": "" }, { "docid": "2bc001ff8a1fec2a2140da356ce79938", "score": "0.61701566", "text": "@Override\n public int getNewListSize() {\n return newCities.size();\n }", "title": "" }, { "docid": "30e6220ef7bfa89384520246a97d5ee0", "score": "0.6167906", "text": "public int getLocationsCount() {\n return locations_.size();\n }", "title": "" }, { "docid": "552d6f3a3d0df40fd0bfb8124f432c68", "score": "0.6144284", "text": "public int getColoniesPopulation() {\n int i = 0;\n for (Colony c : getColonies()) i += c.getUnitCount();\n return i;\n }", "title": "" }, { "docid": "32696cde5840f97f5f84ae7e08be063a", "score": "0.61404556", "text": "public int filterAndThenCountWithExternalIteration(List<Artist> artists) {\n int count = 0;\n Iterator<Artist> iterator = artists.iterator();\n while (iterator.hasNext()) {\n Artist artist = iterator.next();\n if (artist.isFrom(\"London\")) {\n count++;\n }\n }\n return count;\n }", "title": "" }, { "docid": "a0e897acbdf2d79bcc5cf2cfdd507f82", "score": "0.61366755", "text": "int getInterestsCount();", "title": "" }, { "docid": "27c2d4c1cc76687539288372feeaed9c", "score": "0.6111717", "text": "int getListsCount();", "title": "" }, { "docid": "8a9f25c8574f21f65aa2d7c1300207c6", "score": "0.61105", "text": "@Override\n public int getItemCount() {\n return cityNameList.size();\n }", "title": "" }, { "docid": "81c6357db9fc6f440856910f295bdc58", "score": "0.6108895", "text": "public int getNumberOfRegions() {\n\t\treturn search.getRegionMemberCount().size;\n\t}", "title": "" }, { "docid": "c692bd9b0d4ee8fc7306eb66cef075e7", "score": "0.6057157", "text": "int getMachinesCount();", "title": "" }, { "docid": "718b6cf40b6c4002df744b6bd862a29d", "score": "0.60560673", "text": "int getSelectedRegionsCount();", "title": "" }, { "docid": "a382b4e03c94128a0eb47bf30488b05a", "score": "0.60386133", "text": "public int numOfCandidates(){\n\t\tint s = driver.findElements(By.xpath(\"//tbody//tr\")).size();\n\t\tSystem.out.println(s); \n\t\treturn s;\n\t}", "title": "" }, { "docid": "7accced483c114bcba71e73287373bd6", "score": "0.6035681", "text": "int getContactsCount();", "title": "" }, { "docid": "1b2ae90ee7636ebdf604c13b04440327", "score": "0.6034968", "text": "int getEquipListCount();", "title": "" }, { "docid": "5eab195a9424fbab49ae6938dda8af2a", "score": "0.6032039", "text": "public int size(){\n return listOfSat.size();\n }", "title": "" }, { "docid": "f4395e5a3d7af4590ee97156514425ba", "score": "0.60252583", "text": "public int getTotalMarineZoneCount();", "title": "" }, { "docid": "17a0c1bb3b4d0e2752ae2fcf7cf5ab0d", "score": "0.60135525", "text": "@Override\r\n\t\tpublic int size() {\n\t\t\treturn GeoList.size();\r\n\t\t}", "title": "" }, { "docid": "5377cb6d2e0157967fbcd1f8f54cb5ec", "score": "0.6004135", "text": "int getLiquidityProvidersCount();", "title": "" }, { "docid": "5377cb6d2e0157967fbcd1f8f54cb5ec", "score": "0.6004135", "text": "int getLiquidityProvidersCount();", "title": "" }, { "docid": "20a0a091daa346f651d3ec1ff33ae19b", "score": "0.59845483", "text": "public int getNbPersons()\n {\n int ret=0;\n for(int i=0;i<_sosas.size();i++)\n {\n ret+=_sosas.get(i).size();\n }\n return ret;\n }", "title": "" }, { "docid": "270df98b6366288e4d9da9c813c14806", "score": "0.5981217", "text": "int getEmployeesCount();", "title": "" }, { "docid": "270df98b6366288e4d9da9c813c14806", "score": "0.5981217", "text": "int getEmployeesCount();", "title": "" }, { "docid": "cfe59169b7b141d6937e8ac4cd699e88", "score": "0.597845", "text": "int getEliteCount();", "title": "" }, { "docid": "7433678dcf60c3c53a06d6c6cc95762e", "score": "0.5970811", "text": "int getMapsCount();", "title": "" }, { "docid": "2525240622a3ea69035b2224af3ebbea", "score": "0.5961716", "text": "int getAddressDetailInfoCount();", "title": "" }, { "docid": "69fe642948a09d45a8a5e58b8f8a2de0", "score": "0.59551543", "text": "int getDomainCount();", "title": "" }, { "docid": "db838cea8fdd85c74b7a7e731a140659", "score": "0.5953197", "text": "public int ListCount() {\n\t\treturn sqlSession.selectOne(\"FestivalMapper.listcount\");\n\t}", "title": "" }, { "docid": "3904bfe1d0df90d396be123631e70121", "score": "0.5928082", "text": "int getCoinListCount();", "title": "" }, { "docid": "10adf9ae7c865caabc57714e1985d8a2", "score": "0.5907251", "text": "int getGroupMemberListCount();", "title": "" }, { "docid": "2e37cddf686daa60a9be5b0ec290321c", "score": "0.59064627", "text": "@Override\r\n\tpublic int queryCount(Province record) {\n\t\treturn provinceMapper.selectCount(record);\r\n\t}", "title": "" }, { "docid": "e80d83cf18bda1ee8657bc1833926152", "score": "0.5897726", "text": "public int numberOfOpenSites() {\n int num = 0;\n for (int row = 0; row < height; row++) {\n for (int col = 0; col < height; col++) {\n if (grid[row][col]) num++;\n }\n }\n return num;\n }", "title": "" }, { "docid": "50981b9579c5be42c6c171b803b83f03", "score": "0.5881003", "text": "int getAgentsCount();", "title": "" }, { "docid": "049d148e9b428aecce082e84d5a12459", "score": "0.58803463", "text": "int getMembersCount();", "title": "" }, { "docid": "049d148e9b428aecce082e84d5a12459", "score": "0.58803463", "text": "int getMembersCount();", "title": "" }, { "docid": "19d5ee59ba6ef6c2bf1b3916c5e5f571", "score": "0.58703554", "text": "int getTeamidsCount();", "title": "" }, { "docid": "55fd213f2af221e331e060ea6e146ca3", "score": "0.5862529", "text": "public List getNumberOfCases() throws SQLException{\n\t\treturn vwDao.getNumberOfCases();\n\t}", "title": "" }, { "docid": "716102924cf77507a58a1e53a2f50836", "score": "0.5861915", "text": "public int getPlacedCount()\r\n {\r\n int count = 0;\r\n \r\n for (Card card : getCards())\r\n {\r\n //this card has been placed so add to count\r\n if (card.getPoint().equals(card.getDestination()))\r\n count++;\r\n }\r\n \r\n return count;\r\n }", "title": "" }, { "docid": "df2a7d62936b31ab446d9ebbc6bfc3c5", "score": "0.5859753", "text": "@GetMapping(\"/count\")\n public static int getCountPersons() {\n return PersonService.personList.size();\n }", "title": "" }, { "docid": "018d775d978f32fdef8cce6c8a9308fd", "score": "0.5850952", "text": "public int numberOfOpenSites(){\n\t\t\n\t\t//initialize counter to zero\n\t\tint counter = 0;\n\t\tint size = N * N;\n \n //update counter by one if site is open\n for (int i = 1; i <= size; i++){\n counter += state[i] ? 1 : 0;\n\t\t}\n\t\t\n return counter;\n\t}", "title": "" }, { "docid": "1497167a879636db6e1ed3ec877389c8", "score": "0.58462435", "text": "int getTilesCount();", "title": "" }, { "docid": "730457eed31fad406426e799067cd086", "score": "0.5834285", "text": "int getEntriesCount();", "title": "" }, { "docid": "730457eed31fad406426e799067cd086", "score": "0.5834285", "text": "int getEntriesCount();", "title": "" }, { "docid": "0ff03541e379125b80860a861f5a59e6", "score": "0.58341396", "text": "int getBetsCount();", "title": "" }, { "docid": "1d06025af208bb15bacef7f01d0cb70b", "score": "0.5833926", "text": "int getNamesCount();", "title": "" }, { "docid": "1d06025af208bb15bacef7f01d0cb70b", "score": "0.5833926", "text": "int getNamesCount();", "title": "" }, { "docid": "1d06025af208bb15bacef7f01d0cb70b", "score": "0.5833926", "text": "int getNamesCount();", "title": "" }, { "docid": "730457eed31fad406426e799067cd086", "score": "0.5832919", "text": "int getEntriesCount();", "title": "" }, { "docid": "730457eed31fad406426e799067cd086", "score": "0.5832919", "text": "int getEntriesCount();", "title": "" }, { "docid": "730457eed31fad406426e799067cd086", "score": "0.5832919", "text": "int getEntriesCount();", "title": "" }, { "docid": "6191706f0dfbe4d04f636112c6e15a8a", "score": "0.58293563", "text": "public int count(){\n \n CityStackNode temp = new CityStackNode();\n int count = 0;\n if (top == null) {\n\n System.out.println(\"Stack is empty\");\n\n } else {\n\n temp = top; \n\n while(temp.next != null){\n count++; \n temp = temp.next; \n \n }\n\n }\n return count;\n \n }", "title": "" }, { "docid": "7ca1bc28cec04148b28be8c34fdd1386", "score": "0.58235955", "text": "public int getNumOfParkingPlaces(){return numOfParkingPlaces;}", "title": "" }, { "docid": "50dd5e422623f4db8e597ac73924510c", "score": "0.5810013", "text": "int countByExample(RegionsExample example);", "title": "" }, { "docid": "29ed0f2787666fa841a7183818ce2748", "score": "0.58031493", "text": "public int totalCandidates();", "title": "" }, { "docid": "560faaf094f6dcdb0325bcef8955e748", "score": "0.5801148", "text": "int getWhereCount();", "title": "" }, { "docid": "ad682412b3dabc8dbbfa375c7cc058e6", "score": "0.5792198", "text": "public int getTotalEcosystemCount();", "title": "" }, { "docid": "77bab724f060b253b9f3aa79cbc28214", "score": "0.57901466", "text": "public final int nChips() {\n\t\treturn chips.size();\n\t}", "title": "" }, { "docid": "bc99e406c7a23ce9a3b086077e2075c0", "score": "0.5786908", "text": "int getCouponsCount();", "title": "" }, { "docid": "b33895f5031c5d8cb0869be1b9f67efa", "score": "0.57840556", "text": "public void countByState(String state) {\n\t\tlong count = 0;\n\t\tfor (Map.Entry<String, AddressBook> entry : stateAddressBookMap.entrySet()) {\n\t\t\tcount += entry.getValue().getPersonList().stream().filter(c -> c.getCity().equals(state)).count();\n\t\t}\n\t\tSystem.out.println(\"Number of contacts in '\" + state + \"' : \" + count);\n\t}", "title": "" }, { "docid": "6f05813d600544ebe1da5d9ebc82c0aa", "score": "0.5781403", "text": "@Override\n public int getOldListSize() {\n return oldCities.size();\n }", "title": "" }, { "docid": "c55bc87c7fe2141c6cf77d9ba37cfcb5", "score": "0.5780192", "text": "public Long getCountryCount() {\n CriteriaQuery cq = em.getCriteriaBuilder().createQuery();\n Root<Country> rt = cq.from(Country.class);\n cq.select(em.getCriteriaBuilder().count(rt));\n \n Query q = em.createQuery(cq);\n Long number = (Long) q.getSingleResult();\n LOGGER.log(Level.INFO, \"country count: {0}\", number);\n \n return number;\n }", "title": "" }, { "docid": "cea464efdbe5a67ce7884de8b0d223d2", "score": "0.5776605", "text": "public int numberOfInternationalCompanies(){\n // This is only for debug purposes\n assert( counterI < 1 ) : \"zero international companies listed\";\n return counterI;\n }", "title": "" }, { "docid": "4b0616a13f31b89d94ffd9c7d67d3311", "score": "0.5776021", "text": "public int listLength() {\n return animals.size();\n }", "title": "" }, { "docid": "0b453c9b46a23b07fd1e1892a6a291c8", "score": "0.57745785", "text": "private int size(){\n int size = 0;\n\n if (list.size() == 0) return 0;\n\n for (Year y: list.values()){\n for (Month m: y.values()){\n for (Week w: m.values()){\n size += w.size();\n }\n }\n }\n return size;\n }", "title": "" }, { "docid": "36cba83c37f419432a367f875842fe25", "score": "0.57735336", "text": "@Override\n\tpublic int size() {\n\t\treturn mGeoList.size();\n\t}", "title": "" }, { "docid": "ac950c8ae2998a3fd557e8afae375efd", "score": "0.5770236", "text": "int getAssistsCount();", "title": "" }, { "docid": "2e5343906fe3b134ddfd78c62fd9c098", "score": "0.5765349", "text": "public int getLocationsCount() {\n if (locationsBuilder_ == null) {\n return locations_.size();\n } else {\n return locationsBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "a44428e311b38b7307d477024abfa74e", "score": "0.57626456", "text": "int getCamsCount();", "title": "" }, { "docid": "b476965953f13b5ded5ba891346c6186", "score": "0.576227", "text": "int getPartyIdsCount();", "title": "" }, { "docid": "7bcc0ae24473171f11ccd2128da8a506", "score": "0.5758699", "text": "public int count() {\n int result;\n mapLock.lock();\n try {\n result = configured.size();\n } finally {\n mapLock.unlock();\n }\n return result;\n }", "title": "" }, { "docid": "5a29f52fa91ac1a013015136946f891c", "score": "0.5757304", "text": "public int count(){\r\n return this.itemsMap.size();\r\n }", "title": "" }, { "docid": "827280c1afe4798a1e734eb2514b7714", "score": "0.57504433", "text": "public int getNumCars(){\n\t return trainCars.size();\n }", "title": "" }, { "docid": "a38156821b4e6629d4f3dee08681a1b7", "score": "0.5748895", "text": "public int size() {\n\n return list.size();\n }", "title": "" }, { "docid": "d66383dad14a153a7f3fc904ed6fc21c", "score": "0.5748364", "text": "int getTagsCount();", "title": "" }, { "docid": "d66383dad14a153a7f3fc904ed6fc21c", "score": "0.5748364", "text": "int getTagsCount();", "title": "" }, { "docid": "ca354ac41477ef85103c07fda1211319", "score": "0.57453454", "text": "public int count() {\r\n return drones.size();\r\n\r\n }", "title": "" }, { "docid": "97a5f5fa107ed258331a727d2a559a74", "score": "0.5743465", "text": "public int size(){\n return people.size();\n }", "title": "" }, { "docid": "3b743a5d5e41dcab00aa92e99596aeb7", "score": "0.5743064", "text": "int getGroupIdsCount();", "title": "" }, { "docid": "134bb33c359a9d9f15c3234ab15f65e2", "score": "0.57422763", "text": "int getUserInfoListCount();", "title": "" }, { "docid": "11ccbaf9998e7d5e7d024cd1f6214975", "score": "0.57372177", "text": "public int size(){\n return list.size();\n }", "title": "" }, { "docid": "3e99cc9b3aae9ea5cde9558c6accfdda", "score": "0.5736215", "text": "@Query(\"select a.brotherhoods.size from Area a\")\n\tCollection<Integer> countOfBrotherhoodsByArea();", "title": "" } ]
10d289c19ebae41e21689488038670bd
$ANTLR end "T__149" $ANTLR start "T__150"
[ { "docid": "31cfa929aa0283bb8b3afad03e869219", "score": "0.0", "text": "public final void mT__150() throws RecognitionException {\n try {\n int _type = T__150;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalMyDsl.g:148:8: ( 'Equal' )\n // InternalMyDsl.g:148:10: 'Equal'\n {\n match(\"Equal\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" } ]
[ { "docid": "3b6f1bfdb527944fa130de9d4f776007", "score": "0.56496286", "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.5645531", "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": "4b495f0a5ccbdb55aa7846c1c87fec83", "score": "0.5350377", "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": "d90ebb43c7d0ad6fe4f55c82ba33fd16", "score": "0.53228444", "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": "07b3524f9675a61859394c052500e09e", "score": "0.5304933", "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": "df9056ca0a213d273ae5e3eabb61abcb", "score": "0.52479714", "text": "@Test\r\n public void test1(){\r\n Exp one = new NumericLiteral(1);\r\n Exp three = new NumericLiteral(3);\r\n Exp exp = new PlusExp(one, three);\r\n Stmt decl = new DeclStmt(\"x\");\r\n Stmt assign = new Assignment(\"x\", exp);\r\n Stmt seq = new Sequence(decl, assign);\r\n assertEquals(seq.text(), \"var x; x = 1 + 3\");\r\n }", "title": "" }, { "docid": "d55929706a376adcebb3850d76ad008d", "score": "0.52278", "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": "295e1217172380d1f0a8b718e387a30c", "score": "0.5176264", "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": "12fc9d459d7591ccdf4282d225c89d2f", "score": "0.5138868", "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": "5e17af9d4604348df4a46c4b10f2ca1c", "score": "0.51358974", "text": "@Test(timeout = 4000)\n public void test151() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"9M4i+yR.T\");\n Token token0 = xPathLexer0.number();\n assertEquals(\"9\", token0.getTokenText());\n assertEquals(30, token0.getTokenType());\n \n Token token1 = xPathLexer0.dollar();\n assertEquals(26, token1.getTokenType());\n assertEquals(\"M\", token1.getTokenText());\n \n Token token2 = xPathLexer0.at();\n assertEquals(16, token2.getTokenType());\n assertEquals(\"4\", token2.getTokenText());\n \n Token token3 = xPathLexer0.not();\n assertEquals(\"i\", token3.getTokenText());\n assertEquals(23, token3.getTokenType());\n \n Token token4 = xPathLexer0.nextToken();\n assertEquals(\"+\", token4.getTokenText());\n assertEquals(5, token4.getTokenType());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(\"yR.T\", token5.getTokenText());\n assertEquals(15, token5.getTokenType());\n }", "title": "" }, { "docid": "a45a47e8bc10deddebe03a30269a5806", "score": "0.5115165", "text": "public abstract void mo2153a(CharSequence charSequence);", "title": "" }, { "docid": "367ab93059610aea0d9ee7e981eacd37", "score": "0.508934", "text": "@Test(timeout = 4000)\n public void test137() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(2, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifier();\n assertEquals(\"E\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(7, token2.getTokenType());\n assertEquals(\"<\", token2.getTokenText());\n }", "title": "" }, { "docid": "677dc3f5ca7b479d664a317da1cae430", "score": "0.50733525", "text": "public interface SalsaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 10;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 11;\n /** RegularExpression Id. */\n int ABSTRACT = 13;\n /** RegularExpression Id. */\n int ACK = 14;\n /** RegularExpression Id. */\n int AT = 15;\n /** RegularExpression Id. */\n int BEHAVIOR = 16;\n /** RegularExpression Id. */\n int BOOLEAN = 17;\n /** RegularExpression Id. */\n int BREAK = 18;\n /** RegularExpression Id. */\n int BYTE = 19;\n /** RegularExpression Id. */\n int CALLED = 20;\n /** RegularExpression Id. */\n int CASE = 21;\n /** RegularExpression Id. */\n int CATCH = 22;\n /** RegularExpression Id. */\n int CHAR = 23;\n /** RegularExpression Id. */\n int CONST = 24;\n /** RegularExpression Id. */\n int CONTINUE = 25;\n /** RegularExpression Id. */\n int _DEFAULT = 26;\n /** RegularExpression Id. */\n int DELAY = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ENUM = 29;\n /** RegularExpression Id. */\n int ELSE = 30;\n /** RegularExpression Id. */\n int ENDIF = 31;\n /** RegularExpression Id. */\n int EXTENDS = 32;\n /** RegularExpression Id. */\n int FALSE = 33;\n /** RegularExpression Id. */\n int FLOAT = 34;\n /** RegularExpression Id. */\n int FOR = 35;\n /** RegularExpression Id. */\n int IF = 36;\n /** RegularExpression Id. */\n int IMPLEMENTS = 37;\n /** RegularExpression Id. */\n int IMPORT = 38;\n /** RegularExpression Id. */\n int INSTANCEOF = 39;\n /** RegularExpression Id. */\n int INT = 40;\n /** RegularExpression Id. */\n int INTERFACE = 41;\n /** RegularExpression Id. */\n int LATER = 42;\n /** RegularExpression Id. */\n int LONG = 43;\n /** RegularExpression Id. */\n int LOOP = 44;\n /** RegularExpression Id. */\n int MODULE = 45;\n /** RegularExpression Id. */\n int NEW = 46;\n /** RegularExpression Id. */\n int NULL = 47;\n /** RegularExpression Id. */\n int OBJECT = 48;\n /** RegularExpression Id. */\n int ON = 49;\n /** RegularExpression Id. */\n int PASS = 50;\n /** RegularExpression Id. */\n int PARENT = 51;\n /** RegularExpression Id. */\n int PUBLIC = 52;\n /** RegularExpression Id. */\n int REFERENCE = 53;\n /** RegularExpression Id. */\n int SELF = 54;\n /** RegularExpression Id. */\n int SHORT = 55;\n /** RegularExpression Id. */\n int SUPER = 56;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 57;\n /** RegularExpression Id. */\n int SWITCH = 58;\n /** RegularExpression Id. */\n int _TOKEN = 59;\n /** RegularExpression Id. */\n int TRUE = 60;\n /** RegularExpression Id. */\n int TRY = 61;\n /** RegularExpression Id. */\n int USING = 62;\n /** RegularExpression Id. */\n int WAITFOR = 63;\n /** RegularExpression Id. */\n int WHILE = 64;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 65;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 66;\n /** RegularExpression Id. */\n int HEX_LITERAL = 67;\n /** RegularExpression Id. */\n int OCTAL_LITERAL = 68;\n /** RegularExpression Id. */\n int FLOATING_POINT_LITERAL = 69;\n /** RegularExpression Id. */\n int EXPONENT = 70;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 71;\n /** RegularExpression Id. */\n int STRING_LITERAL = 72;\n /** RegularExpression Id. */\n int IDENTIFIER = 73;\n /** RegularExpression Id. */\n int LETTER = 74;\n /** RegularExpression Id. */\n int DIGIT = 75;\n /** RegularExpression Id. */\n int LPAREN = 76;\n /** RegularExpression Id. */\n int RPAREN = 77;\n /** RegularExpression Id. */\n int LBRACE = 78;\n /** RegularExpression Id. */\n int RBRACE = 79;\n /** RegularExpression Id. */\n int LBRACKET = 80;\n /** RegularExpression Id. */\n int RBRACKET = 81;\n /** RegularExpression Id. */\n int SEMICOLON = 82;\n /** RegularExpression Id. */\n int COMMA = 83;\n /** RegularExpression Id. */\n int DOT = 84;\n /** RegularExpression Id. */\n int MSG = 85;\n /** RegularExpression Id. */\n int ASSIGN = 86;\n /** RegularExpression Id. */\n int GT = 87;\n /** RegularExpression Id. */\n int LT = 88;\n /** RegularExpression Id. */\n int BANG = 89;\n /** RegularExpression Id. */\n int TILDE = 90;\n /** RegularExpression Id. */\n int COLON = 91;\n /** RegularExpression Id. */\n int EQ = 92;\n /** RegularExpression Id. */\n int LE = 93;\n /** RegularExpression Id. */\n int GE = 94;\n /** RegularExpression Id. */\n int NE = 95;\n /** RegularExpression Id. */\n int SC_OR = 96;\n /** RegularExpression Id. */\n int SC_AND = 97;\n /** RegularExpression Id. */\n int INCR = 98;\n /** RegularExpression Id. */\n int DECR = 99;\n /** RegularExpression Id. */\n int PLUS = 100;\n /** RegularExpression Id. */\n int MINUS = 101;\n /** RegularExpression Id. */\n int STAR = 102;\n /** RegularExpression Id. */\n int SLASH = 103;\n /** RegularExpression Id. */\n int BIT_AND = 104;\n /** RegularExpression Id. */\n int BIT_OR = 105;\n /** RegularExpression Id. */\n int XOR = 106;\n /** RegularExpression Id. */\n int REM = 107;\n /** RegularExpression Id. */\n int LSHIFT = 108;\n /** RegularExpression Id. */\n int RSIGNEDSHIFT = 109;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFT = 110;\n /** RegularExpression Id. */\n int PLUSASSIGN = 111;\n /** RegularExpression Id. */\n int MINUSASSIGN = 112;\n /** RegularExpression Id. */\n int STARASSIGN = 113;\n /** RegularExpression Id. */\n int SLASHASSIGN = 114;\n /** RegularExpression Id. */\n int ANDASSIGN = 115;\n /** RegularExpression Id. */\n int ORASSIGN = 116;\n /** RegularExpression Id. */\n int XORASSIGN = 117;\n /** RegularExpression Id. */\n int REMASSIGN = 118;\n /** RegularExpression Id. */\n int LSHIFTASSIGN = 119;\n /** RegularExpression Id. */\n int RSIGNEDSHIFTASSIGN = 120;\n /** RegularExpression Id. */\n int RUNSIGNEDSHIFTASSIGN = 121;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 12>\",\n \"\\\"abstract\\\"\",\n \"\\\"ack\\\"\",\n \"\\\"at\\\"\",\n \"\\\"behavior\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"called\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"delay\\\"\",\n \"\\\"double\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"else\\\"\",\n \"\\\"endif\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"later\\\"\",\n \"\\\"long\\\"\",\n \"\\\"loop\\\"\",\n \"\\\"module\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"object\\\"\",\n \"\\\"on\\\"\",\n \"\\\"pass\\\"\",\n \"\\\"parent\\\"\",\n \"\\\"public\\\"\",\n \"\\\"reference\\\"\",\n \"\\\"self\\\"\",\n \"\\\"short\\\"\",\n \"\\\"super\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"token\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"using\\\"\",\n \"\\\"waitfor\\\"\",\n \"\\\"while\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<DECIMAL_LITERAL>\",\n \"<HEX_LITERAL>\",\n \"<OCTAL_LITERAL>\",\n \"<FLOATING_POINT_LITERAL>\",\n \"<EXPONENT>\",\n \"<CHARACTER_LITERAL>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\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 \"\\\"^\\\"\",\n \"\\\"%\\\"\",\n \"\\\"<<\\\"\",\n \"\\\">>\\\"\",\n \"\\\">>>\\\"\",\n \"\\\"+=\\\"\",\n \"\\\"-=\\\"\",\n \"\\\"*=\\\"\",\n \"\\\"/=\\\"\",\n \"\\\"&=\\\"\",\n \"\\\"|=\\\"\",\n \"\\\"^=\\\"\",\n \"\\\"%=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\">>>=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"@\\\"\",\n };\n\n}", "title": "" }, { "docid": "7475f31f563c349d34ee8031c73f3a4d", "score": "0.5058971", "text": "Object parse(int from,int to) throws IOException, FSException {\n\n // nothing to do when starting beond the code end\n if (code.lineCount()<=from) return null;\n\n\n maxLine=to;\n code.setCurLine(from);\n tok=new LexAnn(code.getLine());\n getNextToken();\n while (tok.ttype!=LexAnn.TT_EOF) {\n\n //a script must always start with a word...\n\n try {\n parseStmt();\n } catch (RetException e) {\n return retVal;\n }\n\n getNextToken();\n }\n\n return null;\n\n\n }", "title": "" }, { "docid": "19f7d9057fed5af476f343027ce406b7", "score": "0.5054376", "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": "a78e9c6dff9ef70ef34d5de5b8594a48", "score": "0.5034349", "text": "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"i_,r,6bt/,0{\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"i_\", token0.getTokenText());\n }", "title": "" }, { "docid": "4cb9f7eb0938d43fe3bf6f9ec492250f", "score": "0.50314", "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": "73502adabbfd3086af4c2e4737107230", "score": "0.50096893", "text": "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "0fde23e01a49cf0bac7e1ea99c68d26e", "score": "0.49957484", "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": "6d1a0ed910beac9d2a9eb0a1a7c6678a", "score": "0.4980153", "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": "1e8ea8a01994b7676e4ecc08f67e6a7a", "score": "0.4962754", "text": "public abstract CharSequence mo2161g();", "title": "" }, { "docid": "a805e5b6d33f7e721ad227c6196703d0", "score": "0.4949288", "text": "public interface GoConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int integer_literal = 8;\n /** RegularExpression Id. */\n int floating_literal = 9;\n /** RegularExpression Id. */\n int boolean_literal = 10;\n /** RegularExpression Id. */\n int string_literal = 11;\n /** RegularExpression Id. */\n int numbers = 12;\n /** RegularExpression Id. */\n int valid_characters = 13;\n /** RegularExpression Id. */\n int double_quotes_in_string = 14;\n /** RegularExpression Id. */\n int back_slash = 15;\n /** RegularExpression Id. */\n int tabulations = 16;\n /** RegularExpression Id. */\n int addition = 17;\n /** RegularExpression Id. */\n int subtraction = 18;\n /** RegularExpression Id. */\n int multiplication = 19;\n /** RegularExpression Id. */\n int division = 20;\n /** RegularExpression Id. */\n int remainder = 21;\n /** RegularExpression Id. */\n int increment = 22;\n /** RegularExpression Id. */\n int decrement = 23;\n /** RegularExpression Id. */\n int equal = 24;\n /** RegularExpression Id. */\n int not_equal = 25;\n /** RegularExpression Id. */\n int greater_than = 26;\n /** RegularExpression Id. */\n int less_than = 27;\n /** RegularExpression Id. */\n int greater_than_or_equal = 28;\n /** RegularExpression Id. */\n int less_than_or_equal = 29;\n /** RegularExpression Id. */\n int bitwise_and = 30;\n /** RegularExpression Id. */\n int bitwise_inclusive_or = 31;\n /** RegularExpression Id. */\n int bitwise_exclusive_or = 32;\n /** RegularExpression Id. */\n int left_shift = 33;\n /** RegularExpression Id. */\n int right_shift = 34;\n /** RegularExpression Id. */\n int and = 35;\n /** RegularExpression Id. */\n int or = 36;\n /** RegularExpression Id. */\n int not = 37;\n /** RegularExpression Id. */\n int assignment = 38;\n /** RegularExpression Id. */\n int dynamic_assignment = 39;\n /** RegularExpression Id. */\n int addition_assignment = 40;\n /** RegularExpression Id. */\n int subtraction_assignment = 41;\n /** RegularExpression Id. */\n int multiplication_assignment = 42;\n /** RegularExpression Id. */\n int division_assignment = 43;\n /** RegularExpression Id. */\n int remainder_assignment = 44;\n /** RegularExpression Id. */\n int bitwise_and_assignment = 45;\n /** RegularExpression Id. */\n int bitwise_inclusive_or_assignment = 46;\n /** RegularExpression Id. */\n int bitwise_exclusive_or_assignment = 47;\n /** RegularExpression Id. */\n int left_shift_assignment = 48;\n /** RegularExpression Id. */\n int right_shift_assignment = 49;\n /** RegularExpression Id. */\n int opening_round_brackets = 50;\n /** RegularExpression Id. */\n int closing_round_brackets = 51;\n /** RegularExpression Id. */\n int opening_curly_brackets = 52;\n /** RegularExpression Id. */\n int closing_curly_brackets = 53;\n /** RegularExpression Id. */\n int opening_square_brackets = 54;\n /** RegularExpression Id. */\n int closing_square_brackets = 55;\n /** RegularExpression Id. */\n int semicolon = 56;\n /** RegularExpression Id. */\n int colon = 57;\n /** RegularExpression Id. */\n int dot = 58;\n /** RegularExpression Id. */\n int comma = 59;\n /** RegularExpression Id. */\n int double_quotes = 60;\n /** RegularExpression Id. */\n int quotes = 61;\n /** RegularExpression Id. */\n int rw_break = 62;\n /** RegularExpression Id. */\n int rw_default = 63;\n /** RegularExpression Id. */\n int rw_func = 64;\n /** RegularExpression Id. */\n int rw_interface = 65;\n /** RegularExpression Id. */\n int rw_select = 66;\n /** RegularExpression Id. */\n int rw_case = 67;\n /** RegularExpression Id. */\n int rw_defer = 68;\n /** RegularExpression Id. */\n int rw_go = 69;\n /** RegularExpression Id. */\n int rw_map = 70;\n /** RegularExpression Id. */\n int rw_struct = 71;\n /** RegularExpression Id. */\n int rw_chan = 72;\n /** RegularExpression Id. */\n int rw_else = 73;\n /** RegularExpression Id. */\n int rw_goto = 74;\n /** RegularExpression Id. */\n int rw_package = 75;\n /** RegularExpression Id. */\n int rw_switch = 76;\n /** RegularExpression Id. */\n int rw_const = 77;\n /** RegularExpression Id. */\n int rw_fallthrough = 78;\n /** RegularExpression Id. */\n int rw_if = 79;\n /** RegularExpression Id. */\n int rw_range = 80;\n /** RegularExpression Id. */\n int rw_type = 81;\n /** RegularExpression Id. */\n int rw_continue = 82;\n /** RegularExpression Id. */\n int rw_for = 83;\n /** RegularExpression Id. */\n int rw_import = 84;\n /** RegularExpression Id. */\n int rw_return = 85;\n /** RegularExpression Id. */\n int rw_var = 86;\n /** RegularExpression Id. */\n int dt_uint8 = 87;\n /** RegularExpression Id. */\n int dt_uint16 = 88;\n /** RegularExpression Id. */\n int dt_uint32 = 89;\n /** RegularExpression Id. */\n int dt_uint64 = 90;\n /** RegularExpression Id. */\n int dt_int8 = 91;\n /** RegularExpression Id. */\n int dt_int16 = 92;\n /** RegularExpression Id. */\n int dt_int32 = 93;\n /** RegularExpression Id. */\n int dt_int64 = 94;\n /** RegularExpression Id. */\n int dt_float32 = 95;\n /** RegularExpression Id. */\n int dt_float64 = 96;\n /** RegularExpression Id. */\n int dt_complex64 = 97;\n /** RegularExpression Id. */\n int dt_complex128 = 98;\n /** RegularExpression Id. */\n int dt_byte = 99;\n /** RegularExpression Id. */\n int dt_rune = 100;\n /** RegularExpression Id. */\n int dt_uint = 101;\n /** RegularExpression Id. */\n int dt_int = 102;\n /** RegularExpression Id. */\n int dt_uintptr = 103;\n /** RegularExpression Id. */\n int dt_string = 104;\n /** RegularExpression Id. */\n int dt_bool = 105;\n /** RegularExpression Id. */\n int main = 106;\n /** RegularExpression Id. */\n int library_fmt = 107;\n /** RegularExpression Id. */\n int rw_printf = 108;\n /** RegularExpression Id. */\n int rw_scanf = 109;\n /** RegularExpression Id. */\n int id = 110;\n /** RegularExpression Id. */\n int invalid_string = 111;\n /** RegularExpression Id. */\n int invalid_string_import = 112;\n /** RegularExpression Id. */\n int invalid_string_import_1 = 113;\n /** RegularExpression Id. */\n int invalid_string_import_2 = 114;\n /** RegularExpression Id. */\n int is_not_id = 115;\n /** RegularExpression Id. */\n int invalid_character = 116;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"<integer_literal>\",\n \"<floating_literal>\",\n \"<boolean_literal>\",\n \"<string_literal>\",\n \"<numbers>\",\n \"<valid_characters>\",\n \"\\\"\\\\\\\\\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"<tabulations>\",\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 \"\\\"^=\\\"\",\n \"\\\"<<=\\\"\",\n \"\\\">>=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"break\\\"\",\n \"\\\"default\\\"\",\n \"\\\"func\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"select\\\"\",\n \"\\\"case\\\"\",\n \"\\\"defer\\\"\",\n \"\\\"go\\\"\",\n \"\\\"map\\\"\",\n \"\\\"struct\\\"\",\n \"\\\"chan\\\"\",\n \"\\\"else\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"package\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"const\\\"\",\n \"\\\"fallthrough\\\"\",\n \"\\\"if\\\"\",\n \"\\\"range\\\"\",\n \"\\\"type\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"for\\\"\",\n \"\\\"import\\\"\",\n \"\\\"return\\\"\",\n \"\\\"var\\\"\",\n \"\\\"uint8\\\"\",\n \"\\\"uint16\\\"\",\n \"\\\"uint32\\\"\",\n \"\\\"uint64\\\"\",\n \"\\\"int8\\\"\",\n \"\\\"int16\\\"\",\n \"\\\"int32\\\"\",\n \"\\\"int64\\\"\",\n \"\\\"float32\\\"\",\n \"\\\"float64\\\"\",\n \"\\\"complex64\\\"\",\n \"\\\"complex128\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"rune\\\"\",\n \"\\\"uint\\\"\",\n \"\\\"int\\\"\",\n \"\\\"uintptr\\\"\",\n \"\\\"string\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"main\\\"\",\n \"\\\"fmt\\\"\",\n \"\\\"Printf\\\"\",\n \"\\\"Scanf\\\"\",\n \"<id>\",\n \"<invalid_string>\",\n \"<invalid_string_import>\",\n \"<invalid_string_import_1>\",\n \"<invalid_string_import_2>\",\n \"<is_not_id>\",\n \"<invalid_character>\",\n };\n\n}", "title": "" }, { "docid": "1d8d6ab825ece33efc1369017f7a994e", "score": "0.49453962", "text": "public abstract void mo2157b(CharSequence charSequence);", "title": "" }, { "docid": "f6c04617211746629787d28b666ea1a1", "score": "0.49432397", "text": "public void visit(Literal literal) {}", "title": "" }, { "docid": "3f76f281a108fa48582f2d5d78b67fb6", "score": "0.4940217", "text": "@Test(timeout = 4000)\n public void test117() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"_V)2V93#c=~\\\")I\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(1, token0.getTokenType());\n assertEquals(\"_\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"V\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "5f8e6a91d8de1145488268045c682047", "score": "0.4930879", "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": "0a724345f1504724f686b3a51dae947f", "score": "0.49188328", "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": "df1b3948aae1dee94dfcf945f3640f44", "score": "0.49115193", "text": "@Test(timeout = 4000)\n public void test153() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\") (\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\")\", token0.getTokenText());\n assertEquals(2, token0.getTokenType());\n }", "title": "" }, { "docid": "d5e495d7e6df56c2c15dbc0ce0117b7d", "score": "0.4894944", "text": "@Test(timeout = 4000)\n public void test139() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(18, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"E\", token1.getTokenText());\n }", "title": "" }, { "docid": "88933d39bfe09d54a9c6f6d5e976afa7", "score": "0.4894346", "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": "21e65ea0916f13a3128eb08d804ad65e", "score": "0.48895004", "text": "@Test(timeout = 4000)\n public void test120() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"#OPh7\");\n Token token0 = xPathLexer0.whitespace();\n assertEquals((-2), token0.getTokenType());\n assertEquals(\"\", token0.getTokenText());\n \n Token token1 = xPathLexer0.not();\n assertEquals(\"O\", token1.getTokenText());\n assertEquals(23, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(\"Ph7\", token2.getTokenText());\n assertEquals(15, token2.getTokenType());\n }", "title": "" }, { "docid": "4e42570250f4ac03d6d5fcc80766269e", "score": "0.48817366", "text": "@Override\n public String getParsedGrammar() {\n return \"<arithmetic_expression> -> id\\n\";\n }", "title": "" }, { "docid": "c944b9b2adb2ad6f8914f767b8c37858", "score": "0.48778686", "text": "@Test\n\tpublic void testSequence(){\n\t\tVariable x = new Variable(\"x\");\n\t\tOperator plus = new Operator(\"+\");\n\t\tExpression one = f.createNumNode(1);\n\t\tExpression two = f.createNumNode(2);\n\t\tExpression exp = f.createInfixNode(plus, one, two);\n\t\tStatement decl = f.createDeclNode(x);\n\t\tStatement assign = f.createAssignNode(x,exp);\n\t\tStatement seq = f.createSequenceNode(decl, assign);\n\t\tassertEquals(seq.textRepresentation(), \"var x; x = 1 + 2;\");\n\n\t\tASTNodeCountVisitor v = new ASTNodeCountVisitor();\n\t\tseq.accept(v);\n\t\tassertEquals(\"sequence test1 fail\", v.numCount, 2);\n\t\tassertEquals(\"sequence test2 fail\", v.infixCount, 1);\n\t\tassertEquals(\"sequence test3 fail\", v.decCount, 1);\n\t\tassertEquals(\"sequence test4 fail\", v.seqCount, 1);\n\t\tassertEquals(\"sequence test5 fail\", v.assignCount, 1);\n\t\tassertEquals(\"sequence test6 fail\", v.varCount, 0);\n\t\tassertEquals(\"sequence test7 fail\", v.strCount, 0);\n\t\tassertEquals(\"sequence test8 fail\", v.prefixCount, 0);\n\t}", "title": "" }, { "docid": "ab7384b31a794f12b31b9e93e6b41a5e", "score": "0.48731655", "text": "@Test(timeout = 4000)\n public void test148() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\")o/f0*4=P~Q{S\");\n Token token0 = xPathLexer0.dollar();\n assertEquals(26, token0.getTokenType());\n assertEquals(\")\", token0.getTokenText());\n \n Token token1 = xPathLexer0.at();\n assertEquals(\"o\", token1.getTokenText());\n assertEquals(16, token1.getTokenType());\n \n xPathLexer0.not();\n Token token2 = xPathLexer0.not();\n assertEquals(\"f\", token2.getTokenText());\n assertEquals(23, token2.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(30, token3.getTokenType());\n assertEquals(\"0\", token3.getTokenText());\n }", "title": "" }, { "docid": "a15849b8bbb2504ad39f5cbf42dd174a", "score": "0.48635575", "text": "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "title": "" }, { "docid": "6ae0c8cd34a6fe1c726dc1bfe454e383", "score": "0.48567778", "text": "public R visit(Goal n) {\n R _ret=null;\n n.f0.accept(this);\n System.out.println(\"MAIN \");\n String s1 = (String)n.f1.accept(this);\n System.out.println(\" \"+\"END\");\n n.f2.accept(this);\n String s3 = (String)n.f3.accept(this); //todo.\n n.f4.accept(this);\n return _ret;\n }", "title": "" }, { "docid": "8348b6f05a0dd8a0ecbcf8f6ff5dfe10", "score": "0.4854455", "text": "@Test(timeout = 4000)\n public void test147() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"zO=t1k%z[\");\n Token token0 = xPathLexer0.star();\n assertEquals(20, token0.getTokenType());\n assertEquals(\"z\", token0.getTokenText());\n \n Token token1 = xPathLexer0.minus();\n assertEquals(\"\", token1.getTokenText());\n assertEquals(6, token1.getTokenType());\n \n Token token2 = xPathLexer0.dollar();\n assertEquals(\"O\", token2.getTokenText());\n assertEquals(26, token2.getTokenType());\n \n Token token3 = xPathLexer0.at();\n assertEquals(\"=\", token3.getTokenText());\n assertEquals(16, token3.getTokenType());\n \n Token token4 = xPathLexer0.not();\n assertEquals(23, token4.getTokenType());\n assertEquals(\"t\", token4.getTokenText());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(\"1\", token5.getTokenText());\n assertEquals(30, token5.getTokenType());\n }", "title": "" }, { "docid": "b5015e412c3d63a687b1c567af891359", "score": "0.4837518", "text": "@Test(timeout = 4000)\n public void test001() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"hN!SM~8ux(wB\");\n xPathLexer0.dollar();\n xPathLexer0.not();\n xPathLexer0.nextToken();\n xPathLexer0.leftParen();\n xPathLexer0.whitespace();\n xPathLexer0.plus();\n Token token0 = xPathLexer0.or();\n assertNull(token0);\n }", "title": "" }, { "docid": "837e05f115604e80da5a3edeb96ea5ae", "score": "0.48290402", "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": "5a542d178849ddeb2a13392edec184be", "score": "0.48226976", "text": "@Test(timeout = 4000)\n public void test099() throws Throwable {\n StringReader stringReader0 = new StringReader(\"m51)\\\"\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(2, javaCharStream0.bufpos);\n assertEquals(74, token0.kind);\n }", "title": "" }, { "docid": "4cf50ad89d6a5baec852e083a8f773de", "score": "0.48216376", "text": "@Override\n\tpublic void visit(Matches arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "a1ebc0076ef9072ed51995c12318b983", "score": "0.4804929", "text": "public final ANTLRv3Parser.grammarDef_return grammarDef() throws RecognitionException {\r\n ANTLRv3Parser.grammarDef_return retval = new ANTLRv3Parser.grammarDef_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token g=null;\r\n Token DOC_COMMENT1=null;\r\n Token string_literal2=null;\r\n Token string_literal3=null;\r\n Token string_literal4=null;\r\n Token char_literal6=null;\r\n Token EOF12=null;\r\n ANTLRv3Parser.id_return id5 =null;\r\n\r\n ANTLRv3Parser.optionsSpec_return optionsSpec7 =null;\r\n\r\n ANTLRv3Parser.tokensSpec_return tokensSpec8 =null;\r\n\r\n ANTLRv3Parser.attrScope_return attrScope9 =null;\r\n\r\n ANTLRv3Parser.action_return action10 =null;\r\n\r\n ANTLRv3Parser.rule_return rule11 =null;\r\n\r\n\r\n CommonTree g_tree=null;\r\n CommonTree DOC_COMMENT1_tree=null;\r\n CommonTree string_literal2_tree=null;\r\n CommonTree string_literal3_tree=null;\r\n CommonTree string_literal4_tree=null;\r\n CommonTree char_literal6_tree=null;\r\n CommonTree EOF12_tree=null;\r\n RewriteRuleTokenStream stream_DOC_COMMENT=new RewriteRuleTokenStream(adaptor,\"token DOC_COMMENT\");\r\n RewriteRuleTokenStream stream_90=new RewriteRuleTokenStream(adaptor,\"token 90\");\r\n RewriteRuleTokenStream stream_EOF=new RewriteRuleTokenStream(adaptor,\"token EOF\");\r\n RewriteRuleTokenStream stream_83=new RewriteRuleTokenStream(adaptor,\"token 83\");\r\n RewriteRuleTokenStream stream_84=new RewriteRuleTokenStream(adaptor,\"token 84\");\r\n RewriteRuleTokenStream stream_85=new RewriteRuleTokenStream(adaptor,\"token 85\");\r\n RewriteRuleTokenStream stream_76=new RewriteRuleTokenStream(adaptor,\"token 76\");\r\n RewriteRuleSubtreeStream stream_id=new RewriteRuleSubtreeStream(adaptor,\"rule id\");\r\n RewriteRuleSubtreeStream stream_tokensSpec=new RewriteRuleSubtreeStream(adaptor,\"rule tokensSpec\");\r\n RewriteRuleSubtreeStream stream_attrScope=new RewriteRuleSubtreeStream(adaptor,\"rule attrScope\");\r\n RewriteRuleSubtreeStream stream_rule=new RewriteRuleSubtreeStream(adaptor,\"rule rule\");\r\n RewriteRuleSubtreeStream stream_action=new RewriteRuleSubtreeStream(adaptor,\"rule action\");\r\n RewriteRuleSubtreeStream stream_optionsSpec=new RewriteRuleSubtreeStream(adaptor,\"rule optionsSpec\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:5: ( ( DOC_COMMENT )? ( 'lexer' | 'parser' | 'tree' |) g= 'grammar' id ';' ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ EOF -> ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ ) )\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: ( DOC_COMMENT )? ( 'lexer' | 'parser' | 'tree' |) g= 'grammar' id ';' ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ EOF\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: ( DOC_COMMENT )?\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0==DOC_COMMENT) ) {\r\n alt1=1;\r\n }\r\n switch (alt1) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:93:9: DOC_COMMENT\r\n {\r\n DOC_COMMENT1=(Token)match(input,DOC_COMMENT,FOLLOW_DOC_COMMENT_in_grammarDef367); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_DOC_COMMENT.add(DOC_COMMENT1);\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:94:6: ( 'lexer' | 'parser' | 'tree' |)\r\n int alt2=4;\r\n switch ( input.LA(1) ) {\r\n case 84:\r\n {\r\n alt2=1;\r\n }\r\n break;\r\n case 85:\r\n {\r\n alt2=2;\r\n }\r\n break;\r\n case 90:\r\n {\r\n alt2=3;\r\n }\r\n break;\r\n case 83:\r\n {\r\n alt2=4;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return retval;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 2, 0, input);\r\n\r\n throw nvae;\r\n\r\n }\r\n\r\n switch (alt2) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:94:8: 'lexer'\r\n {\r\n string_literal2=(Token)match(input,84,FOLLOW_84_in_grammarDef377); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_84.add(string_literal2);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=LEXER_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 2 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:95:10: 'parser'\r\n {\r\n string_literal3=(Token)match(input,85,FOLLOW_85_in_grammarDef395); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_85.add(string_literal3);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=PARSER_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 3 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:96:10: 'tree'\r\n {\r\n string_literal4=(Token)match(input,90,FOLLOW_90_in_grammarDef411); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_90.add(string_literal4);\r\n\r\n\r\n if ( state.backtracking==0 ) {gtype=TREE_GRAMMAR;}\r\n\r\n }\r\n break;\r\n case 4 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:97:14: \r\n {\r\n if ( state.backtracking==0 ) {gtype=COMBINED_GRAMMAR;}\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n g=(Token)match(input,83,FOLLOW_83_in_grammarDef452); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_83.add(g);\r\n\r\n\r\n pushFollow(FOLLOW_id_in_grammarDef454);\r\n id5=id();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_id.add(id5.getTree());\r\n\r\n char_literal6=(Token)match(input,76,FOLLOW_76_in_grammarDef456); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_76.add(char_literal6);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:25: ( optionsSpec )?\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0==OPTIONS) ) {\r\n alt3=1;\r\n }\r\n switch (alt3) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:25: optionsSpec\r\n {\r\n pushFollow(FOLLOW_optionsSpec_in_grammarDef458);\r\n optionsSpec7=optionsSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_optionsSpec.add(optionsSpec7.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:38: ( tokensSpec )?\r\n int alt4=2;\r\n int LA4_0 = input.LA(1);\r\n\r\n if ( (LA4_0==TOKENS) ) {\r\n alt4=1;\r\n }\r\n switch (alt4) {\r\n case 1 :\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:38: tokensSpec\r\n {\r\n pushFollow(FOLLOW_tokensSpec_in_grammarDef461);\r\n tokensSpec8=tokensSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return retval;\r\n if ( state.backtracking==0 ) stream_tokensSpec.add(tokensSpec8.getTree());\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:50: ( attrScope )*\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==SCOPE) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:50: attrScope\r\n \t {\r\n \t pushFollow(FOLLOW_attrScope_in_grammarDef464);\r\n \t attrScope9=attrScope();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_attrScope.add(attrScope9.getTree());\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 // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:61: ( action )*\r\n loop6:\r\n do {\r\n int alt6=2;\r\n int LA6_0 = input.LA(1);\r\n\r\n if ( (LA6_0==AT) ) {\r\n alt6=1;\r\n }\r\n\r\n\r\n switch (alt6) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:99:61: action\r\n \t {\r\n \t pushFollow(FOLLOW_action_in_grammarDef467);\r\n \t action10=action();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_action.add(action10.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop6;\r\n }\r\n } while (true);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:100:6: ( rule )+\r\n int cnt7=0;\r\n loop7:\r\n do {\r\n int alt7=2;\r\n int LA7_0 = input.LA(1);\r\n\r\n if ( (LA7_0==DOC_COMMENT||LA7_0==FRAGMENT||LA7_0==RULE_REF||LA7_0==TOKEN_REF||(LA7_0 >= 86 && LA7_0 <= 88)) ) {\r\n alt7=1;\r\n }\r\n\r\n\r\n switch (alt7) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:100:6: rule\r\n \t {\r\n \t pushFollow(FOLLOW_rule_in_grammarDef475);\r\n \t rule11=rule();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_rule.add(rule11.getTree());\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt7 >= 1 ) break loop7;\r\n \t if (state.backtracking>0) {state.failed=true; return retval;}\r\n EarlyExitException eee =\r\n new EarlyExitException(7, input);\r\n throw eee;\r\n }\r\n cnt7++;\r\n } while (true);\r\n\r\n\r\n EOF12=(Token)match(input,EOF,FOLLOW_EOF_in_grammarDef483); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_EOF.add(EOF12);\r\n\r\n\r\n // AST REWRITE\r\n // elements: attrScope, optionsSpec, tokensSpec, DOC_COMMENT, rule, action, id\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 102:6: -> ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:102:9: ^( id ( DOC_COMMENT )? ( optionsSpec )? ( tokensSpec )? ( attrScope )* ( action )* ( rule )+ )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(adaptor.create(gtype,g), root_1);\r\n\r\n adaptor.addChild(root_1, stream_id.nextTree());\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:12: ( DOC_COMMENT )?\r\n if ( stream_DOC_COMMENT.hasNext() ) {\r\n adaptor.addChild(root_1, \r\n stream_DOC_COMMENT.nextNode()\r\n );\r\n\r\n }\r\n stream_DOC_COMMENT.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:25: ( optionsSpec )?\r\n if ( stream_optionsSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_optionsSpec.nextTree());\r\n\r\n }\r\n stream_optionsSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:38: ( tokensSpec )?\r\n if ( stream_tokensSpec.hasNext() ) {\r\n adaptor.addChild(root_1, stream_tokensSpec.nextTree());\r\n\r\n }\r\n stream_tokensSpec.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:50: ( attrScope )*\r\n while ( stream_attrScope.hasNext() ) {\r\n adaptor.addChild(root_1, stream_attrScope.nextTree());\r\n\r\n }\r\n stream_attrScope.reset();\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:103:61: ( action )*\r\n while ( stream_action.hasNext() ) {\r\n adaptor.addChild(root_1, stream_action.nextTree());\r\n\r\n }\r\n stream_action.reset();\r\n\r\n if ( !(stream_rule.hasNext()) ) {\r\n throw new RewriteEarlyExitException();\r\n }\r\n while ( stream_rule.hasNext() ) {\r\n adaptor.addChild(root_1, stream_rule.nextTree());\r\n\r\n }\r\n stream_rule.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }", "title": "" }, { "docid": "d8db365e4b8bff2fff33a807478e8b05", "score": "0.48025534", "text": "@Test(timeout = 4000)\n public void test138() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n Token token0 = xPathLexer0.plus();\n assertEquals(5, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.pipe();\n assertEquals(\"E\", token1.getTokenText());\n assertEquals(17, token1.getTokenType());\n \n Token token2 = xPathLexer0.not();\n assertEquals(23, token2.getTokenType());\n assertEquals(\"<\", token2.getTokenText());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(\";\", token3.getTokenText());\n }", "title": "" }, { "docid": "c24ce95cbcd44c8593dfe32fcfc04de2", "score": "0.4801564", "text": "@Test(timeout = 4000)\n public void test003() throws Throwable {\n StringReader stringReader0 = new StringReader(\"void\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.MoreLexicalActions();\n }", "title": "" }, { "docid": "14aa93b44aa6414fe9eb25e20848f687", "score": "0.4801242", "text": "AstroArg unpack(Astro litChars);", "title": "" }, { "docid": "b8ff7228178d459d30c1592517c4d8b1", "score": "0.47923422", "text": "@Test(timeout = 4000)\n public void test100() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"hN!SM~8ux(wB\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"hN\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n \n xPathLexer0.dollar();\n xPathLexer0.not();\n Token token1 = xPathLexer0.leftParen();\n assertEquals(1, token1.getTokenType());\n assertEquals(\"M\", token1.getTokenText());\n \n Token token2 = xPathLexer0.dollar();\n assertEquals(\"~\", token2.getTokenText());\n assertEquals(26, token2.getTokenType());\n \n Token token3 = xPathLexer0.at();\n assertEquals(16, token3.getTokenType());\n assertEquals(\"8\", token3.getTokenText());\n \n Token token4 = xPathLexer0.not();\n assertEquals(\"u\", token4.getTokenText());\n assertEquals(23, token4.getTokenType());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(\"x(wB\", token5.getTokenText());\n }", "title": "" }, { "docid": "f626b9e6b77df6019f67dddc902e6539", "score": "0.4789206", "text": "@Test(timeout = 4000)\n public void test135() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"d>%NV0\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(\"d\", token0.getTokenText());\n assertEquals(1, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\">\", token1.getTokenText());\n assertEquals(9, token1.getTokenType());\n \n Token token2 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token2.getTokenType());\n assertEquals(\"\", token2.getTokenText());\n }", "title": "" }, { "docid": "cd7d8a0cc5cd00a5f3af770725cc933d", "score": "0.47889343", "text": "@Test(timeout = 4000)\n public void test071() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"com.werken.saxpath.XPathLexer\");\n xPathLexer0.pipe();\n xPathLexer0.slashes();\n xPathLexer0.minus();\n Token token0 = xPathLexer0.number();\n xPathLexer0.setPreviousToken(token0);\n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertNull(token1);\n }", "title": "" }, { "docid": "3171366e0e6318bbe60fa2d21ec24ac0", "score": "0.47865036", "text": "@Override\n\tpublic void visit(Parenthesis arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "6403da18ae84185522acdb3a68cfdcba", "score": "0.47863662", "text": "public interface Program extends AstItem {\n}", "title": "" }, { "docid": "431ab5b87894ef1e544089639868692a", "score": "0.47837743", "text": "public interface AstIncreUnaryExpression extends AstUnaryExpression {\r\n}", "title": "" }, { "docid": "a12574209866b6537082c3a9172852ec", "score": "0.47640732", "text": "public final void mT__117() throws RecognitionException {\n try {\n int _type = T__117;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalEsm.g:111:8: ( 'end' )\n // InternalEsm.g:111:10: 'end'\n {\n match(\"end\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "2ffed6ed7fd345ae8ff4c679993324d8", "score": "0.47636512", "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": "f701d1e51a120c835cf4b998813ffe7e", "score": "0.475501", "text": "@Test(timeout = 4000)\n public void test020() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":_]J_/L!uFQ7%)BrL\");\n Token token0 = xPathLexer0.literal();\n assertNull(token0);\n \n char char0 = xPathLexer0.LA((-1));\n assertEquals('r', char0);\n }", "title": "" }, { "docid": "a5326c742e33bc4ba965ceec4c2703c4", "score": "0.47522077", "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": "d6fdad73c811806e0873b2f624388aee", "score": "0.4750154", "text": "public abstract CharSequence mo2160e();", "title": "" }, { "docid": "dd5d9cad41454c57200df76d94789770", "score": "0.47456038", "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": "1bb4286ca85d8679a99e1e115f053815", "score": "0.47435763", "text": "@Test(timeout = 4000)\n public void test045() throws Throwable {\n StringReader stringReader0 = new StringReader(\"extends\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.SkipLexicalActions(token0);\n assertEquals(6, javaCharStream0.bufpos);\n assertEquals(\"extends\", token0.toString());\n }", "title": "" }, { "docid": "6ff7dcae7232acbb1fe159f190063bfe", "score": "0.474345", "text": "@Test(timeout = 4000)\n public void test166() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"com.werken.saxpath.XPathLexer\");\n Token token0 = xPathLexer0.comma();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(32, token0.getTokenType());\n assertEquals(\"c\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"om.werken.saxpath.XPathLexer\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "1b4b8a9ea6a4ce5f38b541e63e855668", "score": "0.4742217", "text": "@Test(timeout = 4000)\n public void test013() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":E<;\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.getPreviousToken();\n assertEquals(\":\", token0.getTokenText());\n assertEquals(18, token0.getTokenType());\n }", "title": "" }, { "docid": "23b32f223a05578b1fceb9e00894b6f0", "score": "0.47378418", "text": "@Test(timeout = 4000)\n public void test140() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"Z&9#+FDLX&o2GJ-\");\n Token token0 = xPathLexer0.dollar();\n assertEquals(\"Z\", token0.getTokenText());\n assertEquals(26, token0.getTokenType());\n \n Token token1 = xPathLexer0.not();\n assertEquals(\"&\", token1.getTokenText());\n assertEquals(23, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(\"9\", token2.getTokenText());\n assertEquals(30, token2.getTokenType());\n }", "title": "" }, { "docid": "32b9f5e3470675fa4c334a3299be1d91", "score": "0.473094", "text": "@Test(timeout = 4000)\n public void test126() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"II%oBQL*c\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"II\", token0.getTokenText());\n }", "title": "" }, { "docid": "cf4e903bea00c0099e80b10c40355a97", "score": "0.4729178", "text": "@Test(timeout = 4000)\n public void test115() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"Xr\\\"\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"Xr\", token0.getTokenText());\n }", "title": "" }, { "docid": "76f6bb58ba1797a2e4e93a9aa9cecc92", "score": "0.47247753", "text": "@Test(timeout = 4000)\n public void test019() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.relationalOperator();\n assertNotNull(token0);\n assertEquals(\">\", token0.getTokenText());\n assertEquals(9, token0.getTokenType());\n \n Token token1 = xPathLexer0.rightParen();\n assertEquals(2, token1.getTokenType());\n assertEquals(\"6\", token1.getTokenText());\n \n char char0 = xPathLexer0.LA(0);\n assertEquals('6', char0);\n }", "title": "" }, { "docid": "aafb0b57e8ca2f06a9be6b47698b4f1b", "score": "0.47241122", "text": "@Test(timeout = 4000)\n public void test082() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\") (\");\n Token token0 = xPathLexer0.minus();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(6, token0.getTokenType());\n assertEquals(\")\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "ed05adfdff1c409ae79d1d027737789b", "score": "0.47234985", "text": "@Test(timeout = 4000)\n public void test130() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"pDt&YchL\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(1, token0.getTokenType());\n assertEquals(\"p\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"Dt\", token1.getTokenText());\n }", "title": "" }, { "docid": "1690e117d07b28fd852edb87299af753", "score": "0.4719322", "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": "442374dc963d88adb3ecef9100404f3f", "score": "0.4714586", "text": "public interface LogoParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int PROC = 6;\r\n /** RegularExpression Id. */\r\n int END = 7;\r\n /** RegularExpression Id. */\r\n int MAKE = 8;\r\n /** RegularExpression Id. */\r\n int VARNAME = 9;\r\n /** RegularExpression Id. */\r\n int RPT = 10;\r\n /** RegularExpression Id. */\r\n int RT = 11;\r\n /** RegularExpression Id. */\r\n int FD = 12;\r\n /** RegularExpression Id. */\r\n int ID = 13;\r\n /** RegularExpression Id. */\r\n int DECPOINT = 14;\r\n /** RegularExpression Id. */\r\n int PLUS = 15;\r\n /** RegularExpression Id. */\r\n int MINUS = 16;\r\n /** RegularExpression Id. */\r\n int TIMES = 17;\r\n /** RegularExpression Id. */\r\n int DIVIDE = 18;\r\n /** RegularExpression Id. */\r\n int COLON = 19;\r\n /** RegularExpression Id. */\r\n int COMMA = 20;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 21;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 22;\r\n /** RegularExpression Id. */\r\n int LSQR = 23;\r\n /** RegularExpression Id. */\r\n int RSQR = 24;\r\n /** RegularExpression Id. */\r\n int NUMBER = 25;\r\n /** RegularExpression Id. */\r\n int DIGIT = 26;\r\n /** RegularExpression Id. */\r\n int ALPHA = 27;\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 \"\\\"\\\\r\\\\n\\\"\",\r\n \"\\\"proc\\\"\",\r\n \"\\\"end\\\"\",\r\n \"\\\"make\\\"\",\r\n \"<VARNAME>\",\r\n \"\\\"rpt\\\"\",\r\n \"\\\"rt\\\"\",\r\n \"\\\"fd\\\"\",\r\n \"<ID>\",\r\n \"\\\".\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\":\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"<NUMBER>\",\r\n \"<DIGIT>\",\r\n \"<ALPHA>\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "686136d9ed1b570a186cf3fc2829a911", "score": "0.47139704", "text": "@Test(timeout = 4000)\n public void test159() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"g\\\"K@1\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(\"g\", token0.getTokenText());\n assertEquals(1, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals((-1), token1.getTokenType());\n }", "title": "" }, { "docid": "8523ab14a65dde0a598d9b6164d345c6", "score": "0.4712678", "text": "@Override\n\tpublic void visit(Matches arg0) {\n\n\t}", "title": "" }, { "docid": "dd0aa0cff49e630628cc3e9f3faa7a24", "score": "0.47117805", "text": "@Test(timeout = 4000)\n public void test149() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"m6l-dKX`qghFq8(,{\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(2, token0.getTokenType());\n assertEquals(\"m\", token0.getTokenText());\n \n Token token1 = xPathLexer0.notEquals();\n assertEquals(\"6l\", token1.getTokenText());\n assertEquals(22, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(\"-\", token2.getTokenText());\n assertEquals(6, token2.getTokenType());\n }", "title": "" }, { "docid": "52497214e1a71243256a50b9bc002691", "score": "0.4708989", "text": "private void decls() throws IOException\n {\n type();\n match(Tag.ID);\n match(';');\n }", "title": "" }, { "docid": "6c9a8c341cfb0c3c89cadb821c025221", "score": "0.4703433", "text": "public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int INT = 6;\n /** RegularExpression Id. */\n int REAL = 7;\n /** RegularExpression Id. */\n int BOOL = 8;\n /** RegularExpression Id. */\n int LIST = 9;\n /** RegularExpression Id. */\n int STR = 10;\n /** RegularExpression Id. */\n int CARACT = 11;\n /** RegularExpression Id. */\n int SE = 12;\n /** RegularExpression Id. */\n int SENAO = 13;\n /** RegularExpression Id. */\n int SENAOSE = 14;\n /** RegularExpression Id. */\n int ENQUANTO = 15;\n /** RegularExpression Id. */\n int PARA = 16;\n /** RegularExpression Id. */\n int VERDADEIRO = 17;\n /** RegularExpression Id. */\n int FALSO = 18;\n /** RegularExpression Id. */\n int IMPRIMIR = 19;\n /** RegularExpression Id. */\n int MAIS = 20;\n /** RegularExpression Id. */\n int MENOS = 21;\n /** RegularExpression Id. */\n int MULTIPLICAR = 22;\n /** RegularExpression Id. */\n int DIVIDIR = 23;\n /** RegularExpression Id. */\n int ATRIBUICAO = 24;\n /** RegularExpression Id. */\n int MAIOR = 25;\n /** RegularExpression Id. */\n int MENOR = 26;\n /** RegularExpression Id. */\n int MAIOR_IGUAL = 27;\n /** RegularExpression Id. */\n int MENOR_IGUAL = 28;\n /** RegularExpression Id. */\n int IGUAL = 29;\n /** RegularExpression Id. */\n int DIFERENTE = 30;\n /** RegularExpression Id. */\n int ABRE_PARENTESES = 31;\n /** RegularExpression Id. */\n int FECHA_PARENTESES = 32;\n /** RegularExpression Id. */\n int ABRE_CHAVES = 33;\n /** RegularExpression Id. */\n int FECHA_CHAVES = 34;\n /** RegularExpression Id. */\n int ABRE_COLCHETE = 35;\n /** RegularExpression Id. */\n int FECHA_COLCHETE = 36;\n /** RegularExpression Id. */\n int PONTO_VIRGULA = 37;\n /** RegularExpression Id. */\n int VIRGULA = 38;\n /** RegularExpression Id. */\n int PONTO = 39;\n /** RegularExpression Id. */\n int CONSTANTE_INT = 40;\n /** RegularExpression Id. */\n int CONSTANTE_REAL = 41;\n /** RegularExpression Id. */\n int DIGITO = 42;\n /** RegularExpression Id. */\n int VARIAVEL = 43;\n /** RegularExpression Id. */\n int CARACTERE = 44;\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 \"\\\"\\\\f\\\"\",\n \"\\\"INT\\\"\",\n \"\\\"REAL\\\"\",\n \"\\\"BOOL\\\"\",\n \"\\\"LIST\\\"\",\n \"\\\"STR\\\"\",\n \"\\\"CARACT\\\"\",\n \"\\\"SE\\\"\",\n \"\\\"SENAO\\\"\",\n \"\\\"SENAOSE\\\"\",\n \"\\\"ENQUANTO\\\"\",\n \"\\\"PARA\\\"\",\n \"\\\"VERDADEIRO\\\"\",\n \"\\\"FALSO\\\"\",\n \"\\\"IMPRIMIR\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\" >=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CONSTANTE_INT>\",\n \"<CONSTANTE_REAL>\",\n \"<DIGITO>\",\n \"<VARIAVEL>\",\n \"<CARACTERE>\",\n };\n\n}", "title": "" }, { "docid": "8daa3c8fb36eb7d75fea3954547bbf8f", "score": "0.4702358", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\">6\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"_XdrPl\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "1c3b4af6f9c9bcc3ed52f889ee0b4f8e", "score": "0.47004834", "text": "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5!\");\n Token token0 = xPathLexer0.star();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(20, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "title": "" }, { "docid": "2fdac8c0392a94f5f0db0d25f04ace14", "score": "0.46998325", "text": "@Test(timeout = 4000)\n public void test146() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"(2><\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(\"(\", token0.getTokenText());\n assertEquals(1, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"2\", token1.getTokenText());\n assertEquals(30, token1.getTokenType());\n }", "title": "" }, { "docid": "3da34a763d0a3c15416aff33dc6037b1", "score": "0.46937618", "text": "@Test(timeout = 4000)\n public void test131() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.setXPath(\" C8?501.bl\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"C8\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "77ad0e266599e4e38ce7db25b7e2d2d0", "score": "0.4692606", "text": "@Override\n\tpublic void visit(Parenthesis arg0) {\n\n\t}", "title": "" }, { "docid": "9cfe93f7387d731af9b75624a29f9858", "score": "0.467498", "text": "@Test(timeout = 4000)\n public void test098() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"ji{:[5xw96\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"ji\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "18daeab7d1e63e1526d6fe47c8128ecd", "score": "0.4662065", "text": "@Test(timeout = 4000)\n public void test110() throws Throwable {\n StringReader stringReader0 = new StringReader(\"RaLz,<NBG_}Q[P4}\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 20, 0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(3, javaCharStream0.bufpos);\n assertEquals(74, token0.kind);\n }", "title": "" }, { "docid": "940240a2257f77af1bce828c12ba3ec8", "score": "0.4653749", "text": "@Test(timeout = 4000)\n public void test056() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"2zN4KMC-?7MaZH(AJF*\");\n Token token0 = xPathLexer0.identifier();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"2zN4KMC-\", token0.getTokenText());\n }", "title": "" }, { "docid": "05ac9d3764c04cbeed24b530af737cc7", "score": "0.46535924", "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": "7f782547b8946421bb11e8e161ebd250", "score": "0.46512437", "text": "@Test(timeout = 4000)\n public void test129() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"F<=oPf^MU.<n%\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"F\", token0.getTokenText());\n }", "title": "" }, { "docid": "abae3da7154ebfe39c124bd6cb8197cc", "score": "0.46482444", "text": "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"|OLg_Eyu;i\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(17, token0.getTokenType());\n assertEquals(\"|\", token0.getTokenText());\n }", "title": "" }, { "docid": "4b5cdb554112a4d76884b22cef5e46ce", "score": "0.46454972", "text": "@Test\n public void jUnitTest10(){\n TigerLexer lex;\n try {\n lex = new TigerLexer(new ANTLRFileStream(\"test/jUnitTests/jUnitTest10.tig\", \"UTF8\"));\n CommonTokenStream tokens = new CommonTokenStream(lex);\n TigerParser parser = new TigerParser(tokens);\n SemantVisitor visitor = new SemantVisitor();\n parser.prog();\n boolean resp = (parser.getNumberOfSyntaxErrors() == 0 && visitor.getNumberOfSemanticErrors() == 0);\n assertTrue(resp);\n } catch (IOException ex) {\n Logger.getLogger(TesteGlobal.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "0cb03e44a080ab04debcc432b8b0b9df", "score": "0.4645096", "text": "@Test(timeout = 4000)\n public void test070() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.nextToken();\n xPathLexer0.setXPath(\"y]jad[mR3w=N\");\n xPathLexer0.leftParen();\n xPathLexer0.doubleColon();\n Token token0 = xPathLexer0.identifierOrOperatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "cda3547d848537a3804e592772046ba1", "score": "0.46416515", "text": "public static void parse()\r\n {\r\n int initial;\r\n initial=expression();\r\n stateList.get(0).setNext1(initial);\r\n stateList.get(0).setNext2(initial);\r\n if(index<=expression.length()-1)\r\n {\r\n error();\r\n }\r\n else\r\n {\r\n state st=new state(state,\"END\",-1,-1);\r\n stateList.add(st);\r\n }\r\n }", "title": "" }, { "docid": "e12294b5ab4b495e4da1f51d83c3e76f", "score": "0.46413103", "text": "@Test(timeout = 4000)\n public void test156() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"II%oBQL*c\");\n Token token0 = xPathLexer0.not();\n assertEquals(23, token0.getTokenType());\n assertEquals(\"I\", token0.getTokenText());\n \n Token token1 = xPathLexer0.star();\n assertEquals(\"I\", token1.getTokenText());\n assertEquals(20, token1.getTokenType());\n \n Token token2 = xPathLexer0.nextToken();\n assertEquals(\"%oBQL*c\", token2.getTokenText());\n assertEquals((-1), token2.getTokenType());\n }", "title": "" }, { "docid": "cf91586f04fc92cd81791d3f50621ee8", "score": "0.46400642", "text": "@Test(timeout = 4000)\n public void test145() throws Throwable {\n StringReader stringReader0 = new StringReader(\")0\\\":rw.f=QJ{Y+>$7\");\n stringReader0.read();\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(\"0\", token0.toString());\n }", "title": "" }, { "docid": "7239d9abae9fea9702e9b5a4e5b082c7", "score": "0.46367273", "text": "Expression getActionSentence();", "title": "" }, { "docid": "72b0f72e8b0d99ed469d61a547b58c50", "score": "0.46339497", "text": "@Test(timeout = 4000)\n public void test143() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">6_XdrPl\");\n Token token0 = xPathLexer0.not();\n assertEquals(\">\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"6\", token1.getTokenText());\n assertEquals(30, token1.getTokenType());\n \n Token token2 = xPathLexer0.at();\n assertEquals(\"_\", token2.getTokenText());\n assertEquals(16, token2.getTokenType());\n \n Token token3 = xPathLexer0.not();\n assertEquals(23, token3.getTokenType());\n \n Token token4 = xPathLexer0.nextToken();\n assertEquals((-1), token4.getTokenType());\n }", "title": "" }, { "docid": "bf36f5ce09749cbfe7ed8b4c1e49c4dc", "score": "0.46302825", "text": "@Test(timeout = 4000)\n public void test150() throws Throwable {\n StringReader stringReader0 = new StringReader(\"'L+XUG}\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 2292, 16, 18);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line 2292, column 18. Encountered: \\\"+\\\" (43), after : \\\"\\\\'L\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }", "title": "" }, { "docid": "8ac5ef3ef86fef583fa24c12c11aba01", "score": "0.462975", "text": "protected LR1_Grammar(Grammar grammar) {\n\t\tsuper(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": "a5b64c0ddb26c6a95e476fb917070eb6", "score": "0.4626837", "text": "public final PythonParser.trailer_return trailer(Token begin, PythonTree tree) throws RecognitionException {\n PythonParser.trailer_return retval = new PythonParser.trailer_return();\n retval.start = input.LT(1);\n\n PythonTree root_0 = null;\n\n Token LPAREN243=null;\n Token RPAREN245=null;\n Token LBRACK246=null;\n Token RBRACK248=null;\n Token DOT249=null;\n PythonParser.arglist_return arglist244 = null;\n\n PythonParser.subscriptlist_return subscriptlist247 = null;\n\n PythonParser.attr_return attr250 = null;\n\n\n PythonTree LPAREN243_tree=null;\n PythonTree RPAREN245_tree=null;\n PythonTree LBRACK246_tree=null;\n PythonTree RBRACK248_tree=null;\n PythonTree DOT249_tree=null;\n RewriteRuleTokenStream stream_RBRACK=new RewriteRuleTokenStream(adaptor,\"token RBRACK\");\n RewriteRuleTokenStream stream_RPAREN=new RewriteRuleTokenStream(adaptor,\"token RPAREN\");\n RewriteRuleTokenStream stream_LBRACK=new RewriteRuleTokenStream(adaptor,\"token LBRACK\");\n RewriteRuleTokenStream stream_DOT=new RewriteRuleTokenStream(adaptor,\"token DOT\");\n RewriteRuleTokenStream stream_LPAREN=new RewriteRuleTokenStream(adaptor,\"token LPAREN\");\n RewriteRuleSubtreeStream stream_arglist=new RewriteRuleSubtreeStream(adaptor,\"rule arglist\");\n RewriteRuleSubtreeStream stream_subscriptlist=new RewriteRuleSubtreeStream(adaptor,\"rule subscriptlist\");\n RewriteRuleSubtreeStream stream_attr=new RewriteRuleSubtreeStream(adaptor,\"rule attr\");\n try {\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1452:5: ( LPAREN ( arglist -> ^( LPAREN[$begin, actions.castExpr($tree), actions.castExprs($arglist.args),\\n actions.makeKeywords($arglist.keywords), $arglist.starargs, $arglist.kwargs] ) | -> ^( LPAREN[$begin, actions.castExpr($tree), new ArrayList<expr>(), new ArrayList<keyword>(), null, null] ) ) RPAREN | LBRACK subscriptlist[$begin] RBRACK -> ^( LBRACK[$begin, actions.castExpr($tree), actions.castSlice($subscriptlist.tree), $expr::ctype] ) | DOT attr -> ^( DOT[$begin, actions.castExpr($tree), $attr.text, $expr::ctype] ) )\n int alt119=3;\n switch ( input.LA(1) ) {\n case LPAREN:\n {\n alt119=1;\n }\n break;\n case LBRACK:\n {\n alt119=2;\n }\n break;\n case DOT:\n {\n alt119=3;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 119, 0, input);\n\n throw nvae;\n }\n\n switch (alt119) {\n case 1 :\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1452:7: LPAREN ( arglist -> ^( LPAREN[$begin, actions.castExpr($tree), actions.castExprs($arglist.args),\\n actions.makeKeywords($arglist.keywords), $arglist.starargs, $arglist.kwargs] ) | -> ^( LPAREN[$begin, actions.castExpr($tree), new ArrayList<expr>(), new ArrayList<keyword>(), null, null] ) ) RPAREN\n {\n LPAREN243=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_trailer6578); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_LPAREN.add(LPAREN243);\n\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1453:9: ( arglist -> ^( LPAREN[$begin, actions.castExpr($tree), actions.castExprs($arglist.args),\\n actions.makeKeywords($arglist.keywords), $arglist.starargs, $arglist.kwargs] ) | -> ^( LPAREN[$begin, actions.castExpr($tree), new ArrayList<expr>(), new ArrayList<keyword>(), null, null] ) )\n int alt118=2;\n int LA118_0 = input.LA(1);\n\n if ( (LA118_0==NAME||(LA118_0>=LAMBDA && LA118_0<=NOT)||LA118_0==LPAREN||(LA118_0>=STAR && LA118_0<=DOUBLESTAR)||(LA118_0>=PLUS && LA118_0<=MINUS)||(LA118_0>=TILDE && LA118_0<=LBRACK)||LA118_0==LCURLY||(LA118_0>=BACKQUOTE && LA118_0<=STRING)) ) {\n alt118=1;\n }\n else if ( (LA118_0==RPAREN) ) {\n alt118=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 118, 0, input);\n\n throw nvae;\n }\n switch (alt118) {\n case 1 :\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1453:10: arglist\n {\n pushFollow(FOLLOW_arglist_in_trailer6589);\n arglist244=arglist();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) stream_arglist.add(arglist244.getTree());\n\n\n // AST REWRITE\n // elements: LPAREN\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (PythonTree)adaptor.nil();\n // 1454:8: -> ^( LPAREN[$begin, actions.castExpr($tree), actions.castExprs($arglist.args),\\n actions.makeKeywords($arglist.keywords), $arglist.starargs, $arglist.kwargs] )\n {\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1454:11: ^( LPAREN[$begin, actions.castExpr($tree), actions.castExprs($arglist.args),\\n actions.makeKeywords($arglist.keywords), $arglist.starargs, $arglist.kwargs] )\n {\n PythonTree root_1 = (PythonTree)adaptor.nil();\n root_1 = (PythonTree)adaptor.becomeRoot(new Call(LPAREN, begin, actions.castExpr(tree), actions.castExprs((arglist244!=null?arglist244.args:null)), actions.makeKeywords((arglist244!=null?arglist244.keywords:null)), (arglist244!=null?arglist244.starargs:null), (arglist244!=null?arglist244.kwargs:null)), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n case 2 :\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1457:8: \n {\n\n // AST REWRITE\n // elements: LPAREN\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (PythonTree)adaptor.nil();\n // 1457:8: -> ^( LPAREN[$begin, actions.castExpr($tree), new ArrayList<expr>(), new ArrayList<keyword>(), null, null] )\n {\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1457:11: ^( LPAREN[$begin, actions.castExpr($tree), new ArrayList<expr>(), new ArrayList<keyword>(), null, null] )\n {\n PythonTree root_1 = (PythonTree)adaptor.nil();\n root_1 = (PythonTree)adaptor.becomeRoot(new Call(LPAREN, begin, actions.castExpr(tree), new ArrayList<expr>(), new ArrayList<keyword>(), null, null), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n\n }\n\n RPAREN245=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_trailer6651); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_RPAREN.add(RPAREN245);\n\n\n }\n break;\n case 2 :\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1460:7: LBRACK subscriptlist[$begin] RBRACK\n {\n LBRACK246=(Token)match(input,LBRACK,FOLLOW_LBRACK_in_trailer6659); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_LBRACK.add(LBRACK246);\n\n pushFollow(FOLLOW_subscriptlist_in_trailer6661);\n subscriptlist247=subscriptlist(begin);\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) stream_subscriptlist.add(subscriptlist247.getTree());\n RBRACK248=(Token)match(input,RBRACK,FOLLOW_RBRACK_in_trailer6664); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_RBRACK.add(RBRACK248);\n\n\n\n // AST REWRITE\n // elements: LBRACK\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (PythonTree)adaptor.nil();\n // 1461:4: -> ^( LBRACK[$begin, actions.castExpr($tree), actions.castSlice($subscriptlist.tree), $expr::ctype] )\n {\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1461:7: ^( LBRACK[$begin, actions.castExpr($tree), actions.castSlice($subscriptlist.tree), $expr::ctype] )\n {\n PythonTree root_1 = (PythonTree)adaptor.nil();\n root_1 = (PythonTree)adaptor.becomeRoot(new Subscript(LBRACK, begin, actions.castExpr(tree), actions.castSlice((subscriptlist247!=null?((PythonTree)subscriptlist247.tree):null)), ((expr_scope)expr_stack.peek()).ctype), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n case 3 :\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1462:7: DOT attr\n {\n DOT249=(Token)match(input,DOT,FOLLOW_DOT_in_trailer6685); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_DOT.add(DOT249);\n\n pushFollow(FOLLOW_attr_in_trailer6687);\n attr250=attr();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) stream_attr.add(attr250.getTree());\n\n\n // AST REWRITE\n // elements: DOT\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (PythonTree)adaptor.nil();\n // 1463:4: -> ^( DOT[$begin, actions.castExpr($tree), $attr.text, $expr::ctype] )\n {\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:1463:7: ^( DOT[$begin, actions.castExpr($tree), $attr.text, $expr::ctype] )\n {\n PythonTree root_1 = (PythonTree)adaptor.nil();\n root_1 = (PythonTree)adaptor.becomeRoot(new Attribute(DOT, begin, actions.castExpr(tree), (attr250!=null?input.toString(attr250.start,attr250.stop):null), ((expr_scope)expr_stack.peek()).ctype), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n\n }\n retval.stop = input.LT(-1);\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (PythonTree)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n\n catch (RecognitionException re) {\n errorHandler.reportError(this, re);\n errorHandler.recover(this, input,re);\n retval.tree = (PythonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n }\n finally {\n }\n return retval;\n }", "title": "" }, { "docid": "94a61309bbd9cba663e93fb313914ae2", "score": "0.4624959", "text": "@Test(timeout = 4000)\n public void test152() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"*?^k*=?5o_,;~y\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(20, token0.getTokenType());\n assertEquals(\"*\", token0.getTokenText());\n }", "title": "" }, { "docid": "5f949fa75692d729596c32bf21c37632", "score": "0.46247685", "text": "@Test(timeout = 4000)\n public void test144() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"5cQTy)'}7dbx*p1q4\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(30, token0.getTokenType());\n assertEquals(\"5\", token0.getTokenText());\n }", "title": "" }, { "docid": "2ca96a2752f4866bf8f8ddff14cbe8c6", "score": "0.46182016", "text": "public static void main(String[] args) throws Exception {\n\n SimpleCalcLexer lex = new SimpleCalcLexer(new ANTLRFileStream(args[0]));\n \tCommonTokenStream tokens = new CommonTokenStream(lex);\n\n // \tCommonTokenStream tokens = new CommonTokenStream(lexer);\n\n SimpleCalcParser parser = new SimpleCalcParser(tokens);\n\n try {\n parser.expr();\n } catch (RecognitionException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "f4e5740d431baf4872a4e151e5e2f0d8", "score": "0.46123296", "text": "@Test(timeout = 4000)\n public void test150() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"4,\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(\"4\", token0.getTokenText());\n assertEquals(1, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(32, token1.getTokenType());\n assertEquals(\",\", token1.getTokenText());\n }", "title": "" }, { "docid": "a09bdc73b0366665bbffaf4f4aedd41b", "score": "0.46043655", "text": "@Test\n public void jUnitTest05(){\n TigerLexer lex;\n try {\n lex = new TigerLexer(new ANTLRFileStream(\"test/jUnitTests/jUnitTest05.tig\", \"UTF8\"));\n CommonTokenStream tokens = new CommonTokenStream(lex);\n TigerParser parser = new TigerParser(tokens);\n SemantVisitor visitor = new SemantVisitor();\n parser.prog();\n boolean resp = (parser.getNumberOfSyntaxErrors() == 0 && visitor.getNumberOfSemanticErrors() == 0);\n assertTrue(resp);\n } catch (IOException ex) {\n Logger.getLogger(TesteGlobal.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "063cf67c65d718112b084a9dbc05e4c7", "score": "0.4602935", "text": "private LiteralToken nextRegularExpressionLiteralToken() {\n LiteralToken token = scanner.nextRegularExpressionLiteralToken();\n lastSourcePosition = token.location.end;\n return token;\n }", "title": "" }, { "docid": "50ea9db6bb2be19a63ec3d6b47adbb4a", "score": "0.4601175", "text": "@Test(timeout = 4000)\n public void test157() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"($mYG)Udli\");\n Token token0 = xPathLexer0.leftParen();\n assertEquals(1, token0.getTokenType());\n assertEquals(\"(\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"$\", token1.getTokenText());\n assertEquals(26, token1.getTokenType());\n }", "title": "" } ]
d9a1e6af47133e43e08bee54c7c92caa
System.out.println("beat " + this.measureNumber() + " phrase end");
[ { "docid": "c67287421836cb389c7d708be6574fcd", "score": "0.0", "text": "public void setOverdrivePhraseEnd(Instrument instrument, boolean phraseEnd) {\n this.hasOverdrivePhraseEnd[instrument.index()] = phraseEnd;\n }", "title": "" } ]
[ { "docid": "1c9b569c3d373e27bb34b2e2e7024fa1", "score": "0.6504584", "text": "@Override\n\tpublic void mes() {\n\t\tSystem.out.println(swiming());\n\t}", "title": "" }, { "docid": "8a10b15cacab4f6feef6aa2d962ecb89", "score": "0.62598747", "text": "public void mathsexam() {\nSystem.out.println(\"maths exam are tough\");\n\t}", "title": "" }, { "docid": "54e8d5129c475b9808be51d39ae1882c", "score": "0.621117", "text": "public void seeMeasure() {\n\t\t\n\t}", "title": "" }, { "docid": "9c4ef8fb992e3326525bd45799b846d6", "score": "0.6162256", "text": "public void scoreCounter() {\r\n System.out.println(\"********\");\r\n System.out.println(\"Time:\");\r\n System.out.println(time + \" sec\");\r\n }", "title": "" }, { "docid": "6bf368b2bdb5bde1247b963137cf1e82", "score": "0.609387", "text": "@Override\n\tpublic void mes() {\n\t\tsuper.mes();\n\t\tSystem.out.println(\"--\"+swiming());\n\t}", "title": "" }, { "docid": "49d3ce805eb807d9795e38d0ee7d58a8", "score": "0.60837585", "text": "@Override\n public void eatMeat() {\n eatText = \"nomnomnom oink wubalubadubdub\";\n System.out.println(eatText);\n }", "title": "" }, { "docid": "1baaee8c8a331fdfafc4db8a502e5bae", "score": "0.59689516", "text": "void runSheepCounter() {System.out.print(++sheepCount + \" \");\n\t\t//\n\t\tsynchronized(this) {\n\t\t\tSystem.out.print(++sheepCount + \" \");\n\t\t}\n\t\t//\n\t}", "title": "" }, { "docid": "875a57012b61f2f6e6e6c5416e6be3e4", "score": "0.5958497", "text": "public void processText(Text text)\n{\nSystem.out.println(\"\\nANOTHER output of TEXT: \" + text);\n}", "title": "" }, { "docid": "bb83f87778550c63cdb8937601dcbe5b", "score": "0.5890722", "text": "@Override\r\n\tpublic void talkslow() {\n\t\tSystem.out.println(\" ScienceStudent taking slow\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "395fe1b88c81cb5081d56e2ea5ca5c7d", "score": "0.5886044", "text": "public void printStartInstruction(){\r\n System.out.println(\"Welcome to Hangman!\");\r\n System.out.println(\"Guess enough letters until you guess the full word\");\r\n System.out.println(\"Try to complete the word with as few guesses as possible\");\r\n printInterimResults();\r\n }", "title": "" }, { "docid": "189d8e701661fa95936a7df377c65199", "score": "0.58716416", "text": "public void animalSound() {\n System.out.println(\"The pig says: wee wee\");\r\n }", "title": "" }, { "docid": "9587fa5b490726104a1d732f6f820227", "score": "0.5857655", "text": "public void run() {\n\t\tprintln(\"This program counts letter frequencies.\");\n\t\tprintln(\"Enter a blank line to indicate the end of the text.\");\n\t\tsetSize(backgroundWidht,backgroundHeigth);\n\t\taddCanvasObject(N_GUESSES);\n\t\tprintln(\"welcome to Hangman\");\n\t\twords();\n\t\t\n//\t\tthis.canvas.getSize()\n\t}", "title": "" }, { "docid": "e199451403c5cdeb7bd9996663fa7200", "score": "0.585416", "text": "void speak(){\r\n\t\tSystem.out.printf(\"My name is %s and I am %d years old.%n\", name, age);\r\n\t}", "title": "" }, { "docid": "ad50c76798abcc65e522e71f98424d52", "score": "0.5846151", "text": "public java.lang.CharSequence getMeasurement() {\n return measurement;\n }", "title": "" }, { "docid": "6f2d58bbcf2331c139993f16e7781dcd", "score": "0.5820964", "text": "public void repetitiveMeasure(){\n\t\t\n\t}", "title": "" }, { "docid": "6c9fabe29ff523a9c71a6e0d4ffe6fd2", "score": "0.5760188", "text": "public java.lang.CharSequence getMeasurement() {\n return measurement;\n }", "title": "" }, { "docid": "1590e75b1ff8af4c811276312df9f71c", "score": "0.5739731", "text": "@Override\n\tpublic void printScore() {\n\t\t\n\t}", "title": "" }, { "docid": "62bd14ebc2610ae0072a810b2b46e7c4", "score": "0.57299775", "text": "void mad(){\r\n\t\tSystem.out.println(\"I am a mad animal\");\r\n\t}", "title": "" }, { "docid": "6649a578f66f5d6fdc27276eeb5bf0ef", "score": "0.5716998", "text": "private void printDuration() {\n }", "title": "" }, { "docid": "3515db7aa2ac334c99663803dc5bff42", "score": "0.5698283", "text": "public void printCount()\r\n {\r\n System.out.println(test);\r\n System.out.println (count);\r\n }", "title": "" }, { "docid": "d592f3f8f1d936fc7660e627a4bc148a", "score": "0.5672799", "text": "public String getReportPhrase()\n\t{\n//\t\treturn WordHoardProperties.getString( \"in\" , \"in\" );\n\t\treturn \"in\";\n\t}", "title": "" }, { "docid": "6c87aa9d1c7c7a8fc6d30888c4eed045", "score": "0.5660789", "text": "@Override\n\tpublic void study() {\n\t\tSystem.out.println(\"篮球运动员一直做篮球训练\");\n\n\t}", "title": "" }, { "docid": "18da20d9fb06a4e831cc1c0ca7107d14", "score": "0.56469536", "text": "public void run() {\r\n\t\tSystem.out.println(\"Athlete runs more faster as compared to a normal person.\\n\");\r\n\t}", "title": "" }, { "docid": "9b3c2730565edbc0a4a40ef02d5c6feb", "score": "0.5641208", "text": "public void bark(){\n System.out.println(\"The dog is barking \"+this.getVoice());\n }", "title": "" }, { "docid": "19ee3847e31cd15eb3d02b9e10ea5321", "score": "0.5612872", "text": "@Override\n\tpublic void shout() {\n\t\tSystem.out.println(\"喵喵喵\");\n\t}", "title": "" }, { "docid": "347bc9792c0dbcf0001977b3c1474020", "score": "0.5608855", "text": "public String getPhrase();", "title": "" }, { "docid": "554b4c4c2cf0033e3401a19ce46ff545", "score": "0.5608331", "text": "public void run() {\n int count = 0;\n for (int i = 0; i < text.length(); i++) {\n if (((text.charAt(i) == ' ') && (text.charAt(i + 1) != '-')) || (text.charAt(i) == '\\n')) {\n count++;\n }\n try {\n Thread.sleep(100);\n } catch (InterruptedException e) {\n }\n\n }\n count++;\n System.out.println(\"words:\" + count);\n }", "title": "" }, { "docid": "d565c9578b09150a818b38eb6093f953", "score": "0.55889326", "text": "String inspect(){\n return \"-Charlie Bot: These are blankets, 525.\\n\" +\n \"They're rather soft and warm, and when complimented with a comfy pillow, quickly lull people to sleep.\\n\\n\" +\n \"You could 'snuggle' the blankets, but that's about it.\"; \n }", "title": "" }, { "docid": "3dbd15fe5766168ba3cea62d1daec707", "score": "0.55855376", "text": "@Override\n\tpublic void display() {\n\t\tSystem.out.println(\"mallard!\");\n\t}", "title": "" }, { "docid": "f358ec42322de34ddd847c6c68a254cf", "score": "0.5579597", "text": "@Override\n public String display() {\n return String.format(\"%d teus of %s\\n\", this.getTeus(), this.getDescription());\n }", "title": "" }, { "docid": "f98095467cf63d078384300b6cf5ca53", "score": "0.5576171", "text": "private void riddleText(){\r\n System.out.println(\"Rätsel - Je mehr es bekommt, umso hungriger wird es;\");\r\n System.out.println(\"Rätsel - und hat es alles gegessen, so stirbt es.\");\r\n }", "title": "" }, { "docid": "d2d1224feeb761e8ab360ffb4009b872", "score": "0.5563905", "text": "public static String examine() {\r\nreturn \"This armor's name is Bulletproof Vest and its weight is 3.8kg\";\r\n\r\n}", "title": "" }, { "docid": "e127bf2adf74d0b053da777be2a9cb0b", "score": "0.5558112", "text": "private void followThisGodDamnTrain(){\r\n System.out.println(\"FOLLOW THIS GODDAMN TRAIN CJ!!!\");\r\n }", "title": "" }, { "docid": "14f6b2ef0125037b6817b6780dd75933", "score": "0.55441445", "text": "public void printSample() {\r\n\t\tSystem.out.println(\"value of sample :\" + sample);\r\n\t}", "title": "" }, { "docid": "3141faec12d5c7b5e7e1864d677048bb", "score": "0.55385715", "text": "public void weep(){\n System.out.println(\"weeping...\");//Print Statement\n }", "title": "" }, { "docid": "84b41314bd15c3f3a2b15a63ff5dba4a", "score": "0.55368096", "text": "public static void main(String[] args) {\n System.out.println(\"This is a Madlib about New Years.\");\n String ny = \"1. I will [verb] a race to raise [noun] for a charity.\\n2. I will learn to [verb] a new language. \\n3. I will [adverb] try to improve my [plural] in Math. \\n4. I will volunteer to [verb] [plural] in our local [noun]. \\n5. After school, I will [verb] for [number] minutes every night to improve my reading. \\n6. At home, I will [verb] my parents with [verb] dinner and [verb] the dishes afterwards. \\n7. I will limit my computer time to [number] minutes a day. \\n8. I will do my best to do what my [plural] ask of me... the [number] time they ask. \\n9. I will eat [number] fruits and [plural] every day. \\n10. I will follow The [adjective] Rule: Always treat [plural] the way that you want to be [verb].\";\n String result = Noun(ny);\n result = Adjective(result);\n result = Verb(result);\n result = Adverb(result);\n result = Plural(result);\n result = Number(result);\n System.out.println(result);\n }", "title": "" }, { "docid": "54ecc48b071ad4ee1d0ce0f2993ff48a", "score": "0.5536196", "text": "public void sound() {\r\n System.out.println(\"Woof\");\r\n }", "title": "" }, { "docid": "d13a6416ee02551f73aee562eff94f95", "score": "0.55347306", "text": "public void science() {\nSystem.out.println(\"science exam are easy\");\n\t}", "title": "" }, { "docid": "22f326d9e179ba23ddaff7b83d44cbae", "score": "0.5533758", "text": "public String testPrint()\n\t{\n\t\tArrayList<Baab> baabs = testParser.getAllBaabs();\n\t\tArrayList<Verb> verbs = testParser.getListOfVerbs();\n\t\t\n\t\tfor(int i=0; i<baabs.size(); i++)\n\t\t{\n\t\t\tBaab crnt = baabs.get(i);\n\t\t\ttext += \"\\n\" +(crnt.getName());\n\t\t\tString baabName = crnt.getName();\n\t\t\ttext += \"\\n\" +(\"----------------\\n----------------\");\n//\t\t\tcrnt.toString();\n//\t\t\tchar[] lettersOfName = baabName.toCharArray();\n//\t\t\tfor(char c : lettersOfName)\n//\t\t\t{\n//\t\t\t\tSystem.out.print(c + \", \");\n//\t\t\t}\n//\t\t\ttext += \"\\n\" +();\n\t\t\ttext += \"\\n\" +(crnt.toString());\n//\t\t\tfor(Verb verb : crnt.getWordsOfBaab())\n//\t\t\t{\n////\t\t\t\ttext += \"\\n\" +(verb.toString() + \"\\n\");\n////\t\t\t\ttext += \"\\n\" +(verb.maadiBase());\n//\t\t\t\tfor(int j=1; j<=14; j++)\n//\t\t\t\t{\n//\t\t\t\t\tSystem.out.print(Maadi.conjugate(j, verb));\n//\t\t\t\t\ttext += \"\\n\" +(\":\\t\"+ Details.details(j));\n//\t\t\t\t}\n//\t\t\t\ttext += \"\\n\" +(\"***\");\n////\t\t\t\ttext += \"\\n\" +(Mudaari.conjugate(1, verb));\n//\t\t\t\tfor(int j=1; j<=14; j++)\n//\t\t\t\t{\n//\t\t\t\t\tSystem.out.print(Mudaari.conjugate(j, verb));\n//\t\t\t\t\ttext += \"\\n\" +(\":\\t\"+ Details.details(j));\n//\t\t\t\t}\n//\t\t\t\t\n//\t\t\t\ttext += \"\\n\" +();\n//\t\t\t}\n\t\t\ttext += \"\\n\" ;\n\t\t}\n\t\tSystem.out.println(text);\n\t\treturn text;\n\t}", "title": "" }, { "docid": "f3b42af94c669fa90c38892626dd739d", "score": "0.55247515", "text": "public void outputResult2()\n{\n\tSystem.out.print(numberRecipes);\n}", "title": "" }, { "docid": "9c8b8986ea0128d182cff7cd12f363f1", "score": "0.5519737", "text": "@Override\r\n\tpublic void study() {\n\t\tSystem.out.println(\"ÎÒҪѧϰPHP¿Î³Ì£¡\");\r\n\t}", "title": "" }, { "docid": "204c2a6fe704a66067906759fcd25ec1", "score": "0.5519488", "text": "private static void printCount(String ch, long count) {\r\n var verb = count > 1 ? \"were\" : \"was\";\r\n var noun = \"occurrence\" + (count > 1 ? \"s\" : \"\");\r\n var msg = String.format(\"There %s %d %s of '%s'\", verb, count, noun, ch);\r\n System.out.println(msg);\r\n }", "title": "" }, { "docid": "97a9742f6d19fca0c7c3e94187ca2c72", "score": "0.5517966", "text": "@Override\n\tpublic void printWord() {\n\t\t\n\t}", "title": "" }, { "docid": "bad7bc25edff9d501fbece4fc79ac1cd", "score": "0.5517587", "text": "public abstract String printContentLineCounters();", "title": "" }, { "docid": "10cd65b133276d0393b07d4fe3d0268d", "score": "0.55131906", "text": "public void showUsedSamples() {\n\t}", "title": "" }, { "docid": "a5341840cac8b98ca323b851f86ba321", "score": "0.5513063", "text": "@Override\n\tpublic void describe(String speech) {\n\t\t\n\t}", "title": "" }, { "docid": "b955297c8704fd11cb4de85276851c66", "score": "0.5512173", "text": "public void prettyprint()\n {\n System.out.print(\"X=\"+xloc+\" m=\"+musicparams.measurenum+\" \");\n getEvent().prettyprint();\n }", "title": "" }, { "docid": "943d964d9b8ef1ce374fb1b2f5e14f4e", "score": "0.5506698", "text": "private void syst() {\n\t\tSystem.out.println(\"11\");\r\n\t}", "title": "" }, { "docid": "0e74428cd009a4755a08356490100ea8", "score": "0.55011755", "text": "String snuggle(){\n return \"-Charlie Bot: I realize those blankets are warm, but we should really keep moving, 525.\";\n }", "title": "" }, { "docid": "2351499411f75fb9aec39cf62091260a", "score": "0.54849505", "text": "@Test\n public void givenMessageHappy_ShouldReturnSad()\n {\n MoodAnalyzer moodAnalyzer=new MoodAnalyzer(\"I am in a Happy Mood\");\n String mood= null;\n try\n {\n mood = moodAnalyzer.analyzeMood();\n }\n catch (MoodAnalysisException e)\n {\n e.printStackTrace();\n }\n Assert.assertEquals(\"SAD\",mood);\n }", "title": "" }, { "docid": "a29eedae395c21dd7f08d7dd773b4c91", "score": "0.5483859", "text": "@Override\r\n\tpublic void getAmmount() {\n\t\tSystem.out.println(\"700\");\r\n\t}", "title": "" }, { "docid": "0467474a4dd1a8bf502d6622d0ebfdd7", "score": "0.5483084", "text": "@Override\n\n\t\tpublic void println(String s) {\n\t\t\tsuper.println(increment + \":\" + \"Hardwork, unity, discipline\" + s);\n\t\t\tincrement++;\n\t\t}", "title": "" }, { "docid": "66c8b0c42d19feb14caa503bd2dd6901", "score": "0.5480814", "text": "static int eggsMomWants(String eggs) {\n\tSystem.out.println(\"Mom wants \" + eggs + \" eggs.\");\n\n\treturn 12;\n\t\n}", "title": "" }, { "docid": "b9eb116c2ab0dff94d670e6274aec57c", "score": "0.54794466", "text": "private static void speak(String word) {\n\t\t\n\t}", "title": "" }, { "docid": "0400e36aa8ad2d39f1197a49803569e2", "score": "0.5476868", "text": "public void showNumber()\r\n\t{\r\n\t\tSystem.out.println(\"the number is: \" +number);\r\n\t}", "title": "" }, { "docid": "5109553c0f4bb8c18b4f041d6315c844", "score": "0.5475254", "text": "public void speak()\n {\n\t System.out.println(\"Help me! some kid just tipped me.\");\n }", "title": "" }, { "docid": "e045ff890d7c1dea80f3fd7a6585247a", "score": "0.54716843", "text": "@Override\n\tpublic void print() {\n System.out.println(\"针式打印机,打印速度慢,效果差,噪音高\");\n\t}", "title": "" }, { "docid": "84f2f754bf34f02ab1460f795f95a015", "score": "0.54711944", "text": "@Override\n\tpublic void run() {\n\t\tString s = \"Jimmy has an apple, it is on the table\";\n\t\tList<String> list = new ArrayList<>();\n\t\tlist.add(\"an\"); list.add(\"a\"); list.add(\"is\"); list.add(\"the\"); \n\t\tSystem.out.println(\"HighestFrequenceWords : \");\n\t\tfor(String ss : find(s, list)) {\n\t\t\tSystem.out.println(ss);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "371063748fcf58f262e874a2dcb3ee2e", "score": "0.54642135", "text": "@Test(timeout = 4000)\n public void test34() throws Throwable {\n LovinsStemmer lovinsStemmer0 = new LovinsStemmer();\n String string0 = lovinsStemmer0.stemString(\"metr\");\n assertEquals(\"meter\", string0);\n }", "title": "" }, { "docid": "e1fe7a2c64bb2895c31efc2e1b30134c", "score": "0.54528666", "text": "public static void chorus() {\n\t\t//print out the song\n\t\tSystem.out.println(\"Once I had a love and it was a gas\");\n\t\tSystem.out.println(\"Soon turned out had a heart of glass\");\n\t\tSystem.out.println(\"Seemed like the real thing, only to find\");\n\t\tSystem.out.println(\"Mucho mistrust, love's gone behind\");\n\t}", "title": "" }, { "docid": "c8f0384553d13a70b38e69fa6de6a76b", "score": "0.54496396", "text": "public void visit() {\r\n\t\tint i = 0;\r\n\t\tSystem.out.format(\"%-15s\", word);\r\n\t\tpw.format(\"%-15s\", word);\r\n\t\tObjectListNode p = oblist.getFirstNode();\r\n\t\twhile(p != null){\r\n\t\t\ti++;\r\n\t\t\tp = p.getNext();\r\n\t\t}\r\n\t\tp = oblist.getFirstNode();\r\n\t\tSystem.out.print(\"\\t\" + i);\r\n\t\tpw.print(\"\\r\\t\" + i);\r\n\t\twhile(p != null){\r\n\t\t\tObject o = p.getInfo();\t\t\r\n\t\t\t((LinePosition) o).getPositions();\r\n\t\t\tSystem.out.print(\" \");\r\n\t\t\tpw.print(\" \");\r\n\t\t\tp = p.getNext();\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t\tpw.println();\r\n\t\r\n\t\treturn;\r\n\t}", "title": "" }, { "docid": "baa77bd2ad9fcc165b1abbfe792f98a2", "score": "0.5443884", "text": "public String toString() {\n/* 98 */ String retVal = \"round= \" + this.round + \", monster= \" + this.monster;\n/* 99 */ return retVal;\n/* */ }", "title": "" }, { "docid": "749697e8cfdf1c538ef97d9781a44f30", "score": "0.5440292", "text": "@Test\r\n\tpublic void lyricAnyNumMeasuresTest() {\r\n\t\t// only one measure, no bars\r\n\t\tString input1 = \"word other word \";\r\n\t\tverifyWalk(input1);\r\n\r\n\t\t// only one measure, no bars\r\n\t\tString input2 = \"word | other |word\";\r\n\t\tverifyWalk(input2);\r\n\t}", "title": "" }, { "docid": "0f674f5ac26d4689702309221b649ea2", "score": "0.54339737", "text": "public void speak(){\n System.out.println(\"Hello, dudes.\");\n System.out.println(\"My name is \"+this.name+\" my age is \" + this.age);\n }", "title": "" }, { "docid": "846f01285e97cf3e49df72dd0bd7aaf1", "score": "0.54293036", "text": "public static void printMeasures() {\n System.out.println(\"-------- MEASURES ---------\");\n List<String> identifiers = new ArrayList<String>();\n identifiers.addAll(TimeMeasurementTracerFactory.getIdentifiers());\n Collections.sort(identifiers);\n for (String id : identifiers) {\n System.out.println(id);\n Map<Measure, Long> observations = TimeMeasurementTracerFactory.getObservations(id);\n TreeMap<Integer, String> sorted = new TreeMap<Integer, String>();\n for (Map.Entry<Measure, Long> ent : observations.entrySet()) {\n sorted.put(ent.getKey().ordinal(), ent.getKey() + \" \" + ent.getValue());\n }\n for (Map.Entry<Integer, String> ent : sorted.entrySet()) {\n System.out.println(\" \" + ent.getKey() + \" \" + ent.getValue());\n }\n }\n }", "title": "" }, { "docid": "e6d55bb86049e7c7239bf1424b2b8d76", "score": "0.5420752", "text": "@Override\n\tpublic void speak() {\n\t\tSystem.out.println(\"Lion roar\");\n\t}", "title": "" }, { "docid": "075c25164fa5520a8b29b422a84a12ec", "score": "0.54138464", "text": "@Override\r\n\tpublic void doSomeThingOverNight() {\n\tSystem.out.println(\"Ä?êm thì tất nhiên là ... vẫn Ä‘ang ngá»§ say rồi ...\");\r\n\t}", "title": "" }, { "docid": "61cb873315ee2016a3a3e31bda5ddabd", "score": "0.5413362", "text": "default void dive() {\n System.out.println(\"I'm diving \" + getDepthInMeters() + \" meters into the see\");\n }", "title": "" }, { "docid": "84fe5d39abd22969bb7b5b94e5d8c12d", "score": "0.5412327", "text": "@Test\n public void test() {\n System.out.println(new Num38().countAndSay(6));\n }", "title": "" }, { "docid": "23ce609be63994916ec43c6c89954ae3", "score": "0.5406384", "text": "private void verdict() {\r\n println(\"Cardiovascular health:\");\r\n println(SubjCardiovascularHealthy());\r\n\r\n println(\"Blood pressure:\");\r\n println(BloodPressureLow());\r\n }", "title": "" }, { "docid": "61320fa037e8624c33ea7fff28921c26", "score": "0.54054105", "text": "public String speak() {\n\t\t\n\t\treturn (\"ruff ruff\");\n\t}", "title": "" }, { "docid": "c9f77be0539c20e81203d64d30387835", "score": "0.54017276", "text": "void display() {\n\t\tSystem.out.println(\"a: \" + a + \"\\nb: \" + b);\n\t}", "title": "" }, { "docid": "8dde05b818653740fa69f2e13a51d218", "score": "0.5401614", "text": "@Override\n\tpublic void smoking() {\n\t\tSystem.out.println(\"ÀÏʦ³é²Êµû\");\n\t}", "title": "" }, { "docid": "52993144205873c085c4a943790a7ccf", "score": "0.5401479", "text": "public void jouerInstrument(){\r\n if(this.getSante()==false){\r\n System.out.println(\"Eh oh je suis mort, je peux pas jouer d'un instrument lol\");\r\n }\r\n else\r\n {\r\n String far = \"Le barman \"+this.getPrenom()+\" se met à jouer du \"+this.getInstrument()+\" de façon divine !\";\r\n System.out.println(far);\r\n ecrireFichier(far);\r\n }\r\n }", "title": "" }, { "docid": "e44ea82c75ef8e494c1771a9ecc9e32d", "score": "0.5395931", "text": "public synchronized static void endMeasure(Integer index,String toPrint){\n\t\tlong now = System.currentTimeMillis();\n\t\tLong time = times.get(index);\n\t\tif (time == null){\n\t\t\treturn;\n\t\t}\n\t\tdouble diff = now-time;\n\t\t\n\t\tlog.info(toPrint + \" Took \" + (double)diff/1000 + \" seconds.\");\n\t\ttimes.remove(index);\n\t}", "title": "" }, { "docid": "b6710ed81ac09d0ef8679bae8fbbcd53", "score": "0.5392746", "text": "public String toString() {\n\t\treturn (score + \"\\t\" + lineCount);\n\t}", "title": "" }, { "docid": "76d5bb6d4cb9343cca3c712a76b0f45e", "score": "0.53919786", "text": "@Test\n public void testDisplay() {\n System.out.println(\"display\");\n readText.display();\n }", "title": "" }, { "docid": "61c7709922021af04a6a40da370cce17", "score": "0.53907907", "text": "public void animalRuning() {\r\n\t\tSystem.out.println(\"Fox is runnig ...\");\r\n\t}", "title": "" }, { "docid": "68b7dfa598498cdc73d60f0261840869", "score": "0.5389066", "text": "public void run() {\n int count = 0;\n for (int i = 0; i < text.length(); i++) {\n if (text.charAt(i) == ' ') {\n count++;\n }\n try{\n Thread.sleep(100);\n } catch (InterruptedException e) {\n }\n }\n System.out.println(\"spaces:\" + count);\n }", "title": "" }, { "docid": "6963044017409f1a2b82b046a22bc708", "score": "0.53866315", "text": "public String getMeasurement()\n {\n return measurement;\n }", "title": "" }, { "docid": "0299d58c62ccedaa732aeef8d9694b69", "score": "0.5384792", "text": "void summarize();", "title": "" }, { "docid": "0daca68963d44d0044bf27f7a8943ffc", "score": "0.5383686", "text": "public void learn() {\r\n\t\tSystem.out.println(name + \" is studying\");\r\n\t}", "title": "" }, { "docid": "4be27bea4bbc60089471a453f6130a7b", "score": "0.5381612", "text": "protected void voice(){\n System.out.println(\"Deer4 is talking\");\n }", "title": "" }, { "docid": "dc1c685ce26d7d4bad13b23aa02cfe9b", "score": "0.53737056", "text": "void counter() {\n\t\tint a = 2;\n\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(a + a);\n\t}", "title": "" }, { "docid": "1cfa5a1b1fc01be45851421406c8a04a", "score": "0.53714526", "text": "public abstract String speak();", "title": "" }, { "docid": "058cf4a8ba41e1b277c32cd3663d8ed2", "score": "0.53649074", "text": "@Override\n public void say (Utterance utterance) {\n System.out.println(utterance.getDisco().formatUtterance(utterance));\n }", "title": "" }, { "docid": "908afd07da8e360246f03d5627560dda", "score": "0.53646326", "text": "@Override\n public void run() {\n int k12 = 0;\n final int k13 = 0;\n\n System.out.println();/*Printable: 2,5,6,7,8,9,10,11,12,13*/\n }", "title": "" }, { "docid": "806fec4a3ae8e21e8b8c2f56e40d3ae6", "score": "0.5363604", "text": "@Override\n\tpublic void speak() {\n\t\t\n\t}", "title": "" }, { "docid": "a5d661e5721f1e837692b26e61e80049", "score": "0.5351178", "text": "public void play()\r\n\t{\r\n\t\tname=\"ElectricBassGuitar\";\r\n\t\tnumberOfStrings=25;\r\n\t\tSystem.out.println(\"The name of the instrument is: \"+name+\" and it has: \"+numberOfStrings+\" strings.\");\r\n\t}", "title": "" }, { "docid": "d6ca44cffa4dd0ace6c4050552fac503", "score": "0.5349771", "text": "int summary() { return 3; }", "title": "" }, { "docid": "276d1ed9ad476aae6d7f4cdfdaf5a383", "score": "0.534527", "text": "public synchronized static int startMeasure(){\n\t\tlong time = System.currentTimeMillis();\n\t\tcounter++;\n\t\ttimes.put(counter, time);\n\t\treturn counter;\n\t}", "title": "" }, { "docid": "62ff71763cfb950d01694bd032e53fba", "score": "0.5343026", "text": "static void eatMe() {\n System.out.println(\" 'But I don’t want to go among mad people,' Alice remarked.\");\n System.out.println(\" 'Oh, you can’t help that,' said the Cat.\");\n System.out.print(\" 'We’re all mad here. I’m mad. You’re mad.'\");\n }", "title": "" }, { "docid": "fb84e04daa7e6321a57f4e47f9aa8bb2", "score": "0.5342952", "text": "@Test\n public void giveMessage_WhenSad_ShouldReturnSad()\n {\n MoodAnalyzer moodAnalyzer=new MoodAnalyzer();\n String mood= null;\n try\n {\n mood = moodAnalyzer.analyzeMood(\"I am in a Sad Mood\");\n }\n catch (MoodAnalysisException e)\n {\n e.printStackTrace();\n }\n Assert.assertEquals(\"SAD\",mood);\n }", "title": "" }, { "docid": "583ae22cf3d8e46cbfa21db732de42f6", "score": "0.5341344", "text": "public void printTrumps() {\n\t\tSystem.out.println(\"Trumps is :\" + (play.getTrump() + 1));\r\n\t}", "title": "" }, { "docid": "efb562aeb95ad3736051d35ac8ee6d1f", "score": "0.5323897", "text": "public static void main(){\n TextAnalyser analyser = new TextAnalyser(\"SampleEssay.txt\");\n analyser.analyse();\n \n }", "title": "" }, { "docid": "310f0885ad2a6a3ad7e1c219f0c6a610", "score": "0.5318667", "text": "public void printInfo()\n {\n System.out.println(\"Run name : \"+ Name()+ \" lines: \"+this.size());\n }", "title": "" }, { "docid": "c5c048929df400fee521f752bf1cfcd5", "score": "0.53155524", "text": "public void normalSpeaker() {\n System.out.println(\"normal speaker\");\n }", "title": "" }, { "docid": "7a4f726770c6be8d1335a0d7db5a6e3c", "score": "0.5314044", "text": "public void displayMotherXmas() {\n System.out.println(\"*** Hello my Friend ! I am the \" + nameKNPC + \" I have been locked in this room for far too long... ***\");\n System.out.println(\"*** Can you help me to free myself by answering the following riddle please ? \" + enigma + \" ***\");\n }", "title": "" }, { "docid": "6f07d7236b5b6f5151aa253ec11b29f0", "score": "0.5311185", "text": "public void displayMarks ()\n {\n\tc.print (' ', 16); // this puts 16 spaces with the left margen and the name\n\tc.print (\"Donald\", 15);\n\tc.print (45);\n\tc.print (80, 13);\n\tc.println ((80 + 45) / 2.0, 16, 2); // This calculates the average of the two tests\n\n\t// This is the first line with a name and marks\n\tc.print (' ', 16); // this puts 16 spaces with the left margen and the name\n\tc.print (\"Mickey\");\n\tc.print (33, 11);\n\tc.print (39, 13);\n\tc.println ((33 + 39) / 2.0, 16, 2); // This calculates the average of the two tests\n\n\t//This is the third line with name and marks\n\tc.print (' ', 16); // this puts 16 spaces with the left margen and the name\n\tc.print (\"Bugs\");\n\tc.print (79, 13);\n\tc.print (92, 13);\n\tc.print ((78 + 92) / 2.0, 16, 2); // This calculates the average of the two tests\n\n }", "title": "" }, { "docid": "ac34a99a1a638b2ae3bad750deedb44f", "score": "0.5308172", "text": "public void play()\r\n\t{\r\n\t\tname=\"ElectricGuitar\";\r\n\t\tnumberOfStrings = 20;\r\n\t\t\r\n\t\tSystem.out.println(\"The name of the instrument is: \"+name+\" and it has: \"+numberOfStrings+\" strings.\");\r\n\t}", "title": "" }, { "docid": "d7188506e6a4a751e8852c6df7872f30", "score": "0.5299336", "text": "final public void show(String text, int number){\n System.out.println(\"Return: void, Args: String, int.\");\n }", "title": "" } ]
e61f419874eb2015a7f2b17f37e7302c
Default Report Function Constructor
[ { "docid": "483178243d3cd76a33b0b0eb6c9ed5b2", "score": "0.65209067", "text": "public ReportFunction() {\n\t\tthis.default_pos = DEFAULTS;\n\t\tthis.default_neg = DEFAULTS;\n\t\t\n\t\tthis.all_combo_pos = new HashMap<State,String>();\n\t\tthis.all_combo_neg = new HashMap<State,String>();\n\t\t\n\t\tthis.combo_pos = new HashMap<State, HashMap<State, String>>();\n\t\tthis.combo_neg = new HashMap<State, HashMap<State, String>>();\n\t}", "title": "" } ]
[ { "docid": "cb40d6d459462d125582749f8bf6a2f4", "score": "0.8399978", "text": "public Report(){\n\n\t}", "title": "" }, { "docid": "232f7973253d2e080a2c95107fd4fb60", "score": "0.8299917", "text": "public Report_Object()\n\t{\n\t\t// Default no param constructor\n\t}", "title": "" }, { "docid": "2a4ad5c4014b194648d0585b66e6122c", "score": "0.77721274", "text": "public Report() {\n title = \"\";\n \n data = new ArrayList<Object>();\n }", "title": "" }, { "docid": "d89347b1dba28f3253e93c1a8023382d", "score": "0.75816447", "text": "public Report() {\n setNextRevision();\n epocClassname = \"Report\";\n }", "title": "" }, { "docid": "dca73a3526a63e4e1b1baae6814edd57", "score": "0.7496003", "text": "public Reports() {\n\t\tthis(\"reports\", null);\n\t}", "title": "" }, { "docid": "9d15bfe620d73997f1cbb34d84fa8071", "score": "0.7471432", "text": "public SpReport() {\n this(DSL.name(\"sp_report\"), null);\n }", "title": "" }, { "docid": "e1b21e9d7c58f72a90b4c2f852062f37", "score": "0.7406059", "text": "public ReportApi() {\n this(null);\n }", "title": "" }, { "docid": "4fd0f9437667fc6c1546915f980b4dc4", "score": "0.73749965", "text": "public QueryReport() {\n }", "title": "" }, { "docid": "02b6d0db372bd07fc57ac73f101e2a59", "score": "0.733817", "text": "public StatisticReport() {\n }", "title": "" }, { "docid": "a774bcd04968126c41f4ff2fc151e535", "score": "0.73178494", "text": "public REPORT() {\n initComponents();\n }", "title": "" }, { "docid": "df350a806d0efdf5165e40dc477c2023", "score": "0.72886", "text": "public ReportIndex() {\n super();\n }", "title": "" }, { "docid": "c43974bd28ae32912d8cf798b94c2e6f", "score": "0.7273038", "text": "public ReportSource(){\n\t}", "title": "" }, { "docid": "bbb576ce87ef201f0704655c19a997bb", "score": "0.7241217", "text": "public Report() {\n\t\tbuf = new StringBuilder(\"X-Trace Report ver 1.0\\n\");\n\t\tmap = null;\n\t}", "title": "" }, { "docid": "ee56f73b11e10cc10631f463663429d9", "score": "0.72110593", "text": "public REPORTType() \n {\n super();\n }", "title": "" }, { "docid": "1027d5be74df7e4ae6af15fda2cc760d", "score": "0.7158198", "text": "public WaterPurityReport() {\n\n }", "title": "" }, { "docid": "e20cab91ff46b236b106a26895f8af0a", "score": "0.70385814", "text": "@Override\n public Report createReport() {\n return null;\n }", "title": "" }, { "docid": "1a885f5e0d6a01b62b563a6e150f43bb", "score": "0.70014113", "text": "public ReportesFactoryImpl() {\n\t\t\n\t\tsuper();\n\t}", "title": "" }, { "docid": "568809cd93e30345f2ee1ff60eeb62f9", "score": "0.69351685", "text": "public ReportSpec() {\r\n this(new ArrayList<T>());\r\n }", "title": "" }, { "docid": "11ab2a86f46091f5ebe0f5deecf0b8aa", "score": "0.67819124", "text": "Report getReport();", "title": "" }, { "docid": "5a564f1d13a97767a20e94cc3236c019", "score": "0.6733415", "text": "public Reports() {\n initComponents();\n }", "title": "" }, { "docid": "29280e1cd3a58f11c32e04ee0223f215", "score": "0.67298526", "text": "public ReportData() {\n initComponents();\n }", "title": "" }, { "docid": "a6b5b436956977fc853f44f237c48147", "score": "0.66840893", "text": "public SpReport(Name alias) {\n this(alias, SP_REPORT);\n }", "title": "" }, { "docid": "ac0b0e288a26c0e7b681b71c64f0d04e", "score": "0.66836286", "text": "public ReportesBean() {\n }", "title": "" }, { "docid": "05d1c3c7e5723bb57e84744193ae7681", "score": "0.665925", "text": "public AbstractReportDto() {\r\n\t\tsuper();\r\n\t\tthis.infractionList = new ArrayList<>();\r\n\t}", "title": "" }, { "docid": "13532b24c9207c35a20c529fb6eee17d", "score": "0.6647096", "text": "public ReportFragment() {\n // Required empty public constructor\n }", "title": "" }, { "docid": "bd9459d5a02218a59183fe8686841c08", "score": "0.6636315", "text": "public ReportMsg() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "5a64d26c7ed2117ae36969f95f4bcce9", "score": "0.66350335", "text": "public Report (String cityName, int numOfMembers, int numOfRenew, int numOfViews, int numOfDownloads,\r\n\t\t\tint numOfOTP, int numOfLTP)\r\n\t{\r\n\t\tm_cityName = cityName;\r\n\t\tm_numOfOTP = numOfOTP;\r\n\t\tm_numOfLTP = numOfLTP;\r\n\t\tm_numOfMembers = numOfMembers;\r\n\t m_numOfRenew = numOfRenew;\r\n\t m_numOfViews = numOfViews;\r\n\t\tm_numOfDownloads = numOfDownloads;\r\n\t}", "title": "" }, { "docid": "88d0da6a41d89166defe949f87836c19", "score": "0.66237754", "text": "public ReportSolverArray() {\n }", "title": "" }, { "docid": "988e01fa7d429364197dc3cae3dbe766", "score": "0.66027117", "text": "private Report makeReport(){\n Vehicle vehicle = makeVehicle();\n Report report = new Report(null,description.getText(),null,null,vehicle);\n report.setViolations(violationListView.getItems());\n return report;\n }", "title": "" }, { "docid": "c40fb15be3b1d18d16dd9f203bd3ceb5", "score": "0.6595195", "text": "public MedicalReport() {\n initComponents();\n }", "title": "" }, { "docid": "099587046a0d257d47768a751f58bb65", "score": "0.65725505", "text": "public InCageExceptionsReport() {\n }", "title": "" }, { "docid": "c2b912e1edffaf9ac787a9fd9679cd20", "score": "0.6524535", "text": "public ReportsJF() {\n initComponents();\n showDate();\n showTime();\n FullScreenMethod();\n TransparantButtonMethod();\n }", "title": "" }, { "docid": "c7cbff2d9981cf049d9d9ea1bfbdbb57", "score": "0.6519235", "text": "public ClaseReporteMaterial() {}", "title": "" }, { "docid": "9818929dfaa31d1b403adb9ff2c58a45", "score": "0.65023243", "text": "public AbstractReportParameterViewer() {\r\n }", "title": "" }, { "docid": "30e820b621ff377cdcbac7df1567b1be", "score": "0.64782554", "text": "public Report createReport(final String methodName, final String... arguments) {\n\t\treturn new Report(new FunctionBasedReportSource(this.connection, methodName, arguments), this.createCustomFunctions());\t\n\t}", "title": "" }, { "docid": "c8a58f26b1921b185521cf6dc0ed0677", "score": "0.6461471", "text": "public ReporteLogs() {\n initComponents();\n }", "title": "" }, { "docid": "a2f5e75ac6af1125347f52d1725d5e06", "score": "0.645306", "text": "public HTMLReportSaver(GeneratedReport report)\n {\n super(report);\n }", "title": "" }, { "docid": "5b0996acb8283b4a74f2591656b016a9", "score": "0.6385345", "text": "public Report createReport(final String methodName, final InputStream template, final String... arguments) {\t\t\n\t\treturn new Report(new FunctionBasedReportSource(this.connection, methodName, arguments), this.createCustomFunctions(), template);\t\n\t}", "title": "" }, { "docid": "59735e3aa80b5a721cb0f385b5b42272", "score": "0.6380842", "text": "abstract R createReport(ReportType reportType, String timeFrame, List<D> data);", "title": "" }, { "docid": "a26eac2c31fbea8c9a512c1a52baf1d2", "score": "0.6380147", "text": "public reportController ()\t\n{\n\tname.clear();\n\tgrade.clear();\n\tgetCurrentSemester();\n\t\n}", "title": "" }, { "docid": "90bee669f499f50d29eb4c31adacb222", "score": "0.6371866", "text": "public Report(String ip) {\n\t\tconn = new CoreConnection(ip);\n\t}", "title": "" }, { "docid": "fff48e032b70e190be28f87afaf095de", "score": "0.6305498", "text": "public QueryReportEntry() {\n positionSum = 0.0;\n cost = 0.0;\n displayReport = new DisplayReport();\n }", "title": "" }, { "docid": "053ee3ff4e0f3089bb2720ff4abb12cd", "score": "0.62978804", "text": "public Reporte_Anio() {\n initComponents();\n }", "title": "" }, { "docid": "2a4a43701f64ae33da9dd0c6f4b0b205", "score": "0.6291295", "text": "public SpReport(String alias) {\n this(DSL.name(alias), SP_REPORT);\n }", "title": "" }, { "docid": "682d9f0b884fcf4661d1e124ca185f38", "score": "0.6286766", "text": "private Printer() {\n\t\t\n\t\tSystem.out.println(\"Printer::0-param constructor\");\n\t}", "title": "" }, { "docid": "e217976305a239d991969f7b5cc6cd8e", "score": "0.6283018", "text": "public ResultTable (RModel reportModel)\n\t{\n\t\tthis();\n\t\tsetModel(reportModel);\n\t}", "title": "" }, { "docid": "bd89aa5c717b7994e4991273471545c7", "score": "0.6278495", "text": "public Invoice() { // use of this keyword to call constructor\n this(\"unknown\", 0, 0.0);\n }", "title": "" }, { "docid": "88805debdbc91880f396d41e12f50e3d", "score": "0.62690246", "text": "public JacocoReport(File xmlReport) throws Exception {\n super(\"JaCoCo Coverage Report\");\n // Ignore some defaults parameters\n // thank you, S.O. https://stackoverflow.com/a/155874/800917\n factory = DocumentBuilderFactory.newInstance();\n factory.setFeature(externalDtd, false);\n builder = factory.newDocumentBuilder();\n document = builder.parse(xmlReport);\n root = document.getDocumentElement();\n root.normalize();\n assert root.getTagName() == \"report\";\n // Parse document\n this.issues.addAll(createIssues());\n }", "title": "" }, { "docid": "44182fddccf1fbb7d9d5249eb7bb7e0c", "score": "0.626361", "text": "public ReportPatient() {\n initComponents();\n }", "title": "" }, { "docid": "cc02ace579af0eb286141f95e81ff28a", "score": "0.6260316", "text": "private TipoReporte(String nombre)\r\n/* 52: */ {\r\n/* 53: 58 */ this.nombre = nombre;\r\n/* 54: */ }", "title": "" }, { "docid": "9b7900c846010860d5fdd2e0486af7a4", "score": "0.6259587", "text": "public TodaysReport() {\n initComponents();\n con=new DbConnection().condb();\n catagoryItem();\n }", "title": "" }, { "docid": "5a617c9f0e43e4aa2d1303b5291b86e9", "score": "0.62408113", "text": "public Chart() {\n\t\t// init();\n\t}", "title": "" }, { "docid": "822be11743a4e8d4274284ab886ee1bc", "score": "0.6229043", "text": "protected Instruments(){\r\n this(\"\");\r\n System.out.println(\"This is Instrument\");\r\n }", "title": "" }, { "docid": "41219befb49f766bd6e1a692c6192d46", "score": "0.6223017", "text": "public Reports(String scrptname) \r\n\t{\r\n\t\tdrv1 = Maindriver.driver;\r\n\t\tthis.scriptname=scrptname;\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tthis.failcounter=0;\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tSystem.out.println(e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3dc100000764a9598028797fe85b83c9", "score": "0.6219744", "text": "public CountryPOJOReport() {\n }", "title": "" }, { "docid": "ddfaf220a969a5032b3b6e0b49905ffe", "score": "0.62151146", "text": "public static void createCustomReportFile()\n\t{\n\t\tDocumentBuilderFactory domFactory;\n\t\tDocumentBuilder domBuilder;\n\t\tProcessingInstruction pi;\n\t\ttry\n\t\t{\n\t\t\tstrExeStartTime = getPresentTime(\"dd/MMM/yyyy hh:mm:ss a\");\n\t\t\tdomFactory = DocumentBuilderFactory.newInstance(); \n\t\t\tdomBuilder = domFactory.newDocumentBuilder(); \n\t\t\tnewDoc = domBuilder.newDocument();\n\t\t\tpi = newDoc.createProcessingInstruction(\"xml-stylesheet\", \"href='Report.xsl' type='text/xsl'\");\n\t\t\t//append this to document.\n\t\t\tnewDoc.appendChild(pi); \n\t\t\t// Root element \n\t\t\telRoot = newDoc.createElement(\"Report\"); \n\t\t\tnewDoc.appendChild(elRoot); \n\t\t\telTestSuite = newDoc.createElement(\"TestSuite\");\n\t\t\telTestSuite.appendChild(newDoc.createTextNode(strTestSuiteName));\n\t\t\telRoot.appendChild(elTestSuite);\n\n\t\t\telTestSuite.setNodeValue(strTestSuiteName);\n\t\t\telTestSuite.setAttribute(\"startTime\",strExeStartTime);\n\t\t\telTestSuite.setAttribute(\"Desc\",strTestSuiteName); \n\t\t}\n\t\tcatch(Exception e) \n\t\t{\n\t\t\tReportingFunctionsXml_LOGS.error(StringConstants.STRREPFUNCERR);\n\t\t\tfnDisplayExceptionDetails(e);\n\t\t}\n\n\t}", "title": "" }, { "docid": "18037d06268c743394edff4c20f00cfe", "score": "0.61716044", "text": "public ReportPageTest()\n\t{\n\t\tsuper(); //TestBase constructor is called to configure property file.\n\t}", "title": "" }, { "docid": "151ec964dc12904bf6951c31e68ab2b4", "score": "0.61670345", "text": "public static ExtentReports createInstance(){\n // This is just the report name with the current date. Method is below name:\n String fileName=getReportName();\n\n // This is where we decided to put the reports under.\n // You can see that it creates a folder inside test-output\n String directory=System.getProperty(\"user.dir\")+\"/test-output/LetsKodeIt_reports/\";\n\n new File(directory).mkdirs(); // creating the directory as shown in the previous line\n\n String path=directory+fileName; // Create the path using directory and file name, generate the file directory.\n\n // the html reporter looks at path and knows where to add the html file including the configurations shown below.\n ExtentHtmlReporter htmlReporter=new ExtentHtmlReporter(path);\n htmlReporter.config().setEncoding(\"utf-8\");\n htmlReporter.config().setDocumentTitle(\"Reports\");\n htmlReporter.config().setReportName(\"Test Results\");\n htmlReporter.config().setTheme(Theme.STANDARD);\n\n // ExtentReport object extent registers the key system information\n // and finalize the htmlReporter object to written on the disk\n extent=new ExtentReports();\n extent.setSystemInfo(\"Let's Kode\",\"Coding intensively\");\n extent.setSystemInfo(\"Browser\",\"Chrome\");\n extent.attachReporter(htmlReporter);\n return extent;\n }", "title": "" }, { "docid": "cd85465dc66343807e80a40a25200d9e", "score": "0.61589944", "text": "private Analysis() {}", "title": "" }, { "docid": "799429783db14fa062b98a1f1751463e", "score": "0.6158645", "text": "public Report createReportFromDataset(final ARRAY dataset) {\n\t\treturn new Report(new DatasetBasedReportSource(dataset), this.createCustomFunctions());\n\t}", "title": "" }, { "docid": "8281eae4a8513aba143e89b9bc05eb1f", "score": "0.61550313", "text": "public void report()\r\n\t{\n\t}", "title": "" }, { "docid": "f33d2d77178dd6f1d92e7f2e4447f350", "score": "0.61503536", "text": "public Sprint() {\n }", "title": "" }, { "docid": "68ed8d672db86516056cebdd61b069a8", "score": "0.61462754", "text": "public IndividualReport(String custID, Date start, Date end) {\n super.initialise(\"Individual Report\", start, end);\n this.custID = custID;\n }", "title": "" }, { "docid": "2f527dc90bcc6ac01a58dc70cc1d3856", "score": "0.61331695", "text": "private BaseEribank(){\r\n \t//single_instance = null;\r\n \treportDirectory = \"reports\";\r\n \treportFormat = \"xml\";\r\n \ttestName = \"Untitled\";\r\n \tdriver = null;\r\n \tdc = new DesiredCapabilities();\r\n }", "title": "" }, { "docid": "e7e6f6af0f7afdf9d3a98dc95b5851a7", "score": "0.6115195", "text": "public Ireport() {\n initComponents();\n loadcombo();\n }", "title": "" }, { "docid": "3b9f4916d4bf1cd4c4bad9ff3cb75e28", "score": "0.61108696", "text": "public Plotter() {\n this(\"Default\");\n }", "title": "" }, { "docid": "3268ccd4f6df1326c1d143924766ca5b", "score": "0.6062334", "text": "public PDF()\n {\n super();\n }", "title": "" }, { "docid": "f97a3ab9c9017b77ddbe1c02d9723856", "score": "0.604755", "text": "public ReporteListaMateriales() {}", "title": "" }, { "docid": "e0848b31a77dd9fe89ae1fe29bc66028", "score": "0.60268635", "text": "public String generateReport() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1a13571754b9340c32d45cee8bdce78d", "score": "0.60239595", "text": "public TestReport(String idTest, TestDiagnosis diagnosis, String report, LocalDateTime date) {\n boolean error = false;\n\n try {\n checkDiagnosisRules(diagnosis);\n } catch (Exception e) {\n error = true;\n System.out.println(e.getMessage());\n }\n\n try {\n checkReportRules(report);\n } catch (Exception e) {\n error = true;\n System.out.println(e.getMessage());\n }\n\n if (!error) {\n this.idTest = idTest;\n this.diagnosis = diagnosis;\n this.report = report;\n this.date = date;\n } else {\n throw new IllegalArgumentException(\"Error with creation\");\n }\n\n }", "title": "" }, { "docid": "37c701539a57d2a0d6534ca4f5e9a6c6", "score": "0.60233843", "text": "public static ExtentReports createInstance() {\r\n \r\n ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(System.getProperty(\"user.dir\")+\"/\"+reportFileName);\r\n htmlReporter.config().setTestViewChartLocation(ChartLocation.BOTTOM);\r\n htmlReporter.config().setChartVisibilityOnOpen(true);\r\n htmlReporter.config().setTheme(Theme.STANDARD);\r\n htmlReporter.config().setDocumentTitle(System.getProperty(\"user.dir\")+\"/\"+reportFileName);\r\n htmlReporter.config().setEncoding(\"utf-8\");\r\n htmlReporter.config().setReportName(System.getProperty(\"user.dir\")+\"/\"+reportFileName);\r\n \r\n \r\n extent = new ExtentReports();\r\n extent.attachReporter(htmlReporter);\r\n \r\n return extent;\r\n }", "title": "" }, { "docid": "441438edca0831319b661bc184a98080", "score": "0.6005686", "text": "public void controlReport() {\n\t\t\n\t}", "title": "" }, { "docid": "d0bd2a03b6163da5fbc8df468e9ca6db", "score": "0.596472", "text": "private static ReportDefinition getDefaultCdrBean(){\n\t\tReportDefinition dob = new ReportDefinition();\n\t\tdob.setUdrCode(\"KCM_DEVTEST_ADAEBABFAA\");//Mandatory\t\t\n\t\tdob.setXmlData(convertXMLFileToString(\"D:\\\\DocumentServer\\\\JRXML\\\\KW\\\\temp.xml\").getBytes());//Mandatory\n\t\treturn dob;\n\t\t\n\t}", "title": "" }, { "docid": "7b953dc7c6537e6e38b4791a48a26fec", "score": "0.5961631", "text": "public UReport(List<UStats> stats) {\n super();\n this.stats = stats;\n }", "title": "" }, { "docid": "4c1d04a5f251ec453901e175f262e547", "score": "0.59583604", "text": "public static ExtentReports createInstance() {\r\n \r\n String fileName = winReportFileLoc;\r\n ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(fileName);\r\n htmlReporter.config().setTestViewChartLocation(ChartLocation.BOTTOM);\r\n htmlReporter.config().setChartVisibilityOnOpen(true);\r\n htmlReporter.config().setTheme(Theme.DARK);\r\n htmlReporter.config().setDocumentTitle(\"Automation Results\");\r\n htmlReporter.config().setEncoding(\"utf-8\");\r\n htmlReporter.config().setReportName(\"Test Sanity Suit\");\r\n \r\n extent = new ExtentReports();\r\n extent.attachReporter(htmlReporter);\r\n \r\n return extent;\r\n }", "title": "" }, { "docid": "fcd700ac550d8df1c2d73c24cc9aa525", "score": "0.59335285", "text": "public StudentProgressReport()\r\n {\r\n displayScreen();\r\n }", "title": "" }, { "docid": "37f4b016e8dc2e5efee9df6cd0fb5fa3", "score": "0.59287167", "text": "public desmoj.core.report.Reporter createDefaultReporter() {\r\n\r\n\t\treturn new desmoj.core.report.QueueReporter(this);\r\n\r\n\t}", "title": "" }, { "docid": "02af8542f4b39abb4391833f4b6f678f", "score": "0.59256005", "text": "public TrackerLog() {}", "title": "" }, { "docid": "d4de5229c2269dc2d476ab8c1573a295", "score": "0.59143305", "text": "@Override\r\n\tpublic void report() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1c4213dc39fe8f108e6cdfac7e7d5205", "score": "0.5900972", "text": "public WaterQualityReport() {\n virusPPM = -1;\n contaminantPPM = -1;\n }", "title": "" }, { "docid": "3d39537e0ac1cf65b7200b652212f886", "score": "0.5896664", "text": "public CDList()\r\n {\r\n currentYear = 1;\r\n numOfAnnualReports = 10;\r\n }", "title": "" }, { "docid": "f3ab4ccd21d924b004acfcab40ca1a61", "score": "0.5895774", "text": "public DBDiseaseReport()\r\n\t{\r\n\t\tcon = DbConnection.getInstance().getDBcon();\r\n\t}", "title": "" }, { "docid": "f4c3ade00680a5d0583ff3574c7eb8c3", "score": "0.58762103", "text": "public ReportIndex(Long id, Long report_id, String index_id, String field_name, String name, String is_default, String info, String unit) {\n this.id = id;\n this.report_id = report_id;\n this.index_id = index_id;\n this.field_name = field_name;\n this.name = name;\n this.is_default = is_default;\n this.info = info;\n this.unit = unit;\n }", "title": "" }, { "docid": "49f34480d7439630523009a5b5be8e32", "score": "0.58709574", "text": "public SummaryReport(Properties properties) {\r\n this.properties = properties;\r\n }", "title": "" }, { "docid": "961d6670337f61eb81542c906987e6f7", "score": "0.5858919", "text": "public ChartInfo()\n {\n super();\n JatakamuLogger.log(\"creating ChartInfo instance...\" + hashCode());\n initialize();\n }", "title": "" }, { "docid": "8e48472804232849d59f770527feb5a3", "score": "0.5843495", "text": "public Reports(String alias) {\n\t\tthis(alias, REPORTS);\n\t}", "title": "" }, { "docid": "7c41387ea2020af046d6b3f2554bae9a", "score": "0.5837526", "text": "public ASPPage construct() throws FndException\n {\n if(DEBUG) debug(this+\": QuickReports.construct()\");\n return super.construct();\n }", "title": "" }, { "docid": "e17952490acb1a916bfbbd30bfa5b823", "score": "0.58372396", "text": "@Override\n\tpublic void reportCreation(String format) {\n\t\t\n\t}", "title": "" }, { "docid": "e17952490acb1a916bfbbd30bfa5b823", "score": "0.58372396", "text": "@Override\n\tpublic void reportCreation(String format) {\n\t\t\n\t}", "title": "" }, { "docid": "0eeeec423a4ae78f4a7b79225b4926fd", "score": "0.5836647", "text": "public CovidSummary() {\n }", "title": "" }, { "docid": "94efe32b9d843a9afc83a536ccfa25a7", "score": "0.5829684", "text": "public WorkReportsSettingsRecord() {\n super(com.sonicle.webtop.drm.jooq.tables.WorkReportsSettings.WORK_REPORTS_SETTINGS);\n }", "title": "" }, { "docid": "b5f42b8c728a17a9de3c44badc46911c", "score": "0.5828499", "text": "public Stats() {\n }", "title": "" }, { "docid": "033908a62ea85982016fbc1dcd7cc791", "score": "0.58238494", "text": "private ReportFileSingletonFactory() {\n\t\t\n\t}", "title": "" }, { "docid": "cac13cbd845abd94017250cc642af7ed", "score": "0.58234423", "text": "public DetailedLogWriter(){\n super();\n }", "title": "" }, { "docid": "d3bedeaccec9728dd71c1f8cdc78d80c", "score": "0.5822727", "text": "public Stats( ){\n \n }", "title": "" }, { "docid": "c249a0f5de2b0acee2396a01293ed11d", "score": "0.58210576", "text": "public TextPrinterJob()\n\t{\n\t\tthis(DEFAULT_FONT_NAME, DEFAULT_FONT_SIZE);\n\t}", "title": "" }, { "docid": "427dd85f2691cd49ea622d30402c5357", "score": "0.5817318", "text": "public CustomerTracker()\n {\n // initialise instance variables\n this( 0,0,0,0,0 );\n }", "title": "" }, { "docid": "4998dd2e6a1dc9e5f48f84e73b091f15", "score": "0.58098733", "text": "protected MathematicalOperatorPrinter()\n {\n }", "title": "" }, { "docid": "a76f731a2795852f6c8881c8d4d0d74f", "score": "0.57895964", "text": "public ExcelWriter() {\r\n\t}", "title": "" }, { "docid": "114ee256852d81c50a4aeb7cca34260b", "score": "0.5789054", "text": "Crystal createCrystal();", "title": "" } ]
735833b80a89c3bf69ed60dcc66fca78
Returns the uplink CallQualityLevel for a given ongoing call.
[ { "docid": "3829af7c04e847f80e5ec0cf7f54df20", "score": "0.80518246", "text": "@CallQualityLevel\n public int getUplinkCallQualityLevel() {\n return mUplinkCallQualityLevel;\n }", "title": "" } ]
[ { "docid": "9b21744540c7d4cf61a1c6d2f04b1ec4", "score": "0.71949196", "text": "@CallQualityLevel\n public int getDownlinkCallQualityLevel() {\n return mDownlinkCallQualityLevel;\n }", "title": "" }, { "docid": "0acb0e78d400d8abc2d5788f5a4981ac", "score": "0.6009454", "text": "public int getLinkQuality() throws YAPI_Exception\n {\n return get_linkQuality();\n }", "title": "" }, { "docid": "7ded121d52b725bc6dcebf5d3687ead4", "score": "0.5951002", "text": "public int get_linkQuality() throws YAPI_Exception\n {\n int res;\n synchronized (this) {\n if (_cacheExpiration <= YAPIContext.GetTickCount()) {\n if (load(_yapi._defaultCacheValidity) != YAPI.SUCCESS) {\n return LINKQUALITY_INVALID;\n }\n }\n res = _linkQuality;\n }\n return res;\n }", "title": "" }, { "docid": "7a4e821330835947ea59c771dd26a58e", "score": "0.5562208", "text": "int getQuality();", "title": "" }, { "docid": "573b92af9d7154a56a117a5179490f86", "score": "0.52547896", "text": "public int getQuality() {\n return quality_;\n }", "title": "" }, { "docid": "b890a35fe6696398ca982e9a7c9756d0", "score": "0.5244849", "text": "public int getQuality() {\n return quality_;\n }", "title": "" }, { "docid": "2fe3032d5e4e2463d5529d81ad3eff3e", "score": "0.5243065", "text": "private int getQualityOf(Item item) {\n\t\treturn item.getQuality();\n\t}", "title": "" }, { "docid": "5b8b55d2e23eba18051af9f84e24af41", "score": "0.5239835", "text": "public float getQuality() {\n return this.quality;\n }", "title": "" }, { "docid": "a5955b0f6a8402227ac6501e6bcf5d41", "score": "0.51518923", "text": "int usageRequestLevel ();", "title": "" }, { "docid": "03c002d3b811b294a14ff427c1c44799", "score": "0.5002221", "text": "public String getShotQuality() {\n differenceBetweenCurrentAndAverage = currentShotDistance - averageDistanceforSuchShot;\n // Log.d(TAG, \"Difference: \"+ differenceBetweenCurrentAndAverage);\n if(differenceBetweenCurrentAndAverage > 5) {\n shotQuality = \"ABOVE AVERAGE\";\n }else if(differenceBetweenCurrentAndAverage < -5){\n shotQuality = \"BELOW AVERAGE\";\n }else {\n shotQuality = \"AVERAGE\";\n }\n //Log.d(TAG, \"Shot Quality: \"+ shotQuality);\n return shotQuality;\n }", "title": "" }, { "docid": "2fdf2bb32bc1cd59a70796d91872aff9", "score": "0.4997678", "text": "public int getUpLevel() {\n return upLevel_;\n }", "title": "" }, { "docid": "2fdf2bb32bc1cd59a70796d91872aff9", "score": "0.4997678", "text": "public int getUpLevel() {\n return upLevel_;\n }", "title": "" }, { "docid": "30b1793b865437e3a7923ffe9adb7dd7", "score": "0.49966952", "text": "public int getUpLevel() {\n return upLevel_;\n }", "title": "" }, { "docid": "30b1793b865437e3a7923ffe9adb7dd7", "score": "0.49966952", "text": "public int getUpLevel() {\n return upLevel_;\n }", "title": "" }, { "docid": "7b112c522a90ac0c5fe2a81a58b6c36e", "score": "0.49885046", "text": "public int getQuality(int sensor){\n\t\treturn ((EEGCap)frame[sensor]).quality();\n\t}", "title": "" }, { "docid": "967e454000689c5790b56e3630a5035e", "score": "0.49298722", "text": "public String getQualitySignificance() {\n return qualitySignificance;\n }", "title": "" }, { "docid": "ac92df86b7308cd47342e74b60a466ed", "score": "0.4884354", "text": "public int getQualityFlag() {\n\t\treturn qualityFlag;\n\t}", "title": "" }, { "docid": "99460eb14056a8ae33b24289fa1a2f18", "score": "0.48723522", "text": "public CallAudioState getCurrentCallAudioState() {\n return mCurrentCallAudioState;\n }", "title": "" }, { "docid": "06cb52411f1538c46c1194e25a9b1dd8", "score": "0.486681", "text": "public static final int compareQuality(Read a, Read b){\n\t\tif(a.quality==null){return 0;}\n\t\tint qa=Tools.sumInt(a.quality);\n\t\tint qb=Tools.sumInt(b.quality);\n\t\treturn qb-qa;\n\t}", "title": "" }, { "docid": "deb57f665558de18728a5b26f861ca1f", "score": "0.48151326", "text": "public double quality(){\n\t\t\t\treturn quality_function(tau, qj, qjL, qjR );\n\t\t\t}", "title": "" }, { "docid": "d5e70667154aa71eb6e3185e9431ee67", "score": "0.47961485", "text": "int getUpLevel();", "title": "" }, { "docid": "d5e70667154aa71eb6e3185e9431ee67", "score": "0.47961485", "text": "int getUpLevel();", "title": "" }, { "docid": "bfa9aa0102f6bb93d662ef04f573cdf3", "score": "0.47956654", "text": "public Integer urgency() {\n return this.urgency;\n }", "title": "" }, { "docid": "e061fb673e37788af7d7e523d718b464", "score": "0.47872362", "text": "private int getSignalLevel(double cn0) {\n if (cn0 > POOR_TOP_FOUR_AVG_CN0_THRESHOLD_DB_HZ) {\n return GnssMetrics.GPS_SIGNAL_QUALITY_GOOD;\n }\n return GnssMetrics.GPS_SIGNAL_QUALITY_POOR;\n }", "title": "" }, { "docid": "37704e8126a2430b77624def60fbe22a", "score": "0.47597218", "text": "public double getQuality(){\r\n\t\treturn qual;\r\n\t}", "title": "" }, { "docid": "23b192bfa8411d10c31dd6390aade46d", "score": "0.47564363", "text": "ShowGetQualityRequest getQuality( String tvdbid );", "title": "" }, { "docid": "0706a02631f63e0e106898ec54287081", "score": "0.47046527", "text": "public static VideoQuality getQuality(int itag) {\n\t\treturn qualities.get(itag);\n\t}", "title": "" }, { "docid": "38e86c95907e4f7ab5403fb911c707d6", "score": "0.4704345", "text": "public int getUrgency() {\n\t\treturn this.urgency;\n\t}", "title": "" }, { "docid": "2c4dbfde125527835a81e6b79e09c642", "score": "0.46638352", "text": "public int getCallDuration() {\n return mCallDuration;\n }", "title": "" }, { "docid": "763912605eb77c8ee5ddb2280a72ce80", "score": "0.46604592", "text": "BioPAXLevel getLevel();", "title": "" }, { "docid": "865300edd1e5faf8e17c14843f2b7b57", "score": "0.4659362", "text": "public CallResult reduce(SSGenotypeCall call, CallResult sum) {\n sum.nCalledBases++;\n \n if (call != null && (GENOTYPE || call.isVariant(call.getReference()))) {\n if (call.getNegLog10PError() >= LOD_THRESHOLD) {\n sum.nConfidentCalls++;\n //System.out.printf(\"Call %s%n\", call);\n sum.writer.addGenotypeCall(call);\n } else {\n sum.nNonConfidentCalls++;\n }\n }\n return sum;\n }", "title": "" }, { "docid": "65896b10ca7d53757286c83b61fff53a", "score": "0.46548665", "text": "@Override\n\tpublic double getQualityImprovement() {\n\t\treturn this.improvementFactor;\n\t}", "title": "" }, { "docid": "4d5de1d795ca89eee0ded4db1f303f8d", "score": "0.46186405", "text": "static int getBatteryLevel() {\n try {\n\n Intent batteryIntent = Cocos2dxHelper.getActivity().registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED));\n int level = batteryIntent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);\n int scale = batteryIntent.getIntExtra(BatteryManager.EXTRA_SCALE, -1);\n\n // Error checking that probably isn't needed but I added just in case.\n if (level > -1 && scale > 0) {\n \tint batLevel = (level * 100) / scale;\n return batLevel;\n }\n }\n catch(Exception e){\n// if (Countly.sharedInstance().isLoggingEnabled()) {\n Log.i(\"Countly\", \"Can't get battery level\");\n// }\n }\n\n return 0;\n }", "title": "" }, { "docid": "c98013acf8ad24448839fafac9e10de8", "score": "0.46016684", "text": "void m4507a(ConnectionQuality connectionQuality, int i);", "title": "" }, { "docid": "b39c6e7d1b05b91732d5cb6b7c2413c0", "score": "0.45960325", "text": "@Override\n public int getHazardLevel() {\n final int currentReading = this.getCurrentReading();\n if (currentReading < 1000) {\n return 0;\n }\n if (currentReading < 2000) {\n return 25;\n }\n if (currentReading < 5000) {\n return 50;\n }\n return 100;\n }", "title": "" }, { "docid": "0bb6c35f29e5fe7f3e3845b4e1694c72", "score": "0.45917016", "text": "boolean hasQuality();", "title": "" }, { "docid": "ee517757a53e2c5658f539541f28d673", "score": "0.45865068", "text": "int getChannelExclusivityValue();", "title": "" }, { "docid": "b2df3e60f7eb115eef2e8b9dfd3210be", "score": "0.4572732", "text": "public int getCallState() {\n return callState;\n }", "title": "" }, { "docid": "296abd22c7da41c8980d3d43e0d88e85", "score": "0.4571175", "text": "private int getBatteryLevel() {\n int batteryLevel = -1;\n if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) {\n BatteryManager batteryManager = (BatteryManager) getSystemService(BATTERY_SERVICE);\n batteryLevel = batteryManager.getIntProperty(BatteryManager.BATTERY_PROPERTY_CAPACITY);\n } else {\n Intent intent = new ContextWrapper(getApplicationContext()).\n registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED));\n batteryLevel = (intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1) * 100) /\n intent.getIntExtra(BatteryManager.EXTRA_SCALE, -1);\n }\n\n return batteryLevel;\n }", "title": "" }, { "docid": "fd12b382d2b3b1248cf160af7c2fd6fb", "score": "0.4558672", "text": "@Override\n protected int calculateNewQuality(Item item) {\n int qualityAdjustment = 1;\n if (item.sellIn < 0) {\n qualityAdjustment += 1;\n }\n return item.quality + qualityAdjustment;\n }", "title": "" }, { "docid": "7379136fe94df4759bd3ae1befdcc740", "score": "0.45482874", "text": "public boolean hasQuality() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "61d767af67cb124bb93c0a302f62b70d", "score": "0.4534465", "text": "public float getJpegQuality(){\n\t\treturn jpegQuality;\n\t}", "title": "" }, { "docid": "474e0e78d7e4eea3e354ce0597ea4d07", "score": "0.45147645", "text": "private void getLevel() {\n if (mark == 2) {//电信3g信号强度的分类,可以按照ui自行划分等级\n if (signal >= -65)\n position = 5;\n else if (signal >= -75)\n position = 4;\n else if (signal >= -85)\n position = 3;\n else if (signal >= -95)\n position = 2;\n else if (signal >= -105)\n position = 1;\n else\n position = 0;\n }\n if (mark == 1) {//联通3g信号划分\n if (signal >= -75)\n position = 5;\n else if (signal >= -80)\n position = 4;\n else if (signal >= -85)\n position = 3;\n else if (signal >= -95)\n position = 2;\n else if (signal >= -100)\n position = 1;\n else\n position = 0;\n }\n if (mark == 0) {//移动信号的划分,这个不是很确定是2g还是3g\n if (signal <= 2 || signal == 99)\n position = 0;\n else if (signal >= 12)\n position = 5;\n else if (signal >= 10)\n position = 4;\n else if (signal >= 8)\n position = 3;\n else if (signal >= 5)\n position = 2;\n else\n position = 1;\n }\n }", "title": "" }, { "docid": "8ada2f06618b66a98934c2728485d2a7", "score": "0.45067134", "text": "public boolean hasQuality() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "2943e53092ef6293e32a64a8b92f9491", "score": "0.4505109", "text": "java.math.BigInteger getLevel();", "title": "" }, { "docid": "25a414fdb5ed1b15a346a6c0cc5b5fc6", "score": "0.45046937", "text": "public String activityLevelToString(){\n if (BodyConfig.activityLevel == 1) {\n return \"Rest\";\n } else if (BodyConfig.activityLevel < 4) {\n return \"Mild\";\n } else if (BodyConfig.activityLevel < 7) {\n return \"Moderate\";\n } else if (BodyConfig.activityLevel < 10) {\n return \"Strenuous\";\n } else {\n return \"Peak\";\n }\n }", "title": "" }, { "docid": "2dba1537a4fb308f09eba8ff8249f24e", "score": "0.4502792", "text": "int getCallMode() {\n return fCurrentCallMode;\n }", "title": "" }, { "docid": "65b4e21e35bf09289c8d30b39dd8cbb0", "score": "0.4468091", "text": "public boolean hasUpLevel() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "a5e2291dc4d9bd050b0f28301d7ab493", "score": "0.44438502", "text": "public boolean hasUpLevel() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "8e9fea70a71aad16b3139068bddfa11e", "score": "0.44401404", "text": "double getSourceQuality(Resource source, Model metadata);", "title": "" }, { "docid": "b3d438c43458874a172753a63c65ebdc", "score": "0.44393235", "text": "public double getPriceQuality() {\r\n\t\treturn priceQuality;\r\n\t}", "title": "" }, { "docid": "8af83456ee1628593a52470539163afc", "score": "0.44335887", "text": "int getBatteryLevelPercentage();", "title": "" }, { "docid": "af0d2a24e91aec0b1a1e339d6c683968", "score": "0.44292706", "text": "public static int getBonusAgility(int level) {\n return level;\n }", "title": "" }, { "docid": "3d0cf8993a55e8db5629808c8244764a", "score": "0.44260326", "text": "int getReqLevel();", "title": "" }, { "docid": "cfdf4cda736fa33bd345bac204fe8f37", "score": "0.44159195", "text": "public int getProducedMostlyAtTechLevel() {\n return producedMostlyAtTechLevel;\n }", "title": "" }, { "docid": "8e2e7e1343376aa99107d927751cdb33", "score": "0.44115543", "text": "int getAlarmLevelValue();", "title": "" }, { "docid": "8e2e7e1343376aa99107d927751cdb33", "score": "0.44115543", "text": "int getAlarmLevelValue();", "title": "" }, { "docid": "8e2e7e1343376aa99107d927751cdb33", "score": "0.44115543", "text": "int getAlarmLevelValue();", "title": "" }, { "docid": "8bdd8a89cd2cfec3f2b494411564c803", "score": "0.4405054", "text": "public int getMaxCallDepth() {\r\n return this.m_maxCallDepth;\r\n }", "title": "" }, { "docid": "f33c8c9f83e260e6707b4fdfc4fdbb53", "score": "0.44032606", "text": "public int getPriority() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.push.RemoteMessage) this.getHInstance()).getUrgency()\");\n return ((com.huawei.hms.push.RemoteMessage) this.getHInstance()).getUrgency();\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.firebase.messaging.RemoteMessage) this.getGInstance()).getPriority()\");\n return ((com.google.firebase.messaging.RemoteMessage) this.getGInstance()).getPriority();\n }\n }", "title": "" }, { "docid": "3863bb8eec90deb22be872278947d020", "score": "0.43933415", "text": "private void updateInternalCallAudioState() {\n IState currentState = getCurrentState();\n if (currentState == null) {\n Log.e(this, new IllegalStateException(), \"Current state should never be null\" +\n \" when updateInternalCallAudioState is called.\");\n mCurrentCallAudioState = new CallAudioState(\n mIsMuted, mCurrentCallAudioState.getRoute(), mAvailableRoutes,\n mBluetoothRouteManager.getBluetoothAudioConnectedDevice(),\n mBluetoothRouteManager.getConnectedDevices());\n return;\n }\n int currentRoute = mStateNameToRouteCode.get(currentState.getName());\n mCurrentCallAudioState = new CallAudioState(mIsMuted, currentRoute, mAvailableRoutes,\n mBluetoothRouteManager.getBluetoothAudioConnectedDevice(),\n mBluetoothRouteManager.getConnectedDevices());\n }", "title": "" }, { "docid": "ec4745f075759fd29e530c5169dfe36b", "score": "0.43917593", "text": "public boolean hasUpLevel() {\n return ((bitField0_ & 0x20000000) == 0x20000000);\n }", "title": "" }, { "docid": "2cd63a07d98567c63c2cbfebb29d9791", "score": "0.4390441", "text": "@Override\n public String getName() {\n return \"Quality Refinement\";\n }", "title": "" }, { "docid": "8ab04d0d722b58cbc552333a3a9d32af", "score": "0.4386836", "text": "public static VideoQuality get(String itag) {\n\t\treturn getQuality(Integer.valueOf(itag));\n\t}", "title": "" }, { "docid": "1d6c90854e9c0b11be3ff8c97b7cceb7", "score": "0.4384847", "text": "int getBitrate();", "title": "" }, { "docid": "6370208e88374c174cb712fae847997a", "score": "0.43823504", "text": "@Override\n public Integer getBatteryLevel() throws TimeoutException, AdbCommandRejectedException,\n IOException, ShellCommandUnresponsiveException {\n return getBatteryLevel(5 * 60 * 1000);\n }", "title": "" }, { "docid": "baef90ce335b70709d4888b3321d0d58", "score": "0.43801996", "text": "public CWE getSpecimenQuality() { \r\n\t\tCWE retVal = this.getTypedField(22, 0);\r\n\t\treturn retVal;\r\n }", "title": "" }, { "docid": "a9d32a9e35b2cdafc70881b6238ddf1d", "score": "0.43602818", "text": "public void changeSoilQuality () {\n double currentQuality = this.soilQuality;\n double nonPerfectRate = 1 - this.soilQuality;\n double decreasePossibility = Params.CHANGE_BASE * nonPerfectRate;\n double increasePossibility = Params.CHANGE_BASE * currentQuality;\n double newQuality;\n // if there is no daisy on the patch, decrease the soil quality\n // else increase the soil quality\n if (!this.hasDaisy()) {\n newQuality = Math.max(0, currentQuality - decreasePossibility);\n } else {\n newQuality = Math.min(1, currentQuality + increasePossibility);\n }\n this.soilQuality = newQuality;\n }", "title": "" }, { "docid": "049888fff6cc65b16d21d0c823483d7e", "score": "0.43563974", "text": "public int getCdmaLevel() {\n final int cdmaDbm = getCdmaDbm();\n final int cdmaEcio = getCdmaEcio();\n int levelDbm;\n int levelEcio;\n\n if (cdmaDbm == CellInfo.UNAVAILABLE) levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;\n else if (cdmaDbm >= -75) levelDbm = SIGNAL_STRENGTH_GREAT;\n else if (cdmaDbm >= -85) levelDbm = SIGNAL_STRENGTH_GOOD;\n else if (cdmaDbm >= -95) levelDbm = SIGNAL_STRENGTH_MODERATE;\n else if (cdmaDbm >= -100) levelDbm = SIGNAL_STRENGTH_POOR;\n else levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;\n\n // Ec/Io are in dB*10\n if (cdmaEcio == CellInfo.UNAVAILABLE) levelEcio = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;\n else if (cdmaEcio >= -90) levelEcio = SIGNAL_STRENGTH_GREAT;\n else if (cdmaEcio >= -110) levelEcio = SIGNAL_STRENGTH_GOOD;\n else if (cdmaEcio >= -130) levelEcio = SIGNAL_STRENGTH_MODERATE;\n else if (cdmaEcio >= -150) levelEcio = SIGNAL_STRENGTH_POOR;\n else levelEcio = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;\n\n int level = (levelDbm < levelEcio) ? levelDbm : levelEcio;\n if (DBG) log(\"getCdmaLevel=\" + level);\n return level;\n }", "title": "" }, { "docid": "5542243deb98833e3f5c0172d8902995", "score": "0.43559074", "text": "public int getLaserStrength () {\n\t\treturn powerups [0] ;\n\t}", "title": "" }, { "docid": "f5b510c853dd812f7f9637725136b2a7", "score": "0.43501198", "text": "public void setQuality(float quality) {\n this.quality = quality;\n }", "title": "" }, { "docid": "e996aa2932de4edb9a3edb308f666bbf", "score": "0.43493384", "text": "@Override\n public QualityInfo getQualityInfo(int n) {\n boolean bl;\n if (n >= this.mDynamicValueConfig.getGoodEnoughScanNumber()) {\n bl = true;\n do {\n return ImmutableQualityInfo.of(n, bl, false);\n break;\n } while (true);\n }\n bl = false;\n return ImmutableQualityInfo.of(n, bl, false);\n }", "title": "" }, { "docid": "6c247e580933a1b3fc57e62073c554c0", "score": "0.43481493", "text": "int getVipLevel();", "title": "" }, { "docid": "6c247e580933a1b3fc57e62073c554c0", "score": "0.43481493", "text": "int getVipLevel();", "title": "" }, { "docid": "226d2b9e449bdf10dd904e40d57aa62d", "score": "0.4339334", "text": "protected double UpdateBitrate()\r\n\t{\r\n\t double var = Variance();\r\n\t if(var < m_dTier1)\r\n\t {\r\n\t m_dBitrate *= m_dChange1;\r\n\t }\r\n\t else if(var < m_dTier2)\r\n\t {\r\n\t m_dBitrate *= m_dChange2;\r\n\t }\r\n\t else if(var > m_dTier4) //Tier 4 comes before tier 3 because tier4 > tier3 !!!\r\n\t {\r\n\t m_dBitrate *= m_dChange4;\r\n\t }\r\n\t else if(var > m_dTier3)\r\n\t {\r\n\t m_dBitrate *= m_dChange3;\r\n\t }\r\n\t //else if( in the middle )\r\n\t // nothing happens! ;\r\n\r\n\t //always keep bitrate values sane\r\n\t if(m_dBitrate > m_dSpeedMax) \r\n\t {\r\n\t m_dBitrate = m_dSpeedMax;\r\n\t }\r\n\t else if(m_dBitrate < m_dSpeedMin) \r\n\t {\r\n\t m_dBitrate = m_dSpeedMin;\r\n\t }\r\n\r\n\t return m_dBitrate;\r\n\t}", "title": "" }, { "docid": "03a00b0014ad46627e820460eda70b09", "score": "0.43332633", "text": "private int getLevelBelow (String lowDiff) {\r\n\t if (lowDiff.startsWith(\"below\")) {\r\n\t return Integer.parseInt(lowDiff.substring(5));\r\n\t }\r\n\t else return 0;\r\n\t }", "title": "" }, { "docid": "7563213f8a11cfdf51533ca20377a633", "score": "0.43323332", "text": "float getPlayRate(int rateIndex);", "title": "" }, { "docid": "5a651222850f2f2ea022527e0a44ec86", "score": "0.43244505", "text": "public Short getCallResult() {\n\t\treturn callResult;\n\t}", "title": "" }, { "docid": "7cc69228cdd7879a4157114e01761e55", "score": "0.43234447", "text": "public DeviceLevelStatus getSignalLevelStatus() {\r\n Object obj = store.get(Names.signalLevelStatus);\r\n if (obj instanceof DeviceLevelStatus) {\r\n return (DeviceLevelStatus) obj;\r\n } else if (obj instanceof String) {\r\n \tDeviceLevelStatus theCode = null;\r\n try {\r\n theCode = DeviceLevelStatus.valueForString((String) obj);\r\n } catch (Exception e) {\r\n DebugTool.logError(\"Failed to parse \" + getClass().getSimpleName() + \".\" + Names.signalLevelStatus, e);\r\n }\r\n return theCode;\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "8035047379a41b343c465975ba07a09f", "score": "0.43129286", "text": "@Override\n public void updateQuality() {\n }", "title": "" }, { "docid": "824a7adc02174b11d0e7245da4c83af0", "score": "0.43022344", "text": "public int getLifeQualityScaleMin() {\n\t\treturn lifeQualityScaleMin;\n\t}", "title": "" }, { "docid": "c4ff3d9ca35d02b81490b40a415e4c50", "score": "0.42993015", "text": "public void updateQuality(Item item) {\n\n\t\tswitch (item.name) {\n\t\tcase \"Aged Brie\":\n\t\t\tif (item.quality < 50)\n\t\t\t\titem.quality += 1;\n\t\t\titem.sellIn -= 1;\n\t\t\tbreak;\n\t\tcase \"Backstage passes to a TAFKAL80ETC concert\":\n\t\t\titem.sellIn -= 1;\n\t\t\tif (item.sellIn <= 5)\n\t\t\t\titem.quality += 3;\n\t\t\telse if (item.sellIn <= 10)\n\t\t\t\titem.quality += 2;\n\t\t\telse if (item.sellIn == 0)\n\t\t\t\titem.quality = 0;\n\n\t\t\tif (item.quality > 50)\n\t\t\t\titem.quality = 50;\n\t\t\tbreak;\n\t\tcase \"Sulfuras, Hand of Ragnaros\":\n\t\t\titem.quality = 80;\n\t\t\t// quality never alters\n\t\t\t// not for sale\n\t\t\tbreak;\n\t\tcase \"Conjured\":\n\t\t\titem.quality /= 2;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\titem.sellIn -= 1;\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "badef791d2bde7c73a4874b6ab638f71", "score": "0.42976397", "text": "protected int scaleQuality(int qualityFactor) {\n\t\tqualityFactor = Math.min(100, Math.max(1, qualityFactor));\n\t\treturn (qualityFactor < 50 ? 5000 / qualityFactor\n\t\t\t\t: 200 - 2 * qualityFactor);\n\t}", "title": "" }, { "docid": "9def27de91aaba06457842eee6d07706", "score": "0.42813712", "text": "int estimateInputQuality(QueueDetails queueDetails, QueueStats queueStats, TicketUpdate ticketUpdate);", "title": "" }, { "docid": "c4959848658dfd973ddf65e3e7757aa7", "score": "0.4279231", "text": "public int getLevel(){\n\t\treturn XP % CPerso.xpForAlignmentLevel;\n\t}", "title": "" }, { "docid": "b480d1d26eb9bd371a839e28c8ffb153", "score": "0.4279101", "text": "private String getUP(String time){\n String up = \"\"; \n String x = ontoReg.getObjectPropertyValue(time, \"correspondsTo\");\n // unit procedure\n if (ontoReg.isIndOfClass(x, \"UnitProcedure\")){\n up = x;\n }\n // operation\n else if (ontoReg.isIndOfClass(x, \"Operation\")){\n up = ontoReg.getObjectPropertyValue(x, \"isOperationOfUnitProcedure\");\n }\n // validation task\n else if (ontoReg.isIndOfClass(x, \"ValidationTask\")){\n // a validation task may be an operation, equipment, document, third-party or substance.\n String y = ontoReg.getObjectPropertyValue(x, \"hasPatient\");\n if (ontoReg.isIndOfClass(y, \"Operation\")){\n up = ontoReg.getObjectPropertyValue(y, \"isOperationOfUnitProcedure\");\n }\n else if (ontoReg.isIndOfClass(y, \"Equipment\")){\n up = ontoReg.getObjectPropertyValue(y, \"isEquipmentOf\");\n } \n }\n return up;\n }", "title": "" }, { "docid": "b3ff9244e3d373f37b2134936f262cce", "score": "0.4276815", "text": "public Builder setQuality(int value) {\n bitField0_ |= 0x00000008;\n quality_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b726332fcf5bccd17409b3dd40441fa3", "score": "0.42738453", "text": "@Keep\n public TestAccessPointBuilder setLevel(int level) {\n // Reversal of WifiManager.calculateSignalLevels\n if (level == 0) {\n mRssi = MIN_RSSI;\n } else if (level >= AccessPoint.SIGNAL_LEVELS) {\n mRssi = MAX_RSSI;\n } else {\n float inputRange = MAX_RSSI - MIN_RSSI;\n float outputRange = AccessPoint.SIGNAL_LEVELS - 1;\n mRssi = (int) (level * inputRange / outputRange + MIN_RSSI);\n }\n return this;\n }", "title": "" }, { "docid": "7b4aec78ce82639504c6dd926240ec55", "score": "0.4264569", "text": "public int getMinLevel(String nameString) {\n\t\tint currentLevel = 0;\n\t\t// problem as key.name does not match building type, eg key.clay != CLAY_PIT(\"clayPit\", Field.class)\n\t\t// note need to handle resource differently anyway and always check for resource first even if fixed \n\t\t// as if treating resource as building getOne returns first field which may not be lowest\n\t\ttry {\n\t\t\tString keyString = translator.getKeyword(nameString); // TranslationException if buildingName not found\n\t\t\ttry {\n\t\t\t\tResourceType\tresType = ResourceType.fromString(keyString);\n\t\t\t\t// check info available\n\t\t\t\tif (fields != null) {\n\t\t\t\t\tResourceTypeToFieldMap resPerType = getLowestFieldPerType();\n\t\t\t\t\tif (resPerType != null) {\n\t\t\t\t\t\tcurrentLevel = (resPerType.get(resType)).getCurrentLevel();\t\t\t\t\n\t\t\t\t\t}\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tlog.trace(\"min Resource \"+resType.name()+\" Level=\"+currentLevel);\n\t\t\t} catch (IllegalArgumentException iae){\n\t\t\t\t// assume not a field\n\t\t\t\tBuildingType buildingType = BuildingType.fromKey(keyString); // null if no /@building or name not a building\n\t\t\t\t/* if (translator.isField(waitFor)) {\n\t\t\t\t\tlog.trace(waitForKey+\" Field Translated to Building ok\");\n\t\t\t\t} */\n\t\t\t\t// check info available\n\t\t\t\tif ((buildings != null) && (buildingMap != null) && (buildingType != null)) {\n\t\t\t\t\tList<Building>\twaitForBuildings = getBuildingMap().getAll(buildingType);\n\t\t\t\t\t// Building\twaitForBuilding = getBuildingMap().getOne(buildingType);\n\t\t\t\t\t// currentLevel = waitForBuilding.getCurrentLevel();\t\t\t\t\t\t\t\t\n\t\t\t\t\tif (waitForBuildings != null) {\n\t\t\t\t\t\tfor (int i=0 ; i < waitForBuildings.size() ; i++) {\n\t\t\t\t\t\t\tint\tbLevel = waitForBuildings.get(i).getCurrentLevel();\n\t\t\t\t\t\t\t// log.trace(buildingType.name()+\" + level=\"+bLevel);\n\t\t\t\t\t\t\t// add all together - useful if want to wait for 2 warehouses to build something \n\t\t\t\t\t\t\tcurrentLevel += bLevel;\n\t\t\t\t\t\t\t/* store largest - if want to make sure one is built\n\t\t\t\t\t\t\tif (bLevel > currentLevel) {\n\t\t\t\t\t\t\t\tcurrentLevel = bLevel;\n\t\t\t\t\t\t\t} */\n\t\t\t\t\t\t\t/* store lowest - true min but not a lot of use for buildings\n\t\t\t\t\t\t\tif ((currentLevel = 0) || (bLevel < currentLevel)) {\n\t\t\t\t\t\t\t\tcurrentLevel = bLevel;\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\tlog.trace(\"min Building \"+buildingType.name()+\" level=\"+currentLevel);\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tlog.trace(\"Cannot find \"+nameString+\"/\"+keyString+\" level \"+currentLevel+\" assumed\");\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch (InvalidConfigurationException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} catch (TranslationException e) {\n\t\t\t// just report and treat as level 0\n\t\t\tEventLog.log(\"Cannot find \"+nameString+\" in Language File, level 0 assumed\");\n\t\t\tlog.error(\"Cannot find \"+nameString+\" in Language File, level 0 assumed\");\n\t\t}\n\t\treturn currentLevel;\n\t}", "title": "" }, { "docid": "f6ed5dc48175446b9be8e5916fb07a5f", "score": "0.4247989", "text": "public final EObject ruleImpactOnQuality() throws RecognitionException {\n EObject current = null;\n\n Enumerator lv_intensity_1_0 = null;\n\n\n\n \tenterRule();\n\n try {\n // InternalMIRoN.g:1102:2: ( ( ( ( ruleQualifiedName ) ) ( (lv_intensity_1_0= ruleImpactIntensityEnum ) ) ) )\n // InternalMIRoN.g:1103:2: ( ( ( ruleQualifiedName ) ) ( (lv_intensity_1_0= ruleImpactIntensityEnum ) ) )\n {\n // InternalMIRoN.g:1103:2: ( ( ( ruleQualifiedName ) ) ( (lv_intensity_1_0= ruleImpactIntensityEnum ) ) )\n // InternalMIRoN.g:1104:3: ( ( ruleQualifiedName ) ) ( (lv_intensity_1_0= ruleImpactIntensityEnum ) )\n {\n // InternalMIRoN.g:1104:3: ( ( ruleQualifiedName ) )\n // InternalMIRoN.g:1105:4: ( ruleQualifiedName )\n {\n // InternalMIRoN.g:1105:4: ( ruleQualifiedName )\n // InternalMIRoN.g:1106:5: ruleQualifiedName\n {\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getImpactOnQualityRule());\n \t\t\t\t\t}\n \t\t\t\t\n\n \t\t\t\t\tnewCompositeNode(grammarAccess.getImpactOnQualityAccess().getPropertyPropertyCrossReference_0_0());\n \t\t\t\t\n pushFollow(FOLLOW_24);\n ruleQualifiedName();\n\n state._fsp--;\n\n\n \t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\n\n }\n\n\n }\n\n // InternalMIRoN.g:1120:3: ( (lv_intensity_1_0= ruleImpactIntensityEnum ) )\n // InternalMIRoN.g:1121:4: (lv_intensity_1_0= ruleImpactIntensityEnum )\n {\n // InternalMIRoN.g:1121:4: (lv_intensity_1_0= ruleImpactIntensityEnum )\n // InternalMIRoN.g:1122:5: lv_intensity_1_0= ruleImpactIntensityEnum\n {\n\n \t\t\t\t\tnewCompositeNode(grammarAccess.getImpactOnQualityAccess().getIntensityImpactIntensityEnumEnumRuleCall_1_0());\n \t\t\t\t\n pushFollow(FOLLOW_2);\n lv_intensity_1_0=ruleImpactIntensityEnum();\n\n state._fsp--;\n\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getImpactOnQualityRule());\n \t\t\t\t\t}\n \t\t\t\t\tset(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"intensity\",\n \t\t\t\t\t\tlv_intensity_1_0,\n \t\t\t\t\t\t\"org.xtext.miron.MIRoN.ImpactIntensityEnum\");\n \t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "061e7d7a829384ed273a1ee3d19f7fb9", "score": "0.42441612", "text": "public int getLevel()\n/* */ {\n/* 269 */ return this.currentLogLevel;\n/* */ }", "title": "" }, { "docid": "757077df62c4cadd9a514550a4395a89", "score": "0.42428353", "text": "public boolean hasUpLevel() {\n return ((bitField0_ & 0x10000000) == 0x10000000);\n }", "title": "" }, { "docid": "1e1636bcb558921bc8a0dc5ee0b128c4", "score": "0.42414194", "text": "public String getQualitySatisfaction() {\n return qualitySatisfaction;\n }", "title": "" }, { "docid": "f3594785e2bf09d86112e4ae1e2810c1", "score": "0.42393494", "text": "public static int getOpenUpCost() {\n return MAX_OPEN_UP_COST;\n }", "title": "" }, { "docid": "2bdd6169e600c428a093674783ee7ef9", "score": "0.42392847", "text": "int getPolutionBandingValue(){\r\n\t\tint index = getEstimated_UK_Polution_index();\r\n\t\tif ( index <1 || index > 10) throw new IllegalArgumentException(\"polution banding must be in range 1-10 not \"+index);\r\n\t\tint polutionBanding=0;\r\n\t\tswitch (index) {\r\n\t\tcase 1: case 2: case 3: polutionBanding = 3; // low 1-3\r\n\t\tbreak;\r\n\t\tcase 4: case 5:case 6: polutionBanding = 4; // Moderate \t4–6\r\n\t\tbreak;\r\n\t\tcase 7: case 8: case 9: polutionBanding = 5; // High \t7–9\r\n\t\tbreak;\r\n\t\tcase 10: polutionBanding = 6; // Very High 10\r\n\t\tbreak;\r\n\t\t}\r\n\t\treturn polutionBanding;\r\n\t}", "title": "" }, { "docid": "aa31cbef229afe0c3ca1e12b4c1b7e07", "score": "0.42274043", "text": "protected double getAccuracyRate(Rabbit rabbit) {\n \tdouble rate = 1 - getLocation().distance(rabbit.getLocation()) / range;\n \t\n \trate -= 0.005 * (INITIAL_AMMOS - ammos);\n \trate -= 0.01 * hungryLevel;\n \t\n \treturn rate;\n }", "title": "" }, { "docid": "6ff275520d38c36e02b6d0d0ae2cdfe3", "score": "0.422382", "text": "public int level(int skill) {\n\t\treturn levels[skill];\n\t}", "title": "" }, { "docid": "a31b209c2ab2c12c94961fe4648963a8", "score": "0.42223015", "text": "public int getLevelRequirementToUpgrade();", "title": "" }, { "docid": "2a7322f81e8d85c07449acaca62be7eb", "score": "0.42097536", "text": "double getUsageRatio();", "title": "" }, { "docid": "4f1c0d1f24374d0877ff5e5fc8620c13", "score": "0.4208625", "text": "private int getLevelAbove (String highDiff) {\r\n\t if (highDiff.startsWith(\"above\")) {\r\n\t return Integer.parseInt(highDiff.substring(5));\r\n\t }\r\n\t else return 0;\r\n\t }", "title": "" } ]
88512cfa2fceec5c18aa690db5b9e606
Gets the value of the 'AGAD_PRNT_RATING_RULES_IND' field.
[ { "docid": "383c42769f1052361bcff17528019406", "score": "0.84431595", "text": "public java.lang.CharSequence getAGADPRNTRATINGRULESIND() {\n return AGAD_PRNT_RATING_RULES_IND;\n }", "title": "" } ]
[ { "docid": "0f16181e2d148a15f44c03608c4bb05f", "score": "0.8449118", "text": "public java.lang.CharSequence getAGADPRNTRATINGRULESIND() {\n return AGAD_PRNT_RATING_RULES_IND;\n }", "title": "" }, { "docid": "e488d2f09c4ddbe8535e7b14fa9dd6cf", "score": "0.7840949", "text": "public void setAGADPRNTRATINGRULESIND(java.lang.CharSequence value) {\n this.AGAD_PRNT_RATING_RULES_IND = value;\n }", "title": "" }, { "docid": "9d391468dc2466bf83245d8e7e4c6d7c", "score": "0.70847875", "text": "public java.lang.CharSequence getAGADPRNTINCMBNCYRULESIND() {\n return AGAD_PRNT_INCMBNCY_RULES_IND;\n }", "title": "" }, { "docid": "20bd0bde5db22ab58032fb32c2cdfb9c", "score": "0.7042144", "text": "public java.lang.CharSequence getAGADPRNTINCMBNCYRULESIND() {\n return AGAD_PRNT_INCMBNCY_RULES_IND;\n }", "title": "" }, { "docid": "2c769bde490a5df05523e7687b031715", "score": "0.70044005", "text": "public org.LNDCDC_NCS_TCS.AGENCY_ADVERTISERS.apache.nifi.LNDCDC_NCS_TCS_AGENCY_ADVERTISERS.Builder setAGADPRNTRATINGRULESIND(java.lang.CharSequence value) {\n validate(fields()[7], value);\n this.AGAD_PRNT_RATING_RULES_IND = value;\n fieldSetFlags()[7] = true;\n return this;\n }", "title": "" }, { "docid": "2e91e530adcb7c17fe31d130d3fa07bc", "score": "0.64219075", "text": "public void setAGADPRNTINCMBNCYRULESIND(java.lang.CharSequence value) {\n this.AGAD_PRNT_INCMBNCY_RULES_IND = value;\n }", "title": "" }, { "docid": "23f0e9dbb33be4c5fa8c81ba5be8a483", "score": "0.62111634", "text": "public java.lang.CharSequence getAGADPRNTFEATURERULESIND() {\n return AGAD_PRNT_FEATURE_RULES_IND;\n }", "title": "" }, { "docid": "74d58e01db317c0808203fe89da09dbd", "score": "0.6200879", "text": "public java.lang.CharSequence getAGADPRNTFEATURERULESIND() {\n return AGAD_PRNT_FEATURE_RULES_IND;\n }", "title": "" }, { "docid": "d1455211f4ad32ca9469364b9e55fdb8", "score": "0.5850455", "text": "public boolean hasAGADPRNTRATINGRULESIND() {\n return fieldSetFlags()[7];\n }", "title": "" }, { "docid": "faa3551c9f0f747e840574f7a5ad4047", "score": "0.5768957", "text": "public java.lang.CharSequence getAGADPRNTEXCLSRULESIND() {\n return AGAD_PRNT_EXCLS_RULES_IND;\n }", "title": "" }, { "docid": "39bb2e36d988f6db43592552203d5866", "score": "0.5753598", "text": "public org.LNDCDC_NCS_TCS.AGENCY_ADVERTISERS.apache.nifi.LNDCDC_NCS_TCS_AGENCY_ADVERTISERS.Builder setAGADPRNTINCMBNCYRULESIND(java.lang.CharSequence value) {\n validate(fields()[5], value);\n this.AGAD_PRNT_INCMBNCY_RULES_IND = value;\n fieldSetFlags()[5] = true;\n return this;\n }", "title": "" }, { "docid": "d902206351c2fe3296e4774121d15e42", "score": "0.5737033", "text": "public java.lang.CharSequence getAGADPRNTEXCLSRULESIND() {\n return AGAD_PRNT_EXCLS_RULES_IND;\n }", "title": "" }, { "docid": "8bfbd804b0ff905478ef6ae98c0a54ed", "score": "0.54968274", "text": "public void setAGADPRNTFEATURERULESIND(java.lang.CharSequence value) {\n this.AGAD_PRNT_FEATURE_RULES_IND = value;\n }", "title": "" }, { "docid": "bf10846ef7380a0aec89c1de11697892", "score": "0.52053654", "text": "public boolean hasAGADPRNTINCMBNCYRULESIND() {\n return fieldSetFlags()[5];\n }", "title": "" }, { "docid": "c735cef287686d4893edaa6bb11f70cd", "score": "0.5204813", "text": "public void setAGADPRNTEXCLSRULESIND(java.lang.CharSequence value) {\n this.AGAD_PRNT_EXCLS_RULES_IND = value;\n }", "title": "" }, { "docid": "61f4c256c8fd6c68cf16e44a48305ffc", "score": "0.50444466", "text": "public org.LNDCDC_NCS_TCS.AGENCY_ADVERTISERS.apache.nifi.LNDCDC_NCS_TCS_AGENCY_ADVERTISERS.Builder setAGADPRNTEXCLSRULESIND(java.lang.CharSequence value) {\n validate(fields()[4], value);\n this.AGAD_PRNT_EXCLS_RULES_IND = value;\n fieldSetFlags()[4] = true;\n return this;\n }", "title": "" }, { "docid": "52f3cf1b1d75e1a1c3e916b6bc17ae85", "score": "0.4972392", "text": "public org.LNDCDC_NCS_TCS.AGENCY_ADVERTISERS.apache.nifi.LNDCDC_NCS_TCS_AGENCY_ADVERTISERS.Builder setAGADPRNTFEATURERULESIND(java.lang.CharSequence value) {\n validate(fields()[12], value);\n this.AGAD_PRNT_FEATURE_RULES_IND = value;\n fieldSetFlags()[12] = true;\n return this;\n }", "title": "" }, { "docid": "c60ab0329c01fb00feb6864a869aab83", "score": "0.49362546", "text": "public org.LNDCDC_NCS_TCS.AGENCY_ADVERTISERS.apache.nifi.LNDCDC_NCS_TCS_AGENCY_ADVERTISERS.Builder clearAGADPRNTRATINGRULESIND() {\n AGAD_PRNT_RATING_RULES_IND = null;\n fieldSetFlags()[7] = false;\n return this;\n }", "title": "" }, { "docid": "0f04e6d4e81af644053e0b5beec44dd8", "score": "0.4926928", "text": "public java.lang.CharSequence getAGADPRNTSALESRATIONALEIND() {\n return AGAD_PRNT_SALES_RATIONALE_IND;\n }", "title": "" }, { "docid": "23dc19be1a6e67a8329bef8fb6396d44", "score": "0.49004313", "text": "public org.openxmlformats.schemas.drawingml.x2006.main.STRectAlignment.Enum getAlgn()\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(ALGN$24);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(ALGN$24);\n }\n if (target == null)\n {\n return null;\n }\n return (org.openxmlformats.schemas.drawingml.x2006.main.STRectAlignment.Enum)target.getEnumValue();\n }\n }", "title": "" }, { "docid": "c098be9fee686268ec5a2cf25a462983", "score": "0.4890371", "text": "public java.lang.CharSequence getAGADPRNTSALESRATIONALEIND() {\n return AGAD_PRNT_SALES_RATIONALE_IND;\n }", "title": "" }, { "docid": "2d2e3a544577058548ed78c7e5fac966", "score": "0.4831472", "text": "public TerminalRule getBASED_INTEGERRule() {\n\t\treturn gaProperties.getBASED_INTEGERRule();\n\t}", "title": "" }, { "docid": "6cd2dc9bff67c53e185a7322125adc39", "score": "0.48241493", "text": "public TerminalRule getDIGITRule() {\n\t\treturn gaProperties.getDIGITRule();\n\t}", "title": "" }, { "docid": "1ed2fa67e4a5b0010e7f15aa18fd6355", "score": "0.47926533", "text": "public java.lang.CharSequence getAGADPRNTPROGRAMSCHEDIND() {\n return AGAD_PRNT_PROGRAM_SCHED_IND;\n }", "title": "" }, { "docid": "fd5921e1761b5036ff0c8aeeea40fb74", "score": "0.47915128", "text": "public int getAnnouncesValidation( )\n {\n return _nAnnouncesValidation;\n }", "title": "" }, { "docid": "36f0edd75a95174cce173f9697bf8163", "score": "0.47895807", "text": "public java.lang.CharSequence getAGADPRNTPROGRAMSCHEDIND() {\n return AGAD_PRNT_PROGRAM_SCHED_IND;\n }", "title": "" }, { "docid": "daaeff08893090967e66294ccd07e98f", "score": "0.4757836", "text": "public TerminalRule getINT_EXPONENTRule() {\n\t\treturn gaProperties.getINT_EXPONENTRule();\n\t}", "title": "" }, { "docid": "889f267769d91b683815fe6acdaa0fce", "score": "0.47248688", "text": "public int getAD_Val_Rule_ID() {\n\t\tInteger ii = (Integer) get_Value(\"AD_Val_Rule_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "title": "" }, { "docid": "a5361c8fa287d4892c68a88d30ce0151", "score": "0.4691216", "text": "public static Float evaluate_road_alignment_penalty(String C_RALN) {\n if (road_alignment_penalties == null) {\n road_alignment_penalties = new Float[1];\n road_alignment_penalties[0] = 1.0f; // value for Bottom of Hill, only value defined so far\n }\n\n int road_index = 0;\n try {\n road_index = Integer.parseInt(C_RALN);\n } catch (Exception nfe) {\n// System.out.printf(\"Unable to convert C_RALN to int since it has the value '%s'\\n\", C_RALN);\n System.out.printf(\"Unable to convert C_RALN\\n\");\n\n // assume best case scenario\n return 1.0f;\n }\n\n // range check\n if (road_index > 6 || road_index <= 0) {\n return 1.0f;\n }\n\n return road_index==6? road_alignment_penalties[0] : 0.0f;\n }", "title": "" }, { "docid": "6727ee0268e158944d634addf09fe6bf", "score": "0.4686696", "text": "public ArrayList<ResourceId> getInboundNatRules() {\n return this.inboundNatRules;\n }", "title": "" }, { "docid": "6176f28402378d9618d514481dc6d156", "score": "0.466924", "text": "public int getRule() {\n return rule;\n }", "title": "" }, { "docid": "9f872fee3e55f1c6f242eb1367baf86f", "score": "0.46640265", "text": "public String getPenaltyInterest() {\r\n\t\treturn penaltyInterest;\r\n\t}", "title": "" }, { "docid": "f359826e5678db0b9a46f59e6bc07faa", "score": "0.4653048", "text": "public ApuracaoIPI getIND_APUR() {\n return IND_APUR;\n }", "title": "" }, { "docid": "3405a6ffef9052513012c0aad8ac0bc6", "score": "0.46177647", "text": "public java.lang.String getOptInAnnotationsInUse(int index) {\n return optInAnnotationsInUse_.get(index);\n }", "title": "" }, { "docid": "f8979d2dbd9be96dc992f28cc4b1946d", "score": "0.4609216", "text": "public int puGetNumRules() {\n\t\treturn prNumRule;\n\t}", "title": "" }, { "docid": "f0983dc29491f4410d9f9f10e66859c1", "score": "0.46046165", "text": "public java.lang.String getOptInAnnotationsInUse(int index) {\n return optInAnnotationsInUse_.get(index);\n }", "title": "" }, { "docid": "68dd2ce163a8b2fb23c2a2692d5ee352", "score": "0.46016204", "text": "public Integer getTaxRule() {\n return taxRule;\n }", "title": "" }, { "docid": "4399182b47751156f14cca4897dfd753", "score": "0.45949966", "text": "public ArrayList<ResourceId> getOutboundNatRules() {\n return this.outboundNatRules;\n }", "title": "" }, { "docid": "72c96a260ecd5ba7043e4170538acb59", "score": "0.45789468", "text": "public java.lang.CharSequence getAGADPRNTEQUIVALENTIND() {\n return AGAD_PRNT_EQUIVALENT_IND;\n }", "title": "" }, { "docid": "b848f232027fda739c6f730fb2efe790", "score": "0.4576122", "text": "public java.lang.CharSequence getAGADPRNTPRPNAMEIND() {\n return AGAD_PRNT_PRP_NAME_IND;\n }", "title": "" }, { "docid": "bb39e18e35178ff92d499968b7085439", "score": "0.45714054", "text": "public java.lang.CharSequence getAGADPRNTCOMBORIGREPEATIND() {\n return AGAD_PRNT_COMB_ORIG_REPEAT_IND;\n }", "title": "" }, { "docid": "b263f63805c606673661d3a2491cdafe", "score": "0.4570652", "text": "public Integer getNetRating() {\r\n\t\treturn getNumPosReviews() + getNumNegReviews();\r\n\t}", "title": "" }, { "docid": "17ba31ba3ee61f66d688755a78c5d84d", "score": "0.4569366", "text": "public java.lang.CharSequence getAGADPRNTCOMBORIGREPEATIND() {\n return AGAD_PRNT_COMB_ORIG_REPEAT_IND;\n }", "title": "" }, { "docid": "8c6500c92b02c12dcfff689630abc79d", "score": "0.45679662", "text": "public java.lang.CharSequence getAGADPRNTPRPNAMEIND() {\n return AGAD_PRNT_PRP_NAME_IND;\n }", "title": "" }, { "docid": "ba3277a366d9de70bef6cc6f879d7651", "score": "0.45637518", "text": "public int getRentalRate() {\r\n return rentalRate;\r\n }", "title": "" }, { "docid": "ebddc725aa8a81b1a81407f965a4399d", "score": "0.45557946", "text": "public boolean hasAGADPRNTEXCLSRULESIND() {\n return fieldSetFlags()[4];\n }", "title": "" }, { "docid": "942adec892ce4d1674906911b2ae7e80", "score": "0.4548655", "text": "public int getNumberOfRatings() {\n return this.numberOfRatings;\n }", "title": "" }, { "docid": "b35d5fb76179123006692b0deae00c03", "score": "0.45418906", "text": "public java.lang.CharSequence getAGADPRNTEQUIVALENTIND() {\n return AGAD_PRNT_EQUIVALENT_IND;\n }", "title": "" }, { "docid": "2b49869f139245878d86db6d2980394e", "score": "0.45258585", "text": "public TerminalRule getINTRule() {\n\t\treturn gaXbase.getINTRule();\n\t}", "title": "" }, { "docid": "3f97b563d7d314a1c89fe3c9f9727f8b", "score": "0.45230216", "text": "public TerminalRule getINTRule() {\n\t\treturn gaCommons.getINTRule();\n\t}", "title": "" }, { "docid": "ca24119fe14e3cb78abe32adfde2b917", "score": "0.4493832", "text": "public double[] puGetNeutronIntensitiesFromRule(int index) {\n\t\tif(prNumRule>0) {\n\t\t\tif(index>=0) {\n\t\t\t\tif(index<prNumRule){\n\t\t\t\t\treturn prRules[index].puGetNeutronIntensity();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"(puGetNeutronIntensitiesFromRule) has failed! The supplied index is out of bounds!\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"(puGetNeutronIntensitiesFromRule) has failed! The supplied index must be greater than zero!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"(puGetNeutronIntensitiesFromRule) has failed! There aren't any rules in this (DecayChainRuleBranch)!\");\n\t\t}\n\t\treturn (new double[1]);\n\t}", "title": "" }, { "docid": "215035df54065c7d7299f9702c8fc70b", "score": "0.44662774", "text": "public java.lang.String getBIndReview()\r\n {\r\n return this._bIndReview;\r\n }", "title": "" }, { "docid": "059afe44d8b78c1dbde62f1031798976", "score": "0.44630542", "text": "public Integer getNumNegReviews() {\r\n\t\treturn this.negReviews == null ? 0 : this.negReviews;\r\n\t}", "title": "" }, { "docid": "2635340f2ad4a146732c0c50658e9d3e", "score": "0.44610217", "text": "public int getNumberAnnounces( )\n {\n return _nNumberAnnounces;\n }", "title": "" }, { "docid": "4e875a78a7a8223adfed3dee3c0202dd", "score": "0.4458571", "text": "public TerminalRule getINTRule() {\r\n\t\treturn gaTerminals.getINTRule();\r\n\t}", "title": "" }, { "docid": "4e875a78a7a8223adfed3dee3c0202dd", "score": "0.4458571", "text": "public TerminalRule getINTRule() {\r\n\t\treturn gaTerminals.getINTRule();\r\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "a2e4449663250725bfe7ddc24b1776fa", "score": "0.44504136", "text": "public TerminalRule getINTRule() {\n\t\treturn gaTerminals.getINTRule();\n\t}", "title": "" }, { "docid": "aadbe0dbf30dd3c4270de18cc31f7829", "score": "0.44394103", "text": "public String getMatchingRuleID() {\n return matchingRuleID;\n }", "title": "" }, { "docid": "1f9f5128d6d7e202ae38806e201f375a", "score": "0.44389352", "text": "public boolean hasAGADPRNTFEATURERULESIND() {\n return fieldSetFlags()[12];\n }", "title": "" }, { "docid": "2a31b8d1195fe358bb71daa35c49cc32", "score": "0.44388777", "text": "public int puGetNumNeutronsFromRule(int index) {\n\t\tif(prNumRule>0) {\n\t\t\tif(index>=0) {\n\t\t\t\tif(index<prNumRule){\n\t\t\t\t\treturn prRules[index].puGetNumNeutrons();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"(puGetNumNeutronsFromRule) has failed! The supplied index is out of bounds!\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"(puGetNumNeutronsFromRule) has failed! The supplied index must be greater than zero!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"(puGetNumNeutronsFromRule) has failed! There aren't any rules in this (DecayChainRuleBranch)!\");\n\t\t}\n\t\treturn prsfIntZero;\n\t}", "title": "" }, { "docid": "8906481b2a2ac21e6e7e64bfa5d368c3", "score": "0.44159523", "text": "public Integer getRuleId() {\r\n return ruleId;\r\n }", "title": "" }, { "docid": "06cefa70ba77ce68a5292358eb51be82", "score": "0.44039518", "text": "@Nullable\n Integer getRating();", "title": "" }, { "docid": "802b54a3f817ef00665ee8b99e2bb0bc", "score": "0.44004083", "text": "public int puGetNumAlphasFromRule(int index) {\n\t\tif(prNumRule>0) {\n\t\t\tif(index>=0) {\n\t\t\t\tif(index<prNumRule){\n\t\t\t\t\treturn prRules[index].puGetNumAlphas();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"(puGetNumAlphasFromRule) has failed! The supplied index is out of bounds!\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"(puGetNumAlphasFromRule) has failed! The supplied index must be greater than zero!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"(puGetNumAlphasFromRule) has failed! There aren't any rules in this (DecayChainRuleBranch)!\");\n\t\t}\n\t\treturn prsfIntZero;\n\t}", "title": "" }, { "docid": "fd46beaf65a40ed0160e445c44595c18", "score": "0.43770987", "text": "public TerminalRule getEXTENDED_DIGITRule() {\n\t\treturn gaProperties.getEXTENDED_DIGITRule();\n\t}", "title": "" }, { "docid": "f670a3d2632e5f983df167a7ae8a613c", "score": "0.43761498", "text": "public double getAverageNumberOfReviewsPerProperty() {\n\n // Get all listings for the min price, max price, and number of nights (with room type as any)\n ArrayList<AirbnbListing> listings = extractor.getMapListing(UserInput.getMinPrice(), UserInput.getMaxPrice(), UserInput.getNoOfNights(), \"All\");\n // Gets the stream of the listings and maps all 'numberOfReviews' then gets the average of them\n OptionalDouble result = listings.stream().mapToInt(AirbnbListing::getNumberOfReviews).average();\n // If result is present return the double, else return -1\n if (result.isPresent())\n return result.getAsDouble();\n else {\n System.err.println(\"Unable to return average as double, returning -1\");\n return -1;\n }\n }", "title": "" }, { "docid": "32a6e8045f2ad5477201833fc3aea147", "score": "0.4370234", "text": "public String getAsInd() {\n return this.asInd;\n }", "title": "" }, { "docid": "e1a1d49889a6f15a0533331bccc8102c", "score": "0.43438014", "text": "public String getRuleID()\n {\n return ruleID;\n }", "title": "" }, { "docid": "846a7f53513f2bafd5c6645c155bb676", "score": "0.43422678", "text": "public int getRating(){\r\n \t\treturn this._rating;\r\n \t}", "title": "" }, { "docid": "60b635d05fabbcc3d8c4d1055ce3eec7", "score": "0.43346277", "text": "public Integer getDrawn() {\n return drawn;\n }", "title": "" }, { "docid": "a2501970ab30a63a75faf5083e59e8f3", "score": "0.43343127", "text": "public double getRatingAverage() {\n return this.ratingAverage;\n }", "title": "" }, { "docid": "dd209070a51f08b03b79766e687aa704", "score": "0.43261012", "text": "public java.lang.CharSequence getAGADPRNTREEXPRPT() {\n return AGAD_PRNT_REEXP_RPT;\n }", "title": "" }, { "docid": "f190494c2443e200e07dc3b0602f169c", "score": "0.4314546", "text": "public java.lang.CharSequence getAGADPRNTREEXPRPT() {\n return AGAD_PRNT_REEXP_RPT;\n }", "title": "" }, { "docid": "0de91a1246b90c83aed269d2c07f81c9", "score": "0.4310298", "text": "public PropertiesGrammarAccess.NumAltElements getNumAltAccess() {\n\t\treturn gaProperties.getNumAltAccess();\n\t}", "title": "" }, { "docid": "a58d1b83c74589f3d275ea3420bc45b9", "score": "0.42991543", "text": "public Integer getRating() {\n return rating;\n }", "title": "" }, { "docid": "3a519d570b8c5a831b29cf958bd8449a", "score": "0.42734653", "text": "public int getNumRules() {\n\n return m_numRules - 5;\n }", "title": "" }, { "docid": "2a0ec74fdf8e29b74f0fe8ba9ebcc3ea", "score": "0.42696494", "text": "public Double getAverageRating() {\n\t\treturn averageRating;\n\t}", "title": "" }, { "docid": "edf080712834a2ffd513e28408b9a90c", "score": "0.42579302", "text": "public com.wondersgroup.falcon.model.rc.IpApproach getApproachSn () {\r\n\t\treturn approachSn;\r\n\t}", "title": "" }, { "docid": "4b15017608d09c442c5899398c3f834f", "score": "0.42475343", "text": "public double getRatingAvg() {\n return ratingAvg;\n }", "title": "" }, { "docid": "7fb1f50d7e5972339c6c0325501ea20b", "score": "0.4245909", "text": "com.google.internal.communications.voicemailtranscription.v1.TranscriptionRating getRating(int index);", "title": "" }, { "docid": "2e83f9fd96d059898094c1057f5178f6", "score": "0.424268", "text": "public int getRating() {\n return this.rating;\n }", "title": "" }, { "docid": "ee9cf43d11b8e5a9314b2647f988fe18", "score": "0.42409027", "text": "public java.lang.String getRule()\n {\n return this._rule;\n }", "title": "" }, { "docid": "b304b11819c570d1ca74bf4db340fc5f", "score": "0.4238887", "text": "public int getRating() {\r\n return this.rating;\r\n }", "title": "" }, { "docid": "7f9fcbf0cd04bdbd983be60c92850556", "score": "0.42388043", "text": "public Mapping getRuleMapping() {\n\t\treturn this.mapping;\n\t}", "title": "" }, { "docid": "4d6b8c6fd17130fbdccc741317e3ed01", "score": "0.42346227", "text": "public int get_areaNum () {\n\t return _areaNum;\n }", "title": "" }, { "docid": "a1a4ef412659366a2de6863ca77da033", "score": "0.42217", "text": "public void setAGADPRNTPROGRAMSCHEDIND(java.lang.CharSequence value) {\n this.AGAD_PRNT_PROGRAM_SCHED_IND = value;\n }", "title": "" }, { "docid": "e991d3a2ae2b4a1b1ae3db632bd8c164", "score": "0.422081", "text": "public void setAGADPRNTSALESRATIONALEIND(java.lang.CharSequence value) {\n this.AGAD_PRNT_SALES_RATIONALE_IND = value;\n }", "title": "" }, { "docid": "ea6ed81e51b88dd67779b52d7009c9e6", "score": "0.42206186", "text": "public String getInAmtYn() {\r\n return inAmtYn;\r\n }", "title": "" } ]
ea62b1b9d7094fdeb6d061cc59f21500
Set the string holding the client configuration.
[ { "docid": "152664918f3aae3c29ef55c0a4fc2304", "score": "0.6274886", "text": "public void setClientConfiguration(String clientConfiguration)\n\t{\n\t\tthis.clientConfiguration = clientConfiguration;\n\t}", "title": "" } ]
[ { "docid": "e3244d85ee70eed173dfaee241323230", "score": "0.6626182", "text": "void setClient(java.lang.String client);", "title": "" }, { "docid": "65d4fde9af26d787b8aaea33fca0c813", "score": "0.6544145", "text": "public Builder setConfig(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n config_ = value;\n bitField0_ |= 0x00000008;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d802a4a79a6371c4e2a8290ea1cdc402", "score": "0.61128855", "text": "void setClientConnectAddress(String clientConnectAddress);", "title": "" }, { "docid": "8ed3b64042de4b5ed75dda8b3d54c828", "score": "0.6096211", "text": "public String getClientConfiguration()\n\t{\n\t\treturn clientConfiguration;\n\t}", "title": "" }, { "docid": "e34ce216a0f7d94ab7d895d58918c283", "score": "0.6063662", "text": "public void setConfig(String config) {\n this.config = config;\n }", "title": "" }, { "docid": "46e04b62710fabe72d79eee1d9b8e7d9", "score": "0.6051263", "text": "private static void customizeClientConfiguration(ClientConfig cc) {\n }", "title": "" }, { "docid": "4def2470014267b8163312de980c4a1f", "score": "0.5975954", "text": "public Builder setClientAddr(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clientAddr_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1328aaa17b8ac12dda899174afc25c71", "score": "0.5944882", "text": "protected abstract void setConfValue(String value);", "title": "" }, { "docid": "198e0fdb4225a88b1bd3e1a688eed708", "score": "0.58929", "text": "public void setServerName(java.lang.String value);", "title": "" }, { "docid": "2792626d3becfde6985878ebf43ec962", "score": "0.5867148", "text": "public Builder setClientId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clientId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "809b6a9cab5ba28afe9308d54c0f39b6", "score": "0.5859269", "text": "public void setConfigClientService(ConfigClientService configClientService) {\n this.configClientService = configClientService;\n }", "title": "" }, { "docid": "3e7dc0ef02d0167aeac078baee669953", "score": "0.5854912", "text": "@JsonSetter(\"configOption\")\r\n public void setConfigOption (String value) { \r\n this.configOption = value;\r\n }", "title": "" }, { "docid": "0101032839a10686f465e45b9b8bbac5", "score": "0.5843725", "text": "public void setConfiguration(java.lang.String param){\n \n this.localConfiguration=param;\n \n\n }", "title": "" }, { "docid": "0101032839a10686f465e45b9b8bbac5", "score": "0.5843725", "text": "public void setConfiguration(java.lang.String param){\n \n this.localConfiguration=param;\n \n\n }", "title": "" }, { "docid": "36b1d8e56d95c35056497cbccd007cb2", "score": "0.58294433", "text": "public void setConfig(SiriRestClientConfig config) {\r\n\t\tthis.config = config;\r\n\t}", "title": "" }, { "docid": "6e832af97dea7e7fe974bcb1a7b6be21", "score": "0.58063847", "text": "public void setClientType(String v) { clienttype = v; }", "title": "" }, { "docid": "73352d6d0f4539973f356ab5601bc21a", "score": "0.58056504", "text": "void setClientId(String clientId);", "title": "" }, { "docid": "be69559ad81265c6c616378a1ca036e9", "score": "0.57756156", "text": "void setClientUsername(String username);", "title": "" }, { "docid": "98a37c4b81002e6deea1051d5f737cdf", "score": "0.5773828", "text": "@Override\n\tpublic void setConfig(java.lang.String config) {\n\t\t_suburConfig.setConfig(config);\n\t}", "title": "" }, { "docid": "47a03bfd7dd479e6f8a779610c244ef7", "score": "0.5710197", "text": "public void setServerName(String pServerName)\r\n {\r\n myServerNameStr = pServerName;\r\n }", "title": "" }, { "docid": "65246f1be9f57c03b1fc256229c39989", "score": "0.56210226", "text": "@Fluent\n public SentinelServersConfig setClientName(String clientName) {\n json.put(\"clientName\", clientName);\n return this;\n }", "title": "" }, { "docid": "40c8118dffca252e5b2d87482cfc9726", "score": "0.5618621", "text": "public void setClient(Client client) {\n this.client = client;\n }", "title": "" }, { "docid": "40c8118dffca252e5b2d87482cfc9726", "score": "0.5618621", "text": "public void setClient(Client client) {\n this.client = client;\n }", "title": "" }, { "docid": "e86f11ab0abd7c51f41ac3af58ae8221", "score": "0.5591134", "text": "public void addConfString(String configuration) {\n }", "title": "" }, { "docid": "51db49ea6b49f4e6296fcd7811eb24af", "score": "0.5570464", "text": "public static void setClient (boolean client)\r\n\t{\t\t\r\n\t\ts_client = client;\r\n\t}", "title": "" }, { "docid": "24507f190e420c0736e214fb3a1c9776", "score": "0.55627245", "text": "public synchronized static void setClientMode() {\n checkInit();\n client = true;\n }", "title": "" }, { "docid": "1a039452418b59aea241898ee399a964", "score": "0.55394894", "text": "public void setConfiguration(C config);", "title": "" }, { "docid": "47fad4f90535967f9df45016c4e63580", "score": "0.55283344", "text": "public void setClient(Client client) {\n\t\tthis.client = client;\n\t}", "title": "" }, { "docid": "b5b43133468878a52928f3384a99cc45", "score": "0.55274135", "text": "public Builder setServerName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n serverName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "c2a6c549f978f496fc904bddb2260cdf", "score": "0.5521426", "text": "public Builder setClientHostname(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clientHostname_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a5f8d80214f905b6bf0da49231dfa42b", "score": "0.5507783", "text": "private void setUpClientInformation(){\n this.editNameInput.setText(this.client.name);\n this.editSurnameInput.setText(this.client.surname);\n this.birthdateInput.setText(this.client.birthdate);\n this.emailInput.setText(this.client.email);\n this.countryInput.setText(this.client.country);\n }", "title": "" }, { "docid": "86ddf65abe716c93173d8564350cd048", "score": "0.5502159", "text": "public void set(String value) {\n this.value = new StringBuilder();\n append(value);\n }", "title": "" }, { "docid": "954de4586602ceff29ed2ab38f896e53", "score": "0.5501826", "text": "@Option(longName = \"conf\", argName = \"config\")\n @Description(\"Specifies path to the config loader json Knot.x requires to start. \" +\n \"If not specified a '\" + DEFAULT_LOADER_FILE + \"' in the class path is to be used.\")\n public void setConfig(String path) {\n this.config = path;\n }", "title": "" }, { "docid": "0d2fa9e61defc6a194d2aed0fe636925", "score": "0.5501036", "text": "public final void setLocation(String value) {\n this.updatedClientCredentials.setLocation(value);\n }", "title": "" }, { "docid": "e53ece8ce6c06eb5cc8213190e2d7c8c", "score": "0.5499527", "text": "public void displayMessageConfig(String str){\n\t\tgetConfigPanel().getDisplay().display(str);\n\t\t\n\t}", "title": "" }, { "docid": "0cba7f94ae13e3b3b24e1209f0d437d3", "score": "0.54756385", "text": "public void setString(String str)\n {\n string = str;\n }", "title": "" }, { "docid": "70b9d6562885b876b16530af94cbba11", "score": "0.5429743", "text": "public com.baeldung.avro.model.AvroHttpRequest.Builder setClientIdentifier(com.baeldung.avro.model.ClientIdentifier value) {\n validate(fields()[1], value);\n this.clientIdentifierBuilder = null;\n this.clientIdentifier = value;\n fieldSetFlags()[1] = true;\n return this;\n }", "title": "" }, { "docid": "05ebb3a49c73fd542a4c578ca8dcf2f4", "score": "0.54197973", "text": "@Event(handlers = ClientSettingsPresenter.class)\n void setClientSettings(SettingDetail detail);", "title": "" }, { "docid": "db104cd13ebdd5cbc482412454b52af5", "score": "0.54183316", "text": "public void setServerName(String name) { \n mServerName = name; \n }", "title": "" }, { "docid": "63524550d16b332554822a8792345753", "score": "0.54103845", "text": "@Override\n public void setTcpServer( final String val )\n {\n this.tcpServer = val;\n }", "title": "" }, { "docid": "e0ae93e50585b9c9cd8d321bdebbf312", "score": "0.54062235", "text": "void setStr(java.lang.String str);", "title": "" }, { "docid": "b98a794f821b22da61504212a4c3c6d8", "score": "0.5398902", "text": "public void setSetConst(String s) { setConst = s;}", "title": "" }, { "docid": "5f32e16aa784313b48bac4a2f25c90ad", "score": "0.53938144", "text": "public void setClientIdentifier(com.baeldung.avro.model.ClientIdentifier value) {\n this.clientIdentifier = value;\n }", "title": "" }, { "docid": "27838bc094cbf3e369b669101eba11b5", "score": "0.53904843", "text": "@Test\n public void testSetDefaultClientSNIEntries() {\n }", "title": "" }, { "docid": "08e87770715f5bc68ae84760fb1da699", "score": "0.5378113", "text": "public void setString(String string) {\r\n this.string = string;\r\n }", "title": "" }, { "docid": "c9d8de19294e46c6f75a93e5fd8f7b7b", "score": "0.53690434", "text": "void setStringProperty(String name, String value) throws JMSException;", "title": "" }, { "docid": "9398afc02fe41962215df7c9f05d700f", "score": "0.5356735", "text": "public static void setNtwrkClient(Client c) {\n LOGGER.debug(c.toString());\n client = c;\n }", "title": "" }, { "docid": "1d1b30d882ccb46e2dbe17aae397fbef", "score": "0.5324074", "text": "public static void set(String str){\n value = str;\n }", "title": "" }, { "docid": "fb26fb1eebd06ae5c53c1eee5bc82460", "score": "0.5311715", "text": "void setClient(NuprlBusPort client)\n {\n this.client = client;\n }", "title": "" }, { "docid": "b820cfb7b1fed28bcc4dc4bfa3f92d48", "score": "0.52971315", "text": "public void setKlient(String klient){\r\n\t\tthis.nazwaKlienta=klient;\r\n\t}", "title": "" }, { "docid": "7bb7c4258ada99654d20f8a04d37be60", "score": "0.5291885", "text": "public String client() {\n return dict.getString(KEY_CLIENT, \"\");\n }", "title": "" }, { "docid": "a6cb381d0d73b503a2f5e1185b98c1a1", "score": "0.52916086", "text": "void setDiscoveryAddress(String discoveryAddress);", "title": "" }, { "docid": "b1a2d9011088389ff86a338b927b9534", "score": "0.5291056", "text": "void xsetClient(org.apache.xmlbeans.XmlString client);", "title": "" }, { "docid": "da94217cab130ffb0f34a44760848766", "score": "0.5289466", "text": "@java.lang.Override\n public java.lang.String getConfig() {\n java.lang.Object ref = config_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n config_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "da59c371f53bfd894dbb93f8810dc832", "score": "0.526858", "text": "public void addClientConfiguration(JSONObject mapObject) {\n s(mapObject, \"lighting\", name);\n s(mapObject, \"nightandday\", isNightAndDayEnabled());\n }", "title": "" }, { "docid": "77e93c7acc4154ea5a8d0f01fa6455ee", "score": "0.52637315", "text": "void setServerURL(String serverURL);", "title": "" }, { "docid": "3abe244d25e734647e95412a11cf2aab", "score": "0.5254514", "text": "public void setStringOverride(final String str) {\r\n stringOverride = str;\r\n }", "title": "" }, { "docid": "8545ec3cde84b90cfbe4c56d63113e57", "score": "0.5246145", "text": "public void setClientKey(String clientKey) {\n this.clientKey = clientKey;\n }", "title": "" }, { "docid": "c2ae0d68d50e7d8a712fc4bf875d0c56", "score": "0.5244932", "text": "public void setStringValue(String key, String Value) {\n configs.put(key, Value);\n this.save();\n }", "title": "" }, { "docid": "b3ce1f0bd33adc52ac2b4a34079d93b4", "score": "0.5240301", "text": "public void setClientId(String CLIENT_ID) {\n mMapView.setClientId(CLIENT_ID);\n\n //TODO 예외처리\n }", "title": "" }, { "docid": "e0ba45cfb4365404ce5aa9937f17281b", "score": "0.52353966", "text": "public void setProxiesString(String str) {\n _proxiesString=str;\n }", "title": "" }, { "docid": "d85f37b76bb82c26a86e461f1f88bedd", "score": "0.52344275", "text": "@Test\n public void testSetDefaultClientRenegotiationInfo() {\n }", "title": "" }, { "docid": "5a696cff5d6dba473d50dcef8da77481", "score": "0.5231209", "text": "public void setString( String string )\n {\n this.string = string;\n }", "title": "" }, { "docid": "81782f1d731639a7f6d338a3f587bd5f", "score": "0.5229686", "text": "public void setClient(UUID client) {\n this.client = client;\n }", "title": "" }, { "docid": "8268ba5c21423c46ee431db34adb50e7", "score": "0.52187914", "text": "public void config(String msg);", "title": "" }, { "docid": "9d7500cb5b30fd040c35d69b4196ce2e", "score": "0.5218488", "text": "@Override\r\n\tprotected String getClientConfigFile() {\n\t\treturn this.ratingServiceConfigFile;\r\n\t}", "title": "" }, { "docid": "c1e514b99dfa6f16191f49b3ef3e2112", "score": "0.5215158", "text": "@JsonDeserialize(as = String.class)\r\n\t\tpublic void setValue(Serializable configurationValue);", "title": "" }, { "docid": "f2446774c88128ef993d7a6704a87e14", "score": "0.5202181", "text": "@Override\r\n public void setServerName(String serverName)\r\n {\r\n myServerName = serverName;\r\n }", "title": "" }, { "docid": "a8e381b7702246a11cc7b53f75af507d", "score": "0.52017087", "text": "public void setHostName(String string);", "title": "" }, { "docid": "dc35dc7993728bf7389e18d7e06d2a45", "score": "0.51946664", "text": "public void setConfigClass(String configClass)\n/* */ {\n/* 132 */ this.configClass = configClass;\n/* */ }", "title": "" }, { "docid": "b2813fda235e7aea7a2b178444829839", "score": "0.51815677", "text": "public void setMessage(String str){\n\t\tmessage.setText(str);\n\t\tmessage.setWrapText(true);\n\t}", "title": "" }, { "docid": "aa3390badd8cbcab865d191d7b4632c1", "score": "0.5181278", "text": "public java.lang.String getConfig() {\n java.lang.Object ref = config_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n config_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "2c4db79e54a75e0b7e1e0843f6dc1829", "score": "0.5177384", "text": "public void setClientInfo(final ClientInfo clientInfo) {\n this.clientInfo = clientInfo;\n }", "title": "" }, { "docid": "51bc2037ad14b9853baadf9c432783d0", "score": "0.51739126", "text": "@Test\n public void testSetDefaultClientApplicationTrafficSecret() {\n }", "title": "" }, { "docid": "997dc40a9394b57d4ba7f3d5559185ee", "score": "0.5173248", "text": "public void setConfigValue(String configValue) {\n this.configValue = configValue == null ? null : configValue.trim();\n }", "title": "" }, { "docid": "9b676f3eecea4ac4d415c924d522272b", "score": "0.5171265", "text": "public Builder setLockString(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n lockString_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "151eb6df9ffed1009a8fb8d33da0379a", "score": "0.5170668", "text": "@Override\r\n\tprotected String getClientConfigFile() \r\n\t{\r\n\t\treturn this.securityServiceConfigFile;\r\n\t}", "title": "" }, { "docid": "295f99391c4ca9a2fe738e92bf1cf3b3", "score": "0.51658577", "text": "public Builder setSendDataStr(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n sendDataStr_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "557a4a57330a96366840cba506a9161d", "score": "0.5161311", "text": "public void setconfiguration_file (final SOSOptionString p_configuration_file) { \n configuration_file = p_configuration_file;\n }", "title": "" }, { "docid": "eed71153e144768bef6ce975bb4839d1", "score": "0.516002", "text": "public void setConfigId(String configId) {\n this.configId = configId;\n }", "title": "" }, { "docid": "101e365a69b04d89e9854c542dad811a", "score": "0.51581234", "text": "public void set(T newValue) {\n try {\n Configuration.put(key, serializeToString(newValue));\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "03c4af1bfcff0254cea83e494af0c37f", "score": "0.51527727", "text": "public void setHTTPForwardClientConfiguration(HTTPClientConfiguration config) {\n\t\tforwarder.setClientConfiguration(config);\n\t}", "title": "" }, { "docid": "b194c0c49c2a1af1f403591025540679", "score": "0.51465213", "text": "public ClientConfiguration getClientConfiguration() {\n return config;\n }", "title": "" }, { "docid": "33ef2be2b12f98685636ebe7e8410941", "score": "0.51426595", "text": "public void setConfig(T value) {\n this.config = value;\n this.markDirty();\n }", "title": "" }, { "docid": "9b64615035cd37e327b5d388dfa7a26c", "score": "0.5134324", "text": "public void setCoreconfstring(java.lang.String coreconfstring) {\n this.coreconfstring = coreconfstring;\n }", "title": "" }, { "docid": "67f9dff54594805d0fb3a2bcd1c3f2dd", "score": "0.512759", "text": "void setValue(java.lang.String value);", "title": "" }, { "docid": "67f9dff54594805d0fb3a2bcd1c3f2dd", "score": "0.512759", "text": "void setValue(java.lang.String value);", "title": "" }, { "docid": "27fa51b3c4baab16c78993a28544317b", "score": "0.51198053", "text": "public void setClientName(@NonNull String clientName) {\n this.clientName = clientName;\n }", "title": "" }, { "docid": "c6464e619d640e7f6550228c07c2aec0", "score": "0.5119434", "text": "public void set(String value) {\n\t\tif (value == null) {\n\t\t\tSystem.clearProperty(key);\n\t\t} else {\n\t\t\tSystem.setProperty(key, value);\n\t\t}\n\t}", "title": "" }, { "docid": "1ab0fa0e86ed7f3bb9d923350c1b076e", "score": "0.5097488", "text": "public void setClientInstance(TheActualClient clientP)\r\n\t{\r\n\t\tclientBackend = clientP;\r\n\t}", "title": "" }, { "docid": "0296f074aecf22387682e62e3134672d", "score": "0.50821143", "text": "public void setHost(String string) {\n\t\t\r\n\t}", "title": "" }, { "docid": "8f7ae0cd191c0cd39779a6cccadbb3b9", "score": "0.5080576", "text": "public void setSet(String value) {\r\n this.set = value;\r\n }", "title": "" }, { "docid": "6de72965f648b2bd2dbfe6d9f3fc656b", "score": "0.5069958", "text": "public Home setNewClientID(String strClientID) {\n\t\t// Click Client or Matter dropdown in Global Navigation\n\t\t// Click Set/Add Client ID or Click Set/Add Matter ID\n\t\t// NavigateToClientLink(\"Set/Add Client ID\");\n\n\t\t// Select New Client ID or New Matter ID Radio button\n\t\tWebElement rdoClientId = commonLibrary\n\t\t\t\t.isExist(UIMAP_SearchResult.rdoClientId);\n\t\tif (rdoClientId != null) {\n\n\t\t\tcommonLibrary.setRadioButton(UIMAP_SearchResult.rdoClientId);\n\t\t} else\n\t\t\treport.updateTestLog(\"Selecting Set New Client ID\",\n\t\t\t\t\t\"Client Option Radio button not found.\", Status.FAIL);\n\n\t\t// ENTER A <<<>>> ID IN TEXT BOX\n\t\tWebElement txtNewClientId = commonLibrary\n\t\t\t\t.isExist(UIMAP_SearchResult.txtNewClientId);\n\t\tif (txtNewClientId != null) {\n\t\t\tcommonLibrary.setDataInTextBox(txtNewClientId, strClientID,\n\t\t\t\t\t\"Client id\");\n\n\t\t} else\n\t\t\treport.updateTestLog(\"Setting New Client ID\",\n\t\t\t\t\t\"New Client ID can not be set.\", Status.FAIL);\n\t\t// Click Set Client ID Button or Set Matter ID button\n\t\tWebElement btnSaveClientId = commonLibrary\n\t\t\t\t.isExist(UIMAP_SearchResult.btnSaveClientId);\n\t\tif (btnSaveClientId != null) {\n\n\t\t\tif (browsername.contains(\"internet\") && version.contains(\"9\")) {\n\t\t\t\tcommonLibrary.clickButtonParentWithWaitJS(btnSaveClientId,\n\t\t\t\t\t\t\"Set Client Id\");\n\t\t\t} else {\n\t\t\t\tcommonLibrary.clickButtonParentWithWait(btnSaveClientId,\n\t\t\t\t\t\t\"Set Client Id\");\n\t\t\t}\n\n\t\t} else\n\t\t\treport.updateTestLog(\"Clicking on Set Client ID\",\n\t\t\t\t\t\"Set Client ID can not be clicked.\", Status.FAIL);\n\t\treturn new Home(scriptHelper);\n\n\t}", "title": "" }, { "docid": "d17b24836d12ed3cf6d136e42013c3ef", "score": "0.5066221", "text": "public static void setConnectionString(String aConnectionString) {\n connectionString = aConnectionString;\n }", "title": "" }, { "docid": "39dfdf1278736e1374012c19d7d573db", "score": "0.50658756", "text": "public Builder setClientID(int value) {\n \n clientID_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f603c7b0453ef65166ab970b6cce40c7", "score": "0.5062697", "text": "@JsonSetter(\"licenseApiKey\")\r\n public void setLicenseApiKey (String value) { \r\n this.licenseApiKey = value;\r\n notifyObservers(this.licenseApiKey);\r\n }", "title": "" }, { "docid": "f6c80295a3b26c7930a9e9b32c5decda", "score": "0.50587875", "text": "public void setValue(String value) {\n info.set(value);\n }", "title": "" }, { "docid": "447bb72fc2135cb53d7387bbaa6e009d", "score": "0.5052597", "text": "public com.baeldung.avro.model.AvroHttpRequest.Builder setClientIdentifierBuilder(com.baeldung.avro.model.ClientIdentifier.Builder value) {\n clearClientIdentifier();\n clientIdentifierBuilder = value;\n return this;\n }", "title": "" }, { "docid": "0acabfeea0da97e57d99289c7b67032c", "score": "0.50503063", "text": "public void setClient(com.hof.mi.web.service.AdministrationClientOrg client) {\n this.client = client;\n }", "title": "" }, { "docid": "398b9b54895bdd920c30f482df67610f", "score": "0.50491226", "text": "public MedmalNavigator setClientIDValue(String strClientID) {\n\t\tgeneralFunctions.setClientIDValue(strClientID);\n\t\treturn new MedmalNavigator(scriptHelper);\n\n\t}", "title": "" } ]
14719fe295811a39144c541d13b9c53c
Called when the mouse is clicked.
[ { "docid": "72c4a8b847ccc1982cb8d7db0ac983c8", "score": "0.0", "text": "@Override\r\n protected void mouseClicked(int x, int y, int mouseButton)\r\n {\r\n pokemobTextField.mouseClicked(x, y, mouseButton);\r\n list.mouseClicked(x, y, mouseButton);\r\n // System.out.println(mouseButton);\r\n int button = getButtonId(x, y);\r\n\r\n if (button != 0)\r\n {\r\n mc.getSoundHandler().playSound(PositionedSoundRecord.getMasterRecord(SoundEvents.UI_BUTTON_CLICK, 1.0F));\r\n }\r\n if (button == 14)\r\n {\r\n PacketPokedex.sendInspectPacket(true, FMLClientHandler.instance().getCurrentLanguage());\r\n return;\r\n }\r\n\r\n if (button == 10)\r\n {\r\n mouseRotateControl = mouseButton;\r\n prevX = x;\r\n prevY = y;\r\n }\r\n else\r\n {\r\n handleGuiButton(button);\r\n }\r\n }", "title": "" } ]
[ { "docid": "3ddcba7ae236d5eabb0113738137f6b7", "score": "0.8658054", "text": "void mouseClicked();", "title": "" }, { "docid": "1178fc6e97e3cb149402765516997d56", "score": "0.84289694", "text": "public void mouseClicked(MouseEvent ev) {}", "title": "" }, { "docid": "26103f502e03818c60aeefbb04c881c0", "score": "0.8371417", "text": "public void mouseClicked(int x, int y);", "title": "" }, { "docid": "26125bd6d9a1c1ac7ec497022a547cec", "score": "0.8365796", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t}", "title": "" }, { "docid": "919c1b4e53ad7b16cfa8a37a85d84d50", "score": "0.835783", "text": "public void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "919c1b4e53ad7b16cfa8a37a85d84d50", "score": "0.835783", "text": "public void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1dd0b8ff9f485d3ce30ade646d9b538f", "score": "0.8349548", "text": "public void mouseClicked(MouseEvent e) {}", "title": "" }, { "docid": "1dd0b8ff9f485d3ce30ade646d9b538f", "score": "0.8349548", "text": "public void mouseClicked(MouseEvent e) {}", "title": "" }, { "docid": "1dd0b8ff9f485d3ce30ade646d9b538f", "score": "0.8349548", "text": "public void mouseClicked(MouseEvent e) {}", "title": "" }, { "docid": "09bfc17679010310c23e56854ce9d26b", "score": "0.83487606", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "09bfc17679010310c23e56854ce9d26b", "score": "0.83487606", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "09bfc17679010310c23e56854ce9d26b", "score": "0.83487606", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "09bfc17679010310c23e56854ce9d26b", "score": "0.83487606", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "09bfc17679010310c23e56854ce9d26b", "score": "0.83487606", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "88c4b0af4cd6f33a6e7e2076bfbac78b", "score": "0.83422005", "text": "public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "88c4b0af4cd6f33a6e7e2076bfbac78b", "score": "0.83422005", "text": "public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "735cc808e56a42040dc1734c4cd97c47", "score": "0.8320144", "text": "@Override\r\n public void mouseClicked(MouseEvent arg0) {}", "title": "" }, { "docid": "9fe89309de812435cb67627b570e484f", "score": "0.83073694", "text": "public void mouseClicked(MouseEvent event) {}", "title": "" }, { "docid": "9fe89309de812435cb67627b570e484f", "score": "0.83073694", "text": "public void mouseClicked(MouseEvent event) {}", "title": "" }, { "docid": "1e69da5de27317fa7f4b836851d40af0", "score": "0.8306674", "text": "public void mouseClicked(MouseEvent e) {/*Nothing needed here, keep blank\n (for now)*/}", "title": "" }, { "docid": "21997b9a825d7321a16a0c056e9ecca7", "score": "0.8301887", "text": "public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.8288811", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.8288811", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.8288811", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1b8aa44493ce0ebfd1dac9de466eed18", "score": "0.82853466", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "1b8aa44493ce0ebfd1dac9de466eed18", "score": "0.82853466", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "1cc304d23382fea8a57a4d40f85fc3f4", "score": "0.8281517", "text": "public void mouseClicked(MouseEvent e) {\n\t}", "title": "" }, { "docid": "28251dc167b4314e3bb0e9327bfef1af", "score": "0.8261531", "text": "@Override\n\tpublic void mouseClicked(MouseEvent mouse) {\n\t\t\n\t}", "title": "" }, { "docid": "923f11758d0a329922a584f7d805b978", "score": "0.8260237", "text": "public void mouseClicked(java.awt.event.MouseEvent e) {}", "title": "" }, { "docid": "44d66003128a4ca339bfe089ae7fb334", "score": "0.8254047", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b3262cdd04720f32730d727ccbccb033", "score": "0.82523364", "text": "public void mouseClicked(int x, int y){}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.82515866", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.82515866", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd2ab23ee2650215457fef794db7795d", "score": "0.82515866", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "fdcee3ac666fe7d545953873f7021c17", "score": "0.82493156", "text": "@Override\n\t\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "fdcee3ac666fe7d545953873f7021c17", "score": "0.82493156", "text": "@Override\n\t\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "fdcee3ac666fe7d545953873f7021c17", "score": "0.82493156", "text": "@Override\n\t\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "1bbf525345f96fdf022dbced8353d1eb", "score": "0.8245443", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "a4e32e78e0937198025eace2c4095219", "score": "0.823092", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "c0ed02999c74909fa1e22ad2b16ec598", "score": "0.8228114", "text": "public void mouseClicked( MouseEvent e ) {\n\t}", "title": "" }, { "docid": "f995316a76d2c121820cf020f530f336", "score": "0.82098573", "text": "public void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f995316a76d2c121820cf020f530f336", "score": "0.82098573", "text": "public void mouseClicked(MouseEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f17364d0b8737abe37e709f6e5f44765", "score": "0.82079446", "text": "@Override\r\n public void mouseClicked(MouseEvent arg0) {\n\t\r\n }", "title": "" }, { "docid": "d41bd3180d64eedb1ce5c51bfb00b58b", "score": "0.8201358", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "206e55206a2f0c82daae9cb8bdc4f33f", "score": "0.8192305", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "6d56c7b3886fc87d41d4e4b4ead22b94", "score": "0.81756544", "text": "public void mouseClicked(MouseEvent me) {\n\t\t\t\t}", "title": "" }, { "docid": "e3bd86781a74a87743af5837622cf311", "score": "0.8175168", "text": "public void mouseClicked(MouseEvent e)\n {\n }", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "153907e28e80ae6f9c2e7e004b33e42b", "score": "0.81732875", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "37c2ca6a7984e8a878c3ae3ec7e84f49", "score": "0.8164115", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "37c2ca6a7984e8a878c3ae3ec7e84f49", "score": "0.8164115", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "37c2ca6a7984e8a878c3ae3ec7e84f49", "score": "0.8164115", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "37c2ca6a7984e8a878c3ae3ec7e84f49", "score": "0.8164115", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t}", "title": "" }, { "docid": "def6977c80d98e86200264209e074c5b", "score": "0.815783", "text": "public abstract void mouseClicked(int x, int y);", "title": "" }, { "docid": "2aa40609012a6ff2d1d2f6b43fedae63", "score": "0.81540304", "text": "@Override\n public void mouseClicked(MouseEvent mouseEvent) {\n }", "title": "" }, { "docid": "c29c28995cdaad5e0152bda614c7c027", "score": "0.81520015", "text": "@Override\n public void mouseClicked(int mouseButton) { }", "title": "" }, { "docid": "47bd9c5d760ecc855ee5d50fea8d825a", "score": "0.81501186", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\tnowCanvas.mouseClicked(e);\r\n\t}", "title": "" }, { "docid": "6bea2a8521c11a9fa629963e9ae77039", "score": "0.81415766", "text": "public void mouseClicked(MouseEvent arg0) {\n\t\r\n\t}", "title": "" }, { "docid": "0c101fb578b18736b32a28a1c93cddf2", "score": "0.81366014", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\r\n\t\t\t}", "title": "" }, { "docid": "936e5a025c1ae49f560ff7814403e98b", "score": "0.8131985", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "4f2c42ee238684294a35bb973570f7a3", "score": "0.8119594", "text": "public void mouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "604b42bbc3703c310f2dba24ec191ded", "score": "0.81177694", "text": "public final void mouseClicked(MouseEvent evt)\n {}", "title": "" }, { "docid": "4995350c7854564d0d806ae7a053d285", "score": "0.81076866", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "4995350c7854564d0d806ae7a053d285", "score": "0.81076866", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "4995350c7854564d0d806ae7a053d285", "score": "0.81076866", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "4995350c7854564d0d806ae7a053d285", "score": "0.81076866", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "4995350c7854564d0d806ae7a053d285", "score": "0.81076866", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "af91ba0431925a5296c22854a3023c75", "score": "0.8096563", "text": "public void mouseClicked(MouseEvent e) {\n\t\t\tmousePressed(e);\r\n\t\t}", "title": "" }, { "docid": "f2f060841ba004131276bbde22ac3af5", "score": "0.8092511", "text": "public void MouseClicked(MouseEvent m) {}", "title": "" }, { "docid": "32b4605a84e3b7ab98ae6a44cc50f5f9", "score": "0.8090452", "text": "@Override\r\n \tpublic void mouseClicked(MouseEvent e) {\n \t\t}", "title": "" }, { "docid": "b7b13a500594f0d6e96976e1195d1774", "score": "0.809038", "text": "@Override\r\n public void mouseClicked(MouseEvent event) {\r\n }", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.8090199", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "26be27456b8b787fff0a3772059c7a9d", "score": "0.807866", "text": "@Override\r\n\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\t\r\n\t\t\t\t}", "title": "" }, { "docid": "e9ee168979ef8768e9aa4e8b76322459", "score": "0.80775595", "text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "e9ee168979ef8768e9aa4e8b76322459", "score": "0.80775595", "text": "@Override\r\n public void mouseClicked(MouseEvent e) {\n }", "title": "" } ]
92822a3fcdd74be42669e01bf18cac58
Replaces duplicate consecutive symbols in a line of text with the symbol and the number of times it appears in that location. If the parameter last equals the empty string, this method returns the empty string.
[ { "docid": "99a15d84b403886850110dc27164fb59", "score": "0.533368", "text": "public static String compressDuplicates(String s, String last, int times) {\n\n //Determine length of string\n int len = s.length();\n\n //Base case is when string has length 0, but need to split into two\n //subcases to see if there was a letter prior to this whose count\n //needs to be added into the string\n if (len == 0 && last.equals(\"\")\n return \"\"; //this should've been caught by 1-arg method anyway\n\n if (len == 0) //we now know for sure that last is not empty\n return last + times;\n \n\n //Recursive case: when there is at least one character in the string\n String now = s.substring(0,1);\n\n //Determine if current symbol (\"now\") matches the last symbol seen.\n if (now.equals(last))\n //If so, make recursive call with rest of string and times increased\n //by one, but do not add any information to the result returned\n return compressDuplicates(s.substring(1), last, times+1);\n\n //If \"now\" is different, then concatenate count and previous symbol\n //before making recursive call on rest of string with times == 1, \n //UNLESS this is first symbol checked (in which case don't concatenate anything)\n if (last.equals(\"\") && times == 0)\n return compressDuplicates(s.substring(1), now, 1);\n\n return last + times + compressDuplicates(s.substring(1), now, 1);\n \n }", "title": "" } ]
[ { "docid": "0b378f9117017901259a13fa16b393e2", "score": "0.5592168", "text": "public int addLine(String symbol) {\n if (lines == 0) {\n // zero lines case , just adds the symbol on the line 0.\n this.firstLine = new SymbolLine(0, symbol);\n this.lastLine = this.firstLine;\n this.lines++;\n return 0;\n } else {\n int index = 0;\n SymbolLine compare;\n compare = this.firstLine;\n while (index < lines) {\n //checks if the symbol isn't already present on the table\n if (symbol.equals(compare.getSymbol())) {\n //if it is, returns it index.\n return index;\n }\n compare = compare.getNextLine();\n index++;\n }\n SymbolLine newLast = new SymbolLine(lines, symbol);\n lines++;\n this.lastLine.setNextLine(newLast);\n this.lastLine = newLast;\n return lines - 1;\n }\n\n }", "title": "" }, { "docid": "d8c6ada1868f4207bead61c1fcc4a1d8", "score": "0.5261919", "text": "public static String countDuplicateChar(String myString) {\n\t\tint counter = 1;\r\n\t\tchar ch;\r\n\t\tint maxCount = 0;\r\n\t\tchar dupChar = ' ';\r\n\r\n\t\t// use hash map <key, value> key is char and value is counter\r\n\t\tHashMap<Character, Integer> hash = new HashMap<Character, Integer>();\r\n\t\tfor (int i = 0; i < myString.length(); i++) {\r\n\t\t\t// take every char in the string\r\n\t\t\tch = myString.charAt(i);\r\n\t\t\t// if we found that same char again....\r\n\t\t\tif (hash.containsKey(ch)) {\r\n\t\t\t\tcounter = hash.get(ch);\r\n\t\t\t\tcounter++;\r\n\t\t\t\t// replace with new counter\r\n\t\t\t\thash.replace(ch, counter);\r\n\t\t\t} else {\r\n\t\t\t\t// not found? just put counter as one\r\n\t\t\t\thash.put(ch, 1);\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor (Character key : hash.keySet()) {\r\n\t\t\t// read the array and display each char and counter\r\n\t\t\tSystem.out.println(key + \" = \" + hash.get(key));\r\n\t\t\t// we are not interested in how many space chars we have\r\n\t\t\tif (key != ' ') {\r\n\t\t\t\t// which char has the maximum count value?....\r\n\t\t\t\tif (hash.get(key) > maxCount) {\r\n\t\t\t\t\tmaxCount = hash.get(key);\r\n\t\t\t\t\tdupChar = key;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn (dupChar + \" = \" + maxCount);\r\n\t}", "title": "" }, { "docid": "67bb7a22b89811e507b6b93cdb5be0d9", "score": "0.522859", "text": "private static void duplicateLastChars(Scanner scanner) {\n System.out.println(\"Enter word:\");\n String word = scanner.next();\n int nrOfCopies = 4;\n int nrOfChars = 3;\n String lastChars = word.substring(word.length() - nrOfChars);\n String newChars = \"\";\n while (nrOfCopies > 0) {\n newChars += lastChars;\n nrOfCopies--;\n }\n System.out.println(newChars);\n }", "title": "" }, { "docid": "d13341c0c5bf6e5d7e3557d272c9d964", "score": "0.5195619", "text": "private static double count(String line, String symbol, int counter) {\n\t\tint length = line.length();\n\t\tdouble probability = length;\n\t\tdouble numberOfmarks = 1;\n\n\t\tfor (int i = counter; i < length; i++) {\n\t\t\tif (line.subSequence(i, i + 1).equals(symbol)) {\n\t\t\t\tnumberOfmarks++;\n\t\t\t}\n\t\t}\n\n\t\treturn numberOfmarks / probability;\n\n\t}", "title": "" }, { "docid": "fcb54fad6904884332bdc92642f92748", "score": "0.5161373", "text": "public char FirstAppearingOnce()\n {\n if (sb.length() == 0) {\n return '#';\n }\n char[] cs = new char[sb.length()];\n sb.getChars(0, sb.length(), cs, 0);\n int i = 0;\n for (char c : cs) {\n if (map.containsKey(c)) {\n map.get(c)[1]++;\n } else {\n int[] a = new int[]{i, 1};\n map.put(c, a);\n }\n i++;\n }\n List<Map.Entry<Character, int[]>> list = new ArrayList<>(map.entrySet());\n list.sort(new MyComparator());\n Map.Entry e1 = list.get(0);\n int[] val = (int[])e1.getValue();\n if (val[1] == 1) {\n return sb.charAt(val[0]);\n }\n return '#';\n }", "title": "" }, { "docid": "c9cd69cdf5aad280281123f4954de252", "score": "0.51583153", "text": "public char FirstAppearingOnce()\r\n {\r\n for (int i = 0, len = st.length(); i < len; i ++) {\r\n if (map[st.charAt(i)] == 1) return st.charAt(i);\r\n }\r\n return '#';\r\n }", "title": "" }, { "docid": "4956ded07bb6c33ffe405e5fa8caa0d2", "score": "0.51556766", "text": "public char FirstAppearingOnce(String s) {\n if (s.length() == 0) {\n return '#';\n }\n HashMap<Character, Integer> map = new HashMap<>();\n for (int i = 0; i < s.length(); i++) {\n if (map.containsKey(s.charAt(i))) {\n int value = map.get(s.charAt(i));\n map.put(s.charAt(i), value + 1);\n } else {\n map.put(s.charAt(i), 1);\n }\n }\n for (int i = 0; i < s.length(); i++) {\n if (map.get(s.charAt(i)) == 1) {\n return s.charAt(i);\n }\n }\n return '#';\n }", "title": "" }, { "docid": "5cc88cfd7652e026ef44bf88867b0a7b", "score": "0.51190275", "text": "private int getUniqueCharLeng(String s) {\n if(s.length() == 1) {\n return 1;\n } else {\n int count = 0;\n Map<Character, Integer> map = new HashMap<>();\n for(int i = 0; i < s.length(); i++) {\n map.merge(s.charAt(i), 1, (x, y)-> x+y);\n }\n for(Character c : map.keySet()) {\n if(map.get(c) == 1)\n count++;\n }\n return count;\n }\n }", "title": "" }, { "docid": "0bcd36940241e9e55afcfab2daba870f", "score": "0.51156116", "text": "private void nonRepChar(String str) {\n\t\tMap<Character, Integer> dupsMap = new HashMap<Character, Integer>();\n\t\tchar[] chars = str.toCharArray();\n\t\tfor(Character ch:chars){\n\t\t\tif(dupsMap.containsKey(ch)){\n\t\t\t\tdupsMap.put(ch, dupsMap.get(ch)+1);\n\t\t\t}else{\n\t\t\t\tdupsMap.put(ch, 1);\n\t\t\t}\n\t\t}\n\t\t\n//\t\tList<Character> list = new ArrayList<Character>();\n\t\tfor(int i=0; i<str.length(); i++){\n\t\t\tCharacter ch = str.charAt(i);\n\t\t\tif(dupsMap.get(ch)==1){\n\t\t\t\tSystem.out.println(\"First Non Repeater char is:\" +ch);\n\t\t\t\treturn;\n//\t\t\t\tlist.add(ch);\n\t\t\t}\n\t\t}\n//\t\tSystem.out.println(\"First NonRepeated\" +list.get(0) );\n\n\t}", "title": "" }, { "docid": "c1dc66add25226f64c4fc8302ec5c777", "score": "0.50585896", "text": "public static int duplicateCount(String text) {\n Map<Character, Integer> counter = new HashMap<>();\n for(char c : text.toLowerCase().toCharArray()){\n if(!counter.containsKey(c)){\n counter.put(c, 1);\n } else {\n counter.put(c, counter.get(c)+1);\n }\n }\n return (int) counter.entrySet().stream().filter(p->p.getValue()>1).count();\n }", "title": "" }, { "docid": "1cadc9a92cbde2fb708972e4104c477a", "score": "0.5057939", "text": "public char FirstAppearingOnce()\n {\n for(char c : s)\n {\n if(dic.get(c)) return c;\n }\n return '#';\n }", "title": "" }, { "docid": "a42f10f1682b86ea73edd0af868e4e7c", "score": "0.49802077", "text": "private int writeStringToCurrentLine(String s)\r\n\t{\r\n\t\teffectiveLastLine = process_br(effectiveLastLine + s);\r\n\t\t\r\n\t\tString text = ta.getText();\r\n\t\tint idx = 1 + text.lastIndexOf('\\n');\r\n\t\tString taLastLine = text.substring(idx);\r\n\t\tif ( taLastLine.startsWith(prefix) )\r\n\t\t{\r\n\t\t\tidx += prefix.length();\r\n\t\t\ttaLastLine = taLastLine.substring(prefix.length());\r\n\t\t}\r\n\t\t\r\n\t\tif ( effectiveLastLine.length() <= taLastLine.length() )\r\n\t\t\tta.replaceRange(effectiveLastLine, idx, idx + effectiveLastLine.length());\r\n\t\telse\r\n\t\t\tta.replaceRange(effectiveLastLine, idx, text.length());\r\n\t\t\r\n\t\treturn idx + effectiveLastLine.length();\r\n\t}", "title": "" }, { "docid": "84742b4a40479b0b6176444841d68789", "score": "0.49422777", "text": "public static int duplicateCharacters(String input) {\n HashMap<Character, Integer> characters = new HashMap<>();\n int count = 0;\n for(char c : input.toCharArray()){\n characters.put(c, characters.getOrDefault(c, 0)+1);\n if(characters.get(c) > count){\n count = characters.get(c);\n }\n }\n return count;\n }", "title": "" }, { "docid": "0d50dbcd4bede9814f19818a3e442e01", "score": "0.49354765", "text": "private int replace() {\n String t = getToken();\n int found = inputBuffer.indexOf(t);\n int pos = -1;\n final int tokenLength = t.length();\n final int replaceValueLength = replaceValue.length();\n while (found >= 0) {\n inputBuffer.replace(found, found + tokenLength, replaceValue);\n pos = found + replaceValueLength;\n found = inputBuffer.indexOf(t, pos);\n ++replaceCount;\n }\n return pos;\n }", "title": "" }, { "docid": "048045cf46906eadadfbc6bd5f03ed80", "score": "0.49340227", "text": "public char FirstAppearingOnce()\n {\n return (i == -1 || i == stringBuilder.length()) ? '#' : stringBuilder.charAt(i);\n }", "title": "" }, { "docid": "d47570fbb23c89adfd6462fe77a7cbb2", "score": "0.49318308", "text": "private int makingPattern(String word, char g) {\n\t\t// This map use the Integer as key, count of matched character And value is the pattern.\n\t\tpatternWithCounter = new TreeMap<>();\n\t\tint count = 0;\n\t\tpattern = \"\";\n\t\tfor (int i = 0; i < word.length(); i++) {\n\t\t\t// The reason why I add the word.charAt(i) is that word.charAt(i) is equal to character that the user typed and I need to keep the pattern being same\n\t\t\t// If I didn't add guessedChr.contains(word.charAt(i)), the pattern keeps changing.\n\t\t\tif (word.charAt(i) == g || guessedChr.contains(word.charAt(i))) {\n\t\t\t\tpattern += word.charAt(i) + \" \";\n\t\t\t\tcount++;\n\t\t\t} else {\n\t\t\t\tpattern += \"- \";\n\t\t\t}\n\t\t}\n\t\tpatternWithCounter.put(count, pattern);\n\t\treturn count;\n\t}", "title": "" }, { "docid": "0c033458ec68b83e9c9dc4f9d7d1328f", "score": "0.49246743", "text": "public static void printRLE(String input) {\n\t\tfor (int i = 0; i < input.length(); i++) {\r\n\r\n\t\t\t// Create a counter for the occurrences of current character\r\n\t\t\tint count = 1;\r\n\t\t\twhile (i < input.length() - 1 && input.charAt(i) == input.charAt(i + 1)) {\r\n\t\t\t\tcount++; // keep incrementing as long as u see the same char in a row\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\r\n\t\t\t// Print character and its count\r\n\t\t\tSystem.out.print(input.charAt(i));\r\n\t\t\tSystem.out.print(count);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "83efe826de32f47720eb7bcfa757f866", "score": "0.4921137", "text": "static long repeatedString(String s, long n) {\r\n \tlong size = s.length();\r\n \tlong acount = s.codePoints().filter(c -> c == 'a').count();\r\n \tlong numberofrepitions = n / size ;\r\n \tlong totalrepitition = numberofrepitions * acount;\r\n \tint left = (int)(n % size);\r\n \ts = s.substring(0, left);\r\n \ttotalrepitition += s.codePoints().filter(c -> c == 'a').count();\r\n \treturn totalrepitition;\r\n }", "title": "" }, { "docid": "2219ec11bf8373b0a244eb1804043aac", "score": "0.49056485", "text": "public static char firstAppearingOnce() {\n while (!queue.isEmpty() && map.get(queue.peekFirst()) > 1) {\n queue.removeFirst();\n }\n if (queue.isEmpty()) {\n return '#';\n }\n return queue.peekFirst();\n }", "title": "" }, { "docid": "8b7c676ccdc66676f53192af5f3cd4a5", "score": "0.49005002", "text": "private static void count_Duplicate_Character(String str) {\n\t\tint count_U = 0, count_D = 0;\n\t\tchar [] array_City = str.toCharArray();\n\t\tMap<Character, Integer> hm = new HashMap<Character, Integer>();\n\t\tArrayList<Character> unique = new ArrayList<>();\n\t\tArrayList<Character> duplicate = new ArrayList<>();\n\t\tString u = \"\", d = \"\";\n\t\tfor(char c : array_City) \n\t\t{\n\t\t\t\n\t\t\tif(hm.containsKey(c)) \n\t\t\t{\n\t\t\t\thm.put(c, hm.get(c)+1);\n\t\t\t\tcount_D++;\n\n\t\t\t}else \n\t\t\t{\n\t\t\t\thm.put(c, 1);\n\t\t\t\tcount_U++;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(Map.Entry<Character, Integer> entry : hm.entrySet()) \n\t\t{\n\t\t\tif(entry.getValue() > 1) \n\t\t\t{\n\t\t\t\tSystem.out.println(\"<---------------Duplicate Characters And Count------------------>\");\n\t\t\t\tSystem.out.println(entry.getKey()+\" : \"+entry.getValue());\n\t\t\t\tduplicate.add(entry.getKey());\n\t\t\t\td = d + entry.getKey();\n\t\t\t\t\n\t\t\t}else \n\t\t\t{\n\t\t\t\tSystem.out.println(\"<---------------Unique Characters And Count------------------>\");\n\t\t\t\tSystem.out.println(entry.getKey()+\" : \"+entry.getValue());\n\t\t\t\tunique.add(entry.getKey());\n\t\t\t\tu = u + entry.getKey();\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(count_D+\" : \"+count_U);\n\t\tSystem.out.println(unique);\n\t\tSystem.out.println(duplicate);\n\t\tSystem.out.println(u);\n\t\tSystem.out.println(d);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "e08e617e952c806666244a9d1591eef3", "score": "0.48762158", "text": "public char FirstAppearingOnce() {\n for (int i = 0; i < sb.length(); i++) {\n\n if (hash[sb.charAt(i)] == 1) {\n return sb.charAt(i);\n }\n }\n return '#';\n\n }", "title": "" }, { "docid": "5d7b2d04f45af92ef09f86f0691c7c73", "score": "0.4822193", "text": "public char FirstAppearingOnce() {\n for (Character ch:map.keySet()){\n if(map.get(ch) == 1)\n return ch;\n }\n return '#';\n }", "title": "" }, { "docid": "c30ed04a32b31c90aba345db88ba76f8", "score": "0.480285", "text": "private static int countOccurrence(String str, char c) {\r\n \treturn str.length() - \r\n \t\t\tstr.replace(Character.toString(c), \"\").length();\r\n }", "title": "" }, { "docid": "198b1517b753341afaa008e3fd4f36a5", "score": "0.478276", "text": "public String firstNonRepeatedChar(String sentence) {\n\n\t\t\n\t\tMap<Character,Integer> map = new HashMap<Character,Integer>();\n\t\tvar dataVal=sentence.trim().toCharArray();\n\n\t\tfor(var data:dataVal) {\n\t\t\tif(map.containsKey(data)) {\n\t\t\t\tvar value = map.get(data);\n\t\t\t\tmap.put(data, value+1);\n\t\t\t}else {\n\t\t\t\tmap.put(data,1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(dataVal);\n\t\tfor(var item:dataVal) {\n\t\t\tif(map.get(item)==1) {\n\t\t\t\treturn String.valueOf(item);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d2078609a831e014d8e162fc63c67643", "score": "0.47750258", "text": "public char FirstAppearingOnce()\n {\n for (Map.Entry<Character, Integer> entry : map.entrySet()) {\n if(entry.getValue() ==1){\n return entry.getKey();\n }\n }\n return '#';\n }", "title": "" }, { "docid": "6febc155add64a60d68fedbfcc06500f", "score": "0.47549754", "text": "private int findNumberOfChar(char g) {\n\t\tint numberOfCount = 0;\n\t\t// This takes the new patterns.\n\t\tfor (int i = 0; i < pattern.length(); i++) {\n\t\t\tif (pattern.charAt(i) == g) {\n\t\t\t\tnumberOfCount++;\n\t\t\t}\n\t\t}\n\t\tif (numberOfCount >= 1) {\n\t\t\tmax++;\n\t\t}\n\t\treturn numberOfCount;\n\t}", "title": "" }, { "docid": "b86d6d06923b9875ffe5bba0876f0911", "score": "0.47394294", "text": "public char FirstAppearingOnce()\n {\n if (list.size()==0) return '#';\n return list.get(0);\n }", "title": "" }, { "docid": "82d0b42b4d411860fbf93422b8178aab", "score": "0.47209153", "text": "public static String compressBad(String str) {\n\t\tString mystr = \"\";\n\t\tchar last = str.charAt(0);\n\t\tint count = 1;\n\t\tfor (int i = 1; i < str.length(); i++) {\n\t\t\tif (str.charAt(i) == last) { // Found repeat char\n\t\t\t\tcount++;\n\t\t\t} else { // Insert char count, and update last char\n\t\t\t\tmystr += last + \"\" + count;\n\t\t\t\tlast = str.charAt(i);\n\t\t\t\tcount = 1;\n\t\t\t}\n\t\t}\n\t\treturn mystr + last + count;\n\n\t}", "title": "" }, { "docid": "14945ef5187e6b5567dbcf86ff0d0d22", "score": "0.47043148", "text": "public static void main(String[] args) {\n Scanner s=new Scanner(System.in);\n String S=s.next();\n StringBuilder sb=new StringBuilder();\n\n for(int i=0;i<S.length()-1;i++){\n \t if(S.charAt(i)!=S.charAt(i+1)){\n \t\t sb.append(S.charAt(i));\n \t\t System.out.println(sb);\n \t }\n }\n sb.append(S.charAt(S.length()-1));\n System.out.println(sb);\n \n for(int j=0;j<sb.length();j++){\n \t int count=0;\n \t for(int k=0;k<S.length();k++){\n \t\t if(S.charAt(k)==sb.charAt(j)){\n \t\t\t count++;\n \t\t\t if(count==1){\n \t\t\t\t \n \t\t\t }else{\n \t\t\t\t sb.insert(j+1, count); \n \t\t\t }\n \t\t\t \n \t\t }\n \t\t \n \t }\n \t \n\t\t System.out.println(sb);\n }\n\t}", "title": "" }, { "docid": "5d309a26808a603fc569aa802013794d", "score": "0.4699603", "text": "static void findDuplicateCharacters(String str) {\n \tHashMap<Character, Integer> hm = new HashMap<>();\n \t\n \tfor(int i = 0; i < str.length(); i++) {\n \t\tCharacter ch = str.charAt(i);\n \t\t\n \t if(hm.get(ch)!=null) {\n \t\t hm.put(ch, hm.get(ch)+1);\n \t }\n \t else\n \t\t hm.put(ch, 1);\n \t\t\n \t\t }\n \tSystem.out.println(hm);\n \t\n \tIterator <Character> tempChar= hm.keySet().iterator();\n \t while(tempChar.hasNext()) {\n \t\t Character c = tempChar.next();\n \t\t if(hm.get(c) > 1) {\n \t\t\t System.out.println(c + \" = \" + hm.get(c));\n \t\t }\n \t }\n \n\t\t\n\t\t}", "title": "" }, { "docid": "1b2d4581c57885260f8db9ca0d0c299a", "score": "0.46823403", "text": "private static void compressBad1(String str) {\n char[] chars = str.toCharArray();\n StringBuffer sb = new StringBuffer();\n int num = 1;\n System.out.println(chars.length);\n for (int i = 1; i < chars.length; i++) {\n if (chars[i - 1] == chars[i]) {\n num++;\n } else {\n if (num == 1) {\n sb.append(chars[i - 1]);\n } else {\n sb.append(chars[i - 1]).append(num);\n }\n num = 1;\n }\n\n }\n if (num == 1) {\n sb.append(chars[chars.length - 1]);\n } else {\n sb.append(chars[chars.length - 1]).append(num);\n }\n\n System.out.println(sb.toString());\n }", "title": "" }, { "docid": "db788a2cdaad20b924d0f6df561739b8", "score": "0.4675328", "text": "public static void countDupl(String str){\n\n String checked = \"\";\n ArrayList<String> words = new ArrayList<>(Arrays.asList(str.split(\" \")));\n for(String each: words) {\n\n if (!checked.contains(each)) {\n int frequencyOfEach = Collections.frequency(words, each);\n\n checked += each + frequencyOfEach;\n }\n }\n System.out.println(checked);\n }", "title": "" }, { "docid": "5127d5444095d0f8ad956149e848c052", "score": "0.46743962", "text": "public static String removeConsecutiveDuplicates(String s) {\n\t\tString ans=\"\"+s.charAt(0);\n //System.out.println(ans);\n return remove(s.substring(1),ans);\n \n \n\t}", "title": "" }, { "docid": "3086fdeafa98609265b867edf4de09b4", "score": "0.46566084", "text": "private static Character returnFirstNonRepeatedCharacter(String s) {\n\t\tHashMap<Character,Integer> t = new HashMap<Character,Integer>();\n\t\tCharacter c;\n\t\tInteger count;\n\t\tfor(int i=0; i<s.length();i++){\n\t\t\tc = s.charAt(i);\n\t\t\tcount = t.get(c);\n\t\t\tif(count!=null){\n\t\t\t\tt.put(c, count+1);\n\t\t\t}else{\n\t\t\t\tt.put(c, 1);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<s.length(); i++){\n\t\t\tc = s.charAt(i);\n\t\t\tif(t.get(c) == 1){\n\t\t\t\treturn c;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "22d8cba44772108cf535a593cae80d58", "score": "0.46536952", "text": "public static int duplicateCount(String text) {\n int count = 0;\n\n String[] array = text.toLowerCase().split(\"\");\n StringBuffer sb = new StringBuffer();\n\n for(int i = 0; i < array.length; i++){\n for(int j = i+1; j < array.length; j++){\n if(array[i].equals(array[j])){\n count++;\n }\n }\n }\n return count;\n }", "title": "" }, { "docid": "00c72a87a5e10daea6eab468a58a0360", "score": "0.4647905", "text": "public static void findDuplicate (String input)\n {\n input = input.toLowerCase();\n\n int count ;\n\n String[] words = input.split(\" \");\n\n for (int i = 0 ; i < words.length;i++)\n {\n count = 1 ;\n for(int j = i +1 ; j < words.length;j++)\n {\n if(words[i].equals(words[j]))\n {\n count++;\n words[j] = \"0\";\n }\n }\n\n if(count > 1 && words[i] != \"0\")\n {\n System.out.println(words[i]);\n }\n }\n }", "title": "" }, { "docid": "9061ac1dd227c93cfebc1d9fe1449210", "score": "0.46463737", "text": "public String compress(String s){\n\t\tjava.lang.StringBuilder sb = new java.lang.StringBuilder();\n\t\tchar prev = s.charAt(0);\n\t\tchar curr = s.charAt(0);\n\t\tint count = 0;\n\t\tfor (int i=0; i<s.length(); i++){\n\t\t\tcurr = s.charAt(i);\n\t\t\tif (curr != prev){\n\t\t\t\tsb.append(prev);\n\t\t\t\tsb.append(count);\n\t\t\t\tprev = curr;\n\t\t\t\tcount = 1;\n\t\t\t} else {\n\t\t\t\tcount += 1;\n\t\t\t}\n\t\t}\n\t\tsb.append(prev);\n\t\tsb.append(count);\n\t\treturn sb.toString().length() < s.length() ? sb.toString() : s;\n\t}", "title": "" }, { "docid": "a55c345f80322665608d2a9a55d2a0b2", "score": "0.46434963", "text": "char FirstAppearingOnce()\r\n {\r\n char ch = '\\0';\r\n int minIndex = Integer.MAX_VALUE;\r\n for(int i=0;i<256;i++){\r\n if(occurence[i] >=0 && occurence[i]<minIndex){//找到只出现1次且值最小的,因为occurence存的是index表示字符的顺序\r\n ch = (char)i;\r\n minIndex = occurence[i];//该值出现的顺序\r\n }\r\n }\r\n if(ch == '\\0')\r\n return '#';\r\n return ch;\r\n }", "title": "" }, { "docid": "fa7497b49165430b8e545146ee93b6f5", "score": "0.46306926", "text": "static String bezDuplih(String rec) {\n\t\tboolean dupli = false;\r\n\t\tString konacni = \"\";\r\n\t\tfor (int i =0; i<rec.length(); i++) {\r\n\t\t\tdupli = false;\r\n\t\t\tfor (int j=i+1; j<rec.length(); j++) {\r\n\t\t\t\tif (rec.charAt(i) == rec.charAt(j)) {\r\n\t\t\t\t\tdupli = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (!dupli) {\r\n\t\t\t\tkonacni += rec.charAt(i);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn konacni;\r\n\t}", "title": "" }, { "docid": "bdbb8019c92f8c8d4296a6888e9701a9", "score": "0.46195385", "text": "private static void printOccurencesChars(String s) {\n\n\t\tint[] count = new int[256];\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tcount[i] = 0;\n\t\t}\n\t\tchar[] c = s.toCharArray();\n\t\tint charVal = -1;\n\t\tfor (int i = 0; i < c.length; i++) {\n\t\t\tcharVal = (int) c[i];\n\t\t\tcount[charVal]++;\n\t\t}\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint charCount = -1;\n\t\tfor (int i = 0; i < count.length; i++) {\n\t\t\tcharCount = count[i];\n\t\t\tif (charCount > 0) {\n\t\t\t\tsb.append((char)i + \"\" + charCount);\n\t\t\t}\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(sb.toString());\n\t}", "title": "" }, { "docid": "1278b45d690bb76ec3df30ba14721775", "score": "0.4613215", "text": "public static char FirstAppearingOnce()\n {\n char[] ch = s.toCharArray();\n for (int i = 0; i < ch.length ; i++) {\n if (chars[ch[i]]==1){\n return ch[i];\n }\n }\n return '#';\n }", "title": "" }, { "docid": "f9c19607a8b47f39fd90b9a0b5e080eb", "score": "0.45977235", "text": "void insert(String c) {\r\n\t\t\tmap.put(c, map.getOrDefault(c, 0) + 1);\r\n\t\t\tcount++;\r\n\t\t}", "title": "" }, { "docid": "dceed0532451d87fd70eb987ecfdb11f", "score": "0.45925263", "text": "public static String addStars(String str) {\n // Write your code here\n if (str.length() <= 1)\n return str;\n\n if (str.charAt(0) == str.charAt(1))\n return str.charAt(0) + \"*\" + addStars(str.substring(1)); // because overlap, eg: \"aaa\" => \"a*a*a\"\n\n return str.charAt(0) + addStars(str.substring(1));\n }", "title": "" }, { "docid": "1a5c1abcf77d133b426bcd6f187c9c53", "score": "0.45905656", "text": "static void checkNonRepeatingCharacter(String source) {\r\n\t\tLinkedHashMap<Character, Integer> stringInfo = new LinkedHashMap<>();\r\n\r\n\t\tchar[] sourceArray = source.toCharArray();\r\n\t\tInteger currValue = 0;\r\n\r\n\t\tfor (char current : sourceArray) {\r\n\r\n\t\t\tcurrValue = stringInfo.get(current);\r\n\r\n\t\t\tif (null == currValue) {\r\n\t\t\t\tcurrValue = 0;\r\n\t\t\t}\r\n\t\t\tstringInfo.put(current, currValue + 1);\r\n\t\t}\r\n\r\n\t\tfor (Map.Entry<Character, Integer> currentEntry : stringInfo.entrySet()) {\r\n\r\n\t\t\tif (currentEntry.getValue() == 1) {\r\n\t\t\t\tSystem.out.println(\"First non repeating character is: \" + currentEntry.getKey());\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "da623f311d4d1e334f4854bc515bedfa", "score": "0.45835897", "text": "public char FirstAppearingOnce()\n {\n char chars ='#';\n for (char key:list) {\n if(map.get(key)==1){\n chars=key;\n break;\n }\n }\n return chars;\n }", "title": "" }, { "docid": "c9020161385d3ad8584d31dd65caeaa2", "score": "0.45745775", "text": "private static void addYCoordinates(StringBuilder temp, String board) {\n int p = 0;\n int a = 0;\n int r = 1;\n temp.append(\"\\n\");\n for (String row : board.split(SPLIT_VALUE)) {\n temp.append(\" \");\n if (p == 5 || a == 8) {\n temp.append(\" \").append(r).append(\" \");\n a = 0;\n r++;\n } else {\n temp.append(\" \".repeat(3)); // <--- TEST_\n if (p > 4) a++;\n }\n p++;\n temp.append(row).append(\"\\n\");\n }\n }", "title": "" }, { "docid": "0c855b11224f831288dcaf754e951ede", "score": "0.45724684", "text": "private static void unigram(String lines) {\n\t\n\t\tint[] uni = new int[26];\n\t\t\n\t\t//uni[0] = (int) lines.chars().filter(ch -> ch =='a').count();\n\t\t\n\t\t for(int i=0;i<lines.length();i++)\n\t\t {\n\t\t // charAt function returns the char value at the specified index.\n\t\t uni[lines.charAt(i)-'a']++;\n\t\t }\n\t\t\n\t\tint maxR = Arrays.stream(uni).max().getAsInt();\n\n\t\tint chart = 0;\n\t\tfor(int i=0 ; i <26;i++) {\n\t\t\tif(uni[i] == maxR) {\n\t\t\t\tchart = i;\n\t\t\t\tSystem.out.println(i + \"So char is -> \" + (char)(i+'a'));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\n\n\t\t}\n\t}", "title": "" }, { "docid": "87481af0cbcce6de66e7004855790625", "score": "0.45721105", "text": "public int compress(char[] chars) {\n char cur = chars[0];\n int j = 1, count = 1;\n for (int i = 1; i < chars.length; i++) {\n if (chars[i] == cur) {\n count++;\n } else {\n if (count > 1) {\n for (char digit : String.valueOf(count).toCharArray()) {\n chars[j++] = digit;\n }\n count = 1;\n }\n chars[j++] = chars[i];\n cur = chars[i];\n }\n }\n if (count > 1) {\n for (char digit : String.valueOf(count).toCharArray()) {\n chars[j++] = digit;\n }\n }\n return j;\n }", "title": "" }, { "docid": "737184c0785e2c94bed78d72dfdbac1f", "score": "0.4564939", "text": "private void alterCount(char[][] state, int[] counts, char token, int row, int column) {\r\n if (state[row][column] == token && state[row][column] != '.')\r\n counts[0]++;\r\n else if (state[row][column] != '.')\r\n counts[1]++;\r\n }", "title": "" }, { "docid": "9609326e3f2b16b743fe67b540b17609", "score": "0.45633358", "text": "public static void main(String[] args) {\n\t\tString test = \"hello world\";\n\t\tMap<Character, Integer> countTxt = new HashMap<Character, Integer>();\n\t\tfor(int i=0;i < test.length();i++){\n\t\t/*\tif(countTxt.containsKey(test.charAt(i))){\n\t\t\t\t\n\t\t\t\tcountTxt.put(test.charAt(i), (countTxt.get(test.charAt(i)))+1);\n\t\t\t\n\t\t\t}else{\n\t\t\t\n\t\t\t\tcountTxt.put((test.charAt(i)==' '?'_':test.charAt(i)), 1);\t\n\t\t\t}\t*/\n\t\t\t\n\t\t\tcountTxt.put(test.charAt(i), countTxt.containsKey(test.charAt(i))?countTxt.get(test.charAt(i))+1:1 );\n\t\t}\n\t\tSystem.out.println(countTxt);\n\t}", "title": "" }, { "docid": "d8323ec834de0f15c165f4000d12d39e", "score": "0.45594287", "text": "static long repeatedString(String s, long n) {\n \tlong repeats = n/s.length();\n \tlong leftletters = n%s.length();\n \tlong count = s.chars().filter(ch -> ch == 'a').count();\n \tcount = count * repeats;\n \tcount += s.substring(0, (int)leftletters).chars().filter(ch -> ch == 'a').count(); \t\n\t\treturn count;\n\t}", "title": "" }, { "docid": "4ae2bd7e2c29eff8ce33f425fa9f6033", "score": "0.45499578", "text": "public static int count(String s, char a)\r\n {\r\n int place = 0;\r\n //base case is when length of the string is 0\r\n if(s.length() == 0)\r\n return place;\r\n //if the character a and and character at 0 of s is same, then increment place\r\n if(s.charAt(0) == a)\r\n {\r\n place++;\r\n }\r\n //updating the s recursively so it sends one less character than the original\r\n s = s.substring(1);\r\n return place + count(s,a);\r\n }", "title": "" }, { "docid": "363a5b9df98befef4ee5b7c31d683ab6", "score": "0.4549362", "text": "private String addCommas(String s) {\n HashMap<String, Integer>map=new HashMap<>();\n StringBuilder sb=new StringBuilder();\n String[] split = s.split(\" \");\n for (String str:split){\n String words = str.replaceAll(\" \", \"\");\n map.put(words,map.getOrDefault(words,0)+1);\n }\n for (int i=0;i<split.length;i++){\n if(map.get(split[i])==1){\n sb.append(split[i]+\" \");\n }\n if(map.get(split[i].replaceAll(\"[^a-zA-Z0-9]\", \"\"))>1){\n String substring = s.substring(0, s.lastIndexOf(split[i])+split[i].length());\n String[] s1 = substring.split(\" \");\n for (int j=0;j<s1.length;j++){\n if(s1[j].contains(\",\") && s1[j+1].equals(split[i])){\n sb.append(s1[j+1]+\" \"+\",\");\n }else if(s1[j].contains(\",\") && s1[j-1].equals(split[i])){\n sb.append(\" \"+\",\"+s1[j+1]);\n }\n }\n sb.append(split[i]);\n }\n }\n return sb.toString();\n }", "title": "" }, { "docid": "f2a625d9a4af1a8712bdd8163636c3a3", "score": "0.4526752", "text": "void incrementCharsInLinksCount(int delta);", "title": "" }, { "docid": "c300d9291fa94907aeb0b8aa39059f4d", "score": "0.45224527", "text": "public static String removeDuplicatesandSpaces(String str) {\n\n\t\tHashMap<Character, Integer> map = new HashMap<Character, Integer>();\n\t\tfor (char c : str.toCharArray())\n\t\t\tmap.put(c, map.getOrDefault(c, 0) + 1);\n\t\tfor (char c : map.keySet()) {\n\t\t\tif (map.get(c) > 1) {\n\t\t\t\tstr = str.replace(c, ' ');\n\t\t\t}\n\t\t}\n\t\tstr = str.replaceAll(\" \", \"\");\n\t\treturn str;\n\t}", "title": "" }, { "docid": "4c1bcb890821ada435d67f7bac314359", "score": "0.45222205", "text": "private void countOccurrences(ArrayList<String> terms) {\n for (String term : terms) {\n for (int i = 0; i < term.length() - 1; ++i) {\n String singleLetter = term.substring(i, i + 1);\n String doubleLetter = term.substring(i, i + 2);\n int singleCount = occurrences.getOrDefault(singleLetter, 0);\n int doubleCount = occurrences.getOrDefault(doubleLetter, 0);\n if (singleCount == 0) { // Found a new single letter\n ++alphabetSize;\n }\n occurrences.put(singleLetter, singleCount + 1);\n occurrences.put(doubleLetter, doubleCount + 1);\n }\n\n // Now take care of the last letter;\n String lastLetter = term.substring(term.length() - 1);\n int lastCount = occurrences.getOrDefault(lastLetter, 0);\n occurrences.put(lastLetter, lastCount + 1);\n }\n }", "title": "" }, { "docid": "971ab788a976a8832fabb103c7ae7dde", "score": "0.45213032", "text": "static String compress(String s){\n if(s == null || s.length()<2){\n return s;\n }\n char[] arr = s.toCharArray();\n char current = arr[0];\n int count = 1;\n StringBuilder sb = new StringBuilder();\n for(int i =1;i<arr.length;i++){\n if(arr[i] == current)\n count++;\n else{\n sb.append(current+\"\"+count);//notice add \"\", otherwise will be number\n current = arr[i];\n count = 1;\n }\n }\n sb.append(current+\"\"+count);\n\n return sb.length()<s.length()?sb.toString():s;\n }", "title": "" }, { "docid": "a3db8aee594e2776f6de5975ce365487", "score": "0.45169634", "text": "public static String generateLine(String lastWord, int desiredLetterCount) {\n\t\tif(lyricMap == null) {\n\t\t\tthrow new NullPointerException(\"You forgot to set RCLineGenerator's lyric map\");\n\t\t}\n\t\t\n\t\tString result = lastWord;\t\n\t\t\n\t\twhile(lyricMap.hasPreviousWord(lastWord)) {\n\t\t\tString newWord = lyricMap.getRandomPreviousWord(lastWord);\n\t\t\tif(newWord.replaceAll(\"\\\\p{Punct}\", \"\").toLowerCase().equals(\"i\") || newWord.toLowerCase().startsWith(\"i'\"))\n\t\t\t\tnewWord = \"I\" + newWord.substring(1);\n\t\t\t\n\t\t\t\n\t\t\tString tempWord = newWord + \" \" + result;\n\t\t\t\n\t\t\tif(countLetter(tempWord) < desiredLetterCount){\n\t\t\t\tresult = tempWord;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(Math.abs(countLetter(tempWord) - desiredLetterCount) < Math.abs(countLetter(result) - desiredLetterCount))\n\t\t\t\t\tresult = tempWord;\n\t\t\t\tbreak;\n\t\t\t}\n\t\n\t\t\tlastWord = newWord;\n\t\t}\n\t\t\n\t\t\n\t\treturn result.substring(0,1).toUpperCase() + result.substring(1);\n\t}", "title": "" }, { "docid": "be17c63dc0161728c9abd365dbbbbc66", "score": "0.4516931", "text": "public Integer getUniqueChars() {\r\n Set<Character> uChars = new HashSet<Character>();\r\n //Iterate each line\r\n for (char[] line : image) {\r\n //Foreach each single Char\r\n for (char c : line) uChars.add(c); //Add/Replace each char in image\r\n }\r\n return uChars.size(); //return count of elements\r\n }", "title": "" }, { "docid": "ab61f49a84c1bacb0c38281aab8e40e9", "score": "0.45135993", "text": "public String mark(char letter) {\r\n// String s2 = text.replace(letter, '#');\r\n// return s2;\r\n return text.replace(letter, '#');\r\n }", "title": "" }, { "docid": "f58360fd72bc27f57f76f34394a3e780", "score": "0.4496741", "text": "public String removeDuplicates(String s, int k) {\n Stack<Node> st = new Stack<>();\n\n for (char c : s.toCharArray()) {\n if (!st.isEmpty() && st.peek().c == c) st.peek().count++;\n else st.push(new Node(c, 1));\n if (st.peek().count == k) st.pop();\n }\n StringBuilder sb = new StringBuilder();\n for (Node node : st) sb.append(String.valueOf(node.c).repeat(node.count));\n return sb.toString();\n }", "title": "" }, { "docid": "f3a73240fb5827d133c057378c7a62c1", "score": "0.44908524", "text": "public static void main(String[] args) {\n\n\t\tString s=\"rrrruffxcfvhhvf\";\n\t\n\t\tfor (int i = 0; i <=s.length()-1; i++) {\n\t\t\tint counter=1;\n\t\t\tfor (int j = i+1; j <=s.length()-1; j++) {\n\t\t\t\t\n\t\t\t\t\n\t\t\tif(s.charAt(i)==s.charAt(j))\n\t\t\t{\n\t\t\t\tcounter++;\n\t\t\t\t//System.out.println(s.charAt(i));\n\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\t//System.out.println(s.charAt(i)+\"--->\"+counter);\n\t\t\t\n\t\t\tif(j==s.length()-1){\n\t\t\t\tSystem.out.println(s.charAt(i)+\"--->\"+counter);\n\t\t\t \n\t\t\t for (int k = i+1; k < s.length()-1; k++) {\n\t\t\t\t\n\t\t\t\n\t\t\t\tif(s.charAt(i)==s.charAt(k))\n\t\t\t {\n\t\t\t\t i++;\n\t\t\t }\n\t\t\t\n\t\t\t}\n\t\t\t}//System.out.print(s.charAt(i));\n\t\t}\n\t\n\t}\n\t\t}", "title": "" }, { "docid": "00c0026a6132b7955c1ea2ca66a8ddf2", "score": "0.4488249", "text": "public int countPlus() {\n\t\tint count = 0;\n\t\tfor(int i = 1; i < grid.length -1; i++) {\n\t\t\tfor(int j = 1; j < grid[0].length - 1; j++) {\n\t\t\t\tif(grid[i][j] != ' ' && ifPlus(i, j)) count++;\n\t\t\t}\n\t\t}\n\t\treturn count; \n\t}", "title": "" }, { "docid": "90910ba8394b456eee14978f8fcb0acd", "score": "0.4481135", "text": "protected String getNextAlias() {\n\t\tcounter++;\n\t\treturn prefix + counter;\n\t}", "title": "" }, { "docid": "cfcf338baee43e3879ad70d77c5230c7", "score": "0.44774467", "text": "public static void main(String[] args) {\nString s=\"turewrfgegfyw ergfgyrtwe wrecwdvsgfdurwetrehfccvmnz\";\nchar[] ch=s.toCharArray();\nint k=0;\nfor(int i=0;i<ch.length;i++)\n{\n\tk=1;\n\tfor(int j=i+1;j<ch.length;j++)\n\t{\n\t\tif(ch[i]==ch[j] & ch[i]!=' ')\n\t\t{\n\t\t\tk++;\n\t\t\tch[j]='0';\n\t\t}\n\t}\n\tif(ch[i]!=' ' & ch[i]!='0')\n\t\tSystem.out.println(ch[i]+\"--\"+k);\n}\n\t}", "title": "" }, { "docid": "8d0d79c997771b63b3585c0117d217f1", "score": "0.44674116", "text": "public int firstUniqChar(String s) {\n Map<Character, Integer> map = new LinkedHashMap();\n // store visited character\n Set<Character> set = new HashSet();\n // character index\n int index = 0;\n for(char c : s.toCharArray()){\n if(set.contains(c)){\n map.remove(c);\n }else{\n map.put(c, index);\n set.add(c);\n }\n index++;\n }\n if(map.isEmpty()) return -1;\n Map.Entry<Character, Integer> pair = map.entrySet().iterator().next();\n return pair.getValue();\n }", "title": "" }, { "docid": "d4e13728d6f39fe2e55cebe57ae11ff6", "score": "0.445073", "text": "int getNumSymbols();", "title": "" }, { "docid": "c24479bed3b63067607e3d6c8677a157", "score": "0.44379187", "text": "static long substrCount(int n, String s){\nList<Letter> let = getListOfLetter(s);\n long res=0;\n for(int i=0;i<let.size();i++){\n int repeat = let.get(i).repeat;\n res+= repeat * (repeat+1)/2;\n \n if(i>0 && i<let.size()-1){\n if(let.get(i-1).ch == let.get(i+1).ch && let.get(i).repeat==1){\n res+=Math.min(let.get(i-1).repeat, let.get(i+1).repeat);\n }\n }\n }\n\n \n return res;\n\n }", "title": "" }, { "docid": "da10bc4608c6dfe98e5cd9744f294105", "score": "0.44373056", "text": "static long repeatedString(String s, long n) {\n long q = n / s.length();\n long r = n % s.length();\n int x1 = 0, x2 = 0;\n String[] s1 = s.split(\"\");\n for (String x : s1) {\n if (x.equals(\"a\")) {\n x1++;\n }\n }\n\n x1 = x1 * (int) q;\n\n for (int i = 0; i < r; i++) {\n if (s1[i].equals(\"a\")) {\n x2++;\n }\n }\n return (x1 + x2);\n }", "title": "" }, { "docid": "cacbd5b95d230b70fc31305af744b733", "score": "0.4426377", "text": "public void withoutusingiteration() {\n\t\tString replacedname=givenname.replace(\"k\", \"\");\r\n\t\t//finding the length of replaced name\r\n\t\tint replacenamelength=replacedname.length();\r\n\t\t//calculating the occurrence with length difference \r\n\t\toccurrence= givennamelength-replacenamelength;\r\n\t\tSystem.out.println(tofind + \" character is found for: \"+ occurrence);\r\n\t}", "title": "" }, { "docid": "444aa8babdbe182e368d458faa7e2c18", "score": "0.44242108", "text": "public static String countAndSay(int n) {\n String result = \"1\";\r\n \r\n \r\n if (n <= 0) return null;\r\n \r\n \r\n for(int j =n-1; j>0; j--) {\r\n \r\n String cur = \"\";\r\n for (int i = 0; i < result.length(); i++) {\r\n int count = 1;\r\n while ((i + 1 < result.length()) && (result.charAt(i) == result.charAt(i + 1))){\r\n count++; \r\n i++;\r\n }\r\n cur+= count+ \"\" + result.charAt(i);\r\n }\r\n result= cur;\r\n }\r\n return result;\r\n \r\n \r\n }", "title": "" }, { "docid": "bb1994181d6b05997250227da83b2c30", "score": "0.44127855", "text": "public String countOfAtoms2(String formula) {\n Stack<Map<String, Integer> > stack = new Stack<>();\n stack.push(new TreeMap<>());\n char[] cs = formula.toCharArray();\n for (int i = 0, n = formula.length(); i < n; ) {\n if (cs[i] == '(') {\n stack.push(new HashMap<>());\n i++;\n } else if (cs[i] == ')') {\n Map<String, Integer> top = stack.pop();\n int j = ++i;\n int count = 1;\n for (; i < n && Character.isDigit(cs[i]); i++) {}\n if (i > j) {\n count = Integer.parseInt(formula.substring(j, i));\n }\n Map<String, Integer> prevMap = stack.peek();\n for (String e : top.keySet()) {\n prevMap.put(e, prevMap.getOrDefault(e, 0) + top.get(e) * count);\n }\n } else {\n int j = i++;\n for (; i < n && Character.isLowerCase(cs[i]); i++) {}\n String e = formula.substring(j, i);\n j = i;\n for (; i < n && Character.isDigit(cs[i]); i++) {}\n int count = i > j ? Integer.parseInt(formula.substring(j, i)) : 1;\n stack.peek().put(e, stack.peek().getOrDefault(e, 0) + count);\n }\n }\n return convert(stack.peek());\n }", "title": "" }, { "docid": "804420c24d185b1aa62e50bb9747dad2", "score": "0.44093996", "text": "public static String removeDuplicates_stk_tp(String s, int k) {\n Stack<Integer> cntStk = new Stack<>();\n int len = s.length();\n char[] array = s.toCharArray();\n int j = 0;\n for (int i = 0; i < len; i++, j++) {\n array[j] = array[i];\n if (j == 0 || array[j] != array[j - 1]) {\n cntStk.push(1);\n } else {\n int count = cntStk.pop() + 1;\n if (count == k) {\n j -= k;\n } else {\n cntStk.push(count);\n }\n }\n }\n\n return new String(array, 0, j);\n }", "title": "" }, { "docid": "a36bb1ac3000fb828ca4695ba89bedb9", "score": "0.44017866", "text": "private static void duplicateNumbers(int n) {\n\t\t\n\t\t\n\t\tString str = Integer.toString(n);\n\t\tchar[] tab = str.toCharArray();\n\t\t//int longueur = str.length();\n\t\tHashMap<Character,Integer> hm = new HashMap<>();\n\t\t\t\n\t\tfor (char c:tab) {\n\n\t\t\tif (hm.get(c)!=null) {\n\t\t\t\thm.put(c, hm.get(c)+1);\n\t\t\t} else {\n\t\t\t\thm.put(c, 1);\n\t\t\t}\n\t\t\t//System.out.println(c+\" \"+hm.get(c));\n\t\t}\n\t\t\n\t\n\t\t for (char key : hm.keySet()) { \n\t\t\t if (hm.get(key)>1) \n\t\t\t\t System.out.println(\"Le chiffre '\" + key +\n\t\t \"' apparait: \" + hm.get(key) + \" fois\"); }\n\n\t}", "title": "" }, { "docid": "22cbd5ffd4eabe576b065a2c90c1f376", "score": "0.4395323", "text": "public int firstUniqChar(String s) {\n Map<Character, Integer> map = new HashMap<>();\n for (char c: s.toCharArray()) {\n int count = map.getOrDefault(c, 0);\n map.put(c, count + 1);\n }\n int i = 0;\n for (; i < s.length(); i++) {\n if (map.get(s.charAt(i)) == 1)\n return i;\n }\n return -1;\n }", "title": "" }, { "docid": "ced5f316e3c4b6f88d7d1d2fd9ff53e3", "score": "0.43915573", "text": "public int characterReplacement(String s, int k) {\r\n int[] count = new int[26];\r\n int start = 0, maxCount = 0, res = 0;\r\n // find max length string ends at index end\r\n for (int end = 0; end < s.length(); end++) {\r\n maxCount = Math.max(maxCount, ++count[s.charAt(end) - 'A']);\r\n if (end - start + 1 - maxCount > k) {\r\n // can't make it same with k replaces, discard start\r\n count[s.charAt(start) - 'A']--;\r\n start++;\r\n // don't need to decrease maxCount\r\n }\r\n res = Math.max(res, end - start + 1);\r\n }\r\n return res;\r\n }", "title": "" }, { "docid": "5c7fe5966e7e310e635b1922afb35119", "score": "0.43814066", "text": "public void insertUniqueLabel(){\r\n\t\tfor(int i=0;i<storedIndices.size();i++) {\r\n\t\t\tformatedCode.set(storedIndices.get(i), Driver.globalCounter.toString());\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "365ee2478fe9972405ddc5bfa37a6012", "score": "0.43807086", "text": "@Test\n\tpublic void firstNonRepeating() {\n\t\tString s = \"geeksforgeeks\";\n\t\tchar[] chars1 = new char[s.length()];\n\t\ts.getChars(0, s.length(), chars1, 0);\n\t\tMap<String, Integer> map1 = new LinkedHashMap<>();\n\t\tfor (char s1 : chars1) {\n\t\t\tint count = 1;\n\t\t\tif (!map1.containsKey(String.valueOf(s1))) {\n\t\t\t\tmap1.put(String.valueOf(s1), count);\n\t\t\t} else {\n\t\t\t\tcount = map1.get(String.valueOf(s1)) + 1;\n\t\t\t\tmap1.put(String.valueOf(s1), count);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(map1\n\t\t\t\t.entrySet()\n\t\t\t\t.stream()\n\t\t\t\t.filter(e -> Objects.equals(e.getValue(), 1))\n\t\t\t\t.findFirst()\n\t\t\t\t.map(Map.Entry::getKey));\n\n\n\t}", "title": "" }, { "docid": "0b661696dd0727c017894f66b3980bbf", "score": "0.43780616", "text": "private static void charAppeared(String inStr) {\n // int [] count = new int[maxChar];\n // int len = inStr.length();\n\n // for (int i = 0; i < len; i++) {\n\t\t// \tcount[inStr.charAt(i)]++;\n\t\t// }\n \n\t\t// char[] ch = new char[inStr.length()];\n\t\t// for (int i = 0; i < len; i++) {\n\t\t// \tch[i] = inStr.charAt(i);\n\t\t// \tint find = 0;\n\t\t// \tfor (int j = 0; j <= i; j++) {\n\t\t// \t\tif (inStr.charAt(i) == ch[j])\n\t\t// \t\t\tfind++;\n\t\t// \t}\n \n\t\t// \tif (find == 1) {\n\t\t// \t\tSystem.out.println(\"Number of Occurrence of \" + inStr.charAt(i) + \" letter is:\" + count[inStr.charAt(i)]);\n // }\n // }\n HashMap<String, Integer> counter = new HashMap();\n\t\tfor(char c : inStr.toCharArray()){\n\t\t\tString str = c+\"\";\n\t\t\tif(!counter.containsKey(str)){\n\t\t\t\tcounter.put(str, 1);\n\t\t\t}else{\n\t\t\t\tcounter.put(str, counter.get(str)+1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(counter);\n }", "title": "" }, { "docid": "2b228c4a84f89fe63f73313c9e786245", "score": "0.437669", "text": "public int firstUniqChar(String s) {\n int[] map = new int[256];\n \n for (int i = 0; i < s.length(); i++) {\n map[s.charAt(i)] += 1;\n }\n \n // scan again, and get the cur char value in map \n for (int i = 0; i < s.length(); i++) {\n if (map[s.charAt(i)] == 1) {\n return i;\n } \n }\n \n return -1;\n }", "title": "" }, { "docid": "eb7df6bbcfa25bcd1136d8c5d3b5e48f", "score": "0.43743706", "text": "public static String EveryXChar(String str, int x) {\n return \"\";\n }", "title": "" }, { "docid": "552fe8dc27aa5a84d65fde621b2e2b71", "score": "0.43743625", "text": "public static String compressString(String input) {\n /*\n Approach:\n - Maintain two variables: index of start of repeating characters and the character being repeated\n - idxStart and currentChar, respectively\n - Use a StringBuilder for efficient string building\n - Iterate through the whole string looking at every character.\n - Every new character (not matching currentChar) should result in currentChar and the # of times that\n character appears being appended to the string builder\n - The last iteration of the loop will not have the above step being done, so that should be done last\n */\n StringBuilder result = new StringBuilder();\n int start = 0;\n char current = '\\0'; // default null\n\n for (int i = 0; i < input.length(); ++i) {\n char c = input.charAt(i);\n if (c != current) {\n // append to result\n if (current != '\\0') {\n result.append(current);\n result.append(i - start);\n }\n start = i;\n current = c;\n }\n }\n\n // on final iteration, append the current character and its count to the result (only if current isn't null ptr)\n if (current != '\\0') {\n result.append(current);\n result.append(input.length() - start);\n }\n\n // If the result is longer than the original, return the original instead\n if (result.length() > input.length()) {\n return input;\n }\n\n return result.toString();\n }", "title": "" }, { "docid": "17f9e225cb33eae7544b03e80a080134", "score": "0.4353016", "text": "String maybeFlush(String text) throws IllegalArgumentException {\n //check if flushed already\n char lastChar = text.charAt(text.length() - 1);\n int equalsWordLengthIfUniq = text.indexOf(lastChar);\n boolean needsFlush = equalsWordLengthIfUniq < text.length() - 1;\n\n\n if (needsFlush) {\n //not yet flushed, add a uniq char to it\n return flush(text);\n } else {\n //already flushed leave the text alone\n flushChar = lastChar;\n //mark flushChar as a searchable char\n flushCharInText = true;\n if (Settings.LOG_SUFFIX_TREE_STEPS)\n Logger.println(text + \" already flushed with '\" + lastChar + \"'\\n\");\n return text;\n }\n }", "title": "" }, { "docid": "98bf120239b749d934b466dca6b7fcb7", "score": "0.4352195", "text": "public char solution(String s, String t) {\n Map<Character, Integer> sMap = new HashMap<>();\n Map<Character, Integer> tMap = new HashMap<>();\n char res = 0;\n for (int i = 0; i < s.length(); i++) {\n if (sMap.containsKey(s.charAt(i))) {\n int sTemp = sMap.get(s.charAt(i));\n sMap.put(s.charAt(i), sTemp+1);\n } else {\n sMap.put(s.charAt(i), 1);\n }\n if (tMap.containsKey(t.charAt(i))) {\n int sTemp = tMap.get(t.charAt(i));\n tMap.put(t.charAt(i), sTemp+1);\n } else {\n tMap.put(t.charAt(i), 1);\n }\n }\n\n if (tMap.containsKey(t.charAt(t.length() - 1))) {\n int sTemp = tMap.get(t.charAt(t.length() - 1));\n tMap.put(t.charAt(t.length() - 1), sTemp+1);\n } else {\n tMap.put(t.charAt(t.length() - 1), 1);\n }\n\n for (Map.Entry<Character, Integer> entry : tMap.entrySet()) {\n if (sMap.containsKey(entry.getKey()) && sMap.get(entry.getKey()).intValue() != entry.getValue()) {\n res = entry.getKey();\n break;\n }\n if (!sMap.containsKey(entry.getKey())) {\n res = entry.getKey();\n break;\n }\n }\n return res;\n }", "title": "" }, { "docid": "3ceceb1712df20f1948587a2e0a412b3", "score": "0.43503878", "text": "public static int firstUniqChar(String s) {\n\n HashMap<Character, Integer> map = new HashMap<Character, Integer>();\n char[] characters = s.toCharArray();\n for(int i=0; i<characters.length; i++){\n map.put(characters[i], map.getOrDefault(characters[i],0)+1);\n }\n for (int j=0; j<characters.length; j++){\n if(map.get(characters[j]) ==1){\n return s.indexOf(characters[j]);\n }\n }\n return -1;\n }", "title": "" }, { "docid": "01398c590dd55b21b5274232c13a719d", "score": "0.4350132", "text": "public static void main(String[] args) {\n\t\tString str = \"abcbsdaa1511wsaabc\";\r\n\t\tchar[] word = str.toCharArray();\r\n\t\tint i;\r\n\t\tint count;\r\n\t\tint j;\r\n\r\n\t\tfor (i = 0; i < word.length; i++) {\r\n\t\t\tcount = 1;\r\n\t\t\tfor (j = i + 1; j < word.length; j++) {\r\n\t\t\t\tif (word[i] == (word[j])) {\r\n\r\n\t\t\t\t\tcount = count + 1;\r\n\r\n\t\t\t\t\tword[j] = '0';\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t\tif (count > 1 && word[i] != '0') {\r\n\t\t\t\tSystem.out.println(word[i] + \" comes \" + count + \" times \");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "e7d001df1254c58032cd48d68ddb1c33", "score": "0.43501064", "text": "public int uniqueLetterString(String s) {\n if (s == null || s.length() == 0) {\n return 0;\n }\n\n int[] lastPositionContribution = new int[26];\n int[] contribution = new int[26];\n\n int res = 0;\n for (int i = 0; i < s.length(); i++) {\n char cur = s.charAt(i);\n\n //note the string only consists of uppercase letters\n contribution[cur - 'A'] = i + 1 - lastPositionContribution[cur - 'A'];\n //other letter's contribution actually unchanged, but it is easy to understand to iterate each letter and get the updated contribution value\n int current_contribution = 0;\n for (int j = 0; j < 26; j++) {\n current_contribution += contribution[j];\n }\n res += current_contribution;\n //at last update the last position contribution value in case the current letter shows up in the string again\n lastPositionContribution[cur - 'A'] = i + 1;\n }\n\n return res;\n }", "title": "" }, { "docid": "bae1314a561cc255a39af850997f5c8c", "score": "0.4337263", "text": "public void updateOccurrence(int index) \n\t{ \n\n\t\t// If first occurrence is set to something \n\t\t// other than -1 then it doesn't need updating \n\t\tif (firstOcc == -1) \n\t\t\tfirstOcc = index; \n\n\t\t// Last occurrence will be updated everytime \n\t\t// the character appears in the array \n\t\tlastOcc = index; \n\t}", "title": "" }, { "docid": "cb492c41d464b5a990abd87f8b2f62b9", "score": "0.43349865", "text": "public static void main(String[] args) {\n\n\t\tString s1=\"Helloworld\";\n\t\t//int counter=0;\n\t\tHashMap<Character,Integer> hm=new HashMap<>();\n\t\t\n\t\tfor(int i=0;i<s1.length();i++)\n\t\t{\n\t\t\tif(hm.containsKey(s1.charAt(i)))\n\t\t\t{\n\t\t\t\tint counter=hm.get(s1.charAt(i));\n\t\t\t\thm.put(s1.charAt(i), counter+1);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\thm.put(s1.charAt(i), 1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hm);\n\t\t\n\t}", "title": "" }, { "docid": "2e2fc0058ef64211bb57ff9d6aab3b6d", "score": "0.4326808", "text": "public static String stringy(String sym, int times) {\n if (times == 0) {\n return \"\";\n }\n else {\n return sym + stringy(sym, times - 1);\n }\n }", "title": "" }, { "docid": "43528c161e83a2ed32d0ec064094c0c5", "score": "0.43191224", "text": "public long dfsHelper(int remaingChar, char prevChar) {\n if (remaingChar == 0) {\n return 1;\n\n }\n String key = remaingChar + \"#\" + prevChar;\n if (map.containsKey(key)) {\n return map.get(key);\n }\n long total = 0;\n if (prevChar == 'a') {\n total = (dfsHelper(remaingChar - 1, 'e')) % MOD;\n } else if (prevChar == 'e') {\n total = (dfsHelper(remaingChar - 1, 'a') + dfsHelper(remaingChar - 1, 'i')) % MOD;\n\n } else if (prevChar == 'i') {\n total = (dfsHelper(remaingChar - 1, 'a') + dfsHelper(remaingChar - 1, 'e') + dfsHelper(remaingChar - 1, 'o')\n + dfsHelper(remaingChar - 1, 'u')) % MOD;\n } else if (prevChar == 'o') {\n total = (dfsHelper(remaingChar - 1, 'i') + dfsHelper(remaingChar - 1, 'u')) % MOD;\n\n } else if (prevChar == 'u') {\n total = (dfsHelper(remaingChar - 1, 'a')) % MOD;\n }\n map.put(key, total);\n return total;\n }", "title": "" }, { "docid": "ea283516af81902f3a1113cc9bd7291b", "score": "0.43182564", "text": "static long repeatedString(String s, long n) {\n long t = n/s.length();\n long r = n%s.length();\n long cnt = 0;\n int cnt_r = 0;\n char[] sArr = s.toCharArray();\n\n for(char c :sArr){\n if(c=='a') {\n cnt++;\n }\n }\n\n for (int i = 0; i < r; i++) {\n if(sArr[i]=='a'){\n cnt_r++;\n }\n\n }\n\n\n return cnt*t + cnt_r;\n }", "title": "" }, { "docid": "425c3720078fbe0450bd10f951ff5a15", "score": "0.43159804", "text": "public abstract int getUnknownLinesCnt();", "title": "" }, { "docid": "d29d3d5fb9b99de9e97aa40c66f71fc8", "score": "0.4311684", "text": "public static void helper(){\n Scanner input = new Scanner(System.in);\n\n System.out.println(\"Enter the string:\");\n\n String str = input.nextLine();\n str = str.toLowerCase();\n input.close();\n\n // Create a hash map to store the characters in the string.\n\n int[] hashMap = new int[128];\n for (int i = 0; i < str.length(); i++) {\n hashMap[str.charAt(i)] += 1;\n }\n\n // Display the characters that occur only once.\n\n for(int i = 0; i < 128; i++){\n if (hashMap[i] == 1) {\n System.out.println((char)i);\n }\n }\n\n }", "title": "" }, { "docid": "5be79d65f6a2186b5afeb8c38a9a5ea9", "score": "0.43098", "text": "private String repeatChar() {\n char[] data = new char[50];\n Arrays.fill(data, '=');\n return new String(data);\n }", "title": "" }, { "docid": "ea748bca88028fbfeb06a5c2c4fbfcdb", "score": "0.43028545", "text": "public int solution2(String s) {\n\t\tint ret = 0;\n\t\tboolean flag = false;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) != ' ')\n\t\t\t\tflag = true;\n\n\t\t\telse {\n\t\t\t\tif (flag == true) {\n\t\t\t\t\tret++;\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t\tif (s.length() != 0)\n\t\t\tif (s.charAt(s.length() - 1) != ' ')\n\t\t\t\tret++;\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "243840f3b82036c4c08cf949593d731f", "score": "0.43014026", "text": "public static void wordOccurence() {\r\n\t\tString s = \"This is a bad Practice , is IT bad ?\";\r\n\t\tString[] st = s.split(\" \");\r\n\t\tMap<String, Integer> ls = new HashMap<>();\r\n\t\tfor (String string : st) {\r\n\t\t\tif(ls.containsKey(string)) {\r\n\t\t\t\tInteger count = ls.get(string);\r\n\t\t\t\t//count++;\r\n\t\t\t\tls.put(string, ++count);\r\n\t\t\t}else {\r\n\t\t\t\tls.put(string, 1);\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(ls);\r\n\t}", "title": "" }, { "docid": "d50c5db6084e210ba156eb260d9e0833", "score": "0.4300831", "text": "private int countAnim(String xml, int carry) {\r\n\t\tint result = xml.lastIndexOf(patten1);\r\n\t\tif (result == -1)\r\n\t\t\tresult = xml.lastIndexOf(patten2);\r\n\t\tif (result != -1) {\r\n\t\t\tcarry++;\r\n\t\t\treturn countAnim(xml.substring(0, result), carry);\r\n\t\t} else\r\n\t\t\treturn carry;\r\n\t}", "title": "" }, { "docid": "e1e39ac45984ef23f163b7c4a3bf52cb", "score": "0.43007064", "text": "public static void main(String[] args) {\n\n\t\tString ss = \"GeeeEEKKKss\";\n\n\t\tchar[] ch = ss.toCharArray();\n\n\t\tMap<Character, Integer> charcount = new HashMap<Character, Integer>();\n\n\t\tfor (char ch1 : ch) {\n\n\t\t\tif (charcount.containsKey(ch1)) {\n\t\t\t\tcharcount.put(ch1, charcount.get(ch1) + 1);\n\t\t\t} else {\n\t\t\t\tcharcount.put(ch1, 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"Duplicate count is :\" + charcount);\n\t\t\n\t\t\n\t\tSystem.out.println(\"-----------------input A2B3-> AABBB------------------------------\");\n\t\t\n\t\tString st = \"G1e3E2K3s2\";\n\t\tString st1 = \"\";\n\t\tint l = 0;\n\t\tchar ar[] = st.toCharArray();\n\t\tchar c = '0';\n\t\tfor (int i = 0; i < ar.length; i++) {\n\t\t\tif (Character.isLetter(ar[i])) {\n\t\t\t\tc = ar[i];\n\t\t\t} else if (Character.isDigit(ar[i])) {\n\t\t\t\tl = Character.getNumericValue(ar[i]);\n\t\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\t\n\n\t}", "title": "" }, { "docid": "535acec01e85bdb0f7d60173804c023e", "score": "0.42990327", "text": "int indexOf(MyString line) {\n int len = charSequence.length;\n int k = 0;\n\n for (int i = 0; i < len; i++) {\n if (charSequence[i] != line.charSequence[0]) continue;\n for (int j = 0; j < line.charSequence.length; j++) {\n if (i + j < len && charSequence[i + j] == line.charSequence[j]) k++;\n else break;\n }\n if (k == line.charSequence.length) return i;\n else k = 0;\n }\n return -1;\n }", "title": "" } ]
a596735a1c87a88f1b7d99411bfc9840
This method was generated by MyBatis Generator. This method returns the value of the database column CULSITE.ES_ORDER.PAY_BILL_NO
[ { "docid": "216daeedde8ad503c63778f840aa1f14", "score": "0.6639792", "text": "public String getPayBillNo() {\r\n return payBillNo;\r\n }", "title": "" } ]
[ { "docid": "5d38c18a731ee3e0c589b0f849b88119", "score": "0.5983118", "text": "public String getPayNo() {\n return payNo;\n }", "title": "" }, { "docid": "10c068823c4be20a3827fbc860b7cc5b", "score": "0.5752862", "text": "public void setPayBillNo(String payBillNo) {\r\n this.payBillNo = payBillNo == null ? null : payBillNo.trim();\r\n }", "title": "" }, { "docid": "1f9d266326aa5b261edcb71658695571", "score": "0.56574875", "text": "public PaymentDTO payMent(Long num) {\n\t\treturn sqlSession.selectOne(\"OrderMapper.payMent\",num);\n\t}", "title": "" }, { "docid": "38daf3032e129f70e9a056b896def241", "score": "0.5397633", "text": "java.lang.String getPartnerOrderNo();", "title": "" }, { "docid": "16de95fa6d8c52a5141a3512abcdac0f", "score": "0.5272624", "text": "public void setPayNo(String payNo) {\n this.payNo = payNo == null ? null : payNo.trim();\n }", "title": "" }, { "docid": "6beb54fcaffffcb0309754003de66366", "score": "0.5266889", "text": "public com.ipcommerce.schemas.CWS.v2_0.Transactions.Bankcard.BillPayment getBillPayment() {\n return billPayment;\n }", "title": "" }, { "docid": "ba4dcdec16e1e4846a36a0fde994c88e", "score": "0.52332014", "text": "public Long getPaymentid()\n {\n return paymentid; \n }", "title": "" }, { "docid": "10802943e2a595a7104d9c22bc49d84b", "score": "0.5223944", "text": "public String getAccountNo() {\n\t\treturn (String) get_Value(\"AccountNo\");\n\t}", "title": "" }, { "docid": "99249d33ad7d219bbad266123b8bf82d", "score": "0.512663", "text": "public void invoiceNo()\n\t{\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\n\t\t\tcon=DriverManager.getConnection(\"jdbc:mysql://localhost:3306/MundheElectronics1\",\"root\",\"vishakha\");\n\t//\t\tJOptionPane.showMessageDialog(null,\"connected\");\n\t\t\tString sql=\"select max(Invoice_No) from CustomerData\";\n\t\t\tps=con.prepareStatement(sql);\n\t\t\trs=ps.executeQuery();\n\t\t\tif(rs.next())\n\t\t\t{\n\t\t\t\tString n=rs.getString(\"max(Invoice_No)\");\n\t\t\t\tint n1=Integer.parseInt(n);\n\t\t int n2=n1+1;\n\t//\t\t\tSystem.out.println(n);\n\t\t\t\ttxtInvoiceNo.setText(String.valueOf(n2));\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "37fd5aa9014947ff6d565563bf85a9aa", "score": "0.5117427", "text": "private Payment GetPayment(String paymentId) {\n setDataSource(getDataSource());\n return mJdbctemplate.queryForObject(getPaymentForId, new Object[] {paymentId}, new BeanPropertyRowMapper<Payment>(Payment.class));\n \n }", "title": "" }, { "docid": "30cb3da3eaf8c2f8da9adadbd492a028", "score": "0.5116311", "text": "public java.lang.String getInvoiceNumber(){\n \n return invoiceNo;\n \n }", "title": "" }, { "docid": "f0f89a3038b459ed9df3ac28a8e59ede", "score": "0.5109392", "text": "public String totalPay() {\n\t\treturn sqlSession.selectOne(\"admin.totalPay\");\r\n\t}", "title": "" }, { "docid": "7cf00fef7582ea49b87142b656a912bf", "score": "0.5102234", "text": "@Override\n\tpublic OrdersBean getPaymentinfo(OrdersBean orderBean) {\n\t\treturn sqlSession.selectOne(namespace + \".getPaymentinfo\", orderBean);\n\t}", "title": "" }, { "docid": "2c77bb249092016b15f0a20ca57179b0", "score": "0.50878495", "text": "public java.lang.String getAccountNumber(){\n \n return accountNo;\n \n }", "title": "" }, { "docid": "f5065f994bd26eeca884e33d2c84451a", "score": "0.5057632", "text": "private void billno()\n {\n try\n {\n conn = DriverManager.getConnection(\"jdbc:ucanaccess://G:\\\\Mydb.accdb\");\n st = conn.createStatement();\n ResultSet rs = st.executeQuery(\"select * from Invoice ORDER BY Invoice_Number desc limit 1\");\n \n if(rs.next())\n {\n i_no = rs.getInt(\"Invoice_Number\");\n i_no++;\n }\n else\n {\n i_no = 1001;\n }\n \n txt_billno_billing.setText(\"\"+i_no);\n txt_billno_billing.setEditable(false);\n }\n catch(SQLException | HeadlessException e)\n {\n Logger.getLogger(Billing.class.getName()).log(Level.SEVERE,null,e);\n }\n }", "title": "" }, { "docid": "3fc0c7435ebef69f31d6c068ad660866", "score": "0.5057104", "text": "public Integer modWayBillStatusByNo(String wayBillNo) {\n\t\tInteger result=iYcZoneGoodsDao.modWayBillStatusByNo(wayBillNo);\r\n\t\tif(result<=0){\r\n\t\t\tFengUtil.RuntimeExceptionFeng(\"修改储货表出库状态时异常!\");\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "af6ba67ea3d396fe16692c4f0093d405", "score": "0.5056169", "text": "public BigDecimal getPAYM_PERIOD_NBR() {\r\n return PAYM_PERIOD_NBR;\r\n }", "title": "" }, { "docid": "8d37ab12ad7a65062f502019f7fec1dd", "score": "0.5052025", "text": "public Integer getPaymentId() {\r\n return paymentId;\r\n }", "title": "" }, { "docid": "96a7cbc2ca25ca765b15c44836e37456", "score": "0.5051793", "text": "@Override\n\tpublic String[] queryBillNo(Map<String, Object> mapVo)\n\t\t\tthrows DataAccessException {\n\t\treturn assBackPayDetailMapper.queryBillNo(mapVo);\n\t}", "title": "" }, { "docid": "2329d3be14905fe7d0712f0e068f6e4c", "score": "0.50502974", "text": "public String getBuyCode() {\n\t\treturn buyOrderPO.getBuyCode();\r\n\t}", "title": "" }, { "docid": "3101fbb80a18cecece699f15b16300d7", "score": "0.5048064", "text": "public java.lang.String getPaymentToVendorNumber () {\r\n\t\treturn paymentToVendorNumber;\r\n\t}", "title": "" }, { "docid": "9a267e9e9f747da4f2f8e1ece22df564", "score": "0.5036822", "text": "public java.lang.String getVendorBillNumber () {\r\n\t\treturn vendorBillNumber;\r\n\t}", "title": "" }, { "docid": "ab57b1fc310e87a6c97df6250afbcd49", "score": "0.5028934", "text": "PAYMENT selectByPrimaryKey(Integer idpayment);", "title": "" }, { "docid": "19fb950f79dcefaeafa89ccccdf24815", "score": "0.5026566", "text": "public String getOrderNo() {\n return orderNo;\n }", "title": "" }, { "docid": "19fb950f79dcefaeafa89ccccdf24815", "score": "0.5026566", "text": "public String getOrderNo() {\n return orderNo;\n }", "title": "" }, { "docid": "19fb950f79dcefaeafa89ccccdf24815", "score": "0.5026566", "text": "public String getOrderNo() {\n return orderNo;\n }", "title": "" }, { "docid": "19fb950f79dcefaeafa89ccccdf24815", "score": "0.5026566", "text": "public String getOrderNo() {\n return orderNo;\n }", "title": "" }, { "docid": "209c07828322e718e3e761898486ac33", "score": "0.4989015", "text": "public Long getMerchantNo() {\n\n // Get the AuthUser\n AuthUser user = getCurrentUser();\n\n // Check if the user is on\n if ( user != null ) {\n\n return user.getMerchantNo();\n\n }\n\n // Return 0\n return 0L;\n\n }", "title": "" }, { "docid": "6d9e81b165dc39bc51d1f97be3cfe15c", "score": "0.49770236", "text": "public String getPaymentId();", "title": "" }, { "docid": "d1f88a34e6087caa55ad51ded0f9d7e3", "score": "0.4974908", "text": "public Long getMonthPaymentAmount() {\n return monthPaymentAmount;\n }", "title": "" }, { "docid": "8fbc1c49c695eae278428a72694b6c56", "score": "0.49728736", "text": "OptionalInt getPaymentId();", "title": "" }, { "docid": "6568993c342e67365533e0b634b7e9ce", "score": "0.49468678", "text": "public int getOrderSeqNo() \n{\nInteger ii = (Integer)get_Value(\"OrderSeqNo\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}", "title": "" }, { "docid": "df462eed1e6b12efedb058000bcc171a", "score": "0.4946828", "text": "public java.lang.String getBuyerAlipayNo () {\n\t\treturn buyerAlipayNo;\n\t}", "title": "" }, { "docid": "4a1896ee42db30301de9d87c7d7d7aca", "score": "0.49395913", "text": "public String getBusinessNo() {\n return businessNo;\n }", "title": "" }, { "docid": "0d74a23efec8552797c216ff4346dc5e", "score": "0.4914071", "text": "private Payment GetPayment(String paymentId, String clientid) {\n setDataSource(getDataSource());\n return mJdbctemplate.queryForObject(getPaymentForIdAndClientId, new Object[] {paymentId,clientid}, new BeanPropertyRowMapper<Payment>(Payment.class));\n }", "title": "" }, { "docid": "f582b1ceabaa8d62bc4ceca66568e824", "score": "0.4905667", "text": "public String getPaymentCode() {\n\t\treturn payment.getPaymentCode();\n\t}", "title": "" }, { "docid": "0b0539bf41872bea4b5739681b5c3654", "score": "0.49051306", "text": "public String getMobileNumber(long accountId) throws DAOException;", "title": "" }, { "docid": "befa5c57d73c87299ce7d3030da72cfb", "score": "0.48947495", "text": "public void setTRANS_NO(BigDecimal TRANS_NO) {\r\n this.TRANS_NO = TRANS_NO;\r\n }", "title": "" }, { "docid": "2352c82921d6511e398de971cddb720d", "score": "0.48893896", "text": "TPay selectByPrimaryKey(Long payNo);", "title": "" }, { "docid": "e8a29c0a565c89cbc133d21269e59072", "score": "0.48878208", "text": "public BigDecimal getPaymentamount() {\n return paymentamount;\n }", "title": "" }, { "docid": "67cb45b331fb406610fc78c460defe2a", "score": "0.48859677", "text": "public static double getReturnPaymentCash(long salesOid) {\n CONResultSet crs = null;\n double total = 0;\n try {\n String sql = \"select sum(amount) as pay from pos_return_payment where sales_id=\" + salesOid;\n\n crs = CONHandler.execQueryResult(sql);\n ResultSet rs = crs.getResultSet();\n while (rs.next()) {\n total = rs.getDouble(\"pay\");\n }\n } catch (Exception e) {\n System.out.println(e.toString());\n } finally {\n CONResultSet.close(crs);\n }\n\n return total;\n }", "title": "" }, { "docid": "5c65a11e9fe4a14918c883ed0458b62c", "score": "0.487229", "text": "@GetMapping(\"/store/bill\")\n\tpublic CustomerBillingData getNetPayableAmt(@RequestBody CustomerBillingData billData) {\n\t\tlogger.info(\"request details :\" + billData);\n\t\t\n\t\tif (billData.getBillAmt() == 0) {\n\t\t\tthrow new InvalidBillException(\"billAmt \" + billData.getBillAmt());\n\t\t}\n\t\t\n\t\tdouble netbillingAmount = discountService.getApplicableDiscunt(billData);\n\t\tbillData.setAmtAfterDiscount(netbillingAmount);\n\t\treturn billData;\n\t}", "title": "" }, { "docid": "67aa70008b78dbfa2e11248a36129621", "score": "0.48702034", "text": "@Override\r\n\tpublic List<PaymentBean> findByCardNo(PaymentBean pay) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "637789da292a55cab58f21a008a215fe", "score": "0.48695236", "text": "public int totalPayment() {\n\t\treturn sqlSession.selectOne(\"admin.totalPayment\");\r\n\t}", "title": "" }, { "docid": "cf42e9c75ba3cfee39f43f0927c1fff9", "score": "0.4868567", "text": "@Override\n public int pay(int idOrder, String pay) {\n Connection connection = null;\n PreparedStatement preparedStatement = null;\n int mod = -1;\n try {\n connection = getConnection();\n preparedStatement = connection.prepareStatement(CommandSQLManager.getInstance().getProperty(\"UPDATE_PAY_ORDER\"));\n preparedStatement.setString(1, pay);\n preparedStatement.setInt(2, idOrder);\n mod = preparedStatement.executeUpdate();\n } catch (SQLException e) {\n l.log(Level.ERROR, \"ERROR OrderDAO pay\", e);\n } finally {\n closeConn(connection);\n closePreparedStatement(preparedStatement);\n }\n return mod;\n }", "title": "" }, { "docid": "a8516d3a6767ebff300a2e828fcc0f5f", "score": "0.48619092", "text": "public String getPayerAccNo() {\n return payerAccNo;\n }", "title": "" }, { "docid": "a3ab97fe29bc49f217c9b334a823e109", "score": "0.48544288", "text": "public void setPAYM_PERIOD_NBR(BigDecimal PAYM_PERIOD_NBR) {\r\n this.PAYM_PERIOD_NBR = PAYM_PERIOD_NBR;\r\n }", "title": "" }, { "docid": "9a830a62c2f055437ae63b4f006aad43", "score": "0.48502582", "text": "public long getBillingId();", "title": "" }, { "docid": "70dda7801c7739781b024d6e9d5254e2", "score": "0.4844882", "text": "public String getTransactionNo() {\r\n return transactionNo;\r\n }", "title": "" }, { "docid": "ac592111ca34e20b733f095a58b286de", "score": "0.48344904", "text": "public java.lang.String getAlipayNo () {\n\t\treturn alipayNo;\n\t}", "title": "" }, { "docid": "7fa375e5d00a46f348052c47b249aee8", "score": "0.48327893", "text": "public String getMch_billno() {\n return mch_billno;\n }", "title": "" }, { "docid": "d4db13fa17fc6944af2d4f54c1b050f9", "score": "0.48163703", "text": "public Integer getOrderno() {\n return orderno;\n }", "title": "" }, { "docid": "451668ac5dc7f2e3dda3e44994dc6747", "score": "0.48127666", "text": "Payment selectByPrimaryKey(Long paymentId);", "title": "" }, { "docid": "18a3740ec7fce2d9c953ca2e65acbd1d", "score": "0.4805708", "text": "public java.lang.String getCustomerPaymentNumber () {\r\n\t\treturn customerPaymentNumber;\r\n\t}", "title": "" }, { "docid": "c582f2b42bc91dfaea60f478142ed8b1", "score": "0.4804606", "text": "public String getMobNo(String acctNum)throws Exception;", "title": "" }, { "docid": "b4fa2a918984e5de4239bdffa9e7ad1b", "score": "0.47887933", "text": "public BigDecimal getTRANS_NO() {\r\n return TRANS_NO;\r\n }", "title": "" }, { "docid": "6cc6e7481ab5395d56e565e5f14b8646", "score": "0.47805333", "text": "public int getC_StorePOPLine_ID() \n{\nInteger ii = (Integer)get_Value(COLUMNNAME_C_StorePOPLine_ID);\nif (ii == null) return 0;\nreturn ii.intValue();\n}", "title": "" }, { "docid": "975eb2704a9e8f6f450d6c220a8b87af", "score": "0.4773326", "text": "public String getBoNo() {\n return boNo;\n }", "title": "" }, { "docid": "6069452637ec51d03d439c05978de629", "score": "0.477109", "text": "public Long getPayBy() {\n return payBy;\n }", "title": "" }, { "docid": "4d9b6fccf3df98cb3908d14c4b2d79e7", "score": "0.47616678", "text": "@Basic\n @Column(name = \"ORDER_NUMBER\")\n public String getOrderNumber() {\n return orderNumber;\n }", "title": "" }, { "docid": "17c68d4173cb12df27c1f24c58abcf4b", "score": "0.47529203", "text": "public int getBuyId() {\n\t\treturn buyOrderPO.getBuyId();\r\n\t}", "title": "" }, { "docid": "8aeeb2a463bf89689855584bb4b74829", "score": "0.47398332", "text": "public int payMentInsert(PaymentDTO pdto) {\n\t\tSystem.out.println(pdto.getCardName()+\"카드이름\");\n\t\tSystem.out.println(pdto.getCardNum()+\"카드번호\");\n\t\tSystem.out.println(pdto.getCardTerm()+\"할부기간\");\n\t\tSystem.out.println(pdto.getOrderNum()+\"주문번호\");\n\t\tSystem.out.println(pdto.getPayPrice()+\"음식가격\");\n\t\treturn sqlSession.insert(\"OrderMapper.payMentInsert\" ,pdto);\n\t}", "title": "" }, { "docid": "b01de3a0f70409d20bcde6c0a4b50276", "score": "0.47351462", "text": "public String getBill() {\n String bill = db.findTransactions(getMemberPmKeys());\n \n return bill;\n }", "title": "" }, { "docid": "027cb8565a67133e98db43edb25b8dc3", "score": "0.4728456", "text": "public String getAcctno() {\n return acctno;\n }", "title": "" }, { "docid": "ee16bebb5f055068e7e9f464fb74637b", "score": "0.47256655", "text": "public void createPaymentCode(Long barchId) {\n String hqlCheckCode = \"select max(to_number( substr(PAYMENT_CODE,5))) from Member_Payment where payment_Code like ?||'%'\";\r\n String code = Constant.PAYMENT_TYPE.MEMBER.toString();\r\n String barch = \"000\";\r\n if (barchId != null) {\r\n barch = barch + barchId.toString();\r\n code += barch.substring(barch.length() - 3);\r\n }\r\n\r\n List<?> counts = new GenericDaoImplNewV2<CatPack, Long>() {\r\n }.findListSQLAll(hqlCheckCode, code);\r\n String numberStr = \"00000\";\r\n if (counts.size() > 0 && counts.get(0) != null) {\r\n Long number = (Long.valueOf(counts.get(0).toString()) + 1);\r\n numberStr += number;\r\n numberStr = numberStr.substring(numberStr.length() - 5);\r\n\r\n// paymentCode = code + \"-\" + (Long.valueOf(counts.get(0).toString()) + 1);\r\n }\r\n paymentCode = code + numberStr;\r\n }", "title": "" }, { "docid": "6ecea2ede9bac65ec4b2608dc892374f", "score": "0.4724134", "text": "public String getMaxBillNo(String srcBillNo);", "title": "" }, { "docid": "b72dd8e4535706af6779f6ca2aff1b32", "score": "0.47101697", "text": "public String getOrderNo() {\n\n\t\treturn orderNo;\n\t}", "title": "" }, { "docid": "4f530d0ad0f36467d0ddd8f8b6741e1e", "score": "0.47088206", "text": "public Long getPayUserId() {\n return payUserId;\n }", "title": "" }, { "docid": "02385639b6f8485160783f1599330110", "score": "0.4705273", "text": "public int getC_BankAccount_ID() {\n\t\tInteger ii = (Integer) get_Value(\"C_BankAccount_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "title": "" }, { "docid": "60b2045f587ebb38287b47d883b34f4d", "score": "0.4704381", "text": "public BigDecimal getPaymoney() {\r\n return paymoney;\r\n }", "title": "" }, { "docid": "d4a5aae8fcd41ebfa689e9be4faa11e4", "score": "0.47034982", "text": "public String getMerchantno() {\n return merchantno;\n }", "title": "" }, { "docid": "45d4369e3448b51597a6c40b031dd267", "score": "0.46970347", "text": "public int getBankCode() {\n return bankCode;\n }", "title": "" }, { "docid": "bb5449f00d91d95d91ace884bc6aa0b2", "score": "0.46950233", "text": "@Override\n public int getIncome() throws ClassNotFoundException, SQLException {\n ResultSet rst = CrudUtil.executeQuery(\"select sum(p.buying_price-inv.selling_price) from part p,invoicedetail inv where p.pid=inv.pid\");\n if(rst.next()){\n int income=rst.getInt(1);\n return income;\n }\n return 0;\n \n }", "title": "" }, { "docid": "c313cb6fc5bc4776136ca601605db611", "score": "0.46911916", "text": "public String getPayerCardNo() {\n return payerCardNo;\n }", "title": "" }, { "docid": "33188a495f957e8fb847440ac44ddfc5", "score": "0.46742183", "text": "public static double getPaymentCash(long salesOid, int typeP) {\n CONResultSet crs = null;\n double total = 0;\n try {\n String sql = \"select sum(amount) as pay from pos_payment where pay_type=\" + typeP + \" and sales_id=\" + salesOid;\n\n crs = CONHandler.execQueryResult(sql);\n ResultSet rs = crs.getResultSet();\n while (rs.next()) {\n total = rs.getDouble(\"pay\");\n }\n } catch (Exception e) {\n System.out.println(e.toString());\n } finally {\n CONResultSet.close(crs);\n }\n\n return total;\n }", "title": "" }, { "docid": "872c0bc46b795bb58de6a9bce8e4987a", "score": "0.46689948", "text": "public String getbarcode_no()\n {\n return (String) getNamedWhereClauseParam(\"barcode_no\");\n }", "title": "" }, { "docid": "6b9cd7a8fb61b598315f59c30ae255d7", "score": "0.46644843", "text": "PayAcctDetail selectByPrimaryKey(Long pkid);", "title": "" }, { "docid": "eaa7cb7b7ba941ef6906a6d64d30556c", "score": "0.46640807", "text": "public BigDecimal getUsu_cod()\r\n/* 113: */ {\r\n/* 114: 76 */ return this.usu_cod;\r\n/* 115: */ }", "title": "" }, { "docid": "a4ec7f8b2044d2f67e1f88d12491e608", "score": "0.46605653", "text": "public String getBankAcctNumber() {\n return bankAcctNumber;\n }", "title": "" }, { "docid": "807d97440501c09694285c6c74fc4af4", "score": "0.46509182", "text": "BigDecimal getDefaultTaxRate(int intmNo) throws SQLException;", "title": "" }, { "docid": "ea5af89d3b957d50819fff9e58588b64", "score": "0.46480587", "text": "protected\tObject mapRow(ResultSet rs, int rownum)\tthrows\tSQLException\r\n {\n\t\t\t\r\n \treturn\trs.getString(\"TAX_YN\");\r\n }", "title": "" }, { "docid": "8e30777eda6b22d8b88cbd4fbf9d8bf4", "score": "0.46476194", "text": "public java.lang.String getPrepaymentToVendorNumber () {\r\n\t\treturn prepaymentToVendorNumber;\r\n\t}", "title": "" }, { "docid": "6d72e734e0afb9c07dc732c601cfdb0c", "score": "0.46439192", "text": "public String getPaymentVoucherNumber() {\n return paymentVoucherNumber;\n }", "title": "" }, { "docid": "29dd18a4bcd62be6bc8a5945955c707a", "score": "0.46409786", "text": "public String getBankAuthrNo() {\n return bankAuthrNo;\n }", "title": "" }, { "docid": "0568ea0298255f5f74abd11f46e5dc94", "score": "0.4635329", "text": "public ScGridColumn<AcUspsInternationalInvoiceSupplement> newPaymentColumn()\n {\n return newPaymentColumn(\"Payment\");\n }", "title": "" }, { "docid": "cfc6203325daf7775d94025277906622", "score": "0.46336672", "text": "public String getMerchantNo() {\n\t\treturn merchantNo;\n\t}", "title": "" }, { "docid": "860f5c1326eabe0b276356f4db9264cc", "score": "0.46330371", "text": "@Override\r\n\t\t\tpublic OfflineClass selectpay(OfflineClass pay) {\n\t\t\t\treturn dao.selectpay(pay);\r\n\t\t\t}", "title": "" }, { "docid": "efef578f8a8b70a42ff5e5fdd382a417", "score": "0.46327218", "text": "public BigDecimal getPayment() {\n return payment;\n }", "title": "" }, { "docid": "bf3215182114e24c22f7df1d90d15471", "score": "0.462534", "text": "public java.math.BigDecimal getPayment () {\n\t\treturn payment;\n\t}", "title": "" }, { "docid": "a9349d8e4f47f894b394ba28730bc63b", "score": "0.46251836", "text": "public int getPayment() {\n\t\treturn payment;\n\t}", "title": "" }, { "docid": "567f7f97be9332c1d6aff83d21ce4678", "score": "0.462271", "text": "Collection findByPaymentNo(Integer paymentNo) throws javax.ejb.FinderException;", "title": "" }, { "docid": "793c6aef4a6bfcdfbe145f005c510085", "score": "0.46225598", "text": "public Integer getBankCode() {\n return bankCode;\n }", "title": "" }, { "docid": "32e53191d6fa80f835c1a68a9a9254c2", "score": "0.46191153", "text": "public int generateCheckNo()\n\t{\n\t\ttry(Statement statement = _connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE) )\n\t\t{\n\t\t\tint checkNumber;\n\t\t\tString sql = \"select max(check_number) from transaction\";\n\t\t\tPreparedStatement p = _connection.prepareStatement(sql);\n\t\t\tResultSet resultSet = p.executeQuery();\n\n\t\t\tif(resultSet.next())\n\t\t\t{\n\t\t\t\tString maxCheckNum = resultSet.getString(1);\n\t\t\t\tSystem.out.println(\"<\" + maxCheckNum + \">\");\n\t\t\t\tif(maxCheckNum == null)\n\t\t\t\t{\n\t\t\t\t\tcheckNumber = 1;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tcheckNumber = Integer.parseInt(maxCheckNum) + 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcheckNumber = 1;\n\t\t\t}\n\t\t\treturn checkNumber;\n\t\t}\n\t\tcatch(SQLException e)\n\t\t{\n\t\t\tSystem.err.println(e.getMessage());\n\t\t\treturn 1;\n\t\t}\n\t}", "title": "" }, { "docid": "d21d8fe5332fb0fd2761ea2a8793f0e3", "score": "0.46163508", "text": "ZlnfPaymenttype selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "a1b5307c42b731133063b21a0b7bf9e2", "score": "0.46138597", "text": "public Integer getPaymentmethodid()\n {\n return paymentmethodid; \n }", "title": "" }, { "docid": "d7c845aaea78c5064ba3b0c2ff54d93e", "score": "0.461044", "text": "public String getBankAccountNumber() {\n return bankAccountNumber;\n }", "title": "" }, { "docid": "a8203c0840f87c457ede3ff147e05ce5", "score": "0.45958844", "text": "public String getPayeeCardNo() {\n return payeeCardNo;\n }", "title": "" }, { "docid": "7b9abc892481517919c46a626cd672aa", "score": "0.45952597", "text": "ReportRechargeBalanceMonthDO selectByPrimaryKey(Long id);", "title": "" }, { "docid": "25cab47876c201d0029a2039d0fa0efb", "score": "0.45936292", "text": "public java.lang.String getBillValue() {\n return billValue;\n }", "title": "" }, { "docid": "29d21ca0d166fa42625b9b2d809edce3", "score": "0.4591403", "text": "public String getCustNo() {\n return custNo;\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "3475fc5d050e96288cf76bd44f9fd5ed", "score": "0.0", "text": "@Override\n\tpublic void deleteMessageById(String ma001) throws Exception {\n\t\tgetSqlSession().getMapper(IBigScreenDao.class).deleteMessageById(ma001);\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.65706384", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.64830863", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64358324", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "c63a11bb1bf0acb98a99c66ee94527a7", "score": "0.63142073", "text": "@Override\r\n\tpublic void ispeci() {\n\r\n\t}", "title": "" }, { "docid": "ccde520bca72caa0d77ef1b117291759", "score": "0.6233861", "text": "@Override\r\n\tpublic void osmossis() {\n\r\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "9b8d94120800074e25f9674e2e960bd0", "score": "0.62156105", "text": "@Override\n public void curar() {\n\n }", "title": "" }, { "docid": "73d2e78e03547e3a30a40b196bae2c7d", "score": "0.61959624", "text": "@Override\r\n\tpublic void calificar() {\n\r\n\t}", "title": "" }, { "docid": "74a1be816f56189120d6d74f61abd8f9", "score": "0.6177264", "text": "@Override\n\tpublic void apagate() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9674eaf92d88fa5ee1741a3c135f859c", "score": "0.609503", "text": "@Override\n\tpublic void Resert() {\n\n\t}", "title": "" }, { "docid": "c04e1693c791e5601b6d72a13641e7b1", "score": "0.60708153", "text": "@Override\n\tpublic void angriff() {\n\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.60667324", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "4a4d6ca4f76cf550f30a1b3469c5c600", "score": "0.6050197", "text": "@Override\n\tpublic void heilen() {\n\n\t}", "title": "" }, { "docid": "7aa6963c647c1b2028e2058b152485e1", "score": "0.60484", "text": "@Override\n\tpublic void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.60398114", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6027122", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.601073", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.600875", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "06b59299a5db6a0902fdbf88e7826cfa", "score": "0.599773", "text": "private void naceSer() {\n\n\t}", "title": "" }, { "docid": "2ccd2a90144fab8b5fa71c58ca003352", "score": "0.5978821", "text": "@Override\n\tpublic void falar() {\n\t\t\n\t}", "title": "" }, { "docid": "0f6e1929716bfb216fb0d53f4c72c746", "score": "0.5975817", "text": "@Override\n\tpublic void hesapla() {\n\t\t\n\t}", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935147", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "fede515c585b365b04aace2b909737cf", "score": "0.59062445", "text": "@Override\r\n\tvoid dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "8a51433116320d5ea7de338cae668e7e", "score": "0.5878679", "text": "@Override\n\tpublic void competir() {\n\t\t\n\t}", "title": "" }, { "docid": "69b1247a4afd513b9853da385d6f2d24", "score": "0.5865623", "text": "@Override\n\tpublic void resta() {\n\t\t\n\t}", "title": "" }, { "docid": "b8693030a2b5a0ed9423a2578e5d2a26", "score": "0.58643967", "text": "@Override\n\tpublic void toto() {\n\t\t\n\t}", "title": "" }, { "docid": "f3d9d337b86266fa06b6c124066ba10f", "score": "0.5853753", "text": "@Override\n\tpublic void suivant() {\n\n\t}", "title": "" }, { "docid": "ab2f45ed8ffa08a06ff449780f0ea9da", "score": "0.5835419", "text": "@Override\r\n\tpublic void ha() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9293596216c60e2004e0a8cfb950ad0f", "score": "0.5823172", "text": "@Override\r\n\tpublic void pripremi() {\n\r\n\t}", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "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": "8a33b8de7a2fdf8b7088903dc4a4cf5f", "score": "0.5779682", "text": "@Override\n\tpublic void affiche() {\n\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": "c19a49911957739008b73b032429cb01", "score": "0.57708335", "text": "public void initalize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1717024d52ad1ad5517c9f135ea71904", "score": "0.57634485", "text": "@Override\r\n\tprotected void initValue()\r\n\t{\n\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": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "598681cc815af7b9f96d5d7ce97e7b20", "score": "0.5756299", "text": "public void mo5669b() {\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\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": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.5737521", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "dbccea21c95a2d676935a3ea758b163e", "score": "0.57351506", "text": "@Override\r\n\tpublic void limpiar() {\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": "94b0ced5bfd6c8796dfd708a164694df", "score": "0.5717778", "text": "@Override\n public void desplazarse() {\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "a1a79ff63f3eb784a0134fc70f7de913", "score": "0.57160354", "text": "@Override\n\tpublic void initdata() {\n\n\t}", "title": "" }, { "docid": "27e436f0a0c9200a542c73eabe9c3662", "score": "0.57140064", "text": "private void Met4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c823d8b0c4f55d3f03359daefc39a00", "score": "0.5712678", "text": "@Override\n\tpublic void lanzar() {\n\n\t}", "title": "" }, { "docid": "15823e29a9b2fc554cc535992e0eacee", "score": "0.5709881", "text": "@Override\r\n\tpublic void initData() {\n\r\n\r\n\t}", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.570341", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "9b197585ec90d98a2e41d154a1678e4a", "score": "0.57023877", "text": "@Override\n protected void refreshInit() {\n \n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "a3060192856bd2663b96bd0ef31d99fd", "score": "0.56853366", "text": "@Override\n\t\t\t\tpublic void refresh() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "c13ae19df69e3abfecf963fdcf9a29ee", "score": "0.568208", "text": "@Override\n\tpublic void c12() {\n\t\t\n\t}", "title": "" }, { "docid": "3207dcaa6322a2a59b6687b951ef91d7", "score": "0.5679023", "text": "@Override\n\tpublic void Damege() {\n\t\t\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5d97082ad890b2df7c126438819d2c54", "score": "0.5665557", "text": "private void envejecer() {\n\t\t\n\t}", "title": "" }, { "docid": "8c203fbc4b35fbc9b64bf6b47d67d29a", "score": "0.56584716", "text": "@Override\n\tpublic void freshStart() {\n\t\t// TODO Auto-generated method stub\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": "4dc967945b63b3f9ccc200b50799205b", "score": "0.56479424", "text": "@Override\n\tprotected Item func_149866_i() {\n return null;\n }", "title": "" }, { "docid": "4701bace660096d78c2bf92bfe4b6dd4", "score": "0.5643848", "text": "@Override\n\t\t\t\t\tpublic Sequence sequence() {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}", "title": "" }, { "docid": "8ce70d18e04299fa79dc9066550f3a42", "score": "0.56376165", "text": "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f2b0e20cc959024f21173c16e77430c4", "score": "0.5629117", "text": "@Override\n\tpublic void deneme() {\n\t\t\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5628332", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "892e81ba33fe99f590f49f4fd7ed10a8", "score": "0.5621647", "text": "private void init() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5617086", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5617086", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "1e530a3abecfdbdcf6f7ca4bd7294921", "score": "0.56150234", "text": "@Override\n\tpublic void andar() {\n\t\t\n\t}", "title": "" } ]
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "794df2a9c5bbf2158bc6dfa66065e7ab", "score": "0.0", "text": "public final void mo17805a(@C0193h0 C5560k<Map<C4102c<?>, String>> kVar) {\n this.f12913b.f13105Q.lock();\n try {\n if (!this.f12913b.f13113Y) {\n this.f12912a.onComplete();\n return;\n }\n if (kVar.mo22013e()) {\n this.f12913b.f13116a0 = new C0635a(this.f12913b.f13117b.size());\n for (C4189q3 b : this.f12913b.f13117b.values()) {\n this.f12913b.f13116a0.put(b.mo17676b(), ConnectionResult.f12763l0);\n }\n } else if (kVar.mo22002a() instanceof AvailabilityException) {\n AvailabilityException availabilityException = (AvailabilityException) kVar.mo22002a();\n if (this.f12913b.f13111W) {\n this.f12913b.f13116a0 = new C0635a(this.f12913b.f13117b.size());\n for (C4189q3 q3Var : this.f12913b.f13117b.values()) {\n C4102c b2 = q3Var.mo17676b();\n ConnectionResult a = availabilityException.mo17597a((C4083h<? extends C4063d>) q3Var);\n if (this.f12913b.m18133a(q3Var, a)) {\n this.f12913b.f13116a0.put(b2, new ConnectionResult(16));\n } else {\n this.f12913b.f13116a0.put(b2, a);\n }\n }\n } else {\n this.f12913b.f13116a0 = availabilityException.mo17596a();\n }\n } else {\n kVar.mo22002a();\n this.f12913b.f13116a0 = Collections.emptyMap();\n }\n if (this.f12913b.isConnected()) {\n this.f12913b.f13114Z.putAll(this.f12913b.f13116a0);\n if (this.f12913b.m18145i() == null) {\n this.f12913b.m18142g();\n this.f12913b.m18144h();\n this.f12913b.f13108T.signalAll();\n }\n }\n this.f12912a.onComplete();\n this.f12913b.f13105Q.unlock();\n } finally {\n this.f12913b.f13105Q.unlock();\n }\n }", "title": "" } ]
[ { "docid": "6dbd84c2d6cc660eb674e0befd23600a", "score": "0.6301801", "text": "public interface C4326z extends aa {\n /* renamed from: a */\n void mo2587a(String str);\n\n /* renamed from: b */\n void mo2591b(String str);\n}", "title": "" }, { "docid": "1d239752b83eb1ec789bfa67b2e89ebd", "score": "0.6221253", "text": "interface C1636a {\n /* renamed from: a */\n void mo12696a();\n }", "title": "" }, { "docid": "577c7045f33e4dc769135932c2f7d991", "score": "0.6162175", "text": "public interface C2357a {\n /* renamed from: a */\n void mo14966a();\n\n /* renamed from: b */\n void mo14967b();\n }", "title": "" }, { "docid": "ebe361a76f970c16841c78a56da11072", "score": "0.61400074", "text": "public interface byu extends bzd {\n /* renamed from: a */\n void mo2554a();\n}", "title": "" }, { "docid": "e68c3dfeb975b3d86e7a8efc4e74e8c1", "score": "0.6081342", "text": "public interface C21852a {\n /* renamed from: a */\n void mo58209a();\n }", "title": "" }, { "docid": "f133f52f0acc884c65dea37fdcec4f1b", "score": "0.60605484", "text": "public a a(ah.a ☃) {\r\n/* 128 */ this.e = ☃.b();", "title": "" }, { "docid": "2b45245640c1d7ca2d643902671024df", "score": "0.6034018", "text": "private interface C2041a {\n /* renamed from: a */\n void mo5343a(int i);\n }", "title": "" }, { "docid": "6a75678d49cdba26d90b2a0e1060d963", "score": "0.6031368", "text": "public interface C25510a {\n /* renamed from: a */\n void mo66257a();\n }", "title": "" }, { "docid": "a3f391c4f5bb4729964edc6078c7fff3", "score": "0.60184896", "text": "public interface C1959a {\n /* renamed from: a */\n void mo3330a();\n }", "title": "" }, { "docid": "ed746c2f51eeea456d741cebf4069edc", "score": "0.5989359", "text": "public interface C44735b {\n /* renamed from: a */\n void mo106785a(C44737a aVar, int i);\n }", "title": "" }, { "docid": "7b2c008f8b962c3ec471b3db9a4af9b8", "score": "0.5965172", "text": "public interface C27677a {\n /* renamed from: a */\n void mo45523a(C27680t c27680t);\n }", "title": "" }, { "docid": "ff0c968f47bb0577d67a90ab102b31f4", "score": "0.59570664", "text": "interface C2236e0 {\n /* renamed from: a */\n void mo8091a();\n}", "title": "" }, { "docid": "47979b757a630de9c32cddc0d82e7b49", "score": "0.59089094", "text": "public interface cdv {\n /* renamed from: a */\n Object mo2683a();\n}", "title": "" }, { "docid": "5ff3849f545bfdfc0f027c6d5a381218", "score": "0.58889955", "text": "public interface C18441a {\n /* renamed from: a */\n void mo47884a(C18440b bVar);\n }", "title": "" }, { "docid": "285dc9fb03f4bcf28f4e29a8b67fe639", "score": "0.58851874", "text": "public interface C0267a {\n /* renamed from: a */\n void mo4566a(int i);\n\n /* renamed from: a */\n void mo4567a(View view);\n }", "title": "" }, { "docid": "821b212feaab33eeb25ef0b458e8f207", "score": "0.58560354", "text": "public interface aob {\n /* renamed from: a */\n aoa mo1180a(aoj aoj, long j);\n\n /* renamed from: a */\n void mo1181a();\n}", "title": "" }, { "docid": "ca03f02e470b2aeb482624a58fdc2182", "score": "0.58347696", "text": "public interface C2324a {\n /* renamed from: a */\n void mo14911a();\n\n /* renamed from: a */\n void mo14912a(long j, int i);\n\n /* renamed from: a */\n void mo14913a(long j, long j2);\n\n /* renamed from: b */\n void mo14914b(long j, int i);\n }", "title": "" }, { "docid": "9efb52124cd0edddd697b09c61f5d536", "score": "0.58189654", "text": "public interface C1104c {\n /* renamed from: a */\n void mo1424a();\n}", "title": "" }, { "docid": "33c8f64bcb1c999cd3c34877f4ac4352", "score": "0.5793864", "text": "public interface C5862b extends C5595at {\n /* renamed from: a */\n void mo14352a(String str);\n}", "title": "" }, { "docid": "bf2f0e5c35414fd1b584b94f90e06eb3", "score": "0.5781927", "text": "public interface C43246a {\n /* renamed from: a */\n void mo100065a();\n\n /* renamed from: a */\n void mo100066a(String str);\n }", "title": "" }, { "docid": "fa7fedebaf60edd36c00454df85a7493", "score": "0.5776291", "text": "public interface C1617a {\n /* renamed from: a */\n void m8782a(List<C1614a> list, C1614a c1614a);\n}", "title": "" }, { "docid": "a3bcb6286b05d4231591cafd70b5a300", "score": "0.57601374", "text": "public interface C5404b {\n /* renamed from: a */\n void mo27032a(String str, int i, long j);\n}", "title": "" }, { "docid": "4b2b824b2efe1a356f5a1bd7e432122c", "score": "0.57488674", "text": "public interface C44086g {\n /* renamed from: a */\n Object mo27726a(C14932m c14932m);\n\n /* renamed from: b */\n Object mo27727b(C14932m c14932m);\n}", "title": "" }, { "docid": "4e53dc0f2106f9967c1cad0add2da363", "score": "0.57387894", "text": "public interface C15804a {\n /* renamed from: a */\n void mo52041a(View view);\n}", "title": "" }, { "docid": "cd115b4febd6dde7528b92fbe7b0bb1f", "score": "0.5729598", "text": "public interface C7808a {\n /* renamed from: a */\n void mo37800a();\n\n /* renamed from: a */\n void mo37801a(float f);\n\n /* renamed from: b */\n void mo37802b();\n\n /* renamed from: b */\n void mo37803b(float f);\n }", "title": "" }, { "docid": "598f9e3ebcc9014bda17e23a106ad1ad", "score": "0.5728441", "text": "public interface AbstractC25927a {\n /* renamed from: a */\n void mo110662a();\n\n /* renamed from: b */\n void mo110663b();\n }", "title": "" }, { "docid": "bc401f55b89da8523c7429eb711dc191", "score": "0.57151335", "text": "public interface AbstractC17433a {\n /* renamed from: a */\n void mo85073a();\n }", "title": "" }, { "docid": "f29128eecd0afc567340b7157f3b6c4c", "score": "0.57071304", "text": "public interface tf {\n\n /* compiled from: QueueConsumer */\n /* renamed from: tf$a */\n public interface a {\n te a();\n }\n\n void a(a aVar);\n}", "title": "" }, { "docid": "5fa1ddc10a9844f41418be6741cb84c6", "score": "0.57035404", "text": "public interface C0737c {\n /* renamed from: a */\n void mo1382a(String str);\n }", "title": "" }, { "docid": "80d2b0076e2b203f79c186a140c7a48c", "score": "0.5677858", "text": "public interface C3898a {\n /* renamed from: a */\n void mo7011a();\n\n /* renamed from: a */\n void mo7012a(C5541am amVar, int i);\n\n /* renamed from: b */\n void mo7013b(C5541am amVar, int i);\n }", "title": "" }, { "docid": "1c4130af235ef871d1f5cb45bca20543", "score": "0.56610346", "text": "public interface C19520a {\n /* renamed from: a */\n void mo51485a();\n\n /* renamed from: a */\n void mo51486a(String str);\n }", "title": "" }, { "docid": "d327557f14d4571c698be5d13a3b68ed", "score": "0.56571835", "text": "public interface C3899b {\n /* renamed from: a */\n void mo7014a(int i, String str);\n }", "title": "" }, { "docid": "db356280e55ba11c9412ebe94c7fb7eb", "score": "0.5655823", "text": "public interface C2015a {\n /* renamed from: a */\n void mo1756a(int i, String str, String str2, long j, long j2, boolean z);\n }", "title": "" }, { "docid": "78071e7836dd8666977bfc4f7cd986cb", "score": "0.5655634", "text": "public interface AbstractC23711a {\n /* renamed from: b */\n void mo104792b();\n }", "title": "" }, { "docid": "104aba62205eb1a3ac5f17843fd3cb0a", "score": "0.564598", "text": "public interface C0326a {\n /* renamed from: a */\n void mo6565a(bxvd bxvd);\n}", "title": "" }, { "docid": "ec0cf33b89c4c5e74646adafc69fe99e", "score": "0.56450653", "text": "public interface AbstractC11440b {\n /* renamed from: a */\n void mo67691a();\n }", "title": "" }, { "docid": "8ae0a6708e51019bac2073b709208e40", "score": "0.5633663", "text": "public void visitAlpha(Alpha a) {\n\t}", "title": "" }, { "docid": "1142fa4eb48afc8025e0d330e1a45f05", "score": "0.5630565", "text": "public interface C25591a {\n /* renamed from: a */\n void mo65742a();\n\n /* renamed from: a */\n void mo65743a(boolean z);\n\n /* renamed from: b */\n void mo65744b();\n }", "title": "" }, { "docid": "cd3b35a21a7127d71aa045bcd6ea97cf", "score": "0.5623508", "text": "public interface C41943f {\n /* renamed from: a */\n Set<String> mo102969a();\n\n /* renamed from: b */\n Set<String> mo102970b();\n}", "title": "" }, { "docid": "717d192ab4921e8a9219196450cc3ef6", "score": "0.56217855", "text": "public interface C2992a {\n /* renamed from: a */\n void m16314a(int i, String str, String str2);\n\n /* renamed from: a */\n void m16315a(String str);\n }", "title": "" }, { "docid": "55c46b869b6d786d8df5e3524b6bb6a9", "score": "0.56192684", "text": "@Override\n\tpublic void a() {\n\t\t\n\t}", "title": "" }, { "docid": "55c46b869b6d786d8df5e3524b6bb6a9", "score": "0.56192684", "text": "@Override\n\tpublic void a() {\n\t\t\n\t}", "title": "" }, { "docid": "47825b9e7b4a5715cf72059df4ab604f", "score": "0.5594545", "text": "public interface AbstractC18374a {\n /* renamed from: a */\n void mo89070a();\n }", "title": "" }, { "docid": "13acda790e80735794e0071e955394ad", "score": "0.5578967", "text": "public interface AbstractC18375b {\n /* renamed from: a */\n void mo89071a();\n }", "title": "" }, { "docid": "346164e89f243688edecefcbd151249b", "score": "0.557235", "text": "public interface class_26 extends class_24 {\n // $FF: renamed from: a (java.lang.Object) java.util.Set\n Set method_54(Object var1);\n\n // $FF: renamed from: b (java.lang.Object) java.util.Set\n Set method_55(Object var1);\n}", "title": "" }, { "docid": "ce7ac64507924fd54c3e819d37ec933e", "score": "0.5570321", "text": "public interface C26004a {\n /* renamed from: a */\n void mo67126a();\n\n /* renamed from: a */\n void mo67127a(View view);\n\n /* renamed from: b */\n void mo67128b();\n\n /* renamed from: c */\n void mo67129c();\n\n /* renamed from: d */\n void mo67130d();\n }", "title": "" }, { "docid": "1b7c13d61de4ebfd4703a7700725d744", "score": "0.55612594", "text": "public interface C0353a {\n /* renamed from: a */\n String mo5065a(String str);\n\n /* renamed from: a */\n void mo5066a();\n\n /* renamed from: a */\n void mo5067a(String str, String str2);\n}", "title": "" }, { "docid": "272668f5d447a8f50a29024604020efc", "score": "0.55600274", "text": "public interface C9345a {\n /* renamed from: a */\n void mo8976a();\n\n /* renamed from: b */\n boolean mo8981b();\n}", "title": "" }, { "docid": "076f59d811d55b6b6c78c5dcf5b3016c", "score": "0.552097", "text": "public interface C5004a {\n /* renamed from: a */\n void mo4934a(C5003c c5003c);\n }", "title": "" }, { "docid": "9b433a2a32cd91fec25be1932849f82c", "score": "0.5520715", "text": "public interface AbstractC6075a {\n /* renamed from: a */\n void mo40646a(int i);\n }", "title": "" }, { "docid": "73ebf84c5f85799cbdd27a5a1d4f137f", "score": "0.55155194", "text": "public interface C9557a {\n /* renamed from: a */\n void mo5951a(int i, int i2, String str, C7472b c7472b);\n }", "title": "" }, { "docid": "cb2f003330990f9ca860465d79f23382", "score": "0.55154866", "text": "public interface C12002g {\n /* renamed from: a */\n void mo37682a(String str, String str2, String str3);\n}", "title": "" }, { "docid": "dc3cf60141711198f11a804de619daa3", "score": "0.550967", "text": "interface C0265c {\n /* renamed from: a */\n float mo862a(VelocityTracker velocityTracker, int i);\n }", "title": "" }, { "docid": "9dd4d57379a58a7fee4b6a99c06f4d0c", "score": "0.5504375", "text": "public interface C0185a {\n /* renamed from: a */\n boolean mo353a(C0161b bVar);\n\n /* renamed from: b */\n boolean mo355b(C0161b bVar);\n\n /* renamed from: c */\n boolean mo356c(C0161b bVar);\n}", "title": "" }, { "docid": "667419b1d0fe655bf3bf2f20c4f60ee0", "score": "0.5495053", "text": "public interface C39853a {\n /* renamed from: a */\n void mo17329a(C30972i c30972i);\n }", "title": "" }, { "docid": "7024622f076556c2eaf7b11da3007bc9", "score": "0.5491481", "text": "public interface C2138d {\n /* renamed from: a */\n void mo7822a(Exception exc);\n}", "title": "" }, { "docid": "4693785f0d41546b61b7bf54e637d825", "score": "0.5477574", "text": "public void a(al alVar) {\n this.a = alVar;\n }", "title": "" }, { "docid": "a36132ed4e0003eea9aca92743228612", "score": "0.5470544", "text": "public interface C0677b {\n /* renamed from: a */\n void mo1399a(boolean z);\n }", "title": "" }, { "docid": "d29f2bb79c477fac70effe8115abeeed", "score": "0.54632163", "text": "public interface C2319a {\n /* renamed from: a */\n void mo14899a(boolean z);\n }", "title": "" }, { "docid": "0cb2d37a5a100b4d46a4c44fe255b6f0", "score": "0.5455884", "text": "public interface C1842m<T, U> {\n /* renamed from: a */\n void mo12153a(T t, U u);\n}", "title": "" }, { "docid": "142626adc75d1fec259b7e3b4b22289e", "score": "0.5454075", "text": "public interface C0139c {\n /* renamed from: a */\n C0135c mo287a(C0137b bVar);\n }", "title": "" }, { "docid": "6ea8600eefcdfcacb146c59143286d63", "score": "0.5439424", "text": "public interface cuo {\n /* renamed from: a */\n void mo3516a(ChannelView channelView);\n}", "title": "" }, { "docid": "7d77dbe38e7e67686f9e95ea2c63ea80", "score": "0.5435525", "text": "public void removeAuswaehlbar(Auswaehlbar a);", "title": "" }, { "docid": "5f47dc35ab69786c9d72471e2c80bdf6", "score": "0.5422532", "text": "public interface C0678c {\n /* renamed from: a */\n void mo1411a(String[] strArr, int[] iArr);\n }", "title": "" }, { "docid": "c8ecb94cb61a0230297a370446a43d42", "score": "0.5416195", "text": "interface C15689a<T> {\n /* renamed from: a */\n void mo13994a(T t);\n\n /* renamed from: a */\n void mo13995a(Throwable th);\n\n /* renamed from: c */\n void mo13561c();\n }", "title": "" }, { "docid": "efab9790f62fd316573b0eacfa212488", "score": "0.54157853", "text": "protected oa a(EntityBat paramabo)\r\n/* 12: */ {\r\n/* 13:18 */ return a;\r\n/* 14: */ }", "title": "" }, { "docid": "ff296c6570a83d45ee440148957acad2", "score": "0.5412662", "text": "public interface C0821f extends C0819d {\n /* renamed from: a */\n int mo4643a();\n\n /* renamed from: b */\n long mo4644b();\n}", "title": "" }, { "docid": "ccefc589e9fde8fcdb4a2dfba904e1c4", "score": "0.54099566", "text": "void removeIs_a(WrappedIndividual oldIs_a);", "title": "" }, { "docid": "24573a0b84163f6c78788ff1b1b71558", "score": "0.5404214", "text": "public interface C4254a {\n /* renamed from: Vv */\n void mo9236Vv(String str);\n\n /* renamed from: a */\n void mo9237a(String str, String str2, byte[] bArr, int i, int i2);\n }", "title": "" }, { "docid": "e71a3f5dc26f9953ad8a84d83580818a", "score": "0.54002017", "text": "protected DoubleList a(eq.a ☃) {\r\n/* 30 */ if (☃ == this.c) {\r\n/* 31 */ return this.d;\r\n/* */ }", "title": "" }, { "docid": "d9aa082aeae07c9203b95b4717c77568", "score": "0.5385298", "text": "public interface C2325b {\n /* renamed from: a */\n void mo15046a(long j, long j2);\n\n /* renamed from: c */\n void mo15047c();\n\n /* renamed from: d */\n void mo15048d();\n\n /* renamed from: d_ */\n void mo15049d_();\n\n /* renamed from: e */\n void mo15050e();\n }", "title": "" }, { "docid": "db463c1aca83e5d8d66c30638359a5a7", "score": "0.53839284", "text": "public interface C3552a {\n /* renamed from: a */\n void mo40043a(C4217w wVar, C3554je jeVar);\n }", "title": "" }, { "docid": "c4d9aa2dafaab582fa15ba5627006b2d", "score": "0.53797084", "text": "void renamedAttrNode(Attr oldAt, Attr newAt) {\n}", "title": "" }, { "docid": "f305667174242b57a770e43dfc4988be", "score": "0.53698474", "text": "public interface C36070f {\n /* renamed from: a */\n void mo91797a(Aweme aweme);\n\n /* renamed from: a */\n void mo91798a(boolean z);\n\n /* renamed from: a */\n boolean mo91799a();\n}", "title": "" }, { "docid": "bb6412590a607b83175261c4264c2066", "score": "0.53676176", "text": "public void a(a aVar) {\n for (Marker next : aVar.f26619b) {\n if (next instanceof i) {\n a(aVar, (i) next);\n } else {\n a(aVar, next);\n }\n }\n }", "title": "" }, { "docid": "548a45d446ce77a3cba16116f15d6807", "score": "0.5365906", "text": "public double fixangle(double a) {\n return a - 360.0 * (Math.floor(a / 360.0));\n }", "title": "" }, { "docid": "5ea1815ffa203b410c1c161e6e07698d", "score": "0.5356528", "text": "public void a() {\r\n }", "title": "" }, { "docid": "74bb3970e79849cecd185af3fe6ed713", "score": "0.53519356", "text": "public interface C3982b {\n /* renamed from: a */\n boolean m16162a();\n\n /* renamed from: b */\n boolean m16163b();\n}", "title": "" }, { "docid": "19d4f36dd72a48b456e67ae1c6654686", "score": "0.5351132", "text": "public interface C21639w {\n /* renamed from: a */\n void mo57856a(String str);\n\n /* renamed from: a */\n void mo57857a(boolean z);\n\n /* renamed from: b */\n String mo57858b(String str);\n\n /* renamed from: b */\n boolean mo57859b(boolean z);\n}", "title": "" }, { "docid": "3da80e8ce7057edc2ffdfbe094ed12f1", "score": "0.53509444", "text": "public static void rotasjon(char[] a) {\n throw new NotImplementedException();\n }", "title": "" }, { "docid": "67dac2fbb3b41959bb4dbf91f6b39b04", "score": "0.53432566", "text": "public interface C12642n {\n /* renamed from: a */\n boolean mo30877a();\n\n /* renamed from: b */\n void mo30878b();\n}", "title": "" }, { "docid": "eb51cd37b0cfb454309df5cf9fee29bb", "score": "0.5339416", "text": "public interface C45795b {\n /* renamed from: a */\n void mo11054a();\n\n /* renamed from: a */\n void mo11055a(Bundle bundle);\n }", "title": "" }, { "docid": "24c6b32a233628067e736f6016b9ebe9", "score": "0.5339319", "text": "interface C1148bw {\n /* renamed from: a */\n C1181cy mo2901a();\n\n /* renamed from: b */\n C1197dm mo2902b();\n}", "title": "" }, { "docid": "bdf00d5fefe050d1449da652dfd1a56a", "score": "0.5338933", "text": "public interface AbstractC18485a {\n /* renamed from: a */\n void mo89627a();\n\n /* renamed from: b */\n void mo89628b();\n\n /* renamed from: c */\n void mo89629c();\n }", "title": "" }, { "docid": "19eb38cdf1912111c679a5c19eac5f6c", "score": "0.5338409", "text": "public interface C0735a {\n /* renamed from: a */\n void mo1367a(boolean z, C0738d c0738d);\n }", "title": "" }, { "docid": "ea58be4b586c244576b92412134f94a8", "score": "0.5327145", "text": "public void a() {\n super.a();\n }", "title": "" }, { "docid": "ea58be4b586c244576b92412134f94a8", "score": "0.5327145", "text": "public void a() {\n super.a();\n }", "title": "" }, { "docid": "14e20ef3ef2417c1bb5f0eae0ef6b7a4", "score": "0.53266287", "text": "public double fixangr(double a) {\n return a - (2 * Math.PI) * (Math.floor(a / (2 * Math.PI)));\n }", "title": "" }, { "docid": "0cc9efe7e39df44213def63b42eb9689", "score": "0.5325391", "text": "interface C14203w {\n /* renamed from: a */\n void mo44925a(C14152o0 o0Var);\n}", "title": "" }, { "docid": "9db046e3abbca248397bb7f39556436c", "score": "0.5325274", "text": "public interface C0583f {\n /* renamed from: a */\n void mo1742a();\n\n /* renamed from: a */\n void mo1743a(C0585h c0585h);\n\n /* renamed from: a */\n void mo1744a(Throwable th);\n\n /* renamed from: a */\n void mo1745a(C0585h[] c0585hArr);\n\n /* renamed from: b */\n void mo1746b();\n\n /* renamed from: b */\n void mo1747b(Throwable th);\n\n /* renamed from: c */\n void mo1748c();\n}", "title": "" }, { "docid": "8e5472259fa4dbc06fe970b4d3d845a4", "score": "0.5320961", "text": "public interface C20675b extends C45222r {\n /* renamed from: a */\n void mo55880a(String str, String str2, String str3, String str4);\n\n /* renamed from: a */\n void mo55881a(String str, Map<String, String> map);\n\n /* renamed from: a */\n void mo55882a(Throwable th, String str);\n}", "title": "" }, { "docid": "8617bf51a87343e002014c1a81ae5432", "score": "0.5319763", "text": "public interface C1536d {\n /* renamed from: a */\n void mo14060a(int i, Intent intent);\n}", "title": "" }, { "docid": "bc489f7e2ecaa5b30b804c67841a4c3d", "score": "0.5316933", "text": "public void a(a aVar) {\n this.f30055a = aVar;\n }", "title": "" }, { "docid": "d675ea1fac30fc0c2f96e5e84e63e1ad", "score": "0.5311989", "text": "public interface C0181d<T> {\n /* renamed from: a */\n void mo375a(C0166b bVar);\n\n /* renamed from: a */\n void mo376a(Throwable th);\n\n /* renamed from: a_ */\n void mo377a_(T t);\n\n /* renamed from: s_ */\n void mo378s_();\n}", "title": "" }, { "docid": "70748b49ad1cbbdbf296f2e80425643c", "score": "0.5306544", "text": "public interface C5932b {\n /* renamed from: a */\n int mo10350a();\n\n /* renamed from: a */\n void mo10351a(int i);\n\n /* renamed from: b */\n int mo10352b();\n\n /* renamed from: b */\n void mo10353b(int i);\n\n /* renamed from: c */\n String mo10354c();\n\n /* renamed from: c */\n void mo10355c(int i);\n\n /* renamed from: d */\n void mo10356d();\n\n /* renamed from: e */\n void mo10357e();\n }", "title": "" }, { "docid": "a2b675fe042e9832517ee653c2939552", "score": "0.5304334", "text": "public interface C13875d {\n /* renamed from: a */\n int mo43281a();\n\n /* renamed from: a */\n List<File> mo43282a(int i);\n\n /* renamed from: a */\n void mo43283a(String str) throws IOException;\n\n /* renamed from: a */\n void mo43284a(List<File> list);\n\n /* renamed from: a */\n void mo43285a(byte[] bArr) throws IOException;\n\n /* renamed from: a */\n boolean mo43286a(int i, int i2);\n\n /* renamed from: b */\n List<File> mo43287b();\n\n /* renamed from: c */\n boolean mo43288c();\n\n /* renamed from: d */\n void mo43289d();\n}", "title": "" }, { "docid": "e66a42376959d926898087b71eac29aa", "score": "0.53035426", "text": "private List<String> createCopy(ArrayList<String> ana){\r\n\t\tList<String> copy = new ArrayList<String>(); \r\n\t\t// Traverse through ana and copy the words over to the copy\r\n\t\tfor(String string : ana) {\r\n\t\t\tcopy.add(string);\r\n\t\t}\r\n\t\treturn copy;\r\n\t}", "title": "" }, { "docid": "fa70327528ea590cbed11230e9d18f32", "score": "0.5300446", "text": "public interface C3861b {\n /* renamed from: a */\n void mo10064a(boolean z);\n }", "title": "" }, { "docid": "be9ed006f1d6d3afee15ac53b8eb9aa7", "score": "0.5296647", "text": "public interface C10168q5 {\n /* renamed from: a */\n void mo25574a(String str, String str2, Bundle bundle, long j);\n}", "title": "" }, { "docid": "4357a2d990f30d11ad4511a82e89db4f", "score": "0.5292635", "text": "public interface C0836a {\n void a();\n\n void a(com.ss.c.a.a.a aVar);\n\n void a(boolean z);\n\n void b();\n }", "title": "" }, { "docid": "d9e006ef59af0b266752e1a7a8fb61b9", "score": "0.5284579", "text": "interface C0212n {\n /* renamed from: A */\n void mo2898A(String str);\n\n /* renamed from: a */\n int mo2899a(List<C0238x> list, C0182ab abVar, boolean z);\n\n /* renamed from: bA */\n boolean mo2902bA();\n}", "title": "" } ]
c31d01a2a33930460ccad536cfba59e4
The constructor of the Exitcommand.
[ { "docid": "81d6954315389a107f3e6ae0fa6b4a54", "score": "0.6796373", "text": "public ExitCommand(String userName) {\n\t\tsuper();\n\t\tthis.userName = userName;\n\t\t\n\t}", "title": "" } ]
[ { "docid": "0914c5262e8e321f9a9acd8fa28e65a7", "score": "0.8801829", "text": "public ExitCommand() {\n\n }", "title": "" }, { "docid": "1d166d0e61bdf0266b5219dce9dc289c", "score": "0.8515925", "text": "public ExitCommand() {\n isExit = true;\n }", "title": "" }, { "docid": "f983d4b023d0f3188a23525e3406e344", "score": "0.81365865", "text": "public ExitCommand() {\n this.type = \"bye\";\n this.description = \"\";\n this.isExit = true;\n }", "title": "" }, { "docid": "70babc5b4de40a1df88cf821da26cad3", "score": "0.7657546", "text": "public ExitAction() {\n\t\t\tsuper(\"Exit\");\n\t\t}", "title": "" }, { "docid": "b943240420902bcb15d0fa893006adc5", "score": "0.7227217", "text": "public Command(boolean isExit) {\n this.isExit = isExit;\n }", "title": "" }, { "docid": "052a36e7e0050cb8b3b7060155a76795", "score": "0.71975636", "text": "public Command getExitCommand() {\n if (exitCommand == null) {//GEN-END:|18-getter|0|18-preInit\n // write pre-init user code here\n exitCommand = new Command(\"Exit\", Command.EXIT, 0);//GEN-LINE:|18-getter|1|18-postInit\n // write post-init user code here\n }//GEN-BEGIN:|18-getter|2|\n return exitCommand;\n }", "title": "" }, { "docid": "6d6d16c4eb88f5804cbb980e048ac2a6", "score": "0.7144479", "text": "public Command getExitCommand() {\n\t\tif (exitCommand == null) {//GEN-END:|21-getter|0|21-preInit\n // write pre-init user code here\n\t\t\texitCommand = new Command(\"Exit\", Command.EXIT, 0);//GEN-LINE:|21-getter|1|21-postInit\n // write post-init user code here\n\t\t}//GEN-BEGIN:|21-getter|2|\n\t\treturn exitCommand;\n\t}", "title": "" }, { "docid": "1138243280f7a6536a8ae9848dd52913", "score": "0.71145153", "text": "public Command getExitCommand() {\n if (exitCommand == null) {//GEN-END:|18-getter|0|18-preInit\n // Insert pre-init code here\n exitCommand = new Command(\"Exit\", Command.EXIT, 1);//GEN-LINE:|18-getter|1|18-postInit\n // Insert post-init code here\n }//GEN-BEGIN:|18-getter|2|\n return exitCommand;\n }", "title": "" }, { "docid": "c2729e41d10a6c54a9244b9e98f3d877", "score": "0.71139455", "text": "public Command getExitCommand() {\n if (exitCommand == null) {//GEN-END:|18-getter|0|18-preInit\n // write pre-init user code here\n exitCommand = new Command(\"Cikis\", Command.EXIT, 0);//GEN-LINE:|18-getter|1|18-postInit\n // write post-init user code here\n }//GEN-BEGIN:|18-getter|2|\n return exitCommand;\n }", "title": "" }, { "docid": "b33839cd1bafdbdd2d577b87c60996ce", "score": "0.7031119", "text": "public Builder setExit(com.github.alvin_nt.ChatService.CommandExit value) {\n if (exitBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n command_ = value;\n onChanged();\n } else {\n exitBuilder_.setMessage(value);\n }\n commandCase_ = 6;\n return this;\n }", "title": "" }, { "docid": "bd52a0f73e6260d317cd7d2f431d9bb5", "score": "0.6965397", "text": "private CommandExit(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "8f1fa81f2ed3851f1d670d2d67f164fe", "score": "0.6917953", "text": "public ExitCommand(TaskManager taskManager) {\r\n super(taskManager);\r\n }", "title": "" }, { "docid": "6fde2ea7039ad3f212eabf6f33b77676", "score": "0.68870693", "text": "public Command getExitCommand1() {\n\t\tif (exitCommand1 == null) {//GEN-END:|28-getter|0|28-preInit\n // write pre-init user code here\n\t\t\texitCommand1 = new Command(\"Exit\", Command.EXIT, 0);//GEN-LINE:|28-getter|1|28-postInit\n // write post-init user code here\n\t\t}//GEN-BEGIN:|28-getter|2|\n\t\treturn exitCommand1;\n\t}", "title": "" }, { "docid": "000c250d89a5f2b21e2385917e0138ef", "score": "0.6879281", "text": "public Command getExitCommand1() {\n if (exitCommand1 == null) {//GEN-END:|68-getter|0|68-preInit\n // write pre-init user code here\n exitCommand1 = new Command(\"Exit\", Command.EXIT, 0);//GEN-LINE:|68-getter|1|68-postInit\n // write post-init user code here\n }//GEN-BEGIN:|68-getter|2|\n return exitCommand1;\n }", "title": "" }, { "docid": "8c019a533f8bfae0a2a0c6cfb2504c10", "score": "0.6823822", "text": "public ExitCode(){\n super();\n }", "title": "" }, { "docid": "b6515547a8b61e80af832f9f1f296842", "score": "0.6781801", "text": "public LogOutCommand() {\n }", "title": "" }, { "docid": "789bbf703fe58a04c39c57432b5606fc", "score": "0.6630373", "text": "public Exit(String exitName, Place exitPlace) {\n this.EXIT_PLACE = exitPlace;\n this.NAME = exitName; \n }", "title": "" }, { "docid": "2d572bb98b197a46927ab0244c5f57f2", "score": "0.65869516", "text": "public SystemExit(Object... args) {\n super(args);\n }", "title": "" }, { "docid": "f3b1d40a5ed5e784d98fbdfdb76aa4c0", "score": "0.6557486", "text": "public com.github.alvin_nt.ChatService.CommandExit getExit() {\n if (exitBuilder_ == null) {\n if (commandCase_ == 6) {\n return (com.github.alvin_nt.ChatService.CommandExit) command_;\n }\n return com.github.alvin_nt.ChatService.CommandExit.getDefaultInstance();\n } else {\n if (commandCase_ == 6) {\n return exitBuilder_.getMessage();\n }\n return com.github.alvin_nt.ChatService.CommandExit.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "e62af9d8fbfa2adf65dc8bfcea337922", "score": "0.65489954", "text": "ExitCommand(UniversalShell shell) {\n this.shell = shell;\n }", "title": "" }, { "docid": "c27474df0ce7c60a91970ad00f18d2e9", "score": "0.65380365", "text": "public ActionExitMt(){\n\t\t\n\t\tLoc.getInstance().register(this, \"putValue\", 1, String.class, String.class, NAME, Object.class, \"action.exit\");\n\n\t//\tLoc.getInstance().register(this, \"putValue\", 1, Integer.class, String.class, MNEMONIC_KEY, Object.class,\n\t//\t\t\t\"action.new.mnemonic\");\n\t//\tLoc.getInstance().register(this, \"putValue\", 1, KeyStroke.class, String.class, ACCELERATOR_KEY, Object.class,\n\t\t\t//\t\"action.new.accel\");\n\t\tLoc.getInstance().register(this, \"putValue\", 1, ImageIcon.class, String.class, SMALL_ICON, Object.class, \"action.exit.image\");\n\t}", "title": "" }, { "docid": "e5363dff2f1ab153473f9b00cc28c9ee", "score": "0.65280294", "text": "public com.github.alvin_nt.ChatService.CommandExit getExit() {\n if (commandCase_ == 6) {\n return (com.github.alvin_nt.ChatService.CommandExit) command_;\n }\n return com.github.alvin_nt.ChatService.CommandExit.getDefaultInstance();\n }", "title": "" }, { "docid": "4fb8b28d7a81606a3c81f077de7ec0c5", "score": "0.64277154", "text": "public com.github.alvin_nt.ChatService.CommandExitOrBuilder getExitOrBuilder() {\n if ((commandCase_ == 6) && (exitBuilder_ != null)) {\n return exitBuilder_.getMessageOrBuilder();\n } else {\n if (commandCase_ == 6) {\n return (com.github.alvin_nt.ChatService.CommandExit) command_;\n }\n return com.github.alvin_nt.ChatService.CommandExit.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "33736b41542129076f0cdf105eedcd15", "score": "0.63781506", "text": "public com.github.alvin_nt.ChatService.CommandExitOrBuilder getExitOrBuilder() {\n if (commandCase_ == 6) {\n return (com.github.alvin_nt.ChatService.CommandExit) command_;\n }\n return com.github.alvin_nt.ChatService.CommandExit.getDefaultInstance();\n }", "title": "" }, { "docid": "216e74cd1ea9a7c00071fb34a54b8496", "score": "0.6263933", "text": "public abstract void Exit();", "title": "" }, { "docid": "79bc3511fd0777c5cc96ca89d5f4f6da", "score": "0.6234981", "text": "com.github.alvin_nt.ChatService.CommandExit getExit();", "title": "" }, { "docid": "dab751a6f856b58fa2108b334c71ddb8", "score": "0.62340665", "text": "private JMenuItem createExit() {\n JMenuItem exit = new JMenuItem(\"Exit\");\n exit.addActionListener(e -> System.exit(0));\n return exit;\n }", "title": "" }, { "docid": "2246b942bc18b31c3babbb14f4a9cc37", "score": "0.62268245", "text": "@Override\r\n public void Exit() {\n\r\n }", "title": "" }, { "docid": "ebdc83a775e732249cabd413ae2ccdcc", "score": "0.6196464", "text": "public ExitServlet() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "3b6d619767b3c9c0e1bf7e96ee527fca", "score": "0.6178338", "text": "public SystemExit(String message) {\n super(message);\n }", "title": "" }, { "docid": "71e3ef17d99569d3c9a2c9221c539ba9", "score": "0.61772", "text": "public Builder clearExit() {\n if (exitBuilder_ == null) {\n if (commandCase_ == 6) {\n commandCase_ = 0;\n command_ = null;\n onChanged();\n }\n } else {\n if (commandCase_ == 6) {\n commandCase_ = 0;\n command_ = null;\n }\n exitBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "82c8dfeb3a96c4477484a04b7987772f", "score": "0.61204714", "text": "public Builder mergeExit(com.github.alvin_nt.ChatService.CommandExit value) {\n if (exitBuilder_ == null) {\n if (commandCase_ == 6 &&\n command_ != com.github.alvin_nt.ChatService.CommandExit.getDefaultInstance()) {\n command_ = com.github.alvin_nt.ChatService.CommandExit.newBuilder((com.github.alvin_nt.ChatService.CommandExit) command_)\n .mergeFrom(value).buildPartial();\n } else {\n command_ = value;\n }\n onChanged();\n } else {\n if (commandCase_ == 6) {\n exitBuilder_.mergeFrom(value);\n }\n exitBuilder_.setMessage(value);\n }\n commandCase_ = 6;\n return this;\n }", "title": "" }, { "docid": "a753e39e182856c8fbe5e9fde2f4ae34", "score": "0.60686207", "text": "private static void executeExit() {\n displayExitMessageNormal();\n\n }", "title": "" }, { "docid": "844dccd3c0e6da619c926d038c076be2", "score": "0.60561615", "text": "public void exit() {\n if(\"\".equalsIgnoreCase(this.commandAction)) {\n this.output = \"Action not found\";\n\n if (this.action != null) {\n this.output += \": \" + this.action;\n }\n\n this.displayOutput();\n }\n }", "title": "" }, { "docid": "907ca42a9d1cd4272e442c73ba348b4e", "score": "0.6051262", "text": "public void createExitMenu()\n\t{\n\t\texitMenuItem = new JMenuItem(\"Exit\");\n\t\tActionListener listener = new ExitMenuListener();\n\t\texitMenuItem.addActionListener(listener);\n\t}", "title": "" }, { "docid": "f0decd4ee3f66c2531dfb5695fa161c0", "score": "0.60310197", "text": "@Override\n\tpublic void exit() {\n\n\t}", "title": "" }, { "docid": "f08010775e82bc0c07ebdb30ffd7358c", "score": "0.60070807", "text": "@Override\r\n\tpublic void exit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ba97d50edc3893d3780637eba4e11609", "score": "0.6006182", "text": "@Override\n\tpublic void exit() {\n\t}", "title": "" }, { "docid": "ba97d50edc3893d3780637eba4e11609", "score": "0.6006182", "text": "@Override\n\tpublic void exit() {\n\t}", "title": "" }, { "docid": "c03c43e0e04c3a1e48b40115f54b6a18", "score": "0.60043514", "text": "public void exit() {\n \t\t\tmsg.add(new Token(Thread.currentThread(), Op.EXIT));\n \t\t}", "title": "" }, { "docid": "df94a779c48e153ae5ab30be8a464850", "score": "0.60020566", "text": "public void exit() {\n \n\tboolean beenChanges = true;\n\t//check the stack\n\t\n\tif (_actionStack.size() == 0 ){\n\t beenChanges = false;\n\t \n\t}\n\t\n\t//creat the exit action, this may be the end of the line\n\tExitAction maybeExitThisProgram = \n\t new ExitAction( _theGUI, beenChanges, this );\n\n\n }", "title": "" }, { "docid": "c598576f5db56bccaa01810790104229", "score": "0.5999423", "text": "public Command() {\n }", "title": "" }, { "docid": "5177f4b06abb6c9ec1e952530b31a498", "score": "0.59970206", "text": "public ConfirmExitDialog() {\n initComponents();\n }", "title": "" }, { "docid": "7e9d2d1414d74f54572cf76d02189b53", "score": "0.5971437", "text": "public DeathCommand() {\r\n initTime = Environment.time();\r\n c = null;\r\n }", "title": "" }, { "docid": "d3071b43de8bdf65868d0962e0cd14a1", "score": "0.594579", "text": "public com.github.alvin_nt.ChatService.CommandExit.Builder getExitBuilder() {\n return getExitFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "670fb5400c28379f21ccda622c8b21de", "score": "0.5939175", "text": "@Override\r\n\tpublic void exit() {\n\r\n\t}", "title": "" }, { "docid": "3f6f52c0521fc65b8de4378f74484467", "score": "0.59158456", "text": "@Override\r\n\tvoid exit() {\n\r\n\t}", "title": "" }, { "docid": "678c9685dd737c7ebb6c8f50c96130c6", "score": "0.58720845", "text": "com.github.alvin_nt.ChatService.CommandExitOrBuilder getExitOrBuilder();", "title": "" }, { "docid": "5baf99ef243687fab23c6cdfd1410f2a", "score": "0.58660734", "text": "public DoneCommand(String[] args) {\n super(args);\n }", "title": "" }, { "docid": "f6e4834d1259b3522ca9aed2a5b7a698", "score": "0.5866063", "text": "public Command() {\n name = null;\n }", "title": "" }, { "docid": "982a03d904ffc8a71985e31d745bae06", "score": "0.58613974", "text": "public ExitController(View view, int actionToDo) {\n super(view, actionToDo);\n }", "title": "" }, { "docid": "e15275ec6c7ea7e634a2fa06b6f52e74", "score": "0.5852779", "text": "public static ExitAction getInstance() {\n if (exitAction == null) {\n exitAction = new ExitAction();\n }\n return exitAction;\n }", "title": "" }, { "docid": "6846da69ac9f21e88ebe04cfee8e88ea", "score": "0.58480304", "text": "protected Command() {\r\n\t}", "title": "" }, { "docid": "c8a09bd1cfbfb16a0ebbd19b2a5bd979", "score": "0.58380383", "text": "@com.messenger.console.Method\n public void exit (String[] args) {\n active = false;\n }", "title": "" }, { "docid": "fefc74f1671a6f845a2a0dd067cdd602", "score": "0.58282137", "text": "public abstract void exit();", "title": "" }, { "docid": "32f53d04646b6cb15590ac3539684ae0", "score": "0.58090866", "text": "public Command getBackCommand() {\n\t\tif (backCommand == null) {//GEN-END:|35-getter|0|35-preInit\n // write pre-init user code here\n\t\t\tbackCommand = new Command(\"Vypnout\", Command.EXIT, 0);//GEN-LINE:|35-getter|1|35-postInit\n // write post-init user code here\n\t\t}//GEN-BEGIN:|35-getter|2|\n\t\treturn backCommand;\n\t}", "title": "" }, { "docid": "9114176942a34a5a37424e486ca163d2", "score": "0.58064115", "text": "public static IMotionless createExit() {\r\n return MotionlessFactory.exit;\r\n }", "title": "" }, { "docid": "e3ba0d2a31f68639d2cb2529d902a54a", "score": "0.58040285", "text": "public void setExitMessage(String aExitMessage) {\n exitMessage = aExitMessage;\n }", "title": "" }, { "docid": "2b721a059b4ffc94e9a4bceed39bd0cd", "score": "0.57918507", "text": "abstract void exit();", "title": "" }, { "docid": "210bd4cd568a9d68e1a351ef21d45309", "score": "0.5785833", "text": "public CommandLauncher() {\n \t\tfProcess = null;\n \t\tfShowCommand = false;\n \t\tlineSeparator = System.getProperty(\"line.separator\", \"\\n\"); //$NON-NLS-1$ //$NON-NLS-2$\n \t}", "title": "" }, { "docid": "9c32c1dfef1f751513f2898714270652", "score": "0.57837737", "text": "private com.google.protobuf.SingleFieldBuilder<\n com.github.alvin_nt.ChatService.CommandExit, com.github.alvin_nt.ChatService.CommandExit.Builder, com.github.alvin_nt.ChatService.CommandExitOrBuilder> \n getExitFieldBuilder() {\n if (exitBuilder_ == null) {\n if (!(commandCase_ == 6)) {\n command_ = com.github.alvin_nt.ChatService.CommandExit.getDefaultInstance();\n }\n exitBuilder_ = new com.google.protobuf.SingleFieldBuilder<\n com.github.alvin_nt.ChatService.CommandExit, com.github.alvin_nt.ChatService.CommandExit.Builder, com.github.alvin_nt.ChatService.CommandExitOrBuilder>(\n (com.github.alvin_nt.ChatService.CommandExit) command_,\n getParentForChildren(),\n isClean());\n command_ = null;\n }\n commandCase_ = 6;\n onChanged();;\n return exitBuilder_;\n }", "title": "" }, { "docid": "de55d620dba119bb86cb50d5f1e6680b", "score": "0.57399714", "text": "public DropCommand()\n {\n }", "title": "" }, { "docid": "b9505249ade92c85266825aa3bd21150", "score": "0.5736074", "text": "public Exit getExit()\n\t{\n\t\treturn exit;\n\t}", "title": "" }, { "docid": "76d525fc6a7a99ca642e683f296bfa76", "score": "0.5709022", "text": "@Override\r\n public Integer getExitId() {\r\n return -1;\r\n }", "title": "" }, { "docid": "20e40a3a7a70e718bd53df7c7370587c", "score": "0.57062113", "text": "public JMenuItem getExit() {\n return exit;\n }", "title": "" }, { "docid": "a29902ae7a03a4684bd9fb80fb434157", "score": "0.56967443", "text": "@Override\n\tpublic void exit() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "7e61153ba90708294378bed0a7fdcbfb", "score": "0.56966776", "text": "private QuitAction() {\n super(\"Quit\", new ImageIcon(CMain.class.getResource(\"data/cancel.png\")));\n }", "title": "" }, { "docid": "25b79f0e3937da7d3bea5eef4aea45b5", "score": "0.5686978", "text": "public MediumExitButton(Image image, Image imageHit) {\n\t\tsuper(image, imageHit, X, Y);\n\t}", "title": "" }, { "docid": "359035dbf40300691e3c9b1c0eb89c60", "score": "0.5675965", "text": "public String getExitMessage() {\n return exitMessage;\n }", "title": "" }, { "docid": "359035dbf40300691e3c9b1c0eb89c60", "score": "0.5675965", "text": "public String getExitMessage() {\n return exitMessage;\n }", "title": "" }, { "docid": "25841492a91cebb3bfa9dc0587107af7", "score": "0.5670957", "text": "private JMenuItem getExitMenuItem() {\r\n\t\tif (exitMenuItem == null) {\r\n\t\t\texitMenuItem = new JMenuItem();\r\n\t\t\texitMenuItem.setText(\"Exit\");\r\n\r\n\t\t\t/*\r\n\t\t\t * In questo caso l'elemento del menu\r\n\t\t\t * aggiunge un listener di azione creando un nuovo\r\n\t\t\t * listener che implementa il metodo desiderato.\r\n\t\t\t * In questo caso, i tre oggetti coinvolti\r\n\t\t\t * nell'evento sono: exitMenuItem, l'interfaccia\r\n\t\t\t * ActionListener, l'istanza di ActionListener.\r\n\t\t\t */\r\n\t\t\texitMenuItem.addActionListener(new ActionListener() {\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\tSystem.exit(0);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn exitMenuItem;\r\n\t}", "title": "" }, { "docid": "69f0e9a430e8ffb244e3528a742c9406", "score": "0.56693655", "text": "ExitListener(Controller controller) {\n super(controller);\n this.controller = controller;\n }", "title": "" }, { "docid": "5b68b6020702694f147f340e683c31e7", "score": "0.5665987", "text": "public Mainhall01(Boolean gui){\n super(\n \"Mainhall01\", \n \"This is the 1st mainhall on the space ship.\",\n new Exit('S', \"Control\"),\n new Exit('E', \"Oxygen\"),\n new Exit('N', \"Mainhall02\"),\n new Exit('W', \"Personal\"), \n \"mainhall01Map.txt\");\n }", "title": "" }, { "docid": "c9d9b6e9f3221a54f020e8c7ececd90d", "score": "0.56366575", "text": "public AbstractCommand(String label) {\n this(label, null);\n }", "title": "" }, { "docid": "751bdeccf2020446ba34e5daa01cbab9", "score": "0.5609537", "text": "public EventCommand(String[] args) {\n this.args = args;\n }", "title": "" }, { "docid": "c8caed56250925273053cb7debecef41", "score": "0.5603367", "text": "public HelpCommand() {\n super(COMMAND_WORDS);\n }", "title": "" }, { "docid": "74714c7ef99a4390757167e5251bc9bd", "score": "0.56012875", "text": "public void quitCommand()\n{\n System.out.println(\"Bye\");\n}", "title": "" }, { "docid": "43c9d0ecb8cdb0ca2274801010ad4d75", "score": "0.5590366", "text": "public EventHandlerExitButton(GUI g){\r\n\t\t_gui = g;\r\n\t}", "title": "" }, { "docid": "e6420909d372eed38baff9105ddb9341", "score": "0.5537306", "text": "@ShellCommand(name = \"exit\",\n shortHelp = \"Exit login shell\")\n public static void exitCommand(String[] args, InputStream in, OutputStream out, OutputStream err) throws NetShellException {\n throw new NetShellException(\"Built-in command not handled by shell\");\n }", "title": "" }, { "docid": "8189a15f4bac74934e58427addd3d9bf", "score": "0.5533829", "text": "private JMenuItem getExitMenuItem() {\n\t\tif (exitMenuItem == null) {\n\t\t\texitMenuItem = new JMenuItem();\n\t\t\texitMenuItem.setText(\"Exit\");\n\t\t\texitMenuItem.addActionListener(new ActionListener() {\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn exitMenuItem;\n\t}", "title": "" }, { "docid": "8189a15f4bac74934e58427addd3d9bf", "score": "0.5533829", "text": "private JMenuItem getExitMenuItem() {\n\t\tif (exitMenuItem == null) {\n\t\t\texitMenuItem = new JMenuItem();\n\t\t\texitMenuItem.setText(\"Exit\");\n\t\t\texitMenuItem.addActionListener(new ActionListener() {\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn exitMenuItem;\n\t}", "title": "" }, { "docid": "e5ecbce9ca9f717965fd15b32f3b4da9", "score": "0.5532329", "text": "private JMenuItem createFileExitItem() {\r\n\t\tJMenuItem exit = new JMenuItem(\"Exit\", new ImageIcon(\"exit.gif\"));\r\n\t\texit.setMnemonic('E');\r\n\t\texit.setAccelerator(KeyStroke.getKeyStroke(\"ctrl E\"));\r\n\t\tclass MenuItemListener implements ActionListener {\r\n\t\t\tpublic void actionPerformed(ActionEvent event) {\r\n\t\t\t\texitAction();\r\n\t\t\t}\r\n\t\t}\r\n\t\tActionListener listener = new MenuItemListener();\r\n\t\texit.addActionListener(listener);\r\n\t\treturn exit;\r\n\t}", "title": "" }, { "docid": "cfd1c082211a7d3da3a17f56e8de6df4", "score": "0.5530876", "text": "public InvalidCommandException()\n\t{\n\t\tsuper(\"Invalid Command!\");\n\t}", "title": "" }, { "docid": "112d888ee9c4d4cf399f8a5573a798cb", "score": "0.5529977", "text": "MethodExitReturnValuesTest(String args[]) {\n super(args);\n }", "title": "" }, { "docid": "013104e657fd059609ac9c43d847ddc1", "score": "0.5529338", "text": "private void createExitButton() {\n Button exitButton = new Button(\"EXIT\");\n addMenuButtons(exitButton);\n\n exitButton.setOnAction(event -> rootStage.close());\n }", "title": "" }, { "docid": "262c8d5b7630172c4e4a2f174d6d614a", "score": "0.55252504", "text": "@Override\n public String displayMenuItem() {\n return \"Exit\";\n }", "title": "" }, { "docid": "6e6ffc9d2dba2e416c9919ded31437e4", "score": "0.5520436", "text": "public IntakeRollersStopCommand() {\n\t\tsuper(IntakeRollers.getInstance());\n\t}", "title": "" }, { "docid": "48689faa8ab949119d498c8a95b66273", "score": "0.5515861", "text": "public boolean exit(){ return _exit; }", "title": "" }, { "docid": "e5f2cbc1ccd298125e09e153b8ce9b8f", "score": "0.5515797", "text": "public BotCommand() {\n super();\n }", "title": "" }, { "docid": "ffd6ade84c5c3e4978ed5b578d81ae36", "score": "0.55061215", "text": "public RaffleCommand() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "fd6ef02517252b939d9bcd6170309c99", "score": "0.55050784", "text": "public Command(EditorEngine e){\n\t\tthis.e = e;\n\t}", "title": "" }, { "docid": "9bfc5fb94935d887fc26a6e10a901153", "score": "0.55012065", "text": "public CafeCommand() {\n }", "title": "" }, { "docid": "a4af82b0b29d4a259c9f1903a7c7773c", "score": "0.5495339", "text": "public PSTraceExitExecution(int typeFlag)\n {\n super(typeFlag);\n }", "title": "" }, { "docid": "410a5c12007f4853d8fbeecac3f86949", "score": "0.54877234", "text": "@Override\n boolean isExit() {\n return false;\n }", "title": "" }, { "docid": "4f5bf161668b434c20d0480b4ab3dd10", "score": "0.5484949", "text": "public void exitMenuItem()\n {\n System.exit(0);\n }", "title": "" }, { "docid": "4135fd1d5a0901f71ac1d6295e62679d", "score": "0.5483972", "text": "public Auto3P_Command() {\n // Add your commands in the super() call, e.g.\n // super(new FooCommand(), new BarCommand());\n super(new IntakeToggleCommand(), new DriveStraight(-Auto3_Command.dist));\n }", "title": "" }, { "docid": "881d9395c192fa9c759f1f2866d6bf12", "score": "0.54825854", "text": "@Override protected void doCommand(MessageReceivedEvent event) {\n\r\n System.exit(0);\r\n }", "title": "" }, { "docid": "1185be21e829db24c825e91537afdf8f", "score": "0.5473948", "text": "@Override\n\t\t\tpublic void commandTerminated(int arg0, String arg1) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c2fd7beecb7e3514d6747ba09cc689a9", "score": "0.5471193", "text": "protected AbstractCommand() {\n\t}", "title": "" }, { "docid": "172bbdf653cf3c9d03ae1dd03b43f5ae", "score": "0.54710627", "text": "public final CliParser.exitStatement_return exitStatement() throws RecognitionException {\n CliParser.exitStatement_return retval = new CliParser.exitStatement_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null;\n\n Token QUIT112=null;\n Token EXIT113=null;\n\n CommonTree QUIT112_tree=null;\n CommonTree EXIT113_tree=null;\n RewriteRuleTokenStream stream_EXIT=new RewriteRuleTokenStream(adaptor,\"token EXIT\");\n RewriteRuleTokenStream stream_QUIT=new RewriteRuleTokenStream(adaptor,\"token QUIT\");\n\n try {\n // /usr/local/cassandra-trunk/src/java/org/apache/cassandra/cli/Cli.g:242:5: ( QUIT -> ^( NODE_EXIT ) | EXIT -> ^( NODE_EXIT ) )\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0==QUIT) ) {\n alt7=1;\n }\n else if ( (LA7_0==EXIT) ) {\n alt7=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 7, 0, input);\n\n throw nvae;\n }\n switch (alt7) {\n case 1 :\n // /usr/local/cassandra-trunk/src/java/org/apache/cassandra/cli/Cli.g:242:7: QUIT\n {\n QUIT112=(Token)match(input,QUIT,FOLLOW_QUIT_in_exitStatement1597); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_QUIT.add(QUIT112);\n\n\n\n // AST REWRITE\n // elements: \n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (CommonTree)adaptor.nil();\n // 242:12: -> ^( NODE_EXIT )\n {\n // /usr/local/cassandra-trunk/src/java/org/apache/cassandra/cli/Cli.g:242:15: ^( NODE_EXIT )\n {\n CommonTree root_1 = (CommonTree)adaptor.nil();\n root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(NODE_EXIT, \"NODE_EXIT\"), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n case 2 :\n // /usr/local/cassandra-trunk/src/java/org/apache/cassandra/cli/Cli.g:243:7: EXIT\n {\n EXIT113=(Token)match(input,EXIT,FOLLOW_EXIT_in_exitStatement1611); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_EXIT.add(EXIT113);\n\n\n\n // AST REWRITE\n // elements: \n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (CommonTree)adaptor.nil();\n // 243:12: -> ^( NODE_EXIT )\n {\n // /usr/local/cassandra-trunk/src/java/org/apache/cassandra/cli/Cli.g:243:15: ^( NODE_EXIT )\n {\n CommonTree root_1 = (CommonTree)adaptor.nil();\n root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(NODE_EXIT, \"NODE_EXIT\"), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n break;\n\n }\n retval.stop = input.LT(-1);\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n\n }\n finally {\n }\n return retval;\n }", "title": "" } ]
0fbf0025d6bdc5aed2333269119aa28e
POST /marques : Create a new marque.
[ { "docid": "3c972815cace565205b6ec13272406ef", "score": "0.7770961", "text": "@PostMapping(\"/marques\")\n @Timed\n public ResponseEntity<Marque> createMarque(@Valid @RequestBody Marque marque) throws Exception {\n log.debug(\"REST request to save Marque : {}\", marque);\n if (marque.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(ENTITY_NAME, \"idexists\", \"A new marque cannot already have an ID\")).body(null);\n }\n Marque result = marqueRepository.save(marque);\n return ResponseEntity.created(new URI(\"/api/marques/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" } ]
[ { "docid": "87deac93bc9005d04c88d45b3729aaa8", "score": "0.53879476", "text": "@PostMapping(\"/kamar/insert\")\n\tprivate RedirectView insertDataKamarSubmit(@ModelAttribute KamarModel kamar) {\n\t\tkamarService.addKamar(kamar);\n\t\treturn new RedirectView(\"/kamar\");\n\t}", "title": "" }, { "docid": "cc3afb75994cf9aa65ba58cf2d0c899d", "score": "0.5359505", "text": "public void insertarMarca(Marca marca) {\r\n\r\n crearConexionGeneral();\r\n //crearConexionGeneralAnthonny();\r\n \r\n System.out.println(\"estamos en registrar marcas\");\r\n\r\n try {\r\n \r\n \r\n s = connection.createStatement();\r\n int z = s.executeUpdate(\"INSERT INTO marca(id_marca,nombre_marca) VALUES('\"+marca.getIdentificador() +\"', '\" +marca.getNombre() + \"')\");\r\n if (z == 1) {\r\n System.out.println(\"Se agregó el registro de manera exitosa una Nueva marca \"+marca.getIdentificador());\r\n JOptionPane.showMessageDialog(null, \"Se agregó el registro de manera exitosa una Nueva marca \");\r\n \r\n\r\n } else {\r\n System.out.println(\"Error al insertar el registro\");\r\n }\r\n \r\n \r\n } catch (Exception e) {\r\n }\r\n }", "title": "" }, { "docid": "2ba147e25bebbb31e7cbe63b13a759a1", "score": "0.5333787", "text": "@POST\n @Path(\"/empresa\")\n @Consumes({ MediaType.APPLICATION_JSON })\n Empresa crear(Empresa empresa);", "title": "" }, { "docid": "119a45916221f9b4bb2fbe89fb61aa98", "score": "0.5310688", "text": "@PostMapping(\"/dossier-rmqs\")\n @Timed\n public ResponseEntity<DossierRmq> createDossierRmq(@Valid @RequestBody DossierRmq dossierRmq) throws URISyntaxException {\n log.debug(\"REST request to save DossierRmq : {}\", dossierRmq);\n if (dossierRmq.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(ENTITY_NAME, \"idexists\", \"A new dossierRmq cannot already have an ID\")).body(null);\n }\n DossierRmq result = dossierRmqRepository.save(dossierRmq);\n dossierRmqSearchRepository.save(result);\n return ResponseEntity.created(new URI(\"/api/dossier-rmqs/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "b20e88da1af3fc941e39f88d90fc33f2", "score": "0.52568305", "text": "public PontoMarcacoes create(PontoMarcacoesPK pontoMarcacoesPK);", "title": "" }, { "docid": "388c640ccbd9db0dd96742adb79dcac4", "score": "0.5209909", "text": "@RequestMapping(value= \"/marca/add\", method = RequestMethod.POST)\n\tpublic String addCategoria(@ModelAttribute(\"marca\") Marca c){\n \tif(c.getId() == 0){\n //new category, add it\n this.marcaService.addMarca(c);\n }else{\n //existing category, call update\n this.marcaService.updateMarca(c);\n }\n return \"redirect:/marcas\";\n\t}", "title": "" }, { "docid": "c2864a859e023eb6f9385c7837ea9a2a", "score": "0.5198389", "text": "@PostMapping(\"/pm-questionnaires\")\n @Timed\n public ResponseEntity<PmQuestionnairesDTO> createPmQuestionnaires(@Valid @RequestBody PmQuestionnairesDTO pmQuestionnairesDTO) throws URISyntaxException {\n log.debug(\"REST request to save PmQuestionnaires : {}\", pmQuestionnairesDTO);\n if (pmQuestionnairesDTO.getId() != null) {\n throw new BadRequestAlertException(\"A new pmQuestionnaires cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n PmQuestionnaires pmQuestionnaires = pmQuestionnairesMapper.toEntity(pmQuestionnairesDTO);\n pmQuestionnaires = pmQuestionnairesRepository.save(pmQuestionnaires);\n PmQuestionnairesDTO result = pmQuestionnairesMapper.toDto(pmQuestionnaires);\n applicationEventPublisher.publishEvent(\n AuditUtil.createAuditEvent(\n ENTITY_NAME,\n result.getId().toString(),\n Action.POST\n )\n );\n return ResponseEntity.created(new URI(\"/api/pm-questionnaires/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "08ce0036d180f2687c3be8d7e5502b5a", "score": "0.5106975", "text": "@POST\n @Consumes({MediaType.APPLICATION_JSON})\n public Response create(Peliculas peliculas) {\n peliculasFacade.create(peliculas); \n return Response.ok(\"Dato ingresado\",MediaType.APPLICATION_JSON).build(); \n \n \n \n }", "title": "" }, { "docid": "505bb1d8e8130f91df8d2cf9877e8caa", "score": "0.50947136", "text": "@DeleteMapping(\"/marques/{id}\")\n @Timed\n public ResponseEntity<Void> deleteMarque(@PathVariable Long id) {\n log.debug(\"REST request to delete Marque : {}\", id);\n marqueRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "title": "" }, { "docid": "0d0e0e3b0f8230bfe467cfa92e96dd9e", "score": "0.5033858", "text": "@RequestMapping(method=RequestMethod.POST, value=\"/examseries/create\")\n public ExamSeries createExamSeries(@RequestBody ExamSeries exam) {\n\treturn examSeriesService.createExam(exam);\n }", "title": "" }, { "docid": "dea1f0946fcc2af56981fd94f3452418", "score": "0.49841103", "text": "@GetMapping(\"/marques/{id}\")\n @Timed\n public ResponseEntity<Marque> getMarque(@PathVariable Long id) {\n log.debug(\"REST request to get Marque : {}\", id);\n Marque marque = marqueRepository.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(marque));\n }", "title": "" }, { "docid": "c6713c4e249b47be69259154b8c2c0c5", "score": "0.49800307", "text": "@PostMapping(value = \"/questions\", consumes = \"application/json\", produces = \"application/json\")\n public ResponseEntity<Question> createNewQuestion(@Valid @RequestBody Question question) {\n return new ResponseEntity<>(questionService.createNewQuestion(question), HttpStatus.CREATED);\n }", "title": "" }, { "docid": "808ea5810679e4b55d5e50959fc87064", "score": "0.49747622", "text": "@POST(\"./\")\n Call<Joueurs> addJoueurs(@Body Joueurs joueurs);", "title": "" }, { "docid": "64e2eb373bb064f4b451cc93948e08c4", "score": "0.4970292", "text": "public static void criarMesas (int qtd) throws Exception {\r\n\t\tif (qtd <= 0)\r\n\t\t\tthrow new Exception(\"Valor negativo para quantidade de Mesas invalido!\");\r\n\t\tfor (int i = 1; i <= qtd; ++i)\r\n\t\t\trestaurante.adicionar(new Mesa(geraId(\"Mesa\")));\r\n\t}", "title": "" }, { "docid": "60e911a1e91aa0adbcc382f9b6012a59", "score": "0.49499676", "text": "@Path(\"/creer\")\n @POST\n @Transactional\n public Response creerFournisseur(Fournisseur f) throws Exception {\n entityManager.persist(f);\n return Response.status(200).build();\n }", "title": "" }, { "docid": "f1961b0a255ac7c7703d780e4d1600a5", "score": "0.4947371", "text": "@CrossOrigin(origins = \"http://localhost:3000\")\n\t\t@PostMapping(path = \"/cartAdd\") // Map ONLY POST Requests\n\t\tpublic void postaddNewKarkkiToBag(@RequestBody String karkki) {\n\t\t\ttry {\n\n\t\t\t\tGson gson = new Gson();\n\t\t\t\tOstoskoriRivi object = gson.fromJson(karkki, OstoskoriRivi.class);\n\t\t\t\tConnection connection = DriverManager.getConnection(\"jdbc:mariadb://10.114.32.27:3306/testikanta\", \"common\",\n\t\t\t\t\t\t\"salasana43218765\");\n\t\t\t\tStatement stmt = connection.createStatement();\n\t\t\t\t/*ResultSet max = stmt.executeQuery(\"SELECT MAX(id) FROM ostoskori\");\n\t\t\t\tmax.next();\n\t\t\t\tint newID=Integer.parseInt(max.getObject(1).toString())+1;*/\n\t\t\t\tResultSet rs = stmt.executeQuery(\n\t\t\t\t\t\t\"INSERT INTO ostoskori(karkkitunnus, nimi, hinta, image, id) \"\n\t\t\t\t\t\t+ \"VALUES(\"+object.getTunnus()+\", \\\"\"+object.getName()+\"\\\", \"+object.getPrice()+\", \\\"\"+object.getImage()+\"\\\", \"+object.getId()+\")\");\n\n\t\t\t\tconnection.close();\n\t\t\t\t\n\t\t\t} catch (SQLException e) {\n\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "a918d489063ed7f78a10bb04fb34cd6f", "score": "0.4947349", "text": "@PostMapping(\"/quantities\")\n\tpublic String createQuantity(@ModelAttribute Quantity quantity) {\n\t\tqDAO.save(quantity);\n\t\treturn \"redirect:/quantities\";\n\t}", "title": "" }, { "docid": "1e5b106ebb1cd3a6f0a047c4342e4ccc", "score": "0.49451244", "text": "@RequestMapping(\"/create\")\n @ResponseBody\n public void createQueue() {\n }", "title": "" }, { "docid": "38552fae3479880af3d1bc5236851266", "score": "0.49370244", "text": "@RequestMapping(value = \"/mesages\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Mesage> createMesage(@Valid @RequestBody Mesage mesage) throws URISyntaxException {\n log.debug(\"REST request to save Mesage : {}\", mesage);\n if (mesage.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(\"mesage\", \"idexists\", \"A new mesage cannot already have an ID\")).body(null);\n }\n Mesage result = mesageService.save(mesage);\n return ResponseEntity.created(new URI(\"/api/mesages/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"mesage\", result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "8da8e6fa0b284a799a5771164b84e564", "score": "0.49281862", "text": "@RequestMapping(value = \"api/makeQuiz\", method = RequestMethod.POST)\n @ResponseBody\n public JSONObject makeTheme(@RequestBody Theme theme){\n Quiz quizNew = new ThemeToQuiz().convert(theme);\n Long id = quizService.saveNewQuiz(quizNew);\n return JsonParser.makeUrl(HOST + \"/quiz/\"+id);\n }", "title": "" }, { "docid": "e2cece78babb1aea74022d63b02a142b", "score": "0.48708835", "text": "@PostMapping(path = \"/postadd\") // Map ONLY POST Requests\n\t\tpublic void postaddNewKarkki(@RequestParam String nimi, @RequestParam String kat,\n\t\t\t\t@RequestParam int katnro, @RequestParam Double hinta, @RequestParam int varastossa,\n\t\t\t\t@RequestParam String kuvaosoite) {\n\t\t\ttry {\n\t\t\t\tConnection connection = DriverManager.getConnection(\"jdbc:mariadb://10.114.32.27:3306/testikanta\", \"common\",\n\t\t\t\t\t\t\"salasana43218765\");\n\t\t\t\t\n\t\t\t\tStatement stmt = connection.createStatement();\n\t\t\t\tResultSet max = stmt.executeQuery(\"SELECT MAX(id) FROM karkki\");\n\t\t\t\tmax.next();\n\t\t\t\tint newID=Integer.parseInt(max.getObject(1).toString())+1;\n\t\t\t\tResultSet rs = stmt.executeQuery(\n\t\t\t\t\t\t\"INSERT INTO karkki(id, nimi, kategoria, kategorianumero, hinta, varastossa, kuva) \"\n\t\t\t\t\t\t+ \"VALUES(\"+newID+\", \"+nimi+\", \"+kat+\", \"+katnro+\", \"+hinta+\", \"+varastossa+\", \"+kuvaosoite+\")\");\n\n\t\t\t\tconnection.close();\n\t\t\t\t\n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "d26f11a6e3f16a1adc0d2b96db60bbdd", "score": "0.48659384", "text": "@POST\n @Produces({MediaType.TEXT_HTML})\n \n public String add(String campos) throws Exception {\n String listCampos[] = campos.split(\",\");\n//********falta bloque de try...\n//*****se cae en la siguiente linde de codigo en modelo, probablemente en el constructor. \n\n Model.instance().agregarCiudadano(listCampos);\n return \"fue y regresa..\";\n }", "title": "" }, { "docid": "991ab9dc0cfee918340779680c33b5d9", "score": "0.48628083", "text": "public void setMarca(String marca) {\n this.marca = marca;\n }", "title": "" }, { "docid": "3c8eb28301ee77c614f1d87a1a8fa8c9", "score": "0.48490816", "text": "@RequestMapping(method=RequestMethod.POST,\n\t\t\tconsumes = MediaType.APPLICATION_JSON_VALUE,\n\t\t\tproduces = MediaType.APPLICATION_JSON_VALUE)\n\tpublic ResponseEntity<CleaningMaterial> createCleaningMaterial(@RequestBody CleaningMaterial material){\n\t\t\n\t\tmaterial = cleaningMaterialService.create(material);\n\t\tif (material == null) {\n\t\t\treturn new ResponseEntity<CleaningMaterial>(HttpStatus.BAD_REQUEST);\n\t\t}\n\t\t\n\t\treturn new ResponseEntity<CleaningMaterial>(material, HttpStatus.CREATED);\n\t}", "title": "" }, { "docid": "4066c87cc2be75e0c8f2458983f7597b", "score": "0.48331508", "text": "@POST\n\t@Consumes(MediaType.APPLICATION_JSON)\n\t@Path(\"/create\")\t\t\t\t\t\n\tpublic void create(AlumnoE obj);", "title": "" }, { "docid": "892069520b86a43f91f56e32f5951943", "score": "0.47859463", "text": "@PostMapping(\"/campo-customizavel-cadastros\")\n @Timed\n public ResponseEntity<CampoCustomizavelCadastro> createCampoCustomizavelCadastro(@RequestBody CampoCustomizavelCadastro campoCustomizavelCadastro) throws URISyntaxException {\n log.debug(\"REST request to save CampoCustomizavelCadastro : {}\", campoCustomizavelCadastro);\n if (campoCustomizavelCadastro.getId() != null) {\n throw new BadRequestAlertException(\"A new campoCustomizavelCadastro cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n CampoCustomizavelCadastro result = campoCustomizavelCadastroRepository.save(campoCustomizavelCadastro);\n return ResponseEntity.created(new URI(\"/api/campo-customizavel-cadastros/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "c0bade950c24e5efaa4d26e8fc3f8dc2", "score": "0.47693875", "text": "@PostMapping(\"/alimentos\")\n @Timed\n public ResponseEntity<Alimento> createAlimento(@RequestBody Alimento alimento) throws URISyntaxException {\n log.debug(\"REST request to save Alimento : {}\", alimento);\n if (alimento.getId() != null) {\n throw new BadRequestAlertException(\"A new alimento cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n Alimento result = alimentoRepository.save(alimento);\n return ResponseEntity.created(new URI(\"/api/alimentos/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "fa09c8b202ed4cbb2ba854f83a2c742f", "score": "0.47523606", "text": "@PostMapping\n\tpublic ResponseEntity<ProdutoEstoqueDTO> criar(@RequestBody ProdutoInsertEstoqueDTO produtoInsertEstoqueDTO){\n\t\tProdutoEstoqueDTO dto = produtoEstoqueService.inserir(produtoInsertEstoqueDTO); \n\t\tURI uri = ServletUriComponentsBuilder.fromCurrentRequest().path(\"/{id}\").buildAndExpand(dto.getId()).toUri();\n\t\treturn ResponseEntity.created(uri).body(dto);\n\t}", "title": "" }, { "docid": "498222149f14d4655ccd5b5285325528", "score": "0.4727249", "text": "@PostMapping\n\t\tpublic ResponseEntity<Postagem> post (@RequestBody Postagem postagem){\n\t\t\treturn ResponseEntity.status(HttpStatus.CREATED).body(repository.save(postagem));\n\t\t}", "title": "" }, { "docid": "ac9155b53bccb7059f2e6bfbc9085eff", "score": "0.47141138", "text": "@PostMapping\n public ResponseEntity empresas(@RequestBody Empresa empresa) {\n\n empresaService.insertEmpresa(empresa);\n return ResponseEntity.ok(\"OK\");\n\n }", "title": "" }, { "docid": "3927b102aed62adef5c3014c878a924c", "score": "0.470811", "text": "public void setMarque(char m){\n\tthis.marque=m;\n }", "title": "" }, { "docid": "bcfcb29dbb084ea20dc5965b3dd3c831", "score": "0.4692969", "text": "@PostMapping(\"/questions\")\n @Timed\n public ResponseEntity<Question> createQuestion(@RequestBody Question question) throws URISyntaxException {\n log.debug(\"REST request to save Question : {}\", question);\n if (question.getId() != null) {\n throw new BadRequestAlertException(\"A new question cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n Question result = questionRepository.save(question);\n return ResponseEntity.created(new URI(\"/api/questions/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "720ea48c697255536d5d72603919adc1", "score": "0.46727282", "text": "void create(Exam exam) throws AlreadyCreatedException;", "title": "" }, { "docid": "8ac09a725529c6c66382579391df5778", "score": "0.46710634", "text": "@POST\r\n\t@Consumes({ MediaType.APPLICATION_JSON })\r\n\t@Produces({ MediaType.APPLICATION_JSON })\r\n\tpublic Response insertMem(MemVO vo) {\r\n\t\tHashMap<String, Object> msg = null;\r\n\t\t// for general message, such as OK, failure\r\n\t\tHashMap<String, String> err = new HashMap<String, String>();\r\n\t\t// for column-specific message, such as hotel_name is invalid.\r\n\r\n\t\tif (vo.getMem_uid() == null) {\r\n\t\t\t// mem_uid is provided by firebase, so it can NOT be null.\r\n\t\t\terr.put(\"mem_uid\", \"must provide.\");\r\n\t\t} else {\r\n\t\t\tif ((dao.findByUid(vo.getMem_uid())) == null) {\r\n\t\t\t\t// 404 Not found - that is what we want.\r\n\t\t\t\t// msg = new HashMap<String, Object>();\r\n\t\t\t\t// msg.put(\"result\", \"failure\");\r\n\t\t\t\t// msg.put(\"error\", \"uid not exist.\");\r\n\t\t\t\t// return Response.status(Status.NOT_FOUND).entity(msg).build();\r\n\t\t\t} else {\r\n\t\t\t\t// 409 Conflict\r\n\t\t\t\tmsg = new HashMap<String, Object>();\r\n\t\t\t\tmsg.put(\"result\", \"failure\");\r\n\t\t\t\tmsg.put(\"error\", \"id already exist.\");\r\n\t\t\t\treturn Response.status(Status.CONFLICT).entity(msg).build();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// mem_lname\r\n\t\tif (vo.getMem_lname() == null) {\r\n\t\t\terr.put(\"mem_lname\", \"can't be empty.\");\r\n\t\t} else {\r\n\t\t\tif (vo.getMem_lname().trim().length() == 0)\r\n\t\t\t\terr.put(\"mem_lname\", \"can't be empty.\");\r\n\t\t\tif (vo.getMem_lname().trim().length() > 20)\r\n\t\t\t\terr.put(\"mem_lname\", \"too long.\");\r\n\t\t}\r\n\r\n\t\t// mem_fname\r\n\t\tif (vo.getMem_fname() == null) {\r\n\t\t\terr.put(\"mem_fname\", \"can't be empty.\");\r\n\t\t} else {\r\n\t\t\tif (vo.getMem_fname().trim().length() == 0)\r\n\t\t\t\terr.put(\"mem_fname\", \"can't be empty.\");\r\n\t\t\tif (vo.getMem_fname().trim().length() > 20)\r\n\t\t\t\terr.put(\"mem_fname\", \"too long.\");\r\n\t\t}\r\n\r\n\t\t// mem_nick\r\n\t\tif (vo.getMem_nick() == null) {\r\n\t\t\t// vo.setMem_nick(\"\");\r\n\t\t} else {\r\n\t\t\t// if (vo.getMem_nick().trim().length() == 0)\r\n\t\t\t// err.put(\"mem_nick\", \"can't be empty.\");\r\n\t\t\tif (vo.getMem_nick().trim().length() > 20)\r\n\t\t\t\terr.put(\"mem_nick\", \"too long.\");\r\n\t\t}\r\n\r\n\t\t// mem_sex\r\n\t\tif (vo.getMem_sex() == null) {\r\n\t\t\t// err.put(\"mem_sex\", \"must provide.\");\r\n\t\t\t// vo.setMem_sex(0);\r\n\t\t} else {\r\n\t\t\t// TODO handle allowed value. (ISO/IEC5218, maybe a new entity?)\r\n\t\t\tif (vo.getMem_sex() == 0 || vo.getMem_sex() == 1 || vo.getMem_sex() == 2 || vo.getMem_sex() == 9) {\r\n\t\t\t} else {\r\n\t\t\t\terr.put(\"mem_sex\", \"invalid input.\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// region_id\r\n\t\tif (vo.getRegionVO() == null || vo.getRegionVO().getRegion_id() < 0 || vo.getRegionVO().getRegion_id() == 0)\r\n\t\t\terr.put(\"region_id\", \"must provide.\");\r\n\r\n\t\t// mem_bdate\r\n\t\tif (vo.getMem_bdate() == null) {\r\n\t\t\terr.put(\"mem_bdate\", \"must provide.\");\r\n\t\t} else {\r\n\t\t\tif (vo.getMem_bdate().after(new Date())) {\r\n\t\t\t\t// Welcome back, Doctor Brown.\r\n\t\t\t\terr.put(\"mem_bdate\", \"invalid date.\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// mem_account\r\n\t\t// if use firebase, this column become unnecessary.\r\n\t\t// if (vo.getMem_account() == null) {\r\n\t\t// vo.setMem_account(UUID.randomUUID().toString());\r\n\t\t// } else {\r\n\t\t// if (vo.getMem_account().trim().length() == 0)\r\n\t\t// err.put(\"mem_account\", \"can't be empty.\");\r\n\t\t// if (vo.getMem_account().trim().length() > 40)\r\n\t\t// err.put(\"mem_account\", \"too long.\");\r\n\t\t// }\r\n\r\n\t\t// mem_pwd\r\n\t\t// if use firebase, this column become unnecessary.\r\n\t\t// if (vo.getMem_pwd() == null) {\r\n\t\t// vo.setMem_pwd(UUID.randomUUID().toString());\r\n\t\t// } else {\r\n\t\t// if (vo.getMem_pwd().trim().length() == 0)\r\n\t\t// err.put(\"mem_pwd\", \"can't be empty.\");\r\n\t\t// }\r\n\r\n\t\t// mem_id\r\n\t\t// if use firebase, this column become unnecessary.\r\n\t\t// if (vo.getMem_id() == null) {\r\n\t\t// } else {\r\n\t\t// }\r\n\r\n\t\t// mem_regtime\r\n\t\t// register time should be the time when data inserted.\r\n\t\tif (vo.getMem_regtime() == null) {\r\n\t\t\t// err.put(\"mem_regtime\", \"must provide.\");\r\n\t\t\tvo.setMem_regtime(new Date());\r\n\t\t} else {\r\n\t\t\tif (vo.getMem_regtime().after(new Date())) {\r\n\t\t\t\t// Welcome back, Doctor Brown.\r\n\t\t\t\terr.put(\"mem_regtime\", \"invalid date.\");\r\n\t\t\t}\r\n\t\t\tif (vo.getMem_bdate() != null && !vo.getMem_bdate().before(vo.getMem_regtime())) {\r\n\t\t\t\t// data can be after, before or EQUAL\r\n\t\t\t\terr.put(\"mem_regtime\", \"can't be earlier than birthday.\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// mem_email\r\n\t\t// newsletter only, nothing to do with login which handled by firebase.\r\n\t\tif (vo.getMem_email() == null) {\r\n\t\t\terr.put(\"mem_email\", \"can't be empty.\");\r\n\t\t} else {\r\n\t\t\tif (vo.getMem_email().trim().length() == 0)\r\n\t\t\t\terr.put(\"mem_email\", \"can't be empty.\");\r\n\t\t\tif (vo.getMem_email().trim().length() > 50)\r\n\t\t\t\terr.put(\"mem_email\", \"too long.\");\r\n\t\t}\r\n\r\n\t\t// mem_mobile\r\n\t\tif (vo.getMem_mobile() == null) {\r\n\t\t\tvo.setMem_mobile(\"\");\r\n\t\t} else {\r\n\t\t\tif (vo.getMem_mobile().trim().length() >= 50)\r\n\t\t\t\terr.put(\"mem_mobile\", \"too long.\");\r\n\t\t}\r\n\r\n\t\t// mem_photo\r\n\t\tif (vo.getMem_photo() == null) {\r\n\t\t} else {\r\n\t\t}\r\n\r\n\t\t// update database\r\n\t\tif (err.size() > 0) {\r\n\t\t\t// 400 Bad request\r\n\t\t\tmsg = new HashMap<String, Object>();\r\n\t\t\tmsg.put(\"result\", \"validation-error\");\r\n\t\t\tmsg.put(\"error\", \"invalid user input.\");\r\n\t\t\tmsg.put(\"validation\", err);\r\n\t\t\treturn Response.status(Status.BAD_REQUEST).entity(msg).build();\r\n\t\t} else {\r\n\t\t\ttry {\r\n\t\t\t\tdao.insert(vo);\r\n\t\t\t\t// 201 Created\r\n\t\t\t\tmsg = new HashMap<String, Object>();\r\n\t\t\t\tmsg.put(\"result\", \"success\");\r\n\t\t\t\treturn Response.status(Status.CREATED).entity(msg).build();\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\t// 500 Internal server error\r\n\t\t\t\tmsg = new HashMap<String, Object>();\r\n\t\t\t\tmsg.put(\"result\", \"failure\");\r\n\t\t\t\tmsg.put(\"error\", \"insert unsuccessful.\");\r\n\t\t\t\treturn Response.status(Status.INTERNAL_SERVER_ERROR).entity(msg).build();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3369eb064347b8f6154d6ae6409f508d", "score": "0.46298334", "text": "@POST\n @Consumes(\"application/json\")\n public Response postPedidos(Pedido pedido) {\n pedidoService.save(pedido);\n // Cria a URI com o ID do pedido que acabamos de criar\n URI createdUri = uriInfo.getAbsolutePathBuilder().path(pedido.getId()\n .toString()).build();\n \n return Response.created(createdUri).build();\n \n }", "title": "" }, { "docid": "1b2dae1373a5cba9ef74af8406d24501", "score": "0.46290076", "text": "@Override\r\n public void crearArticulo(String etiqueta, BigInteger existencias, String nombre, BigDecimal precio){\r\n int idArticulo = fachada.devolverNumArticulos() + 1;\r\n int idMojito = fachada.devolverElementos(3) + 1;\r\n Articulo articulo = new Articulo(idArticulo, nombre, precio);\r\n Mojito mojito = new Mojito(idMojito, etiqueta, articulo);\r\n try {\r\n manager.getTransaction().begin();\r\n manager.persist(articulo);\r\n manager.persist(mojito);\r\n System.out.println(\"Registra mojito\");\r\n manager.getTransaction().commit();\r\n } catch (Exception e) {\r\n System.out.println(\"No registra mojito\");\r\n }\r\n }", "title": "" }, { "docid": "a170062aa4b3b939aa878a177b0bfb7c", "score": "0.46135575", "text": "public Marqueur createMarqueur(long lieu_id, long user_id, String description) {\n ContentValues values = new ContentValues();\n\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n Date dateMnt = new Date(System.currentTimeMillis());\n values.put(MySQLiteHelper.COLUMN_DATECREATION, dateFormat.format(dateMnt));\n values.put(MySQLiteHelper.COLUMN_LIEUID, lieu_id);\n values.put(MySQLiteHelper.COLUMN_DESCRIPTION, description);\n values.put(MySQLiteHelper.COLUMN_USERID, user_id);\n\n long insertId = database.insert(MySQLiteHelper.TABLE_MARQUEUR, null, values);\n\n Cursor cursor = database.query(MySQLiteHelper.TABLE_MARQUEUR,\n allColumnsMarqueur, MySQLiteHelper.COLUMN_ID + \" = \" + insertId, null,\n null, null, null);\n\n cursor.moveToFirst();\n Marqueur newMarqueur = cursorToMarqueur(cursor);\n cursor.close();\n return newMarqueur;\n }", "title": "" }, { "docid": "e8b54d420ade5f133ceebe5ef7048caf", "score": "0.45931512", "text": "@PostMapping(\"/question-answer-themes\")\n @Timed\n public ResponseEntity<QuestionAnswerTheme> createQuestionAnswerTheme(@RequestBody QuestionAnswerTheme questionAnswerTheme) throws URISyntaxException {\n log.debug(\"REST request to save QuestionAnswerTheme : {}\", questionAnswerTheme);\n if (questionAnswerTheme.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(\"questionAnswerTheme\", \"idexists\", \"A new questionAnswerTheme cannot already have an ID\")).body(null);\n }\n QuestionAnswerTheme result = questionAnswerThemeRepository.save(questionAnswerTheme);\n return ResponseEntity.created(new URI(\"/api/question-answer-themes/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"questionAnswerTheme\", result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "850498f65c7d6f77dd71e85ca5e23aa5", "score": "0.45753095", "text": "@GetMapping(\"/create\")\n public String crear(Vacante vacante, Model model) {\n model.addAttribute(\"categorias\", categoriaService.buscarTodas());\n return \"vacantes/formVacantes\";\n }", "title": "" }, { "docid": "2918ed31d53111ecfaec19e1b63cf234", "score": "0.45651585", "text": "private void createQueue()\n throws Exception\n {\n localLogger.debug(\"creating queue {}\", resourceName);\n\n CreateQueueRequest createRequest = new CreateQueueRequest().withQueueName(resourceName);\n CreateQueueResult createResponse = sqsClient.createQueue(createRequest);\n queueUrl = createResponse.getQueueUrl();\n queueArn = retrieveQueueAttribute(\"QueueArn\");\n }", "title": "" }, { "docid": "c2a73a6b9bb6d7cbdd609c14492d4396", "score": "0.45485392", "text": "@PostMapping(\"/games\")\n @ResponseStatus(HttpStatus.CREATED)\n public Kalah create() {\n\n Kalah kalah = new Kalah(counter.get());\n repository.put(counter.get(), kalah);\n counter.getAndIncrement();\n return kalah;\n }", "title": "" }, { "docid": "93f280c677efc341daae7a9c5115875a", "score": "0.454429", "text": "@PostMapping\r\n\tpublic Tarefa adicionarTarefa(@Valid @RequestBody Tarefa tarefa) { \r\n\t\t return tarefas.save(tarefa); \r\n\t}", "title": "" }, { "docid": "dac9daa8f260c648893f58f70c853e5a", "score": "0.4532126", "text": "@Transactional\n @PostMapping(\"/cats\")\n public Cat createCat(@Valid @RequestBody Cat cat) {\n return catRepository.save(cat);\n }", "title": "" }, { "docid": "e5278ecbdd3798037e264bde20e2c50b", "score": "0.45313728", "text": "@PostMapping(\"/{id}/create\")\n public ModelAndView createPhone(@PathVariable Long id, @Valid RequisicaoFormPhone requisicao,\n BindingResult bindingResult) {\n System.out.println(\" Telefones = \" + requisicao);\n if (bindingResult.hasErrors()) {\n System.out.println(\"\\n************* TEM ERROS Telefones***************\\n\");\n\n ModelAndView mv = new ModelAndView(\"phones/new\");\n mv.addObject(\"listaTipoTelefone\", TipoPhone.values());\n return mv;\n } else {\n Phone Phone = requisicao.toPhone();\n this.PhoneRepository.save(Phone);\n\n return new ModelAndView(\"redirect:/phones/\" + Phone.getId());\n }\n }", "title": "" }, { "docid": "3aa56db0208a519bc19aa8937016bb31", "score": "0.45187607", "text": "@PostMapping(\"/finansal-harekets\")\n @Timed\n public ResponseEntity<FinansalHareket> createFinansalHareket(@RequestBody FinansalHareket finansalHareket) throws URISyntaxException {\n log.debug(\"REST request to save FinansalHareket : {}\", finansalHareket);\n if (finansalHareket.getId() != null) {\n throw new BadRequestAlertException(\"A new finansalHareket cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n FinansalHareket result = finansalHareketService.save(finansalHareket);\n return ResponseEntity.created(new URI(\"/api/finansal-harekets/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "bf8f06cb2b00061d5e9a87f73eca484f", "score": "0.4512687", "text": "@GetMapping(value = \"/create\")\n\tpublic String crear(Model model,@ModelAttribute Horario horario) {\n\t\t\n\t\t\n\t\tmodel.addAttribute(\"peliculas\", servicePeliculas.buscarTodas());\n\t\tmodel.addAttribute(\"horario\", horario);\n\t\t\t\t\n\t\t\n\t\treturn \"horarios/formHorario\";\n\t}", "title": "" }, { "docid": "5e068022881ca3e3285ba74c057fa933", "score": "0.45040733", "text": "@PostMapping(\"/qms-processes\")\n @Timed\n public ResponseEntity<QmsProcess> createQmsProcess(@Valid @RequestBody QmsProcess qmsProcess) throws URISyntaxException {\n log.debug(\"REST request to save QmsProcess : {}\", qmsProcess);\n if (qmsProcess.getId() != null) {\n throw new BadRequestAlertException(\"A new qmsProcess cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n //如果传过来的值为null,则应该改为\"\"\n if(qmsProcess.getProcessName()==null){\n qmsProcess.setProcessName(\"\");\n }\n if(qmsProcess.getCompPkid()==null){\n qmsProcess.setCompPkid(\"\");\n }\n if(qmsProcess.getRemark()==null){\n qmsProcess.setRemark(\"\");\n }\n // session取得用户信息\n Authentication authentication = SecurityContextHolder.getContext().getAuthentication();\n // 取得用户信息\n UserDetails user = (UserDetails) authentication.getPrincipal();\n qmsProcess.setMakeUser(user.getUsername());\n qmsProcess.setModifyUser(user.getUsername());\n qmsProcess.setMakeTime(dateUtil.getDBNowDate());\n qmsProcess.setModifyTime(dateUtil.getDBNowDate());\n QmsProcess result = qmsProcessRepository.save(qmsProcess);\n return ResponseEntity.created(new URI(\"/api/qms-processes/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "d6a09027ae810b8a88223d1456ed2ded", "score": "0.448226", "text": "@PostMapping // anotação para mapear post solicitações de http em métodos de tratamente específicos\n\tpublic CategoriaModel postCategoria(@RequestBody CategoriaModel categoria) {\n\t\trepository.save(categoria);\n\t\treturn categoria; // end point de postagem\n\t}", "title": "" }, { "docid": "bb126769c4a58013cfcb49a997089ef3", "score": "0.44781724", "text": "@POST @Path(\"create\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\t@Consumes(MediaType.APPLICATION_JSON)\n\tpublic void createAdventure(Adventure adventure) { \n\t\tAdventureService.addAdventure(adventure); \n\t}", "title": "" }, { "docid": "857c7b124ebf46c011056fa097583c55", "score": "0.44753394", "text": "Subjects create(Subjects subjects);", "title": "" }, { "docid": "17986a0d6d7df0321b546c4b7c6ecf35", "score": "0.44711652", "text": "@PostMapping(\"/createSurvey\")\n\tpublic SurveyMaster createSurvey (@RequestBody SurveyMaster surveyMaster) {\n\t\treturn masterService.createSurvey(surveyMaster);\n\t}", "title": "" }, { "docid": "3fae72b957e6093fefd98ce28533ee5d", "score": "0.4468269", "text": "public long createMarathonForum(long roundID, String name) throws EJBException, RemoteException;", "title": "" }, { "docid": "c28e1bb28eabebd0673ee824e3163d40", "score": "0.44641256", "text": "@Test\n\tvoid testCreate() throws Exception {\n\t\t// Creating body as this will be tested\n\t\tCars testKit = new Cars(\"Ferrari\", \"488 Spider\", 2019);\n\t\t// convert to json\n\t\tString testKitAsJSON = this.mapper.writeValueAsString(testKit);\n\n\t\tSystem.out.println(testKit);\n\t\tSystem.out.println(testKitAsJSON);\n\n\t\t// body, method, address and the content-type header\n\t\tRequestBuilder request = post(\"/createCar\").contentType(MediaType.APPLICATION_JSON).content(testKitAsJSON);\n\n\t\t// check the response body and status\n\n\t\tResultMatcher checkStatus = status().isCreated();\n\n\t\tCars testCreatedKit = new Cars(\"Ferrari\", \"488 Spider\", 2019);\n\t\ttestCreatedKit.setId(4); // due to the AUTO_INCREMENT\n\t\tString testCreatedKitAsJSON = this.mapper.writeValueAsString(testCreatedKit);\n\n\t\tResultMatcher checkBody = content().json(testCreatedKitAsJSON);\n\t\t// SEND request and check status + body\n\t\tthis.mockMVC.perform(request).andExpect(checkStatus).andExpect(checkBody);\n\t}", "title": "" }, { "docid": "00648800dc8a022396d9ea406a5f2266", "score": "0.44468576", "text": "Question createQuestion();", "title": "" }, { "docid": "6b05fe77012d34dce630e742bd12f877", "score": "0.4446322", "text": "private void remplirLeMur()\n {\n murNonVide = new AddPost( new CreatePost(murNonVide.idMax()+1,like,dislike,contenu), murNonVide);\n murNonVide = new AddPost(new CreatePost(murNonVide.idMax()+1,like,dislike,contenu),murNonVide);\n murNonVide = new AddPost(new CreatePost(murNonVide.idMax()+1, like,dislike,contenu),murNonVide);\n murNonVide = new AddPost(new CreatePost(murNonVide.idMax()+1, like,dislike,contenu),murNonVide);\n }", "title": "" }, { "docid": "ce608a6e545e0aa249416f813f167145", "score": "0.44407365", "text": "@POST(\"auth/registrar\")\n Call<Paciente> post(@Body Paciente post);", "title": "" }, { "docid": "eb857b44ef29b9bec3f66fd15ce54373", "score": "0.44386923", "text": "@RequestMapping(value = \"/medecins\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Medecin> create(@RequestBody Medecin medecin) throws URISyntaxException {\n log.debug(\"REST request to save Medecin : {}\", medecin);\n if (medecin.getId() != null) {\n return ResponseEntity.badRequest().header(\"Failure\", \"A new medecin cannot already have an ID\").body(null);\n }\n Medecin result = medecinRepository.save(medecin);\n medecinSearchRepository.save(result);\n return ResponseEntity.created(new URI(\"/api/medecins/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"medecin\", result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "7912adc27f154693387b04521845e10e", "score": "0.44371372", "text": "@RequestMapping(value = \"/adicionaMedida\", method = POST)\n public String cadastrarMedida(@ModelAttribute Medida medida) {\n if (medida.getMedId()== null) {\n medidaDao.persist(medida);\n } else {\n medidaDao.merge(medida);\n }\n return \"redirect:listMedida\";\n\n }", "title": "" }, { "docid": "9a6f9e18f10de0fd3575ad7c5da78310", "score": "0.4433225", "text": "@Override\n public void agregarMueble(Mueble mueble) throws OperacionInvalidaException {\n try {\n persistencia.create(mueble); \n }\n catch(Exception ex)\n {\n throw new OperacionInvalidaException(ex.getMessage());\n }\n }", "title": "" }, { "docid": "90f40f089bba06f16514bf890b5df233", "score": "0.44305128", "text": "@RequestMapping(value=\"/Paiement/{id}\",method=RequestMethod.POST)\n public Paiement save(@PathVariable Long id,@RequestBody Paiement M){\n M.setId_Paiement(id);\n return PaiementRepository.save(M);\n }", "title": "" }, { "docid": "e2d793fb8029dac8147087e6175ab409", "score": "0.44272915", "text": "@RequestMapping(value = \"/actor/\", method = RequestMethod.POST)\n public ResponseEntity<Void> createActor(@RequestBody Actor actor, UriComponentsBuilder ucBuilder) {\n \n \t//TODO controllo utente già esistente\n \t\n \tif (actorService.exist(actor).size() > 0){\n System.out.println(\"Attore con questo nome già esistente\");\n return new ResponseEntity<Void>(HttpStatus.CONFLICT);\n \t\t\n \t}\n \t\n \tActor actorCriteria = new Actor();\n \tactorCriteria.setFirst_name(actor.getFirst_name());\n \tactorCriteria.setLast_name(actor.getLast_name());\n \tactorCriteria.setLast_update(new Timestamp(System.currentTimeMillis()));\n actorService.saveActor(actorCriteria);\n \n HttpHeaders headers = new HttpHeaders();\n headers.setLocation(ucBuilder.path(\"/actor/{id}\").buildAndExpand(actorCriteria.getActor_id()).toUri());\n return new ResponseEntity<Void>(headers, HttpStatus.CREATED);\n }", "title": "" }, { "docid": "94c3d056a350151e84ebb2250b3f868c", "score": "0.44265905", "text": "@Override\n\tpublic Facturado crear(Facturado fac) {\n\t\ttry {\n\t\t\treturn nuev.save(fac);\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\tSystem.out.println(e);\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "72990498853279f4f2a904345c4e585c", "score": "0.4424879", "text": "@PostMapping(\"/dojo-clubs\")\n @Timed\n public ResponseEntity<DojoClub> createDojoClub(@Valid @RequestBody DojoClub dojoClub) throws URISyntaxException {\n log.debug(\"REST request to save DojoClub : {}\", dojoClub);\n if (dojoClub.getId() != null) {\n throw new BadRequestAlertException(\"A new dojoClub cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n LocalDate today = LocalDate.now();\n dojoClub.setDateCreation(today);\n DojoClub result = dojoClubRepository.save(dojoClub);\n return ResponseEntity.created(new URI(\"/api/dojo-clubs/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "7b125b1284d3cfa985485654ade6f323", "score": "0.44236454", "text": "public Post addPost (Post post);", "title": "" }, { "docid": "5e19641966821454524cc51b94e5abfd", "score": "0.44235423", "text": "public static Result create() {\n models.Student defaults = new models.Student(\"StudentXX\",\"\",\"\",\"\");\n Form<models.Student> studentForm = form(models.Student.class).fill(defaults);\n List<models.Student> students = models.Student.find().all();\n return ok(studentCreate.render(studentForm, students));\n }", "title": "" }, { "docid": "622ac030a64899863a34b15d897d0163", "score": "0.44183582", "text": "@POST(\"posts\")\n Call<Post> createPost(@Body Post post);", "title": "" }, { "docid": "622ac030a64899863a34b15d897d0163", "score": "0.44183582", "text": "@POST(\"posts\")\n Call<Post> createPost(@Body Post post);", "title": "" }, { "docid": "328b83133a46e28fd9d887cb0102e786", "score": "0.44103536", "text": "public Vehiculo(Marca marca, int antiguedad, int kilometraje)\n {\n this.marca = marca;\n this.antiguedad = antiguedad;\n this.kilometraje = kilometraje;\n ID++;\n }", "title": "" }, { "docid": "98405642586db7c24dc63d25c220bb79", "score": "0.44100985", "text": "@POST(\"api/sesion/\")\r\n Call<Sesion> crearSesion(@Body Sesion sesion);", "title": "" }, { "docid": "b87c0077454ea4664e37846304ff264c", "score": "0.44091746", "text": "@PostMapping(\"/form\")\n\tpublic String guardar(@Valid Factura factura, BindingResult result, Model model,\n\t\t\t@RequestParam(name = \"item_id[]\", required = false) Long[] itemId,\n\t\t\t@RequestParam(name = \"cantidad[]\", required = false) Integer[] cantidad, RedirectAttributes flash,\n\t\t\tSessionStatus status) {\n\n\t\tif (result.hasErrors()) {\n\n\t\t\tmodel.addAttribute(\"titulo\", \"Crear Factura\");\n\n\t\t\treturn RutasTemplates.FACTURA_FORM;\n\n\t\t}\n\n\t\tif (itemId == null || itemId.length == 0) {\n\t\t\t\n\t\t\tmodel.addAttribute(\"titulo\", \"Crear Factura\");\n\t\t\tmodel.addAttribute(\"error\", \"la factura debe tener al menos una linea\");\n\t\t\treturn RutasTemplates.FACTURA_FORM;\n\t\t}\n\n\t\tfor (int i = 0; i < itemId.length; i++) {\n\n\t\t\tProducto producto = inquilinoService.findProductoById(itemId[i]);\n\n\t\t\tItemFactura linea = new ItemFactura();\n\t\t\tlinea.setCantidad(cantidad[i]);\n\t\t\tlinea.setProducto(producto);\n\n\t\t\tfactura.addItemFactura(linea);\n\n\t\t\tlog.info(\"Id: \" + itemId[i].toString() + \" Cantidad: \" + cantidad[i].toString());\n\n\t\t}\n\n\t\tinquilinoService.saveFactura(factura);\n\n\t\tstatus.setComplete();\n\n\t\tflash.addFlashAttribute(\"succes\", \"Factura registrada con exito!\");\n\n\t\treturn \"redirect:/\"+ RutasTemplates.INQUILINO_VER +\"/\"+ factura.getInquilino().getId();\n\t}", "title": "" }, { "docid": "ebbb4d95215115c913fd5c55335c0091", "score": "0.43900192", "text": "@Override\n\tpublic Refmedication createmedication(Refmedication medication) {\n\t\tmedication.setMedicationname(medication.getMedicationname());\n\t\tmedication.setMedicatiodescription(medication.getMedicatiodescription());\n\t\treturn medicationrep.save(medication);\n\t}", "title": "" }, { "docid": "4504efdb84779b333409fbd515c09819", "score": "0.43885726", "text": "@PostMapping(\"/members\")\n public Member createMember(@RequestBody Member member){\n return repository.save(member);\n }", "title": "" }, { "docid": "f1bfcff4ef30ce2b415a0a03102391c5", "score": "0.43743664", "text": "@Transactional\n @RequestMapping(method = RequestMethod.POST)\n @ResponseStatus(HttpStatus.CREATED)\n public MenteeMentorProgramRequest create(@RequestBody MenteeMentorProgramRequest entity) throws MentorMeException {\n return menteeMentorProgramRequestService.create(entity);\n }", "title": "" }, { "docid": "0ba3427f1a50c2d90f65440851a452a7", "score": "0.43735725", "text": "public void estraiMazzo(Mazzo m){\n try {\n while (rs.next()) {\n temp = new CartaPersonaggio();\n temp.setId(rs.getInt(\"id\"));\n temp.setNome(rs.getString(\"nome\"));\n temp.setDescrizione(rs.getString(\"descrizione\"));\n temp.setDenari(rs.getInt(\"denari\"));\n temp.setScuderia(rs.getInt(\"quotazione\"));\n\t\t\t\ttemp.setImmagine(rs.getString(\"immagine\"));\n m.addCarta(temp);\n } \n } catch (SQLException e) {\n e.printStackTrace();\n }\n \n }", "title": "" }, { "docid": "f6e57f8a024e80690791168d15c8a645", "score": "0.43689656", "text": "Publisher create(String publisherName, String publisherAddress, String publisherPhone) throws SQLException;", "title": "" }, { "docid": "9cfbea88b6ef20942717d6df06928710", "score": "0.43684152", "text": "@POST //POST at http://localhost:XXX/store/rest/customers.\n @Consumes(MediaType.APPLICATION_FORM_URLENCODED)\n public Response createStudentForm(@FormParam(\"name\") String name, @FormParam(\"email\") String email) {\n if (checkEmail(email) != null){\n return Response.serverError().entity(\"Could not create new customer with email: \" + email +\n \"\\nReason: This email has been used!\").build();\n }\n\n Customer toBeAdded = new Customer(name, email);\n customers.add(toBeAdded);\n return Response.noContent().build();\n }", "title": "" }, { "docid": "5d348da5d79d34f590a3754a3b160f75", "score": "0.43657985", "text": "@PostMapping(\"/question\")\n\tpublic String createQuestion(@Valid @RequestBody Question question) {\n\t\tList<Version> versions = VersionRepository.findAll();\n\n\t\tfor (Version version : versions) {\n\t\t\tif (version.getvId() == question.getvId()) {\n\n\t\t\t\tquestionRepository.save(question);\n\n\t\t\t\tquestionVersionMapping.setqId(question.getqId());\n\t\t\t\tquestionVersionMapping.setvId(question.getvId());\n\t\t\t\tquestionVersionMappingRepository.save(questionVersionMapping);\n\n\t\t\t\treturn \"Question erfolgreich angelegt.\";\n\t\t\t}\n\t\t}\n\t\treturn \"Question konnte nicht angelegt werden.\";\n\t}", "title": "" }, { "docid": "e26eeca362f6c6c6f3887f26705b49cd", "score": "0.43625054", "text": "public Mazo() {\n this.mazo = new Carta[NUM_CARTAS];\n this.posSigCarta = 0;\n crearMazo();\n }", "title": "" }, { "docid": "9cc296beb8f093e5240f1c568aae0c26", "score": "0.43610904", "text": "@PostMapping(path = \"/add\")\n\t\tpublic BicSolene createBicSolene(@RequestBody @Valid BicSolene bicSolene) {\n\t\t\n\t\treturn bicSoleneserv.addBicSolene(bicSolene);//(location).build();\n\t\t\n\t}", "title": "" }, { "docid": "eead3802f1aa1948b019fd508f05bec1", "score": "0.43536583", "text": "@PostMapping(\"create/ram\")\n //request body with object to post\n public RAM createRAM(@Valid @RequestBody RAM ram, HttpServletRequest request) {\n //append to log\n logger.trace( request.getRemoteAddr() );\n //return the corresponding service logical function\n return ramService.createRAM(ram);\n }", "title": "" }, { "docid": "b96bf65cd82d28e1300d5e9cae1de9d9", "score": "0.4345126", "text": "public void createQuestion( QuestionView view ) \r\n {\t\t \t \t\r\n \tquestionDAO.alter(setPost(view));\r\n }", "title": "" }, { "docid": "2a89682c61b080212a28fbd128c6c389", "score": "0.43411002", "text": "void create(M item);", "title": "" }, { "docid": "2f0ce6d7f660c7e84982c6e19c64e5b0", "score": "0.43402985", "text": "@Test\n public void bookRestController_PostTest() throws Exception {\n this.mockMvc.perform(post(\"/books\")\n .contentType(MediaType.APPLICATION_JSON)\n .content(\"{\\n\" +\n \" \\\"title\\\": \\\"A Tale of Two Cities\\\",\\n\" +\n \" \\\"author\\\": \\\"Charles Dickens\\\",\\n\" +\n \" \\\"publishedYear\\\": \\\"1859\\\",\\n\" +\n \" \\\"publisher\\\": \\\"Chapman & Hall\\\",\\n\" +\n \" \\\"genre\\\": \\\"Fiction\\\",\\n\" +\n \" \\\"format\\\": \\\"Hardback\\\"\\n\" +\n \"}\"))\n .andExpect(status().isOk());\n }", "title": "" }, { "docid": "50ecda11dc62f3b78ebb4ff285dac640", "score": "0.43375263", "text": "public es.emergya.negocio.model.Factura createFactura(long facturaId);", "title": "" }, { "docid": "fc5d56bbd5ead2cc61fa1438aa757598", "score": "0.43257317", "text": "public void deleteMarqueur(Marqueur m1) {\n long id = m1.getMarqueur_id();\n System.out.println(\"Marqueur deleted with id: \" + id);\n database.delete(MySQLiteHelper.TABLE_MARQUEUR, MySQLiteHelper.COLUMN_ID + \" = \" + id, null);\n }", "title": "" }, { "docid": "2d238982fadd19fb233d4fdf692106ef", "score": "0.4323926", "text": "@PostMapping(\"/plano-contabils\")\n @Timed\n public ResponseEntity<PlanoContabil> createPlanoContabil(@RequestBody PlanoContabil planoContabil) throws URISyntaxException {\n log.debug(\"REST request to save PlanoContabil : {}\", planoContabil);\n if (planoContabil.getId() != null) {\n throw new BadRequestAlertException(\"A new planoContabil cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n PlanoContabil result = planoContabilRepository.save(planoContabil);\n planoContabilSearchRepository.save(result);\n return ResponseEntity.created(new URI(\"/api/plano-contabils/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "f504006bd5a03141b729332ae3b04ded", "score": "0.4319845", "text": "public static void postNewEchantillon(Context context, final int qty, final int medicament_id){\n\n\n RequestQueue queue = Volley.newRequestQueue(context);\n StringRequest sr = new StringRequest(Request.Method.POST,\"http://10.0.2.2:80/eventsched/v1/addechantillon.php\", new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {\n\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n\n }\n }){\n @Override\n protected Map<String,String> getParams(){\n Map<String,String> params = new HashMap<String, String>();\n\n params.put(\"qty\", String.valueOf(qty));\n params.put(\"medicament_id\", String.valueOf(medicament_id));\n\n System.out.println(params);\n return params;\n\n }\n\n @Override\n public Map<String, String> getHeaders() throws AuthFailureError {\n Map<String,String> params = new HashMap<String, String>();\n params.put(\"Content-Type\",\"application/x-www-form-urlencoded\");\n return params;\n }\n };\n\n queue.add(sr);\n }", "title": "" }, { "docid": "990a755e36414b660c906ed9bbc26727", "score": "0.43193215", "text": "@PostMapping(path = \"/recipe\")\n public ResponseEntity<Recipe> create(@RequestBody Recipe recipe){\n return recipeService.save(recipe);\n }", "title": "" }, { "docid": "7b1650dfb0cce1338e8ed647f33d978d", "score": "0.43178177", "text": "@Override\n Question create(Question t);", "title": "" }, { "docid": "7290ad97aa4c68c169c87b0b648d3080", "score": "0.43148032", "text": "@PostMapping(\"/saveQuestion\")\n\tpublic SurveyQuestionMaster saveQuestion (@RequestBody SurveyQuestionMaster questionMaster) {\n\t\treturn masterService.saveQuestion(questionMaster);\n\t}", "title": "" }, { "docid": "5cce0e37387dcde39d0504e88c53472f", "score": "0.43132523", "text": "public boolean post()\n {\n try\n {\n String[] params = { Integer.toString(getMilestoneID()), Integer.toString(getMilestoneStatusCode()), getMilestoneName(), Integer.toString(getMilestoneNumber()), getMilestoneDueDate(), Boolean.toString(getMilestoneApproved()) };\n dbClass.setData(\"INSERT INTO milestone (ID, StatusCode, Name, Number, DueDate, Approved) VALUES (?, ?, ?, ?, ?, ?)\", params);\n return true; \n }\n catch (Exception ex)\n {\n ex.printStackTrace();\n return false;\n }\n }", "title": "" }, { "docid": "dc1aa78ffbdb2652ba7b9b3bd24dbe0a", "score": "0.43123135", "text": "@PostMapping(value = \"/addcar\")\n public void addNewCar(@RequestBody Car car) {\n kafkaTemplate.send(topic, car);\n carService.addCar(car);\n }", "title": "" }, { "docid": "77a7045ca08d902c8aee703d113c8053", "score": "0.4310284", "text": "public void guardar() {\n try {\n MtArticulos art = new MtArticulos();\n\n st.beginTransaction();\n\n MtMarcas codigoMarca = retornoMarcaPorCodigo(\"CAS\");\n\n Object tipoArt = this.cmbTipoArticulo.getSelectedItem();\n MtTiposArticulos codigoTipoArticulo = retornoTipoPorDescripcion(tipoArt.toString());\n\n MtMonedas codMonedaCo = retornoMoneda(1);\n MtMonedas codMonedaVe = retornoMoneda(1);\n\n String varCodUniVen = this.cmbUnidadMedidaVenta.getSelectedItem().toString();\n MtUnidMedidas codUniCom = retornoUnidMedidaPorDescripcion(varCodUniVen);\n MtUnidMedidas codUniVen = codUniCom;\n\n if (origen.equals(\"Nuevo\")) {\n art.setCodArticulo(txtCodProducto.getText());\n art.setNomArticulo(this.txtDescripcionProd.getText());\n art.setMtMarcas(codigoMarca);\n art.setReferencia(this.txtDescripcionProd.getText());\n art.setMtTiposArticulos(codigoTipoArticulo);\n art.setMtMonedasByCodMonedaCompra(codMonedaCo);\n art.setMtMonedasByCodMonedaVenta(codMonedaVe);\n art.setMtUnidMedidasByUniMedidaCom(codUniCom);\n art.setMtUnidMedidasByUniMedidaVenta(codUniVen);\n art.setPrecioCompra(new BigDecimal(this.txtCostoProd.getValue().toString()));\n art.setPrecioVenta(new BigDecimal(this.txtPrecioVenta.getValue().toString()));\n art.setImpuesto(10);\n art.setControlStock('S');\n art.setEsMateriaPrima('E');\n art.setCantDiasVenc(Integer.parseInt(this.txtDiasVenc.getText()));\n art.setFraccionable(this.chkFraccionable.isSelected());\n art.setAccionMod(origen);\n art.setUsuarioMod(usuario);\n art.setFechaMod(new Date());\n\n guardarIngredientes();\n st.save(art);\n\n } else {\n art = obtenerProducto(this.txtCodProducto.getText());\n\n art.setNomArticulo(this.txtDescripcionProd.getText());\n art.setMtMarcas(codigoMarca);\n art.setReferencia(this.txtDescripcionProd.getText());\n art.setMtTiposArticulos(codigoTipoArticulo);\n art.setMtMonedasByCodMonedaCompra(codMonedaCo);\n art.setMtMonedasByCodMonedaVenta(codMonedaVe);\n art.setMtUnidMedidasByUniMedidaCom(codUniCom);\n art.setMtUnidMedidasByUniMedidaVenta(codUniVen);\n art.setPrecioCompra(new BigDecimal(this.txtCostoProd.getValue().toString()));\n art.setPrecioVenta(new BigDecimal(this.txtPrecioVenta.getValue().toString()));\n art.setImpuesto(10);\n art.setControlStock('S');\n art.setEsMateriaPrima('E');\n art.setCantDiasVenc(Integer.parseInt(this.txtDiasVenc.getText()));\n art.setFraccionable(this.chkFraccionable.isSelected());\n art.setAccionMod(origen);\n art.setUsuarioMod(usuario);\n art.setFechaMod(new Date());\n\n borrarIngredientes(art);\n guardarIngredientes();\n st.update(art);\n }\n\n st.getTransaction().commit();\n\n habilitarBotones();\n\n } catch (NumberFormatException | HibernateException ex) {\n st.getTransaction().rollback();\n JOptionPane.showMessageDialog(null, \"Error al guardar registro de la receta. \"\n + \"\\n\" + ex.getMessage() + \"\\n\" + ex.getCause(), \"Recetas\", JOptionPane.ERROR_MESSAGE);\n ex.printStackTrace();\n }\n }", "title": "" }, { "docid": "44061e7beafe53ca53dcfd27025327e1", "score": "0.4309376", "text": "@PostMapping(\"/resultat-recherches\")\n public ResponseEntity<ResultatRecherche> createResultatRecherche(@Valid @RequestBody ResultatRecherche resultatRecherche) throws URISyntaxException {\n log.debug(\"REST request to save ResultatRecherche : {}\", resultatRecherche);\n if (resultatRecherche.getId() != null) {\n throw new BadRequestAlertException(\"A new resultatRecherche cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n ResultatRecherche result = resultatRechercheRepository.save(resultatRecherche);\n return ResponseEntity.created(new URI(\"/api/resultat-recherches/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "34c33b14c144d3c2a58a3340a5df42de", "score": "0.43082714", "text": "@PostMapping(\"/transacaos\")\n @Timed\n public ResponseEntity<Transacao> createTransacao(@Valid @RequestBody Transacao transacao) throws URISyntaxException {\n log.debug(\"REST request to save Transacao : {}\", transacao);\n if (transacao.getId() != null) {\n throw new BadRequestAlertException(\"A new transacao cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n Transacao result = transacaoService.save(transacao);\n return ResponseEntity.created(new URI(\"/api/transacaos/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "feb63ed30b7a12cd32d195c536e0ad50", "score": "0.43071207", "text": "@Override\r\n\tpublic void addFaq(FaqModel faq_model) {\n\t\tschooldao.addFaq(faq_model);\r\n\t}", "title": "" }, { "docid": "95e5c2871000b4735ecffbb9eb0c8147", "score": "0.43043342", "text": "public Marche() {\n\n\t}", "title": "" }, { "docid": "8794cee97b300377262a59076be61ea7", "score": "0.42971146", "text": "public void create(Telefono entity) {\n\n\t}", "title": "" }, { "docid": "bf69274bba0c6eaf24ed4885927bb100", "score": "0.42967898", "text": "public RichiestaBeneInv create(long id_richiesta);", "title": "" }, { "docid": "6b5e708281504e156e7a4529b11c9b86", "score": "0.42882904", "text": "@GetMapping(\"/marques\")\n @Timed\n public ResponseEntity<List<Marque>> getAllMarques(@ApiParam Pageable pageable) {\n log.debug(\"REST request to get all Marques\");\n Page<Marque> page = marqueRepository.findAll(pageable);\n HttpHeaders headers = PaginationUtil.generatePaginationHttpHeaders(page, \"/api/marques\");\n return new ResponseEntity<>(page.getContent(), headers, HttpStatus.OK);\n }", "title": "" } ]
a12a90f02667dd2e8e9b8216cd2e8f9e
/ Manage Orders ============= Add Order Edit Order Delete Order
[ { "docid": "737e8787e3f38b96977f96f1b6b4f455", "score": "0.0", "text": "@RequestMapping(value=\"CreateNewOrder\", method = RequestMethod.POST)\n public ResponseEntity<String> createNewOrder(@RequestParam String data, HttpSession sessionObj) {\n\t\tMap<String, String> errorMap = new HashMap<String, String>();\n\t\terrorMap.put(\"Status\", \"An account with this email address already exists.\");\n\t\tString returnJson = gson.toJson(errorMap);\n\t\t\n\t\tMap<String, Object> map = gson.fromJson(data, new TypeToken<Map<String, Object>>(){}.getType());\n\t\tAccount acc = accDao.getAccount((Integer)sessionObj.getAttribute(\"loginId\"));\n\t\t\t\n\t\tMDate d1 = new MDate((String) map.get(\"date\"));\n\t\tOrders newOrder = new Orders();\n\t\tnewOrder.setAccount(acc);\n\t\tnewOrder.setOrderDate(d1.getDateObject());\n\t\tnewOrder.setShipping((String) map.get(\"shipping\"));\n\t\tnewOrder.setTax(Integer.parseInt((String) map.get(\"tax\")));\n\t\tnewOrder.setTotal(Double.parseDouble((String) map.get(\"total\")));\n\t\tnewOrder.setStatus(\"Pending\");\n\t\torderDao.create(newOrder);\n\t\t\n\t\tList<Map<String, Object>> newOrderItems = (List<Map<String, Object>>) map.get(\"orderItems\");\n\t\tfor(Map<String, Object> newOrderMap : newOrderItems){\n\t\t\tint productId = Integer.parseInt((String) newOrderMap.get(\"productId\"));\n\t\t\tint quantity = Integer.parseInt((String) newOrderMap.get(\"quantity\"));\n\t\t\tdouble total = Double.parseDouble((String) newOrderMap.get(\"total\"));\n\t\t\tOrderItemId newOrderItemId = new OrderItemId(newOrder.getId(), productId);\n\t\t\tOrderItem newOrderItem = new OrderItem();\n\t\t\tnewOrderItem.setOrderItemId(newOrderItemId);\n\t\t\tnewOrderItem.setQuantity(quantity);\n\t\t\tnewOrderItem.setTotal(total);\n\t\t\torderItemDao.create(newOrderItem);\n\t\t}\n\t\t\n\t\treturnJson = gson.toJson(accDao.getAccountDetail((Integer)sessionObj.getAttribute(\"loginId\")));\n\t HttpHeaders responseHeaders = new HttpHeaders();\n\t responseHeaders.setContentType(MediaType.APPLICATION_JSON);\n\t return new ResponseEntity<String>(returnJson, responseHeaders, HttpStatus.CREATED);\n\t}", "title": "" } ]
[ { "docid": "bda8f4d8955ec32e0dbd6a0a830ccaec", "score": "0.66817296", "text": "private void deleteOrder() {\n\t\tString errorMsg = null;\n\t\tString askMsg = \"POS.DeleteOrder\";\t//\tTODO Translate it: Do you want to delete Order?\n\t\tif (v_POSPanel.isCompleted()) {\t\n\t\t\taskMsg = \"POS.OrderIsAlreadyCompleted\";\t//\tTODO Translate it: The order is already completed. Do you want to void it?\n\t\t}\n\t\t//\tShow Ask\n\t\tif (FDialog.ask(0, this, Msg.getMsg(m_ctx, askMsg))) {\n\t\t\terrorMsg = v_POSPanel.cancelOrder();\n\t\t} \n\t\tif(errorMsg != null){\n\t\t\tFDialog.error(0, Msg.parseTranslation(m_ctx, errorMsg));\n\t\t\treturn;\n\t\t}\n\t\t//\tUpdate\n\t\tv_POSPanel.refreshPanel();\n\t}", "title": "" }, { "docid": "bb2de22f679f7c8f4a7aa7bc7dd25435", "score": "0.6600846", "text": "OrderVO updateOrder(OrderVO order, String orderId);", "title": "" }, { "docid": "5070f89ea7f177e1698384405f013326", "score": "0.65890545", "text": "@Override\n\tpublic void saveOrders(Orders order) {\n\t\t ordersDao.saveOrders(order);\n\t}", "title": "" }, { "docid": "2de2ffe8d054a80e2c341b6216c18b8c", "score": "0.65856093", "text": "@Override\n public Order editOrder(Order orderToEdit) {\n \n HashMap<Integer, Order> tempOrderList = this.getOrderListByDate(orderToEdit.getDate());\n\n tempOrderList.put(orderToEdit.getOrderNumber(), orderToEdit);\n this.saveCurrentWork(orderToEdit.getDate(), tempOrderList);\n \n return orderToEdit;\n }", "title": "" }, { "docid": "544b1194371c56cb3707bac786281814", "score": "0.6572585", "text": "@Override\n\tpublic void addOrders(Orders order) {\n\t\tSystem.out.println(\"addOrders\");\n\t\tordersDao.addOrders(order);\n\t}", "title": "" }, { "docid": "bbf7cc556e342afc453324758bf542cc", "score": "0.6551281", "text": "public void editOrder(Order order, int index) {\n\t\tif (order != null) {\n\t\t\tOrderManagerImpl omi = new OrderManagerImpl();\n\t\t\ttry {\n\t\t\t\tomi.editOrder(order);\n\t\t\t\torders.set(index, order);\n\t\t\t\tfireTableRowsUpdated(index, index);\n\t\t\t} catch (OrderManagerException ex) {\n\t\t\t\tLogger.getLogger(OrdersTableModel.class.getName()).log(Level.SEVERE, null, ex);\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Order edition didn't succeed\", \"Order error\", JOptionPane.ERROR_MESSAGE); //TODO localization\n\t\t\t} catch (IllegalArgumentException ex) {\n\t\t\t\tLogger.getLogger(OrdersTableModel.class.getName()).log(Level.SEVERE, null, ex);\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Order edition didn't succeed\", \"Order error\", JOptionPane.ERROR_MESSAGE); //TODO localization\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "49c1180a255aae26067f97163c149e83", "score": "0.6461823", "text": "@Override\n\tpublic void delOrders(Orders order) {\n\t\tSystem.out.println(\"delOrders\");\n\t\tordersDao.delOrders(order);\n\t}", "title": "" }, { "docid": "5f60e50b9b128682c660bfffe270704c", "score": "0.644517", "text": "public void addOrder(OrderVO order) {\n\t\t\n\t}", "title": "" }, { "docid": "d4eb5b4d010ef70a6a0de14c0684ea21", "score": "0.63955903", "text": "public int add(OrderDetail orderdetail);", "title": "" }, { "docid": "b5ed38c0f5646296db8234c4f8d2e441", "score": "0.63361573", "text": "public Order editOrder(Order existingOrder) {\n existingOrder.setMode(this.mode);\n //Tax calculation\n try {\n if (existingOrder.getStateAbbr() != null && existingOrder.getStateAbbr().isEmpty() != true) {\n calculateTax(existingOrder);\n }\n } catch (DataPersistenceException | StateTaxValidationException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n\n //Calculation part\n calculateTotal(existingOrder);\n orderDao.editOrder(existingOrder);\n return existingOrder;\n\n }", "title": "" }, { "docid": "53197ccee708b4d8d0d75127c18954a9", "score": "0.6322655", "text": "@RequestMapping(value=\"/list\", method=RequestMethod.POST)\r\n\tpublic String deleteProductOrders(@ModelAttribute Items selectedProductOrders) {\r\n\t\tSystem.out.println(\"======= in deleteProductOrders\");\r\n\t\tfor (String productOrderIdStr : selectedProductOrders.getItemList()) {\r\n\t\t\tSystem.out.println(\"delete product order id=\" + productOrderIdStr);\r\n\t\t\ttry { \r\n\t\t\t\tint productOrderId = Integer.parseInt(productOrderIdStr);\r\n\t\t\t\t\r\n\t\t\t\tProductOrder productOrder = orderService.getProductOrder(productOrderId);\r\n\t\t\t\t\r\n\t\t\t\t// Update Product availableQuantity\r\n\t\t\t\tint productId = productOrder.getProductId();\r\n\t\t\t\tProduct product = catalogService.getProduct(productId);\r\n\t\t\t\tint newProductAvailableQuantity = product.getAvailableQuantity() + productOrder.getOrderAmount();\r\n\t\t\t\tproduct.setAvailableQuantity(newProductAvailableQuantity);\r\n\t\t\t\tcatalogService.updateProduct(product);\r\n\t\t\t\t\r\n\t\t\t\t// Update Order totalAmount\r\n\t\t\t\tint orderId = productOrder.getOrderId();\r\n\t\t\t\tOrder order = orderService.getOrder(orderId);\r\n\t\t\t\tint newOrderTotalAmount = order.getTotalAmount() - productOrder.getOrderAmount();\r\n\t\t\t\torder.setTotalAmount(newOrderTotalAmount);\r\n\t\t\t\torderService.updateOrder(order);\r\n\t\t\t\t\r\n\t\t\t\torderService.removeProductOrder(productOrderId);\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {}\r\n\t\t}\r\n\t\treturn \"redirect:/productOrder/list.html\";\r\n\t}", "title": "" }, { "docid": "090e5467d8d7efe980e53ba2ce7c7e6e", "score": "0.6301532", "text": "boolean updateOrder(Order order);", "title": "" }, { "docid": "414aa1061f335e3c1ddd362c906a5826", "score": "0.62961334", "text": "@PostMapping(\"/order-add-comments-{id}\")\r\n\tpublic ModelAndView getOrderAddCommentPage(@PathVariable(value=\"id\")Long id, @Valid @ModelAttribute(\"ordersF\") Order orders) {\r\n\t\tModelAndView modelView = new ModelAndView(\"redirect:/order-list\");\r\n\t\tOptional<Order> order = orderService.obtenerOrdersPorId(id);\r\n\t\tOrder aux = order.get();\r\n\t\taux.setComments(orders.getComments());\r\n\t\t\r\n\t\torderService.guardarOrders(aux);\r\n modelView.addObject(\"ordersF\",orders);\r\n\t\tmodelView.addObject(\"orders\", orderService.obtenerOrders());\r\n\t\tmodelView.addObject(\"orderDetails\", orderdetailsService.obtenerOrderDetails());\r\n\t\t\r\n\t\treturn modelView;\r\n\t}", "title": "" }, { "docid": "cfd4eccb5e43be8e52ddd4557d5900de", "score": "0.6286299", "text": "public int addorderlist(OrdersVO ordersVO) throws Exception;", "title": "" }, { "docid": "375e2698d7b7f4dcb941d01ea6f62a8e", "score": "0.62608767", "text": "public void OrdersAction(ActionEvent event) throws Exception {\n\t\tjump.nextStage(ORDERS, \"ORDERS\", false);\n\n\t}", "title": "" }, { "docid": "a7356982b0bfdcf23e9da55a72f7afbe", "score": "0.6259515", "text": "OrdersPage clickEditThisOrderBtn() throws Exception {\n\t\tGlobalController.brw.clickLinkText(this.BT_EDIT_ORDER);\n\t\treturn GlobalController.brw.initElements(OrdersPage.class);\n\n\t}", "title": "" }, { "docid": "939d009eb9dc7eaaabd0dd328e6dfc48", "score": "0.62383825", "text": "public void com_order(Order order) {\n\t\tod.com_order(order);\n\t}", "title": "" }, { "docid": "7f1066f500daa964b24756f6e741b643", "score": "0.6167522", "text": "@Override\n\tpublic void delete(int order_detail_id) {\n\n\t}", "title": "" }, { "docid": "78df8de11bf0f5a0d5ddf86831cfe48b", "score": "0.61495817", "text": "void addOrderAction(String appMode, ProductController_H products) throws ClientNotFoundException, OrderLineFullListException;", "title": "" }, { "docid": "169a290182b9b722d54a7c58300bf9ee", "score": "0.612038", "text": "@Override\r\n\tpublic void deleteOrder(int orderId) {\n\t\t\r\n\t}", "title": "" }, { "docid": "27c5e4dd7bb6482fd589493d539b33bd", "score": "0.6104275", "text": "public void setOrders(List<Order> orders) {\n this.orders = orders;\n }", "title": "" }, { "docid": "8f1f03e3545b1940836f6775a2d06aaf", "score": "0.6094358", "text": "@PutMapping(\"/edit\")\n public Optional<OrderAndUserAndStatus> updateOrderItem(@RequestBody OrderItems orderItems) {\n if (orderItems.getQuantity() == 0) {\n orderItemsMapper.deleteById(orderItems.getOrderItemId());\n\n// Jei siam orderiui tai buvo paskutinis OrderItems irasas, tuomet istrinam ir pati orderi\n// if (orderItemsMapper.findSingleIdByOrderId(orderItems.getOrderId()) == null) {\n// orderMapper.deleteById(orderItems.getOrderId());\n// }\n } else {\n orderItemsMapper.update(orderItems);\n }\n return orderMapper.findById(orderItems.getOrderId());\n }", "title": "" }, { "docid": "00adb823832008a00a09fce62b34b03b", "score": "0.6083663", "text": "void deleteByOrderId(String orderId);", "title": "" }, { "docid": "3d90a475585f8659926c3b492e098d91", "score": "0.60816276", "text": "OrdersPage clickAddToOrderButton() throws Exception {\n\t\tGlobalController.brw.clickLinkText(this.LT_ADDORDER);\n\t\treturn GlobalController.brw.initElements(OrdersPage.class);\n\n\t}", "title": "" }, { "docid": "e05320a4f4b3b4a4168f752ea6e85661", "score": "0.6079346", "text": "public EzbOrderAddAction() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "d4270f9b5c35ba5ed08a2e7d9f3dd5ca", "score": "0.60700107", "text": "@Override\n\tpublic int delete() {\n\t\tLOGGER.info(\"Please enter the id of the order you would like to delete\");\n\t\tLong id = utils.getLong();\n\t\treturn orderDAO.delete(id);\n\t}", "title": "" }, { "docid": "41f7ef1e4ef0a0edc7c745219c420140", "score": "0.6064535", "text": "public boolean addOder(Order_Table order);", "title": "" }, { "docid": "e9cafbc98a9d670b8af5a04dfd8f2ff4", "score": "0.60474855", "text": "public void placeOrder() {\n\t\tOrder order = new Order();\n\t\tshop.showAllMedicine();\n\t\tSystem.out.println(\"Enter Medicine_Id to order medicine\");\n\t\tint id = shop.sc.nextInt();\n\t\tshop.sc.nextLine();\n\t\tPharmacyStock pharmacy = pharmacyStockDAO.getById(id);\n\t\torder.setMedicine(pharmacy.getMedicine());\n\t\tSystem.out.println(\"Enter Quantity of medicine to place order\");\n\t\tint quantity = shop.sc.nextInt();\n\t\torder.setQuantity(quantity);\n\t\torder.setStatus(\"Not received\");\n\t\torderDAO.insert(order);\n\t\tSystem.out.println(\"Order placed \" + order);\n\t}", "title": "" }, { "docid": "4f22d5a5d7473633b1b4523ef98268e2", "score": "0.60414547", "text": "public void createOrder() {\n printInvalidCommandMessage();\n }", "title": "" }, { "docid": "fe96a30a99c605f7477e40f557eb50fb", "score": "0.6036988", "text": "@Override\n\tpublic void payOrders(Orders order) {\n\t\tordersDao.saveOrders(order);\n\t}", "title": "" }, { "docid": "90fdfa6401079dd565e949f904b224db", "score": "0.6031628", "text": "@POST\n\t@Path(\"/addOrder\")\n\t@Consumes(\"application/json\")\n\t@Produces(\"application/json\")\n\tpublic Response addOrder(Porder order) throws Exception {\n\t\tif (order.getProductId()==0) Response.status(Status.NOT_FOUND).entity(\"Product Id not Found\").build(); \n\t\tfor (Product prod: productDao.getAllProducts().getProductList()) {\n\t\t\tif (order.getProductId() == prod.getId()) {\n\t\t\t\tList<Porder> ordersToSumQty = orderDao.findAll(prod.getId());\n\t\t\t\tdouble stockQtyOrdered = 0;\n\t\t\t\tfor (Porder orderWithNewQty: ordersToSumQty) {\n\t\t\t\t\tstockQtyOrdered += orderWithNewQty.getQtyOrdered();\n\t\t\t\t}\n\t\t\t\tif (prod.getStock() != stockQtyOrdered) {\n\t\t\t\t\tlog.info(\"Saving Order -> \" +order.getDescription());\n\t\t\t\t\torderDao.save(order);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn Response.status(Status.CREATED).build();\n\t}", "title": "" }, { "docid": "748cb33e1027617492fde1d425513de0", "score": "0.602297", "text": "public void saveOrder(Order order) {\n\t\torderDAO.save(order);\n\t}", "title": "" }, { "docid": "f2b690b35f8f7f185554afd4a58c8e95", "score": "0.60196346", "text": "@Override\r\n\tpublic void updateOrder(Order order) {\n\t\t\r\n\t}", "title": "" }, { "docid": "cb6057856334426bb7516e960179b41f", "score": "0.60177535", "text": "public void deleteOrder(Order order) { //TODO - more logical deletion including Ordering table in the database\n\t\tif (order != null) {\n\t\t\tOrderManagerImpl omi = new OrderManagerImpl();\n\t\t\tint index = orders.indexOf(order);\n\t\t\tif (index >= 0) {\n\t\t\t\ttry {\n\t\t\t\t\tomi.deleteOrder(order);\n\t\t\t\t\torders.remove(index);\n\t\t\t\t\tfireTableRowsDeleted(index, index);\n\t\t\t\t} catch (OrderManagerException ex) {\n\t\t\t\t\tLogger.getLogger(OrdersTableModel.class.getName()).log(Level.SEVERE, null, ex);\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Order deletion didn't succeed\", \"Order error\", JOptionPane.ERROR_MESSAGE); //TODO localization\n\t\t\t\t} catch (IllegalArgumentException ex) {\n\t\t\t\t\tLogger.getLogger(OrdersTableModel.class.getName()).log(Level.SEVERE, null, ex);\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Order deletion didn't succeed\", \"Order error\", JOptionPane.ERROR_MESSAGE); //TODO localization\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "b2d2f23178747a04d0207b2acf8bb386", "score": "0.6012576", "text": "public void setOrder(int newOrder) {\n this.order = newOrder;\n }", "title": "" }, { "docid": "7b389964baf6ff108fc6c492b7d40abe", "score": "0.59953517", "text": "@Override\n\tpublic Order update() {\n\t\tLOGGER.info(\"Please enter order ID you would like to update?\");\n\t\tLong orderId = utils.getLong();\n\t\tboolean exit = false;\n\t\tdo {\n\t\t\tLOGGER.info(\"What do you want to do?\");\n\t\t\tLOGGER.info(\"ADD: add an item to the order\");\n\t\t\tLOGGER.info(\"REMOVE: remove an item from the order\");\n\t\t\tLOGGER.info(\"EXIT: return to main menu\");\n\n\t\t\tString selector = utils.getString();\n\t\t\t\n\t\t\tswitch (selector.toUpperCase()) {\n\t\t\t\tcase \"ADD\":\n\t\t\t\t\tLOGGER.info(\"what is the item ID?\");\n\t\t\t\t\tLong addItemId = utils.getLong();\n\t\t\t\t\torders_itemsDAO.add(orderId, addItemId);\n\t\t\t\t\tLOGGER.info(\"added items to the order\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"REMOVE\":\n\t\t\t\t\tLOGGER.info(\"what is the item ID?\");\n\t\t\t\t\tLong deleteItemId = utils.getLong();\n\t\t\t\t\torders_itemsDAO.delete(orderId, deleteItemId);\n\t\t\t\t\tLOGGER.info(\"Item deleted from the order\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"EXIT\":\n\t\t\t\t\texit = true;\n\t\t\t}\n\t\t} while (!exit);\n\t\t\n\t\t//Updates the cost of the order\n\t\tOrder x = orderDAO.readOrder(orderId);\n\t\treturn orderDAO.update(x);\n\t\t\n\t}", "title": "" }, { "docid": "db8468ed301642bb167b2e84ff20719b", "score": "0.599273", "text": "public void updateorders(String oid) {\n\t\tod.updateorders(oid);\n\t}", "title": "" }, { "docid": "a413b0333c7450e390529f6df69e4848", "score": "0.59843975", "text": "public int createOrder(Orders order);", "title": "" }, { "docid": "db66b5f3b64ae52eaa66e9b9b79d67fd", "score": "0.598153", "text": "public interface OrderService {\n Order saveOrder(Order order);\n OrderDetail createOrderDetail(OrderDetail orderDetail);\n List<OrderDetail> findAllDetails();\n void cancelTransaction(Long id);\n}", "title": "" }, { "docid": "5d9a97ab5a93b0c3209ca5496c098963", "score": "0.59811205", "text": "public void setOrderId(Integer orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "5d9a97ab5a93b0c3209ca5496c098963", "score": "0.59811205", "text": "public void setOrderId(Integer orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "5d9a97ab5a93b0c3209ca5496c098963", "score": "0.59811205", "text": "public void setOrderId(Integer orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "5d9a97ab5a93b0c3209ca5496c098963", "score": "0.59811205", "text": "public void setOrderId(Integer orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "5d9a97ab5a93b0c3209ca5496c098963", "score": "0.59811205", "text": "public void setOrderId(Integer orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "2295686bc084a8138fb5f5691096e38f", "score": "0.59706503", "text": "private void addToCart() {\n int orderId = Integer.parseInt(lblId.getText().replace(\"ORDER ID : PO\", \"\"));\n int oNo = 1;\n\n try {\n pDetailBO.savePDetail(new PurchaseOrderDTO(oNo,orderId,txtItemCode.getText(),Double.parseDouble(txtUnit.getText()),Double.parseDouble(txtNOP.getText()),\n Double.parseDouble(txtSellPrice.getText()),Double.parseDouble(txtDisPres.getText()),Double.parseDouble(txtProMar.getText())));\n } catch (Exception e) {\n e.printStackTrace();\n }\n JFXButton btnDelete = new JFXButton(\"Delete\");\n ObservableList<POrderDetailTM> items = tblPOrderDetails.getItems();\n POrderDetailTM pOrderDetailTM = new POrderDetailTM(txtItemCode.getText().toUpperCase(), txtDescription.getText(), Double.parseDouble(txtQty.getText()),\n Double.parseDouble(txtSellPrice.getText()), Double.parseDouble(txtDisPres.getText()), Double.parseDouble(txtStockPrice.getText()), btnDelete);\n btnDelete.setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent event) {\n tblPOrderDetails.getItems().remove(pOrderDetailTM);\n tblPOrderDetails.refresh();\n tblPOrderDetails.getSelectionModel().clearSelection();\n enablePlaceOrder();\n }\n });\n items.add(pOrderDetailTM);\n firstLook();\n oNo++;\n }", "title": "" }, { "docid": "bb606d456f20832b3f88f8b8a2bd94e5", "score": "0.59667456", "text": "public void setOrder(int newOrder) {\n\torder = newOrder;\n}", "title": "" }, { "docid": "d783b100cc84c81e032a00aad3c3ca61", "score": "0.5963621", "text": "public static void addOrder(Order order) {\n \t\ttry {\n \t\t\torderDao.create(order);\n \t\t} catch (SQLException e) {\n \t\t\tSystem.err.println(\"Error storing order: \" + e.getMessage());\n \t\t}\n \t}", "title": "" }, { "docid": "8afa6d34e102abdb042e8b3ee78b778f", "score": "0.59618115", "text": "@PostMapping(\"/addNew\")\r\n\tpublic String addNew(CustomerOrder order) {\r\n\t\torderService.addNew(order); //adds order to order table\r\n\t\treturn \"redirect:/order/getAll\"; //redirects back to all the results\r\n\t}", "title": "" }, { "docid": "e94330e9e088c20a2362998097176db2", "score": "0.5955969", "text": "public void insertOrder(Order order) {\n dbController.connectToDB();\n if (dbController.con != null) {\n try {\n String query = \"insert into orders(order_id,users_id,street,city,governorate,phone,status,date) values (?,?,?,?,?,?,?,?)\";\n PreparedStatement pst;\n\n pst = dbController.con.prepareStatement(query);\n pst.setString(1, order.getOrderID());\n pst.setString(2, order.getUserID());\n pst.setString(3, order.getStreet());\n pst.setString(4, order.getCity());\n pst.setString(5, order.getGovernorate());\n pst.setString(6, order.getPhone());\n pst.setString(7, order.getStatus());\n pst.setString(8, order.getDate());\n pst.executeUpdate();\n if (order.getOrderItems() != null) {\n for (CartItem item : order.getOrderItems()) {\n String queryString = \"INSERT INTO order_details (order_id, products_id, quant)VALUES (?, ?, ?)\";\n PreparedStatement pstmnt = dbController.con.prepareStatement(queryString);\n pstmnt.setString(1, order.getOrderID());\n pstmnt.setString(2, item.getProduct().getId());\n pstmnt.setInt(3, item.getQuantity());\n pstmnt.executeUpdate();\n }\n }\n pst.close();\n } catch (SQLException ex) {\n ex.printStackTrace();\n } finally {\n dbController.disconnect();\n }\n }\n dbController.disconnect();\n }", "title": "" }, { "docid": "b2c0bbf95bb48662010d683fd806bc2d", "score": "0.59548795", "text": "public void addOrder(Order o)\n {\n orders.put(o.getOrderIdIn(), o);\n DBManager db = new DBManager();\n int orderId = db.addOrder(this.getUsername(), o);\n \n Order orderCopy = orders.get(o.getOrderIdIn());\n orders.remove(o.getOrderIdIn());\n orders.put(orderId, orderCopy);\n orders.get(orderId).setOrderId(orderId);\n \n \n }", "title": "" }, { "docid": "06d0059a881f538d42924ee955134187", "score": "0.5945642", "text": "public addOrder() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "54574aff858ba1440c790a7539a171f0", "score": "0.59423536", "text": "public void setOrder(String order) {\n this.order = order;\n }", "title": "" }, { "docid": "8cfb8c514d641b69802164b60c53ca69", "score": "0.5937117", "text": "public void saveOrder(Orders order) {\n // Bouml preserved body begin 00043082\n\t this.order =order;\n // Bouml preserved body end 00043082\n }", "title": "" }, { "docid": "cf758f2a8839526ed39245505226766c", "score": "0.5933653", "text": "public void addOrder(java_t2.service.AddOrder addOrder);", "title": "" }, { "docid": "ebbeebdb90e5a6e0d27b45718311fa9d", "score": "0.59291893", "text": "public void setOrder(int order) {\n this.order = order;\n }", "title": "" }, { "docid": "ebbeebdb90e5a6e0d27b45718311fa9d", "score": "0.59291893", "text": "public void setOrder(int order) {\n this.order = order;\n }", "title": "" }, { "docid": "ebbeebdb90e5a6e0d27b45718311fa9d", "score": "0.59291893", "text": "public void setOrder(int order) {\n this.order = order;\n }", "title": "" }, { "docid": "4228fcd71688ca1b327494d925a1f3e5", "score": "0.592176", "text": "@RequestMapping(value = \"/{email}/orders\" , method = RequestMethod.POST)\r\n\tpublic Orders addOrder(@RequestBody(required=false) Orders orderObj) {\r\n\t\tif(orderObj == null)\r\n\t\t{\r\n\t\t\tthrow new InvalidOrderException();\r\n\t\t}\r\n\t\treturn this.orderRepo.save(orderObj);\r\n\t}", "title": "" }, { "docid": "9d5fcf606483a4284d50c98cd3668ec2", "score": "0.59172124", "text": "public synchronized void addOrder(Order _order)\n\t{\t\t\n\t\t_order.setId(\"OR-\" + orderCount);\n\t\tpendingOrders.add(_order);\n\t\t_order.setOrderStatus(OrderStatus.pending);\n\t\t_order.calculateTotal();\n\t\t_order.createReceipt();\n\t\torderCount++;\n\t\t\n\t\tthis.displayClient.update();\n\t}", "title": "" }, { "docid": "23793af82b963134c8266b8a1e5615a3", "score": "0.59067416", "text": "@RequestMapping(value=\"/add\", method=RequestMethod.GET)\r\n\tpublic String addProductOrder(Model model) {\r\n\t\tSystem.out.println(\"======= in addProductOrder\");\r\n\t\tmodel.addAttribute(new ProductOrder());\r\n\t\treturn \"productOrder/addProductOrder\";\r\n\t}", "title": "" }, { "docid": "82103982e9d72523eae8832404535807", "score": "0.59011", "text": "void deleteOrderItemById(String id);", "title": "" }, { "docid": "66edba29820164161e50b5560e25865f", "score": "0.589974", "text": "public void ManageOrders() throws SQLException,IOException\n\t{\n\t\tString MQuery = \"UPDATE Orders\"\n\t\t\t + \" SET Status = 'Accepted'\"\n\t\t\t + \" WHERE Status = 'Null'\";\n\t\t\n\t\tResultSet rset = BloodBank.stmt.executeQuery(MQuery);\n\t\t//rset.next();\n\t\tSystem.out.println(\"The Order has been Accepted by the Employee\");\n\t}", "title": "" }, { "docid": "aab7e708b8c70d08745d1a885fc121d3", "score": "0.5895742", "text": "public String insertOrder(Order newOrder)\n {\n if(newOrder == null || newOrder.getReservationID() < 0)\n return \"fail\";\n\n orders.add(newOrder);\n return \"success\";\n }", "title": "" }, { "docid": "f4141c85836529cdac8d4f91c68d980d", "score": "0.5888359", "text": "public static void addOrder(Order o){\r\n int id=0;\r\n try{\r\n con=ConnectionDAO.conect();\r\n st = con.createStatement();\r\n st.executeUpdate(\"INSERT INTO restaurant.order (id_order,total) VALUES (NULL,\"+o.getTotal()+\");\");\r\n //Get last id, it is necessary to insert drinks and foods\r\n ResultSet rs = st.executeQuery(\"SELECT max(id_order) AS id FROM restaurant.order;\");\r\n if(rs!=null){\r\n while(rs.next()){\r\n id=rs.getInt(\"id\");\r\n }\r\n }\r\n //Insert all drinks of an order\r\n for (int i=0;i<o.getDrinks().size();i++){\r\n st.executeUpdate(\"INSERT INTO restaurant.orderdrink(id_orderdrink,id_order,id_drink)\"\r\n + \" VALUES (NULL,'\"+id+\"','\"+o.getDrinks().get(i)+\"');\");\r\n }\r\n //Insert all foods of an order\r\n for (int i=0;i<o.getFoods().size();i++){\r\n st.executeUpdate(\"INSERT INTO restaurant.orderfood(id_orderfood,id_order,id_food)\"\r\n + \" VALUES (NULL,'\"+id+\"','\"+o.getFoods().get(i)+\"');\");\r\n }\r\n }catch(SQLException e){\r\n System.err.println(\"Error: The order can't be saved\");\r\n }\r\n }", "title": "" }, { "docid": "43343993dd22358f16343643dc7b5d2e", "score": "0.5887764", "text": "private void deleteCart(int order) {\n cart.remove(order);\r\n //After that , we will delete all old data from SQLite\r\n new Database(this).cleanCart();\r\n //And final , we will update new data from List<Order> to SQLite\r\n for (Order item:cart)\r\n new Database(this).addToCart(item);\r\n //Refresh\r\n loadListCar();\r\n }", "title": "" }, { "docid": "2e0f5d13f1a9f6730c07dcc91c64afbb", "score": "0.5886314", "text": "@Override\n\tpublic void addOrders(Orders order, List<OrderSon> orderSonList) {\n\t\tSystem.out.println(\"addOrders\");\n\t\tordersDao.addOrders(order);\n\t\tfor(int i=0;i<orderSonList.size();i++){\n\t\t\tOrderSon orderSon = orderSonList.get(i);\n\t\t\torderSonDao.addOrderSon(orderSon);\n\t\t\tSystem.out.println(\"orderson:\"+orderSon);\n\t\t\tSystem.out.println(\"ordersonID:\"+orderSon.getOsId());\n\t\t}\n\t}", "title": "" }, { "docid": "aadd9abe94a53a410edfaea58c258d1b", "score": "0.58828294", "text": "public void add (Order order) {\n orders.put(order.getOrderID(),order);\n }", "title": "" }, { "docid": "eeae861f32a54972d3593c28759ad479", "score": "0.5875365", "text": "public void update(Order order) {\n\t\t\n\t}", "title": "" }, { "docid": "6bc678230705736fdb3fcf1df08ebdad", "score": "0.5874861", "text": "@PostMapping(\"/add\")\n public Optional<OrderAndUserAndStatus> addOrderItem(@RequestBody OrderItems orderItems) {\n Integer orderItemId = orderItemsMapper.findOptionalId(orderItems.getOrderId(), orderItems.getBookId());\n if (orderItemId == null) {\n orderItemsMapper.add(orderItems);\n\n// Jei knyga jau itraukta i orderi, editinam OrderItems irasa pakeisdami tik quantity\n } else {\n Integer quantity = orderItemsMapper.findOptionalQuantity(orderItemId);\n OrderItems orderItem = new OrderItems(orderItemId, orderItems.getOrderId(), orderItems.getBookId(), quantity + 1);\n orderItemsMapper.update(orderItem);\n }\n return orderMapper.findById(orderItems.getOrderId());\n }", "title": "" }, { "docid": "96da3d5c9781d8175d197a37d0f2897e", "score": "0.5862685", "text": "@Override\n\tpublic void delete(Order corso) {\n\t\t\n\t}", "title": "" }, { "docid": "143776a23d40f2e9db8e93d986f54800", "score": "0.58587265", "text": "public void onClickOrders(View view) {\n orderAdapter.setOrderList(dbHelper.getOrdersDelivered(0));\n onOrder = true;\n }", "title": "" }, { "docid": "7a16a50e5d2fd447daa709df72793b1d", "score": "0.5854526", "text": "public void setOrderId(java.lang.String orderId) {\r\n this.orderId = orderId;\r\n }", "title": "" }, { "docid": "6a1ccd053c6e1e569b3921e2d5fcbb82", "score": "0.5854177", "text": "@RequestMapping(value = \"/insert\", method = RequestMethod.POST)\r\n\tpublic String saveData(@ModelAttribute PurchaseOrder porder, ModelMap map) {\r\n\t\t\r\n\t\t\r\n\t\tInteger id = service.savePurchaseOrder(porder);\r\n\t\tString msg = \"PurchaseOrder '\" + id + \"' saved\";\r\n\t\tList<WhUserType> vendor1=userservice.getWhUserByVenUserType(\"Vendor\");\r\n\t\tmap.addAttribute(\"vendor1\",vendor1);\r\n\t\tList<ShipmentType> shipment=shipmentService.getShipmentTypeByCode(\"YES\");\r\n\t\tmap.addAttribute(\"shipment\",shipment);\r\n\t\tmap.addAttribute(\"message\", msg);\r\n\r\n\t\t// clear form data\r\n\t\t\r\n\t\tmap.addAttribute(\"porder\", new PurchaseOrder());\r\n\t\t\r\n\t\treturn \"PurchaseOrderRegister\";\r\n\r\n\t}", "title": "" }, { "docid": "1dcbd13ace58432f86a0c6a7c7af05d0", "score": "0.5849654", "text": "@RequestMapping(value = \"/chef/edit\")\n\t@ResponseBody\n\tpublic Orders editOrderChef(String notes, int status, String chefName, long orderNumber, Long userId) {\n\t\torder = null;\n\t\torder = new Orders();\n\n\t\ttry {\n\t\t\torder = orderDao.findOne(orderNumber);\n\t\t\torder.setNotes(notes);\n\t\t\torder.setStatus(status);\n\t\t\torder.setChef_name(chefName);\n\t\t\torderDao.save(order);\n\t\t} catch (Exception e) {\n\t\t\t// e.printStackTrace();\n\t\t\treturn order;\n\t\t}\n\t\treturn order;\n\t}", "title": "" }, { "docid": "8cf493925905f92988d28148abe990ec", "score": "0.58407134", "text": "@RequestMapping(value = \"/add\", method = RequestMethod.GET)\n\tpublic String addProductOrder(Model model) {\n\t\tSystem.out.println(\"=== In addProduct ===\");\n\t\tmodel.addAttribute(new ProductOrder());\n\t\treturn \"productorder/addProductOrder\";\n\t}", "title": "" }, { "docid": "2b2c1a526178dd9d9b141d4b9a9ced51", "score": "0.58267176", "text": "public void createOrder(Order order) {\n if (order.getOrderLines().isEmpty()) {\n return;\n } else {\n try {\n orderRepository.beginTransaction();\n\n boolean isAddOrderSuccessful = orderRepository.add(order);\n\n int orderId = orderRepository.findAll().stream()\n .filter(o -> o.getTimestamp() == order.getTimestamp())\n .findFirst().get().getId();\n\n List<OrderLine> orderLinesToAdd = new ArrayList<>();\n orderLinesToAdd.addAll(order.getOrderLines());\n orderLinesToAdd.forEach(o -> {\n o.setOrderId(orderId);\n });\n boolean isAddOrderLinesSuccessful = orderRepository.addOrderLines(order.getOrderLines());\n\n List<Batch> savedBatches = batchRepository.saveAll(pendingBatches);\n orderRepository.finishTransaction(false);\n } catch (DbException e) {\n e.printStackTrace();\n orderRepository.finishTransaction(true);\n throw new DbException(e);\n }\n\n\n // invalidating cache\n pendingBatches.clear();\n }\n }", "title": "" }, { "docid": "7a40d6ee339180bca82bafa44659fb03", "score": "0.5822945", "text": "public void setOrderNo(java.lang.Integer orderNo) { \n this.orderNo = orderNo; \n }", "title": "" }, { "docid": "ca0755f87a4cd652fda401730d9ed1c5", "score": "0.5821031", "text": "public void setOrderId(Long orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "ca0755f87a4cd652fda401730d9ed1c5", "score": "0.5821031", "text": "public void setOrderId(Long orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "ca0755f87a4cd652fda401730d9ed1c5", "score": "0.5821031", "text": "public void setOrderId(Long orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "ca0755f87a4cd652fda401730d9ed1c5", "score": "0.5821031", "text": "public void setOrderId(Long orderId) {\n this.orderId = orderId;\n }", "title": "" }, { "docid": "ee5937db6ee69316f68c821ce32c0177", "score": "0.5820239", "text": "public interface OrderDao extends Dao {\n /**\n * 在订单表中插入记录\n *\n * @param order\n */\n void addOrder(Order order);\n\n /**\n * 在订单项 表中插入记录\n *\n * @param orderItem\n */\n void addOrderItem(OrderItem orderItem);\n\n /**\n * 查询指定用户的所有的订单\n *\n * @param userid\n * @return\n */\n List<Order> findOrderByUserId(int userid);\n\n /**\n * 查询当前订单所有的订单项\n *\n * @param id\n * @return\n */\n List<OrderItem> findOrderItems(String id);\n\n /**\n * 根据订单号 删除该订单所关联的订单项\n *\n * @param orderId\n */\n void delOrderItem(String orderId);\n\n /**\n * 删除指定的订单\n *\n * @param orderId\n */\n void delOrder(String orderId);\n}", "title": "" }, { "docid": "ef661f4d826f22defe5040eb0aa575f9", "score": "0.5818195", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n customerIdCombo = new javax.swing.JComboBox<String>();\n customerNameText = new javax.swing.JTextField();\n orderDateText = new javax.swing.JTextField();\n orderIdText = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jSeparator1 = new javax.swing.JSeparator();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n itemDescriptionText = new javax.swing.JTextField();\n itemUnitPriceText = new javax.swing.JTextField();\n jLabel8 = new javax.swing.JLabel();\n jLabel9 = new javax.swing.JLabel();\n orderqtyText = new javax.swing.JTextField();\n jLabel10 = new javax.swing.JLabel();\n itemQtyOnHandText = new javax.swing.JTextField();\n itemCodeCombo = new javax.swing.JComboBox<String>();\n jSeparator2 = new javax.swing.JSeparator();\n jScrollPane1 = new javax.swing.JScrollPane();\n orderDetailTable = new javax.swing.JTable();\n jLabel11 = new javax.swing.JLabel();\n totalAmountText = new javax.swing.JTextField();\n removeItemButton = new javax.swing.JButton();\n saveButton1 = new javax.swing.JButton();\n jButton1 = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setResizable(false);\n\n jLabel1.setFont(new java.awt.Font(\"Dialog\", 1, 36)); // NOI18N\n jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel1.setText(\"Place New Order\");\n\n jLabel2.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel2.setText(\"Customer ID\");\n\n jLabel3.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel3.setText(\"Customer Name\");\n\n customerIdCombo.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n customerIdCombo.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n customerIdComboItemStateChanged(evt);\n }\n });\n\n customerNameText.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n\n orderDateText.setEditable(false);\n orderDateText.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n\n orderIdText.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n\n jLabel4.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel4.setText(\"Order ID\");\n\n jLabel5.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel5.setText(\"Date\");\n\n jLabel6.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel6.setText(\"Item Code\");\n\n jLabel7.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel7.setText(\"Description\");\n\n itemDescriptionText.setEditable(false);\n itemDescriptionText.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n\n itemUnitPriceText.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n itemUnitPriceText.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n itemUnitPriceTextActionPerformed(evt);\n }\n });\n\n jLabel8.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel8.setText(\"Unit Price\");\n\n jLabel9.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel9.setText(\"Qty\");\n\n orderqtyText.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n orderqtyText.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n orderqtyTextActionPerformed(evt);\n }\n });\n\n jLabel10.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel10.setText(\"Qty On Hand\");\n\n itemQtyOnHandText.setEditable(false);\n itemQtyOnHandText.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n\n itemCodeCombo.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n itemCodeCombo.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n itemCodeComboItemStateChanged(evt);\n }\n });\n\n orderDetailTable.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n\n },\n new String [] {\n \"Item Code\", \"Description\", \"Qty\", \"Unit Price\", \"Amount\"\n }\n ) {\n Class[] types = new Class [] {\n java.lang.String.class, java.lang.String.class, java.lang.Integer.class, java.lang.Double.class, java.lang.Double.class\n };\n\n public Class getColumnClass(int columnIndex) {\n return types [columnIndex];\n }\n });\n jScrollPane1.setViewportView(orderDetailTable);\n\n jLabel11.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jLabel11.setText(\"Total Amount\");\n\n totalAmountText.setEditable(false);\n totalAmountText.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n\n removeItemButton.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n removeItemButton.setText(\"Remove Item\");\n removeItemButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n removeItemButtonActionPerformed(evt);\n }\n });\n\n saveButton1.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n saveButton1.setText(\"Save & Print\");\n saveButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n saveButton1ActionPerformed(evt);\n }\n });\n\n jButton1.setText(\"New\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(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(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 171, Short.MAX_VALUE)\n .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(customerIdCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jButton1))\n .addComponent(customerNameText, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 41, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(orderDateText, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)\n .addComponent(orderIdText))\n .addGap(13, 13, 13))\n .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(totalAmountText, javax.swing.GroupLayout.PREFERRED_SIZE, 142, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jSeparator1)\n .addGap(25, 25, 25))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(itemCodeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(itemDescriptionText, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(itemUnitPriceText))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, 72, Short.MAX_VALUE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 148, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(orderqtyText, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(itemQtyOnHandText)))\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(12, 12, 12)\n .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 632, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(removeItemButton, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(0, 0, Short.MAX_VALUE))))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(500, Short.MAX_VALUE)\n .addComponent(saveButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap()))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(customerIdCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(orderIdText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel4)\n .addComponent(jButton1))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(customerNameText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(orderDateText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel5))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6)\n .addComponent(jLabel7)\n .addComponent(jLabel8)\n .addComponent(jLabel9)\n .addComponent(jLabel10))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(itemDescriptionText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(itemUnitPriceText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(orderqtyText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(itemQtyOnHandText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(itemCodeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 12, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 171, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(totalAmountText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(removeItemButton)\n .addContainerGap(27, Short.MAX_VALUE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(457, Short.MAX_VALUE)\n .addComponent(saveButton1)\n .addGap(23, 23, 23)))\n );\n\n pack();\n }", "title": "" }, { "docid": "9fd90f2bdb35077b981c1938af107b8c", "score": "0.581613", "text": "@RequestMapping(value = \"/waiter/edit\")\n\t@ResponseBody\n\tpublic Orders editOrder(long orderNumber, int tableNumber, Long breakfast, Long breakfastQty, Long lunch,\n\t\t\tLong lunchQty, Long dinner, Long dinnerQty, Long dessert, Long dessertQty, String notes, int status,\n\t\t\tString chefName, String deviceId, Long userId) {\n\n\t\tOrders order = null;\n\t\ttry {\n\t\t\torder = orderDao.findOne(orderNumber);\n\t\t\torder.setTable_number(tableNumber);\n\t\t\torder.setNotes(notes);\n\t\t\torder.setStatus(status);\n\t\t\torder.setChef_name(chefName);\n\t\t\torder.setDevice_id(deviceId);\n\t\t\torder.setBreakfast(breakfast);\n\t\t\torder.setBreakfast_qty(breakfastQty);\n\t\t\torder.setLunch(lunch);\n\t\t\torder.setLunch_qty(lunchQty);\n\t\t\torder.setDinner(dinner);\n\t\t\torder.setDinner_qty(dinnerQty);\n\t\t\torder.setDessert(dessert);\n\t\t\torder.setDessert_qty(dessertQty);\n\t\t\torder.setUser_id(userId);\n\t\t\torderDao.save(order);\n\t\t} catch (Exception e) {\n\t\t\t// e.printStackTrace();\n\t\t\treturn order;\n\t\t}\n\t\treturn order;\n\t}", "title": "" }, { "docid": "6d1c3c8e92552bd8bc3e7494ba23b2af", "score": "0.5810858", "text": "protected OrdersPage clickOnAddToOrderButton() throws Exception {\n\t\tGlobalController.brw.clickLinkText(this.BT_ADDORDER);\n\t\treturn GlobalController.brw.initElements(OrdersPage.class);\n\t}", "title": "" }, { "docid": "432ca739f1a3db4f3ed9e76b83b85dcd", "score": "0.5808857", "text": "@Override\n\tpublic Order create() {\n\t\tLOGGER.info(\"Please enter customer ID\");\n\t\tLong customerId = utils.getLong();\n\t\tOrder order = orderDAO.create(new Order(customerId));\n\t\tLong orderId = order.getId();\n\t\tLOGGER.info(\"what is the item ID?\");\n\t\tLong itemID = utils.getLong();\n\t\torders_itemsDAO.add(orderId, itemID);\n\t\t\n\t\tboolean exit = false;\n\t\tdo {\n\t\t\t\n\t\t\tLOGGER.info(\"Do you want to add another item?\");\n\t\t\tLOGGER.info(\"ADD: add an item to the order\");\n\t\t\tLOGGER.info(\"EXIT: return to main menu\");\n\n\t\t\tString selector = utils.getString();\n\t\t\t\n\t\t\tswitch (selector.toUpperCase()) {\n\t\t\t\tcase \"ADD\":\n\t\t\t\t\tLOGGER.info(\"what is the item ID?\");\n\t\t\t\t\tLong itemId = utils.getLong();\n\t\t\t\t\torders_itemsDAO.add(orderId, itemId);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"EXIT\":\n\t\t\t\t\texit = true;\n\t\t\t}\n\t\t} while (!exit);\n\t\t\n\t\t//Updates the cost of the order\n\t\tOrder o = orderDAO.update(order);\n\t\tLOGGER.info(o);\n\t\t\t\t\n\t\treturn o;\n\t}", "title": "" }, { "docid": "b753751d6ae35d77ba6292e7c7811072", "score": "0.58084255", "text": "public boolean delOrderById(String id) throws Exception;", "title": "" }, { "docid": "4be7ac51105dbf3b7da82dde6bd33943", "score": "0.58068305", "text": "public void setOrderid(Integer orderid) {\n this.orderid = orderid;\n }", "title": "" }, { "docid": "f3b866f01f0707ac412bc4b17bcf0bff", "score": "0.5805196", "text": "@Override\n\tpublic Order updOrder(Order o) {\n\t\treturn dao.updOrder(o);\n\t}", "title": "" }, { "docid": "e7a3a1541e93bd53ad559968e1398bac", "score": "0.5791967", "text": "@Override\n public void updateOrderInfo(Order order) {\n \t\n \tthis.getSqlMapClientTemplate().update(SQL_SPACE + \"updateOrderInfo\",order);\n }", "title": "" }, { "docid": "610decf193bd217a4a57f32060639767", "score": "0.5789197", "text": "public void newOrder()\r\n\t{\r\n Boolean proceed = true;\r\n for(Product p: cartBean.getCartProducts()){\r\n \tif(p.getAmountBought() > Products.getProductsById(Integer.toString(p.getProductID()) , \"id\", true).get(0).getProductAmount()){\r\n \t\tproceed = false;\r\n \t\tbreak;\r\n \t}\r\n \telse\r\n \t\tproceed = true;\r\n \t\tp.setProductAmount(p.getProductAmount() - p.getAmountBought());\r\n }\r\n \r\n if(proceed){\r\n \tfor(Product p: cartBean.getCartProducts()){\r\n \t\tidb.updateProduct(p);\r\n \t}\r\n\t\t\r\n\t\t\torder.setCustomerFirstName(customerFirstName);\r\n\t\t\torder.setCustomerLastName(customerLastName);\r\n\t\t\torder.setCustomerPhoneNumber(customerPhoneNumber);\r\n\t\t\torder.setCustomerEmail(customerEmail);\r\n\t\t\torder.setCustomerAddress(customerAddress);\r\n\t//\t\torder.setOrderProducts(cartProducts);\r\n\t\t\torder.setOrderStatus(OrderStatus.New);\r\n//\t\t\tidb.addOrder(order, cartBean.getCartProducts());\r\n//\t\t\tint ordernr=idb.getLatestOrderNumber();\r\n\r\n\t\t\tint ordernr = idb.addOrder(order, cartBean.getCartProducts());\r\n\r\n\t\t\tFacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, \"Info\", \"Order placed, thank you. Your order number is: \" + ordernr);\r\n\t FacesContext.getCurrentInstance().addMessage(null, msg);\r\n }\r\n else{\r\n \tFacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, \"Error!\", \"Sorry, it seems as something went wrong. Please go back and try again.\");\r\n\t FacesContext.getCurrentInstance().addMessage(null, msg);\r\n }\r\n \r\n cartBean.clearCart();\r\n\t}", "title": "" }, { "docid": "e2a04f05ebd024f881e743ea77b20db4", "score": "0.5782688", "text": "public void setOrderId(Integer orderId) {\r\n\t\tthis.orderId = orderId;\r\n\t}", "title": "" }, { "docid": "ab4643f1d79117c084a9f1e89d2bfa24", "score": "0.57825285", "text": "@Override\n\tpublic void registOrder(OrderDTO ord) {\n\t\t\n\t}", "title": "" }, { "docid": "ff03ef6b1f89c284c19fea97483b0c14", "score": "0.5782403", "text": "boolean updateUserOrder(UserOrder userOrder);", "title": "" }, { "docid": "b54085b9697d7722dffcabf3bd6abc8a", "score": "0.5780265", "text": "public addOrders() {\n initComponents();\n }", "title": "" }, { "docid": "f648e5f1f931270b3440944c1c128f45", "score": "0.57763255", "text": "@Override\n\tpublic OrderDto modifyOrder(Long id, OrderDto orderDto) {\n\t\tOrderEntity order = orderRepository.findById(orderDto.getIdOrder()).orElseThrow(() -> {\n\t\t\tlogger.warn(DataErrorMessages.ORDER_NO_CONTENT);\n\t\t\tthrow new OrderNoContentException(DataErrorMessages.ORDER_NO_CONTENT);\n\t\t});\n\t\t\n\t\t//-----------------------------------------Primero Seteamos la entidad con los nuevos valores-------------------------------------------\n\t\torder.setOrderDate(orderDto.getOrderDate());\n\t\t\n\t\t//----------------------------------------------Cliente Asociado-------------------------------------------------------------------------\n\t\t//1. Buscamos la ENTIDAD cliente asociada anterior\n\t\tClientEntity oldClient = clientRepository.findById(order.getClient().getIdClient()).orElseThrow(() -> {\n\t\t\tlogger.warn(DataErrorMessages.CLIENT_NO_CONTENT);\n\t\t\tthrow new ClientNoContentException(DataErrorMessages.CLIENT_NO_CONTENT);\n\t\t});\n\t\t\n\t\tClientEntity newClient = clientRepository.findById(orderDto.getClient().getIdClient()).orElseThrow(() -> {\n\t\t\tlogger.warn(DataErrorMessages.CLIENT_NO_CONTENT);\n\t\t\tthrow new ClientNoContentException(DataErrorMessages.CLIENT_NO_CONTENT);\n\t\t});\n\t\t\n\t\t//2.Borramos el pedido de la entidad cliente\n\t\toldClient.getOrders().remove(order);\n\t\t//3.Añadimos el nuevo pedido al cliente y viceversa\n\t\tnewClient.getOrders().add(order);\n\t\torder.setClient(newClient);\n\t\t\n\t\t//----------------------------------------------Tienda Asociada-------------------------------------------------------------------------\n\t\t//1. Buscamos la ENTIDAD tienda asociada anterior\n\t\tShopEntity oldShop = shopRepository.findById(order.getShop().getIdShop()).orElseThrow(() -> {\n\t\t\tlogger.warn(DataErrorMessages.SHOP_NO_CONTENT);\n\t\t\tthrow new ShopNoContentException(DataErrorMessages.SHOP_NO_CONTENT);\n\t\t});\n\t\t\n\t\tShopEntity newShop = shopRepository.findById(orderDto.getShop().getIdShop()).orElseThrow(() -> {\n\t\t\tlogger.warn(DataErrorMessages.SHOP_NO_CONTENT);\n\t\t\tthrow new ShopNoContentException(DataErrorMessages.SHOP_NO_CONTENT);\n\t\t});\n\t\t\n\t\t//2.Borramos el pedido de la entidad tienda anterior\n\t\toldShop.getOrders().remove(order);\n\t\t//3.Añadimos el nuevo pedido a la nueva tienda asignada y viceversa\n\t\tnewShop.getOrders().add(order);\n\t\torder.setShop(newShop);\n\t\t\n\t\t//----------------------------------------------Productos Asociados-------------------------------------------------------------------------\n\t\t//1. Borramos las ENTIDADES producto asociadas anteriormente\n\t\tfor (ProductEntity p : order.getProducts()) {\n\t\t\tp.getOrders().remove(order);\n\t\t}\n\t\torder.getProducts().clear();\n\t\t\n\t\t//2.Añadimos las nuevas\n\t\tList <ProductEntity> newProducts = new ArrayList<ProductEntity>();\n\t\tfor (ProductDto product : orderDto.getProducts()) {\n\t\t\tProductEntity p = productRepository.findById(product.getIdProduct()).orElseThrow(() -> {\n\t\t\t\tlogger.warn(DataErrorMessages.PRODUCT_NO_CONTENT);\n\t\t\t\tthrow new ProductNoContentException(DataErrorMessages.PRODUCT_NO_CONTENT);\n\t\t\t});\n\t\t\n\t\t\tnewProducts.add(p);\n\t\t\tp.getOrders().add(order);\n\t\t\t\n\t\t}\n\t\torder.setProducts(newProducts);\n\t\t\n\t\t\n\t\t//Guardamos el pedido en la bbdd\n\t\torderRepository.save(order);\n\t\treturn orderDto;\n\t\t\t\n\t}", "title": "" }, { "docid": "dc23c4ad70e6d560e8c2fe6499bdf30b", "score": "0.57732713", "text": "public void setOrderId(long orderId) {\r\n\t\tthis.orderId = orderId;\r\n\t}", "title": "" }, { "docid": "c36485760b7a28a7e89175840f163656", "score": "0.5772596", "text": "public void setOrderId(String orderId) {\r\n\t\tthis.orderId = orderId;\r\n\t}", "title": "" }, { "docid": "596c5de6067fb453b4e265b91f5005bc", "score": "0.57650405", "text": "public interface OrderService {\n\n\tList<Order> showOrders(int oid) throws NoOrderFoundException;\n\n\tOrder placeOrder(int uid, int aid) throws StockNotAvaialble;\n\t\n\tList<OrderDetails> viewOrderDetails(int oid);\n\t\n\tList<Address> viewAddress(int uid) throws NoAddressFound;\n\t\n\tList<CardDetails> viewCard(int uid) throws NoCardsFound;\n\n\tString confirmOrder(int oid, int code);\n}", "title": "" }, { "docid": "b0457f88ca703173acbc016d49f4f291", "score": "0.57642394", "text": "Order add(Order order);", "title": "" }, { "docid": "40e1ee33f11b70b6b07f9857b80f0925", "score": "0.57622105", "text": "@RequestMapping(\"/delete\")\r\n\tpublic String deletePurchaseOrder(@RequestParam(\"id\") Integer id, ModelMap map) {\r\n\t\tservice.deletePurchaseOrder(id);\r\n\t\tString msg = \"PurchaseOrder '\" + id + \"' Deleted Successful\";\r\n\t\tList<PurchaseOrder> po = service.getAllPurchaseOrders();\r\n\t\tmap.addAttribute(\"message\", msg);\r\n\t\tmap.addAttribute(\"list\", po);\r\n\t\treturn \"PurchaseOrderData\";\r\n\r\n\t}", "title": "" } ]
5227eec89953fa4a20eca79f669aa9a0
Returns true if a given string is empty.
[ { "docid": "1d9b102c888cc1e4fb00f85c16ad0a97", "score": "0.0", "text": "public static boolean isInValidVenue(String venue) {\n return venue.isEmpty();\n }", "title": "" } ]
[ { "docid": "529556d8e6f4fccdda8528596489d873", "score": "0.8695164", "text": "public final static boolean emptyString(String s) {\n boolean expr = (s == null || s.length() == 0);\n return expr;\n }", "title": "" }, { "docid": "728f887033729e0cd036b5ba76947bea", "score": "0.834542", "text": "public static boolean empty(String value) {\n return (value==null) || (value.length()==0);\n }", "title": "" }, { "docid": "f3f7280131e210122ea392dff100213b", "score": "0.82276094", "text": "public static boolean isStringEmpty(String text) {\n return text == null || \"\".equals(text);\n }", "title": "" }, { "docid": "ef17fd646b7b3ed8e8fb3f1c9df2d6cc", "score": "0.8188494", "text": "public static boolean isEmpty(String s) {\n return org.apache.commons.lang3.StringUtils.isEmpty(s);\n }", "title": "" }, { "docid": "98ffc7c605c9f448b425a3b691009c63", "score": "0.8187432", "text": "private boolean isEmpty(String string){\n return string.equals(\"\");\n }", "title": "" }, { "docid": "44942c7f3390612429ffe5bf77747fa7", "score": "0.81581753", "text": "public static boolean isEmpty(String s) {\n return s == null || s.isEmpty();\n }", "title": "" }, { "docid": "1f7ee6576a07519e4e6db6f8a4e07ed6", "score": "0.81189764", "text": "public static boolean isEmpty(String str) {\r\n\t\treturn !hasText(str);\r\n\t}", "title": "" }, { "docid": "ce747af023c426707ab7d032e9d8fa9e", "score": "0.81040996", "text": "public static boolean empty(String val) {\n return (val == null) || (val.length() == 0);\n }", "title": "" }, { "docid": "9e1625c1e629b87825d8206f66f9aade", "score": "0.8080586", "text": "final public boolean empty() {\r\n\t\treturn posn == (str.length());\r\n\t}", "title": "" }, { "docid": "5603033192577bdd4158811f4111dbfe", "score": "0.8055606", "text": "public static boolean isEmpty(String s){\r\n return (s==null || s==\"\");\r\n }", "title": "" }, { "docid": "b1b8ad95fac9695358ecb517361214e7", "score": "0.80377287", "text": "final boolean isEmpty(String string) {\n return string.trim().length() == 0;\n }", "title": "" }, { "docid": "dd8fba1bed687d1adac8b0a48ae3ca1a", "score": "0.8032611", "text": "public static boolean isNotEmpty(String str) {\n return !isEmpty(str);\n }", "title": "" }, { "docid": "22c49f177667532fdd4257f14d4de61b", "score": "0.8014215", "text": "public static boolean isEmpty(String s) {\n\t\treturn s == null || s.length() == 0;\n\t}", "title": "" }, { "docid": "7833a8253759de25e0400d181c3b6622", "score": "0.8007377", "text": "public static boolean isStringEmpty(String str) {\n return str == null || str.trim().length() == 0;\n }", "title": "" }, { "docid": "2ac06d0b2ee7140d8a25d8d53e53f8f4", "score": "0.79960245", "text": "public static boolean isEmpty(String value) {\r\n\t\treturn value == null || value.trim().length() == 0;\r\n\t}", "title": "" }, { "docid": "98dca0d1b37be7998cc53d34ff7de3f9", "score": "0.7979084", "text": "private boolean isEmpty(String string){\n if(string.equals(\"\"))\n return true;\n return false;\n }", "title": "" }, { "docid": "049d367bec5f0f6ece8bb144071f60a3", "score": "0.79407585", "text": "public static boolean isEmpty(String string) {\n return string == null || string.length() == 0;\n }", "title": "" }, { "docid": "0f2117a878e99098a4ff3314bab29188", "score": "0.79378563", "text": "public static boolean isEmpty(String str) {\n\t\treturn str == null || str.isEmpty();\n\t}", "title": "" }, { "docid": "e4182c99bcd4917830db0fe2c9f871d0", "score": "0.7929484", "text": "public static boolean isStringEmpty(String str) {\n return str == null || str.length() == 0 || EMPTY.equals(str.trim()) || NULL.equals(str);\n }", "title": "" }, { "docid": "f263b36bf06d7305e7f662dcad48f9dd", "score": "0.7910478", "text": "public static boolean isNullOrEmpty(String s) {\n return s == null || s.isEmpty();\n }", "title": "" }, { "docid": "b469c95418e69c1897419e4da722506d", "score": "0.7905203", "text": "public static boolean isNotEmpty(String str) {\r\n\t\treturn hasText(str);\r\n\t}", "title": "" }, { "docid": "653c5b7a6f310102833daed4e8ea5fb8", "score": "0.7897185", "text": "public static boolean isNotEmpty(String str) {\n return !isEmpty(str);\n }", "title": "" }, { "docid": "bdff48fe4660d6d6e1c8af5905c773d8", "score": "0.78951824", "text": "public static boolean isEmpty(String str){\n return null == str || \"\".equals(str.trim());\n }", "title": "" }, { "docid": "815fcedddecada0f40aed4be1fdf2372", "score": "0.78849083", "text": "public static boolean isNotEmpty(String value) {\r\n\t\treturn !isEmpty(value);\r\n\t}", "title": "" }, { "docid": "04e1826c7fbf9f70219741046b5621b1", "score": "0.78572327", "text": "private static boolean isEmpty(String s) {\n \tif(s==null || s.length()==0)\n \t\treturn true;\n \treturn false;\n }", "title": "" }, { "docid": "ffed6509a0bad90f11f0acf2ff2272f5", "score": "0.7839272", "text": "private static boolean isEmpty(String s) {\n\t\tif (s == null || s.length() == 0)\n\t\t\treturn true;\n\t\treturn false;\n\t}", "title": "" }, { "docid": "493f445a5ed429ff0e6188b63639a20a", "score": "0.7838423", "text": "public static boolean isEmpty(String str) {\r\n return str == null || str.trim().isEmpty();\r\n }", "title": "" }, { "docid": "22623bdbe24e72d9d4722138b8be011a", "score": "0.78168446", "text": "public static boolean isEmpty(@Nullable String str){\n return (str == null || str.trim().length() == 0);\n }", "title": "" }, { "docid": "d806fa2a04a951d8524a4a732fcc9342", "score": "0.78120047", "text": "public static boolean blank(String value) {\n return (value==null) || (value.length()==0) || (value.trim().length()==0);\n }", "title": "" }, { "docid": "aa0a7175d93e6e46c6f9afa0d3547cfd", "score": "0.7808577", "text": "public static boolean isEmpty(CharSequence str){\n return ( str == null || str.length() == 0 );\n }", "title": "" }, { "docid": "9ec7e930cdd48ea29af4d7b990336bd2", "score": "0.78059834", "text": "public static boolean isEmpty(String str) {\n return (str == null || \"\".equals(str)) ? true : false;\n }", "title": "" }, { "docid": "ed1c3d00f1665e85485c902f3217ef6d", "score": "0.7790324", "text": "public static boolean isNullOrEmpty(String string) {\r\n\t\treturn string == null || string.isEmpty();\r\n\t}", "title": "" }, { "docid": "bdb035f7ccef3b2a7780a418f485b656", "score": "0.77737784", "text": "public static boolean isEmpty(String str) {\n return str == null || str.length() == 0;\n }", "title": "" }, { "docid": "bdb035f7ccef3b2a7780a418f485b656", "score": "0.77737784", "text": "public static boolean isEmpty(String str) {\n return str == null || str.length() == 0;\n }", "title": "" }, { "docid": "13e111e404b74862eeccead979ecf009", "score": "0.7762803", "text": "public static boolean isEmpty(String str)\n {\n return str == null || str.length() == 0;\n }", "title": "" }, { "docid": "39c8c56f681a573597f067eb5f9d0522", "score": "0.7760082", "text": "public static boolean isBlank(String s) {\n\t\treturn s == null || s.trim().length() == 0;\n\t}", "title": "" }, { "docid": "e73009b158dd66527016ed4afe89e0b1", "score": "0.7746612", "text": "public static boolean isNotEmpty(String str) {\n return !StringUtils.isEmpty(str);\n }", "title": "" }, { "docid": "e73009b158dd66527016ed4afe89e0b1", "score": "0.7746612", "text": "public static boolean isNotEmpty(String str) {\n return !StringUtils.isEmpty(str);\n }", "title": "" }, { "docid": "9353da88c8bf17cb2fc4f5a3dd59552f", "score": "0.77330494", "text": "public static boolean nullOrBlank(String s) {\r\n\t\treturn ((null == s) || (STRING_EMPTY.equals(s.trim())));\r\n\t}", "title": "" }, { "docid": "d8d5dd388a966871d144820341685436", "score": "0.77279645", "text": "public static boolean isNullOrEmpty(String str){\n\t\treturn str == null || str.isEmpty();\n\t}", "title": "" }, { "docid": "c165ad3aefc91bff210af1328c21fef1", "score": "0.7723638", "text": "public static boolean isEmpty(String string) {\n\t\tif (string == null) {\n\t\t\treturn false;\n\t\t} else if (string.isEmpty()) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "dbd59b60e01b7eadf9a1b706d31f8628", "score": "0.7710404", "text": "public static boolean isNotEmpty(String s) {\n return org.apache.commons.lang3.StringUtils.isNotEmpty(s);\n }", "title": "" }, { "docid": "d35b722cf2d6714121ee2b9cce290199", "score": "0.7704572", "text": "public static boolean isEmpty(String str) {\n return (str == null || str.length() == 0);\n }", "title": "" }, { "docid": "b81340940548006a40e0462019ea00e1", "score": "0.76978976", "text": "public static boolean isBlank(String string ) {\n return string == null || string.trim().isEmpty();\n }", "title": "" }, { "docid": "217cbe960b163edd93a210d1bbf84a0e", "score": "0.7696729", "text": "static public boolean isEmpty(String strInput)\n {\n return TextUtils.isEmpty(strInput);\n\n }", "title": "" }, { "docid": "b872d63ddea7a15e7e6abe690cacffa2", "score": "0.7690602", "text": "public static boolean isNullOrEmpty(String input) {\n\t\treturn input == null || input.trim().length() == 0;\n\t}", "title": "" }, { "docid": "62c5a69e250d5621d46ff364aa07cb6c", "score": "0.7685399", "text": "public final static boolean emptyString(Object o) {\n boolean expr =\n (o == null || (o instanceof String && ((String)o).length() ==0));\n return expr;\n }", "title": "" }, { "docid": "3ace494d36b5d314b2dd638b34dd47be", "score": "0.76817006", "text": "public static boolean isBlank(String str){\n return ( str == null || str.trim().length() == 0 );\n }", "title": "" }, { "docid": "2fb32245a6155c992a59099af38439ef", "score": "0.7680957", "text": "public static Boolean isNullOrEmpty(String s)\n\t{\n\t\treturn s == null || s.trim().length() == 0;\n\t}", "title": "" }, { "docid": "54efd4b2cf8195773b814ee2c06a284c", "score": "0.7655422", "text": "public static final boolean isBlank(String s) {\n\t\tif (s == null || s.trim().length() == 0) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "0cb6b3c0af7970d26f7c9d32cafa7472", "score": "0.76511365", "text": "boolean acceptsTheEmptyString();", "title": "" }, { "docid": "57fda687736341208bd057b81119b274", "score": "0.76293415", "text": "public static boolean isBlank(String string) {\n return (string == null) || (\"\".equals(string));\n }", "title": "" }, { "docid": "96c9c5f30c0731c37d7c884c9afe04d2", "score": "0.7616038", "text": "public boolean isEmpty(String pStr)\n {\n return (pStr == null || pStr.trim().length() == 0);\n }", "title": "" }, { "docid": "83e9723179ae8f1d35af6bc43ebc7f64", "score": "0.76073617", "text": "public static boolean isNullOrEmpty(String str)\r\n {\r\n return (str == null || str.isEmpty());\r\n }", "title": "" }, { "docid": "a6724e1555bbf98007396df9d75acb6e", "score": "0.75813204", "text": "private boolean textIsNotEmpty(final String text) {\n return text != null && text.length() > 0;\n }", "title": "" }, { "docid": "fe42a091d400f9a1f3d9fbc49f061464", "score": "0.7571051", "text": "public static boolean isEmpty(CharSequence str) {\n return (str == null || str.length() == 0);\n }", "title": "" }, { "docid": "ee71af090c3c588a9427ffda804d3ee3", "score": "0.75503886", "text": "public static boolean isEmpty(CharSequence str) {\n\t\tif (str == null || str.length() == 0)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "61b553ab1a266700ee69d8f6bb3ea590", "score": "0.75304663", "text": "public abstract boolean matchesEmptyString();", "title": "" }, { "docid": "e48ebbd7b53d28a9d65855a266140e02", "score": "0.7515802", "text": "public boolean is_empty() //check if the string is empty\n {\n return this.head != null;\n }", "title": "" }, { "docid": "9794c93260ff42316348b461f2091c32", "score": "0.7511857", "text": "public static boolean notNullOrBlank(String s) {\r\n\t\treturn !((null == s) || (STRING_EMPTY.equals(s.trim())));\r\n\t}", "title": "" }, { "docid": "1815cafd7ed7097c584e4547a2d1d55f", "score": "0.7489862", "text": "public static boolean isNullOrEmpty(String value) {\n\treturn ((value == null) || (value.trim().length() == 0));\n }", "title": "" }, { "docid": "4769ff395e33b5f6cce011d080d96b6c", "score": "0.7473797", "text": "public static boolean isNullOrEmpty(String str) {\n\treturn (str == null || str.trim().isEmpty());\n }", "title": "" }, { "docid": "a6c85e0149175791c9a2b23666dc357b", "score": "0.7447611", "text": "public static boolean isNullOrEmpty(final String str) {\n return str == null || str.isEmpty();\n }", "title": "" }, { "docid": "20d5e69b0cbc998f5b8c838a31632936", "score": "0.74430835", "text": "private Boolean isNotEmpty(String text) {\r\n\t\tif (text.trim().isEmpty())\r\n\t\t\treturn false;\r\n\t\telse\r\n\t\t\treturn true;\r\n\t}", "title": "" }, { "docid": "fce2148f3709346ace6abb9b58c44c1a", "score": "0.7425802", "text": "public boolean isNullOrEmpty(String input) {\n if (input == null || input.isEmpty()) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "599c4955c05c6b1f43e0d9382c13324d", "score": "0.7412515", "text": "public static boolean is(String str) {\n return str != null && str.trim().length() > 0;\n }", "title": "" }, { "docid": "30419519b7ffdd55c3034b5d2ef1465e", "score": "0.7408398", "text": "static boolean isNullOrEmpty(String text)\n {\n return text == null || text.isEmpty();\n }", "title": "" }, { "docid": "55913db7f1767014d36da704b0a56bd2", "score": "0.7404497", "text": "static boolean isEmpty(CharSequence str) {\n return str == null || str.length() == 0;\n }", "title": "" }, { "docid": "5219ab1eb571a3842f91f227292067a2", "score": "0.7399029", "text": "public static boolean isFilled(String string) {\n/* 384 */ return !isEmpty(string);\n/* */ }", "title": "" }, { "docid": "7f3ec39ef346a11e13379835e4292fdb", "score": "0.7375022", "text": "static boolean isNullOrEmpty(String str) {\n\n\t\tif(null == str || str.isEmpty()) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4869113fd6375c1319d145b6ff02c5cc", "score": "0.73713785", "text": "public static boolean isStringnotEmpty(String value) {\n if(value!= null && !value.isEmpty() && !value.equals(\"null\"))\n {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "a02a0c76845a70c5768c4a0bfd98f333", "score": "0.7342008", "text": "public static boolean isBlank(final String str) {\n if (str == null || EMPTY_STRING.equals(str) || EMPTY_STRING.equals(str.trim())) {\n return Boolean.TRUE;\n } else {\n return Boolean.FALSE;\n }\n }", "title": "" }, { "docid": "a42f4d8cc366b96f7c6f9c46b1c86970", "score": "0.7340966", "text": "public static boolean isEmpty(final CharSequence s) {\n if (s == null) {\n return true;\n }\n return s.length() == 0;\n }", "title": "" }, { "docid": "ff33f3f3390bec5fdc3ea13d449b3422", "score": "0.733097", "text": "public static boolean isNullOrEmpty(@Nullable String value) {\n return value == null || value.equals(\"\");\n }", "title": "" }, { "docid": "02031ebf7cf3269d54c43c9bfc421759", "score": "0.7329444", "text": "@Override\n public boolean isEmpty(@Nullable CharSequence str) {\n if (str == null || str.toString().trim().length() == 0)\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "4ba1ed1debc43f947ebe0df5f0f0f8da", "score": "0.7324692", "text": "private boolean isEmpty(String parameter) {\n return parameter.trim().equals(\"\");\n }", "title": "" }, { "docid": "796b53663994f67bf689778a0ea602e6", "score": "0.7321944", "text": "public static boolean isEmptyString(String aNewString) {\n\t\tboolean returnValue = true;\n\t\tif (aNewString != null && !aNewString.trim().equals(\"\")) {\n\t\t\treturnValue = false;\n\t\t}\n\t\treturn returnValue;\n\t}", "title": "" }, { "docid": "3aae46f8de65341ac68291d205abfb1e", "score": "0.73069954", "text": "public static boolean isNoE (String string) {\r\n\t\treturn (( string == null ) || string.isEmpty() );\r\n\t}", "title": "" }, { "docid": "9290df9a0ac4fd3f89d71be3ffbcc4a1", "score": "0.73069733", "text": "private static boolean validString(String str) {\n return ((str != null) && (!str.trim().equals(EMPTY_STRING)));\n }", "title": "" }, { "docid": "fe98f2f554973b1071537e1848ac5582", "score": "0.72691613", "text": "public static boolean isEmpty(String val) {\n\n if (val == null || val.trim().isEmpty()) {\n return true;\n }\n\n return false;\n }", "title": "" }, { "docid": "73ffe9a13a412ba1328c9277091c5035", "score": "0.7265578", "text": "public static boolean isStringNullOrEmpty(String str) {\n\t\treturn (str == null || EMPTY_STRING.equals(str.trim())) ? true : false;\n\t}", "title": "" }, { "docid": "83877bcdb0f743674f057170f61309e6", "score": "0.7264324", "text": "private boolean isBlank(String s) {\n\t\tfor(int i = 0; i < s.length(); i++) {\n\t\t\tif(!Character.isWhitespace(s.charAt(i))) return false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "4bf6840fd30f7df1c20701f5b8b269a5", "score": "0.72592294", "text": "public static boolean isEmpty(final String ip) {\r\n return ip == null || ip.trim().length() == 0;\r\n }", "title": "" }, { "docid": "b2a02fb9fc318280a1e31f5049f00afa", "score": "0.7253885", "text": "public static boolean isEmpty(Object o) {\n return o == null || \"\".equals(o);\n }", "title": "" }, { "docid": "af136c99191dea608d9bb4aa8c231994", "score": "0.7244394", "text": "public static boolean isBlank(String str) {\n int strLen;\n if (str == null || (strLen = str.length()) == 0) {\n return true;\n }\n for (int i = 0; i < strLen; i++) {\n if ((Character.isWhitespace(str.charAt(i)) == false)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "af136c99191dea608d9bb4aa8c231994", "score": "0.7244394", "text": "public static boolean isBlank(String str) {\n int strLen;\n if (str == null || (strLen = str.length()) == 0) {\n return true;\n }\n for (int i = 0; i < strLen; i++) {\n if ((Character.isWhitespace(str.charAt(i)) == false)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "af136c99191dea608d9bb4aa8c231994", "score": "0.7244394", "text": "public static boolean isBlank(String str) {\n int strLen;\n if (str == null || (strLen = str.length()) == 0) {\n return true;\n }\n for (int i = 0; i < strLen; i++) {\n if ((Character.isWhitespace(str.charAt(i)) == false)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "dcbddb70283060dfc2d5a2a79e249565", "score": "0.7234818", "text": "@Override\n public Boolean isEmpty() {\n if (this.strings.count().equals(0)) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "6e49fcba12ebc1d4fcaf0c70fcb6ba02", "score": "0.71912736", "text": "public static boolean isNullOrWhitespace(String s) {\n return s == null || s.trim().isEmpty();\n }", "title": "" }, { "docid": "4df1a41c6e6218b12cca2d14c23e81f1", "score": "0.718065", "text": "private boolean isNullOrEmpty(String tmp) {\r\n if (tmp == null || (tmp != null && tmp.length() == 0))\r\n return true;\r\n else\r\n return false;\r\n }", "title": "" }, { "docid": "af445eb60b6a49ff77e86089d281d56a", "score": "0.7179044", "text": "public static boolean isNullEmpty(String a_strParm) {\n if (a_strParm == null || a_strParm.trim().length() == 0) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "74433e9ea62e9676266788bc13116f3c", "score": "0.7168796", "text": "public static boolean isBlank(String str) {\n if (str == null)\n return false;\n return StringUtils.isBlank(str);\n }", "title": "" }, { "docid": "2a03c4caab3d2045fd6f372fe6bf0a43", "score": "0.7161322", "text": "public static boolean isEmptyOrVoid(final String string) {\n\t\tif (string == null) {\n\t\t\treturn true;\n\t\t} else if (string.isEmpty()) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f49b4bb9cf9c9cb70f0308be1c08023d", "score": "0.71322554", "text": "public boolean isEmpty() {\r\n return (allCharCount == 0);\r\n }", "title": "" }, { "docid": "760a4aae0e4ef04d7a778523fc5dc306", "score": "0.71256167", "text": "public static final boolean isEmptyTrimmed(String foo) {\n return (foo == null || foo.trim().length() == 0);\n }", "title": "" }, { "docid": "7a07598b81dae0ef8e7372f41dd39a85", "score": "0.7119924", "text": "public static boolean isNullOrEmpty(final String str) {\n\t\tif (str == null) {\n\t\t\treturn true;\n\t\t}\n\t\tif (str.trim().equals(\"\")) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "91a39abdb2cc538e243fd8b9f6963736", "score": "0.7117237", "text": "public static boolean textHasContent(String aText){\r\n\t String EMPTY_STRING = \"\";\r\n\t return (aText != null) && (!aText.trim().equals(EMPTY_STRING));\r\n\t }", "title": "" }, { "docid": "4e3a2067b14075107b8bdca3bda18eff", "score": "0.709634", "text": "public static boolean isEmptyOrSpacesOnly(final String input) {\r\n\t\tif(input == null){\r\n\t\t\tthrow new NullPointerException(\"input is null\");\r\n\t\t}\r\n\t\treturn input.isEmpty() || input.replace(\" \", \"\").isEmpty();\r\n\t}", "title": "" }, { "docid": "94819a115918714dab87cdb074e58fe0", "score": "0.7088229", "text": "boolean isEmpty(String val) {\r\n if (val == null || val.isEmpty()) {\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "0ba26bfd59a89cf5573bfc9382ff5928", "score": "0.7084438", "text": "public static boolean isNullOrTrimmedBlank(String string) {\r\n return string == null || string.trim().length() == 0;\r\n }", "title": "" }, { "docid": "df9ab4858af362aacdca7747aba7deb9", "score": "0.7074672", "text": "public static boolean checkEmpty(String parameter) {\n\t\tif(parameter != null && parameter.trim().length()>0)\r\n \t\treturn true;\r\n\t\treturn false;\r\n\t}", "title": "" } ]
3b2210ca48f3a0fa8765ac64221def72
On start. Add Retry listener to test methods. Also add missing sanity1 group to methods if Mobile.
[ { "docid": "ad7ecaf155d11055ebf2c5836664507d", "score": "0.7633807", "text": "@Override\n public void onStart(final ITestContext ctx) {\n\n super.onStart(ctx);\n for (final ITestNGMethod method : ctx.getAllTestMethods()) {\n final List<String> groupList = DeviceUtil.arrayToList(method.getGroups());\n if (groupList == null || !groupList.contains(\"stub\")) {\n method.setRetryAnalyzer(new MobileRetryAnalyzer());\n }\n }\n }", "title": "" } ]
[ { "docid": "1f2c7d0f635c2fe9916d308e40ef0135", "score": "0.6254779", "text": "@Override\r\n\tpublic void onTestStart(ITestResult result) {\n\t}", "title": "" }, { "docid": "c9d3ea92447ff12a06fc3f133af1c13b", "score": "0.6252985", "text": "@Override\n\tpublic void onTestStart(ITestResult result) {\n\t\t\n\t}", "title": "" }, { "docid": "c9d3ea92447ff12a06fc3f133af1c13b", "score": "0.6252985", "text": "@Override\n\tpublic void onTestStart(ITestResult result) {\n\t\t\n\t}", "title": "" }, { "docid": "3b7bce3f7ff5e4dab79f96b3df65927c", "score": "0.6225739", "text": "@Override\r\n\tpublic void onTestStart(ITestResult result) {\n\r\n\t}", "title": "" }, { "docid": "df8bc41bcebdad10b57d49e23dd96cb4", "score": "0.62178487", "text": "@Override\r\n\tpublic void onTestStart(ITestResult result) {\n\t\t\r\n\t}", "title": "" }, { "docid": "0d99e8ba461671d3f74a321fb19420d6", "score": "0.61369056", "text": "@Override\n\tpublic void onTestStart(ITestResult arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "537f7dccc7d419cb8d9ad94aa8c802dd", "score": "0.6125872", "text": "@Override\n\tpublic void onTestStart(ITestResult arg0) {\n\n\t}", "title": "" }, { "docid": "537f7dccc7d419cb8d9ad94aa8c802dd", "score": "0.6125872", "text": "@Override\n\tpublic void onTestStart(ITestResult arg0) {\n\n\t}", "title": "" }, { "docid": "4bf0542245eca215feadf606966a17b6", "score": "0.60883206", "text": "@Before //before tests, we need to register the loader idling resource -> tests will wait for loading\n public void setUp() {\n if(!methodsThatDontNeedWait.contains(testName.getMethodName())) {\n //will wait until loading is complete\n Predicate<ActivityScenarioRule<?>> loadingPredicate = new Predicate<ActivityScenarioRule<?>>() {\n private boolean isIdle;\n @Override\n public boolean test(ActivityScenarioRule<?> rule) {\n rule.getScenario().onActivity(activity -> {\n View startedView = activity.findViewById(R.id.startedView);\n View notStartedView = activity.findViewById(R.id.notStartedView);\n isIdle = startedView.getVisibility() == View.VISIBLE || notStartedView.getVisibility() == View.VISIBLE;\n });\n return isIdle;\n }\n\n };\n loadingIdleResource = new AndroidTestUtils.LoadingIdlingResource(loadingPredicate, rule);\n IdlingRegistry.getInstance().register(loadingIdleResource);\n }\n }", "title": "" }, { "docid": "18c7869c0e4a67f5674f91d0fda3df4e", "score": "0.6069706", "text": "public void onTestStart(ITestResult result) {\n\t}", "title": "" }, { "docid": "b45c3c06baa9ecb6aee424a3f91cc59a", "score": "0.6066215", "text": "@Override\n public void onTestStart(ITestResult result) { AlertEvent.getInstance().register(this);}", "title": "" }, { "docid": "e1a6ee3a753c4c3916ed4cd7c6f69b07", "score": "0.60374784", "text": "@Override\n public void onTestStart(ITestResult iTestResult) {\n\n }", "title": "" }, { "docid": "7d30eb3e3acda64b71e2191407966b3c", "score": "0.60319144", "text": "@Override\r\n\tpublic void onTestStart(ITestResult arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "5d6456f838d8345351a17d248cb64f43", "score": "0.60110706", "text": "public void onTestStart(ITestResult result) {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d5f9865d199404318b1adfc49fe0fe2", "score": "0.5999089", "text": "@Override\n public void beforeAll(ExtensionContext context) throws Exception {\n LOGGER.info(\"running - beforeAll\");\n\n testInfo.setCurrentTestClass(context);\n KubeClusterManager.getInstance().setClassConfigurations();\n try { //TODO remove it after upgrade to surefire plugin 3.0.0-M5\n handleCallBackError(\"Callback before all\", context, () -> {\n if (testInfo.isUpgradeTest()) {\n if (operatorManager.isEnmasseBundleDeployed()) {\n operatorManager.deleteEnmasseBundle();\n }\n LOGGER.info(\"Enmasse is not installed because next test is {}\", context.getDisplayName());\n } else if (testInfo.isOLMTest()) {\n LOGGER.info(\"Test is OLM\");\n if (operatorManager.isEnmasseOlmDeployed()) {\n operatorManager.deleteEnmasseOlm();\n }\n if (operatorManager.isEnmasseBundleDeployed()) {\n operatorManager.deleteEnmasseBundle();\n }\n operatorManager.installEnmasseOlm(testInfo.getOLMInstallationType());\n } else if (env.installType() == EnmasseInstallType.OLM) {\n if (!operatorManager.isEnmasseOlmDeployed()) {\n operatorManager.installEnmasseOlm();\n }\n if (!operatorManager.areExamplesApplied()) {\n operatorManager.installExamplesBundleOlm();\n operatorManager.waitUntilOperatorReadyOlm();\n }\n } else {\n if (!operatorManager.isEnmasseBundleDeployed()) {\n operatorManager.installEnmasseBundle();\n }\n }\n });\n } catch (Exception ex) {\n beforeAllException = ex; //TODO remove it after upgrade to surefire plugin 3.0.0-M5\n operatorManager.deleteEnmasseOlm();\n }\n }", "title": "" }, { "docid": "8d2b87dff9063330774cbfe1c73a6d33", "score": "0.591584", "text": "@Override\r\n\tpublic void onStart(ITestContext context) {\n\r\n\t}", "title": "" }, { "docid": "128caad7bf447e754242caf480e1c29e", "score": "0.5894831", "text": "@Override\n\tpublic void onStart(ITestContext context) {\n\t}", "title": "" }, { "docid": "c4650583524cf752ec7b89483ed196ff", "score": "0.5837514", "text": "@Before //import from io.cucumber\n\tpublic void startTest() {\n\t\tBaseClass.setUp(); //we made those methods static in order to access them from here\n\t}", "title": "" }, { "docid": "9e9de5a4d44686bf53b45360272c5aac", "score": "0.5820744", "text": "@Override\n\tpublic void onStart(ITestContext context) {\n\t\t\n\t}", "title": "" }, { "docid": "9e9de5a4d44686bf53b45360272c5aac", "score": "0.5820744", "text": "@Override\n\tpublic void onStart(ITestContext context) {\n\t\t\n\t}", "title": "" }, { "docid": "9e9de5a4d44686bf53b45360272c5aac", "score": "0.5820744", "text": "@Override\n\tpublic void onStart(ITestContext context) {\n\t\t\n\t}", "title": "" }, { "docid": "1fe91d51df1b7d9de704aa6fb9f000ec", "score": "0.5781801", "text": "@Override\n\tpublic void onStart(ITestContext arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "1fe91d51df1b7d9de704aa6fb9f000ec", "score": "0.5781801", "text": "@Override\n\tpublic void onStart(ITestContext arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "7d8ae5d8bc1ff4ae12667575c8fb4e4f", "score": "0.5781738", "text": "@Override\r\n\tpublic void onStart(ITestContext context) {\n\t\t\r\n\t}", "title": "" }, { "docid": "7d8ae5d8bc1ff4ae12667575c8fb4e4f", "score": "0.5781738", "text": "@Override\r\n\tpublic void onStart(ITestContext context) {\n\t\t\r\n\t}", "title": "" }, { "docid": "40c41105ee1a7cdb6afc905528d9fcae", "score": "0.5770583", "text": "@Override\n\tpublic void onStart(ITestContext context) {\n\n\t}", "title": "" }, { "docid": "40c41105ee1a7cdb6afc905528d9fcae", "score": "0.5770583", "text": "@Override\n\tpublic void onStart(ITestContext context) {\n\n\t}", "title": "" }, { "docid": "bdf64af989b18242c1aed2f57021cffa", "score": "0.57519907", "text": "protected abstract void initTesting();", "title": "" }, { "docid": "d7086293fdc70c6aa516c2787d834a9b", "score": "0.57374173", "text": "@Override\n\tpublic void onStart(ITestContext arg0) {\n\n\t}", "title": "" }, { "docid": "d7086293fdc70c6aa516c2787d834a9b", "score": "0.57374173", "text": "@Override\n\tpublic void onStart(ITestContext arg0) {\n\n\t}", "title": "" }, { "docid": "d7086293fdc70c6aa516c2787d834a9b", "score": "0.57374173", "text": "@Override\n\tpublic void onStart(ITestContext arg0) {\n\n\t}", "title": "" }, { "docid": "ee2507f5e72a78cf5323c20a41636be7", "score": "0.5722204", "text": "@Override\n public void onTestStart(ITestResult result) {\n\n log.info(result.getMethod().getMethodName() + \" STARTED\");\n }", "title": "" }, { "docid": "64044a5c3d51380274f30e987856b917", "score": "0.57072353", "text": "@Override\n\tpublic void onStart(ITestContext context) {\n\t\tITestListener.super.onStart(context);\n\t}", "title": "" }, { "docid": "5ce1af075ba6bcabc38dad2b55b7df53", "score": "0.57011294", "text": "public void onTestStart(ITestResult result) {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "2d7f49934c2396704526a739291780ce", "score": "0.5672109", "text": "public void onStart(ITestContext result) {\n\t\t\r\n\t}", "title": "" }, { "docid": "e59c64878647c778beca643d707ee87f", "score": "0.5668122", "text": "@Override\n public void onStart(ISuite suite)\n {\n List<String> projects = resolveTestGroups(suite);\n String xmlFileName = resolveXMLFileName(suite);\n\n Collection<ITestNGMethod> testsOnRuntime = suite.getAllMethods();\n LOG.info(\"Total number of tests: \" + testsOnRuntime.size());\n\n Map<String, Collection<ITestNGMethod>> groupsOfTests = suite.getMethodsByGroups();\n\n Map<String, List<String>> testClasses = new HashMap<String, List<String>>();\n Iterator<ITestNGMethod> iterator;\n\n for (String key : projects)\n {\n if (groupsOfTests.keySet().contains(key))\n {\n LOG.info(\"Total number of tests for TestGroup = '\" + key + \"' is \" + groupsOfTests.get(key).size());\n iterator = groupsOfTests.get(key).iterator();\n\n while (iterator.hasNext())\n {\n TestNGMethod test = (TestNGMethod) iterator.next();\n\n // add the class name and the method name to the map\n String className = test.getConstructorOrMethod().getMethod().getDeclaringClass().getName();\n if (testClasses.containsKey(className))\n {\n testClasses.get(className).add(test.getMethodName());\n }\n else\n {\n List<String> methods = new ArrayList<String>();\n methods.add(test.getMethodName());\n testClasses.put(className, methods);\n }\n }\n }\n }\n\n XmlTestsSuiteWriter writer = new XmlTestsSuiteWriter();\n writer.generateXmlFile(fullPath(xmlFileName), testClasses, projects.get(0));\n\n System.exit(0);\n }", "title": "" }, { "docid": "dc78dc0991d4541dd6cbbe8375745fb7", "score": "0.5650938", "text": "public void onSuiteStart(TestSuite suite);", "title": "" }, { "docid": "975681866d83b15b1befc63039e7a1fe", "score": "0.5642296", "text": "@BeforeClass\n public static void preSetUp() {\n if (Looper.myLooper() == null) Looper.prepare();\n }", "title": "" }, { "docid": "1b7c81b577af41603d16fa5e28b3ac57", "score": "0.5641993", "text": "@BeforeMethod(alwaysRun = true)\n public void BeforeTestSetUp() throws Exception {\n\n }", "title": "" }, { "docid": "cc029f2832f975a9a645f2f5ba603435", "score": "0.5635309", "text": "public void init(){\n\t\tthis.resultColl = CountingResultCollector.getInstance();\n\t\tthis.counter = new BytecodeCounter();\n\t\tlog.fine(\"Using class \"+this.testClassName+\" \" +\n\t\t\t\t\"(instrumented: \"+this.testMethodSignature+\", \" +\n\t\t\t\t\"called: \"+ this.methodToExecute +\").\");\n\t}", "title": "" }, { "docid": "4f861aa21a77669018c5add4face0e02", "score": "0.5634591", "text": "private void runTests(RunNotifier notifier) {\n super.run(notifier);\n }", "title": "" }, { "docid": "d321855a93c50fe136ae817f4da6b724", "score": "0.5626772", "text": "public void initTestCases() {\n\t\t\n\t}", "title": "" }, { "docid": "358123ef37f1a5871727b8b158177cfc", "score": "0.5623862", "text": "@BeforeMethod\n public void BeforeMethon() {\n\n }", "title": "" }, { "docid": "8f0b078572e148e87f8b1aba96c73966", "score": "0.55699193", "text": "@Before \r\n\tpublic void startingConditions(){\n\t\t\r\n\t}", "title": "" }, { "docid": "5c51d1e8b5c7b7f9abf25cc12dd596c9", "score": "0.5554089", "text": "@Override\n\tpublic void beforeStart() {\n\t}", "title": "" }, { "docid": "1fb7a02be75d4e95b9c26e318b6905b9", "score": "0.55489814", "text": "@Override\r\n\tpublic void onTestStart(ITestResult result) {\n\t\tSystem.out.println(\"test method \" + result.getName() + \" execution started\");\r\n\r\n\t}", "title": "" }, { "docid": "5859c66ae9378bee80c4a80102ea241f", "score": "0.55477893", "text": "protected void moreSetUp() throws Exception {\n }", "title": "" }, { "docid": "2ba33fa51dcd2bf9e0c651ce9940734c", "score": "0.5519235", "text": "@Before\n\tpublic void setUpBeforeEveryMethod() throws Exception {\n\t\tthis.perun = (PerunBlImpl)super.perun;\n\n\t\t//Injected mocks would preserve in the perun object even after this test class,\n\t\t//because it is created by Spring in parent class and it is is used by other tests classes again.\n\t\t//To prevent this situation, we need to back up the real extSourceManagerBl and set it back to the perun after tests finish.\n\t\textSourceManagerBlBackup = perun.getExtSourcesManagerBl();\n\n\t\tgroupsManagerBl = perun.getGroupsManagerBl();\n\t\textSourceManagerBl = perun.getExtSourcesManagerBl();\n\t\tattributesManagerBl = perun.getAttributesManagerBl();\n\n\t\tvo = setUpVo();\n\t\tsetUpBaseGroup(vo);\n\t\tsetUpFacility();\n\t\tsetUpResources();\n\t\tsetUpGroup(vo);\n\t\tsetUpMember(vo);\n\n\t\tMockitoAnnotations.initMocks(this);\n\n\t\tdoReturn(essa).when(extSourceManagerBl).getExtSourceByName(any(PerunSession.class), any(String.class));\n\t\twhen(extSourceManagerBl.getExtSourceByName(sess, ExtSourcesManager.EXTSOURCE_NAME_PERUN)).thenReturn(extSourceForUserCreation);\n\t\twhen(extSourceManagerBl.getExtSourceByName(sess, extSourceForUserCreation.getName())).thenReturn(extSourceForUserCreation);\n\t\t//noinspection ResultOfMethodCallIgnored\n\t\tdoReturn(EXT_SOURCE_NAME).when((ExtSourceLdap)essa).getName();\n\t\tdoNothing().when(extSourceManagerBl).addExtSource(any(PerunSession.class), any(Group.class), any(ExtSource.class));\n\t}", "title": "" }, { "docid": "0d7c164a785dcd0db0774b990d8ae03e", "score": "0.5515101", "text": "public void onTestStart(ITestResult result) {\n\t\tString testMethodName =result.getMethod().getMethodName();\n\t\t\n\t\tSystem.out.println(\"Start of Test \\t\" +testMethodName);\n\t\tlog.info(\"Start of Test \\t\" +testMethodName);\n\t\t\n\t\ttest = extent.createTest(testMethodName+\"\\t Test\");\n\t\t\n\t}", "title": "" }, { "docid": "9900bfe22e72dd11f2cac1929ce35456", "score": "0.5512996", "text": "public void testStartLog() {\n\t\t/*\n\t\t * implicit testet in setup\n\t\t */\n\t}", "title": "" }, { "docid": "ac6ff01136b1c6e6d40d176c2fceb4b8", "score": "0.5506089", "text": "public void setupCase() throws Exception {\n\n // Runtime will get the child class automatically\n String baseServerPortStr = ConfigUtil.getMobileBaseServerPort();\n int baseServerPort = Integer.parseInt(baseServerPortStr);\n device = ADBTools.getDeviceDiff(baseServerPort);\n\n driver = MobileDriverManager.getDriver(device);\n SignalCore.clearAllSignals(packageKey);\n try {\n watcher = new JMobileWatcher(driver);\n watcher.setRunFlag(true);\n watcher.start();\n }catch (Exception ex) {\n System.out.println(\"watcher exception\"+ex.getStackTrace());\n }\n }", "title": "" }, { "docid": "1d3e13fe9f794bc7983e28bdef6a2ebd", "score": "0.5489982", "text": "@Override\n\t@Before\n\tpublic void testInit() {\n\t\tsuper.testInit();\n\t}", "title": "" }, { "docid": "4350f88f637240e9ff2b5be6813f0f43", "score": "0.54855585", "text": "public void initRefiningTest() {\n \n initRefiningTest(defaultRollDisruptionA, defaultPitchDisruptionA, defaultFactorDisruptionA, \n defaultRollDisruptionB, defaultPitchDisruptionB);\n }", "title": "" }, { "docid": "280f52c7c7b5ce3a83d28072a0512ca9", "score": "0.54825354", "text": "@Before\n public void init() {\n abc.start();\n }", "title": "" }, { "docid": "b159622479c4bf896b0cceae649f35d0", "score": "0.5480501", "text": "protected void successRateSetUp() {\n successMaxFailures = 0;\n }", "title": "" }, { "docid": "cf4437997ed0c701ff252b3e75ce07a7", "score": "0.545945", "text": "public void onTestStart(ITestResult result) {\n\t\ttest= extent.createTest(result.getMethod().getMethodName());\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "fc23a5ffa1addbc89506693959a8b612", "score": "0.5457362", "text": "protected void setUp() throws Exception {\n super.setUp();\n Runtime.getRuntime().exec(\"am start -n com.nll.screenrecorder/com.nll.screenrecorder.activity.RouterActivity\");\n sleep(3000);\n }", "title": "" }, { "docid": "8c582c45a899933ea89b6504351499a6", "score": "0.5454204", "text": "@BeforeSuite(alwaysRun=true)\n\tpublic void onStart() throws IOException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException{\t\n\t\tint befo = 1;\n\t\tRuntime.getRuntime().exec(\"taskkill /F /IM chromedriver.exe /T\");\n\t\twaitFor(1);\n\t\tSystem.out.println(\"testbase - beforesuite\");\n\t\tstartTime= getDateAndTime();\n\t\t//archiveTestOutput();\n\t\t//db connectivity\n\t\tSystem.setProperty(\"java.library.path\", System.getProperty(\"user.dir\") + \"\\\\lib\\\\jdbc\\\\dblg64\" );\n\t\tField fieldSysPath = ClassLoader.class.getDeclaredField(\"sys_paths\");\n\t\tfieldSysPath.setAccessible(true);\n\t\tfieldSysPath.set(null, null);\n\t\t\n\t\tinitializeTestcontext();\n\t\t\n\t\tDate dtSuiteSt = new Date();\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss\");\n\t\tstStartSuite = dateFormat.format(dtSuiteSt);\n\t\tSystem.out.println(\"completion\");\n\t}", "title": "" }, { "docid": "3295f37ba00b95a15f57fa4ecf9a37aa", "score": "0.5447803", "text": "@Override\n protected void beforeTest() {\n }", "title": "" }, { "docid": "eb6474e1139a71f1cd99de00563f0838", "score": "0.5447161", "text": "@Override\n public void testInit() {}", "title": "" }, { "docid": "eb6474e1139a71f1cd99de00563f0838", "score": "0.5447161", "text": "@Override\n public void testInit() {}", "title": "" }, { "docid": "4e77e38d765da349111aec386882ccd9", "score": "0.5442188", "text": "private void setUpScenary1() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "81634085d0b66b223b516c785614849e", "score": "0.54290926", "text": "@BeforeTest\n\tpublic void checkCaseToRun() throws Exception {\n\t\tstartTest(TestCaseListExcelSuiteTestingForm);\n\t}", "title": "" }, { "docid": "9a5899052f27fc09f542c0ce07679bb3", "score": "0.542313", "text": "public void onClassStart(Object testInstance);", "title": "" }, { "docid": "d28be7966e23fe84c29690c2f7a6c170", "score": "0.54038244", "text": "public void initTest()\n\t\t{\n\t\t}", "title": "" }, { "docid": "8e6958a8009bd87808b72ff5f0c231ee", "score": "0.54009557", "text": "public void onStart(ISuite suite) {\n\t}", "title": "" }, { "docid": "1f725a3d4e2ac292eb5f6924b14359ac", "score": "0.5394625", "text": "@Override\n\tpublic void onTestStart(ITestResult result) {\n\t\t\n\t\tExtentTest test = extent.createTest(result.getMethod().getMethodName());\n\t}", "title": "" }, { "docid": "780c94fbf554f26e61e767faf0cd5120", "score": "0.53929156", "text": "@Override\n public void setUp() throws Exception {\n super.setUp();\n Context context = getInstrumentation().getTargetContext();\n mPm = (PowerManager) getInstrumentation().getTargetContext().getSystemService(\n Context.POWER_SERVICE);\n mDm = IDreamManager.Stub.asInterface(\n ServiceManager.getService(DreamService.DREAM_SERVICE));\n\n mOldVrListener = setTestVrListener(new ComponentName(\n context, TestVrActivity.TestVrListenerService.class).flattenToString());\n }", "title": "" }, { "docid": "e1a62031c491c790adabba4836d1b16a", "score": "0.53868645", "text": "@Before\n @Override\n public void init() {\n }", "title": "" }, { "docid": "28903364748d45a86ce77eac4f40e71a", "score": "0.53868455", "text": "public void initTestCase() {\n\n switch (objExecution.getTestcaseName()){\n\n case \"ENCRYPT_HTTP_REQUEST\":\n canNotTestUpdation();\n break;\n\n case \"DECRYPT_HTTP_RESPONSE\":\n canNotTestUpdation();\n break;\n\n\n default:\n canNotTestUpdation();\n break;\n }\n }", "title": "" }, { "docid": "a5f7d50062f5c5a1ab559ea221d9cf41", "score": "0.5386722", "text": "@Before //Method will be run before each test of interaction\n public void before() {\n }", "title": "" }, { "docid": "a70f6ea66ea42b13517bcb3346b01f86", "score": "0.5374864", "text": "@BeforeClass\n public void beforeClass() {\n }", "title": "" }, { "docid": "425d560557f9ba18ad5fa9dacccad1f9", "score": "0.53736764", "text": "@Test\n public void testMultiplayerStart(){\n\n }", "title": "" }, { "docid": "613f0a755e1029e8866f433ef7d5ea14", "score": "0.5367992", "text": "@Before\n public void setUp() throws Exception {\n System.loadLibrary(\"cronet_tests\");\n\n assertThat(Http2TestServer.startHttp2TestServer(mTestRule.getTestFramework().getContext()))\n .isTrue();\n }", "title": "" }, { "docid": "13e557c0f40477b10c92ff5d4e45513e", "score": "0.53659546", "text": "@BeforeClass\r\n\tpublic void setup() throws MalformedURLException {\n\t\t\tlounchApp();\r\n\t}", "title": "" }, { "docid": "726d45a53e559eb6a7e12ffe35d59793", "score": "0.5361783", "text": "public void onStart(ITestContext context) {\n\t}", "title": "" }, { "docid": "ee4b1ac2a2dfd20db4ad1b4bcff22839", "score": "0.5361177", "text": "public void onTestStart(ITestResult result) {\n\t\ttest = rep.startTest(result.getName().toUpperCase());\n\t\t\n\t}", "title": "" }, { "docid": "57f18b450865c3a1196bf3c57875c56a", "score": "0.5356994", "text": "@BeforeAll\n public static void init() {\n logger.info(\"Initializing before tests\");\n }", "title": "" }, { "docid": "447f4eb815170001bfe0d93a2ee537a4", "score": "0.53527266", "text": "@BeforeAll\n public static void init() throws Exception {\n openPorts = new ArrayList<>(getOpenPorts(30));\n KubePortManagerSingleton.init(new HashSet<>(openPorts.subList(1, openPorts.size() - 1)));\n }", "title": "" }, { "docid": "2ec001aa8c7dff0d3915b973b0665d34", "score": "0.5352019", "text": "protected void setUp() throws Exception {\n\t\tsuper.setUp();\n\t\tAccuracyTestHelper.loadNamespaces();\n\t\tvalidator = new MemberNotBarredValidator(\"MemberMinimumReliabilityForRatingTypeValidator.ns\");\n\t\tbundleInfo = validator.getBundleInfo();\n\t\tAccuracyTestHelper.setLog(validator);\n\t}", "title": "" }, { "docid": "f969ebf0b9b8254ae695f843a4bb1d46", "score": "0.53312325", "text": "protected void _preRun()\n {\n }", "title": "" }, { "docid": "4812ab87df875714e855193717a2e29a", "score": "0.5329715", "text": "public void onStart(ITestContext context) {\n\t\t\r\n\t}", "title": "" }, { "docid": "6a426094e6567af1bbe226ca9a35b606", "score": "0.53278416", "text": "@Before\n public void init() {\n }", "title": "" }, { "docid": "b134b25eba5ea386525438f58fb2aea0", "score": "0.532437", "text": "@BeforeAll\n public static void beforeAll() {\n }", "title": "" }, { "docid": "42a6a16b4d8a4ac1b302f8713090b311", "score": "0.53232235", "text": "@Before\n public abstract void setup();", "title": "" }, { "docid": "9c04b1b4efbabeccfca0d3dafd8c99b0", "score": "0.53174174", "text": "public void init() {\n\t\tList<String> types = new ArrayList<String>();\n\t\tfor (RetryConfiguration config:configMgr.getConfigMap().values()) {\n\t\t\tif (globalStateMap.get(config.getType()) == null)\n\t\t\t\tglobalStateMap.put(config.getType(), RetryState.DRAINED);\n\t\t\ttypes.add(config.getType());\n\t\t}\n\t\t//\n\t\t//set master and load retry data\n\t\tsetMaster();\n\t\tif (master) {\n\t\t\t\n\t\t\tloadDataAsync(types);\n\t\t\t//even if we have slaves coming on line, we should get informed of\n\t\t\t//state changes via loading\n\t\t}\n\t}", "title": "" }, { "docid": "38def82c18eb1454ae9485ebcc3d2552", "score": "0.53105116", "text": "@Override\n public void testInit() {\n // !!!!!! DON'T START THE SS IDLE COMMANDS HERE !!!!\n\n driveSubsystem.diagnosticsInitialize();\n climberSubsystem.diagnosticsInitialize();\n scoringSubsystem.diagnosticsInitialize();\n navigationSubsystem.diagnosticsInitialize();\n visionSubsystem.diagnosticsInitialize();\n lightingSubsystem.diagnosticsInitialize(); \n\n climberSubsystem.startIdle();\n\n MotorTestModes.init();\n }", "title": "" }, { "docid": "5cd6930b1556f20f7222f7305afccf46", "score": "0.5307395", "text": "public void onStart(ITestContext context) {\n\t\tReporter.log(\"Test Cases Execution Started : \" + context.getName() + \"\\nAll Methods : \" +context.getAllTestMethods() + \"\\nPassed Tests : \" + context.getPassedTests() );\n\t}", "title": "" }, { "docid": "16862e411f7a5d15633dc041d709cfec", "score": "0.5306283", "text": "@Override\r\n\tpublic void onTestStart(ITestResult result) {\n\t\tSystem.out.println(\"test case started\"+result.getName());\r\n\t}", "title": "" }, { "docid": "3c6f35921ee3d534e28ef12141791aac", "score": "0.53047645", "text": "@Override\r\n\tpublic void onStart(ITestContext result) {\n\t\tSystem.out.println(\"test case started\"+result.getName());\r\n\t}", "title": "" }, { "docid": "7ced59361c78920f90766e7cdfcb9d2a", "score": "0.5304324", "text": "@SuppressWarnings(\"squid:S2696\")\n @BeforeSuite\n public void beforeSuite() {\n\n config = AutoPilotUtil.getPropertiesFile(CONFIG_PROP);\n frameActions = new FrameActions();\n explicitWaits = new ExplicitWait();\n implicitWait = new ImplicitWait();\n keyboardActions = new KeyboardActions();\n imouseActions = new MouseActions();\n browseroprimpl = new BrowserOperationsImpl(getBaseDriver());\n jobHelper = new JobHelper();\n queryHelper = new QueryHelper();\n\n LOGGER.info(\"Before suite set up completed\");\n\n }", "title": "" }, { "docid": "3fea7bf262da429b715883c09d0d60ab", "score": "0.53029525", "text": "@Override\n public void testPeriodic() {\n \n }", "title": "" }, { "docid": "5a75cbd73d28ecfcf74354cfa49320e5", "score": "0.5300268", "text": "public void onStart(ITestContext context) {\n\n\t}", "title": "" }, { "docid": "77e304eef536f7ff0120266d2d92f398", "score": "0.5298717", "text": "@Before\n public void setUp() {\n TestThreadUtils.runOnUiThreadBlocking(() -> {\n mScheduler = new FeedSchedulerBridge(Profile.getLastUsedRegularProfile());\n if (mUseRequestManager) {\n ((FeedSchedulerBridge) mScheduler).initializeFeedDependencies(mRequestManager);\n }\n });\n }", "title": "" }, { "docid": "5a03d63ebf8c58197b4f11496a3a0412", "score": "0.5298653", "text": "@Override\n\tpublic void onTestStart(ITestResult arg0) {\n\t\t\n\t\ttest = extent.createTest(arg0.getMethod().getMethodName());\n\t\tlocal.set(test);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "e298a9fed501a26cefebfed7c1cdd8d6", "score": "0.52931225", "text": "@Test\n public void testStart() throws Exception {\n }", "title": "" }, { "docid": "ec05e912d6d6c72c66c19b8d5f1fdd06", "score": "0.5288673", "text": "@Override\n\t\t\tpublic void testStarted(Description description) throws Exception {\n\t\t\t\tschedulerListener.testStarted(\n\t\t\t\t\t\tdescription.getClassName(), description.getMethodName());\n\t\t\t}", "title": "" }, { "docid": "2ceea3ecc9f41eee3522d09661c1c8c5", "score": "0.528783", "text": "private void setupListeners() {\n\t\t\n\t}", "title": "" }, { "docid": "c7aa638fcb658e406ab1e991fbe7e96c", "score": "0.52870965", "text": "@BeforeMethod\n public void startServices() {\n Config config = config()\n .set(REMOTES_PING_ENABLED, false)\n .set(REMOTES_CLEANUP_ENABLED, false)\n .set(REMOTES_CLEANUP_EXPIRATION, \"0 s\")\n .set(LOG_MEM_ONLY, \"true\");\n\n managerModule = new ManagerModule(path.resolve(\"home\"), config);\n\n nodePingHandler = mock(NodePingHandler.class, CALLS_REAL_METHODS);\n doThrow(AssertionError.class).when(nodePingHandler).ping(any(URI.class));\n\n NodeGuidProvider nodeGuidProvider = mock(NodeGuidProvider.class);\n when(nodeGuidProvider.guid()).thenReturn(LOCAL_GUID);\n\n remotesService = new RemotesService(new RuntimeInfo(),\n config,\n null,\n managerModule.getStorageManager(),\n managerModule.getMessageManager(),\n new RemotesDao(managerModule.getStorageManager()),\n nodeGuidProvider,\n nodePingHandler,\n new RemoteNodesMessagesFactory());\n\n managerModule.start();\n remotesService.start();\n }", "title": "" }, { "docid": "86867d8f9e6163f5676a5af36baf032d", "score": "0.52847904", "text": "public void junitClassesStarted() {\n _lock.startRead();\n try { for (JUnitListener jul : _listeners) { jul.junitClassesStarted(); } }\n finally { _lock.endRead(); }\n }", "title": "" } ]
7d633dd73cf59de7d8a05e3d6368e027
Raw height and width of image
[ { "docid": "3f523213a0c28d0ca293451d7faf9d9d", "score": "0.0", "text": "public static int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight) {\n final int height = options.outHeight;\n final int width = options.outWidth;\n int inSampleSize = 1;\n\n if (height > reqHeight || width > reqWidth) {\n if (width > height) {\n inSampleSize = Math.round((float) height / (float) reqHeight);\n } else {\n inSampleSize = Math.round((float) width / (float) reqWidth);\n }\n }\n return inSampleSize;\n }", "title": "" } ]
[ { "docid": "c69d1a6a376ede9e54beaee0115e7f69", "score": "0.74963546", "text": "public String getImageWidth(){return imageWidth;}", "title": "" }, { "docid": "e13de673cbe6a6537a6b80c1f3282789", "score": "0.7257359", "text": "int getImageHeight() {\n\treturn imageHeight;\n}", "title": "" }, { "docid": "ff3630750f1bd08a39a0ccc0ec89eed1", "score": "0.72277856", "text": "public int getImageHeight();", "title": "" }, { "docid": "62a88bc6dfffff0cb397b22ab95bc525", "score": "0.7096426", "text": "public String getImageLength(){return imageLength;}", "title": "" }, { "docid": "1dd41e7c95de15872613f3812e1beb0a", "score": "0.7013114", "text": "public int getImageWidth();", "title": "" }, { "docid": "50a42da94a9c9e7d1fd95a4fc56b3f7c", "score": "0.6833369", "text": "public int getWidth() {\n return image.getWidth();\n }", "title": "" }, { "docid": "30c6192c2da46b818b9ee0644f71da15", "score": "0.6767103", "text": "public Integer getHeight() {\r\n return image.length;\r\n }", "title": "" }, { "docid": "84d2b979dccd52bd5c516895b2289ef9", "score": "0.67587423", "text": "private void computeRawImageStat() {\n\n }", "title": "" }, { "docid": "49c2edf1d0513c567128f7db14048c80", "score": "0.6743749", "text": "public int getHeight() {\n return image.getHeight();\n }", "title": "" }, { "docid": "c98d849c1e982aeadc3554965781e6bb", "score": "0.6683477", "text": "public int getDataSize() { return _imageLineCount * _imageLineLength; }", "title": "" }, { "docid": "5a617752fcb0bc571a3ef4d356529564", "score": "0.667268", "text": "public int getImageHeight() {\n return this.imageHeight;\n }", "title": "" }, { "docid": "d5d53d2d2e7e5b3e9b6b8bc3aa4c5acf", "score": "0.6654533", "text": "@Override\n public int getWidth(){\n return _image.getWidth(null);\n }", "title": "" }, { "docid": "389cb6b6620c62aebf54936790604333", "score": "0.66338426", "text": "@Override\n public int getHeight(){\n return _image.getHeight(null);\n }", "title": "" }, { "docid": "4610069c0bd2ed4a4d12ed723b20171b", "score": "0.6629115", "text": "public int getHeight(){\n return img.getHeight(null);\n }", "title": "" }, { "docid": "e8b761e9f493ed0053cc4e605bbb5995", "score": "0.6611309", "text": "public String getImageheight() {\n return imageheight;\n }", "title": "" }, { "docid": "5c21e5033123998d1815726676f771e0", "score": "0.6610959", "text": "public String getImagewidth() {\n return imagewidth;\n }", "title": "" }, { "docid": "4b64812ef75692899d069831bb4bb21d", "score": "0.6557845", "text": "public int getImageWidth() {\n return this.imageWidth;\n }", "title": "" }, { "docid": "e67d61932c3e672dcade0a31a82d8a2e", "score": "0.65520847", "text": "public int getWidth(){\n return img.getWidth(null);\n }", "title": "" }, { "docid": "a5269b5e30fb4e5270571fa17e1463e7", "score": "0.653473", "text": "public int height() {\n return pic.height();\n }", "title": "" }, { "docid": "d0507420df0c988bb1d98839173462e7", "score": "0.64903885", "text": "public ImageSize size() {\n return new ImageSize(width, height);\n }", "title": "" }, { "docid": "a612d9ec85de3f56cee59771c3ab6ead", "score": "0.6487945", "text": "private void ObtainImgDimensions() {\n int[] array = getBitmapPositionInsideImageView(photo);\n imgOrigWidth = array[0];\n imgOrigHeight = array[1];\n imgWidth = array[2];\n imgHeight = array[3];\n // La primera llamada imgWidth==imgHeight (2613x2613)\n // La segunda también (1080x1080)\n // La tercera es la buena\n if (imgWidth == imgHeight) {//imgWidth == 1080 && imgHeight == 1080) {\n //Lo intentamos dentro de 200 ms\n handler.postDelayed(\n new Runnable() {\n @Override\n public void run() {\n ObtainImgDimensions();\n }\n },\n 200);\n } else {\n if (islabelledPhoto)\n loadLabels(idPhoto); //Una vez sabemos las dimensiones pasamos a cargar etiquetas\n else ;\n //TODO parar progreso\n }\n }", "title": "" }, { "docid": "a59f38227f04898b5adfff89dc7cd936", "score": "0.6446818", "text": "public int getHeight(){\n\t\treturn image.getHeight(null);\n\t}", "title": "" }, { "docid": "a18f25ee85157ceaa1db0b8220a959a1", "score": "0.64399743", "text": "public Integer getImage() {\n return image;\n }", "title": "" }, { "docid": "81632d37c0c385fc35483095ee989230", "score": "0.6415184", "text": "public int height() {\n return this.picture.height();\n }", "title": "" }, { "docid": "a60b95f6de30abac79a0361c229af311", "score": "0.63974667", "text": "public void nrBiti() {\r\n\t int nr = img.getHeight()*img.getWidth();\r\n\t System.out.println(\"Numarul de biti al imaginii este: \"+nr);\r\n}", "title": "" }, { "docid": "bc090c638c38597b3c5a34b46ab4efad", "score": "0.6395151", "text": "public int height() {\n\t\treturn picture.height();\n\t}", "title": "" }, { "docid": "ca4b266fdb5417de8aef70d20ce0ef7b", "score": "0.6383648", "text": "public int getTargetSize() {\r\n\t\treturn imgSize;\r\n\t}", "title": "" }, { "docid": "8631b7851dfcf635f1ec38f6db4b07d3", "score": "0.6358068", "text": "public int getWidth(){\n\t\treturn image.getWidth(null);\n\t}", "title": "" }, { "docid": "f0d079e9cddc0ee9b54dcf7870c1a65e", "score": "0.6331337", "text": "public int getOriginalImageHeight() {\n\t\treturn originalHeight;\n\t}", "title": "" }, { "docid": "fec11672adaa31222567df588fc41704", "score": "0.6325447", "text": "public interface Image {\n\t/**\n\t * Gets image width\n\t * \n\t * @return image width\n\t */\n\tint getWidth();\n\n\t/**\n\t * Gets image height\n\t * \n\t * @return image height\n\t */\n\tint getHeight();\n\n\t/**\n\t * Get Rgbs value of the pixel located at the position specified by x, y\n\t * \n\t * @param x\n\t * @param y\n\t * @return integer representation of the rgb value\n\t */\n\tint getRGB(int x, int y);\n}", "title": "" }, { "docid": "c57742fb3a617d355b5ec87eba055e51", "score": "0.62970304", "text": "public Integer getWidth() {\r\n return (getHeight() > 0) ? image[0].length : 0;\r\n }", "title": "" }, { "docid": "84f588f49a02937a2d4d12ff0859a82b", "score": "0.6280235", "text": "@Override\n\tpublic Dimension getImageSize() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "eebd14fc54df6a7fbc06fd4890501a0f", "score": "0.6253558", "text": "public int getImage() {\n return Image;\n }", "title": "" }, { "docid": "de19e77b89bd5a36271fb81782a3d951", "score": "0.6247166", "text": "public Integer getNumImg() {\n return numImg;\n }", "title": "" }, { "docid": "16385fda24246a83a2b87e86618a3c85", "score": "0.6232957", "text": "public int getHeight() {\n \t\treturn image[0].getHeight(null);\n \t}", "title": "" }, { "docid": "3cded390f146d6902eb4586464cb3b95", "score": "0.6231051", "text": "public static void main(String[] args) {\n\tint width=1000;\r\n\tint hight=800;\r\n\tBufferedImage image=null;\r\n\ttry {\r\n\t\tFile inputfile=new File(\"F:/image/lee.jpg\");\r\n\t\timage =new BufferedImage(width, hight, BufferedImage.TYPE_INT_ARGB);\r\n\t\timage=ImageIO.read(inputfile);\r\n\t\tSystem.out.println(\"image hight\"+image.getData().getBounds().getWidth());\r\n\t\t\r\n\t}\r\n\tcatch(IOException e){\r\n\t\te.printStackTrace();\r\n\t\t\r\n\t}\r\n\t\r\n\r\n\t}", "title": "" }, { "docid": "51ee448c1732207d50f012cc0eff3942", "score": "0.6205991", "text": "public int getOriginalHeight() {\r\n return originalImage.getHeight( null );\r\n }", "title": "" }, { "docid": "39be0f14876b0d37b409ef98685d806d", "score": "0.62032515", "text": "public static int[] getImageSizeProperties() {\r\n if (imageHeight > 0 && imageWidth > 0) {\r\n \timageSizeProperties[0] = imageHeight;\r\n \timageSizeProperties[1] = imageWidth;\r\n return imageSizeProperties;\r\n }else {\r\n try {\r\n \tprop.load(inputStream);\r\n \timageHeight = Integer.parseInt(prop.getProperty(\"imgHeight\"));\r\n \timageWidth = Integer.parseInt(prop.getProperty(\"imgWidth\"));\r\n \timageSizeProperties[0] = imageHeight;\r\n \timageSizeProperties[1] = imageWidth;\r\n }catch (FileNotFoundException e) {\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n return imageSizeProperties;\r\n }\r\n\r\n }", "title": "" }, { "docid": "dc5e8d78d8e7e6447da98eeb9940b418", "score": "0.61989933", "text": "public double getHeight() {\n\t\treturn image.getHeight(null);\n\t}", "title": "" }, { "docid": "9c168ff9096845f8d7623727bcd4987b", "score": "0.6164182", "text": "public double getWidth() {\n\t\treturn image.getWidth(null);\n\t}", "title": "" }, { "docid": "a1ac37907e08d0584b14720fce9be0f5", "score": "0.61336464", "text": "public int calculateInSampleSize() {\n // Raw height and width of image\n final int height = Const.IMGHEIGHT;\n final int width = Const.IMGWIDTH;\n int inSampleSize = 1;\n int reqHeight = mWidth/Const.SAMPLESIZEIMAGE;\n int reqWidth = mHeight/Const.SAMPLESIZEIMAGE;\n //if(Const.DEVELOPER_MODE) Log.v(BitmapFactoryHelper.class.getClass().getCanonicalName(),\"reqWidth: \"+reqWidth+\" reqHeight:\"+reqHeight);\n if (height > reqHeight || width > reqWidth) {\n\n // Calculate ratios of height and width to requested height and width\n final int heightRatio = Math.round((float) height / (float) reqHeight);\n final int widthRatio = Math.round((float) width / (float) reqWidth);\n\n // Choose the smallest ratio as inSampleSize value, this will guarantee\n // a final image with both dimensions larger than or equal to the\n // requested height and width.\n inSampleSize = heightRatio < widthRatio ? widthRatio : heightRatio;\n }\n //if(Const.DEVELOPER_MODE) Log.v(BitmapFactoryHelper.class.getClass().getCanonicalName(),\"Sample rate: \"+inSampleSize+\" outH:\"+height+\" outW:\"+width);\n return inSampleSize;\n }", "title": "" }, { "docid": "ca640f45beb9ed649c298c4aac3558a0", "score": "0.6104884", "text": "public int width() {\n return pic.width();\n }", "title": "" }, { "docid": "1c4b2d33e03a4fe8b07edee6b89230d4", "score": "0.608358", "text": "public int getImageHeight() throws PDFNetException {\n/* 405 */ return GetImageHeight(this.a);\n/* */ }", "title": "" }, { "docid": "d110853ab40984878a6f0a858660258b", "score": "0.6064008", "text": "public int getWidth() {\n \t\treturn image[0].getWidth(null);\n \t}", "title": "" }, { "docid": "99a7c8c9ac2d95cfbfc6754ee9c05fb9", "score": "0.60629797", "text": "public int getHeight() {\n if (size != null) {\n return size.height;\n } else {\n return getImage().getHeight();\n }\n }", "title": "" }, { "docid": "b57baaf73e2ff6377afd30cd390c694f", "score": "0.6060428", "text": "public String getDimensions(){\n return String.format(\"%.2f X %.2f\", this.height, this.width);\n }", "title": "" }, { "docid": "8432a93b9616a1ab4c4cafc004123ce7", "score": "0.60574615", "text": "public int width() {\n\t\treturn picture.width();\n\t}", "title": "" }, { "docid": "dc631bd6bede9994fe6229534a79e8ee", "score": "0.60415", "text": "public Number getImageSize() {\n\t\treturn getView().getNumericValue(ConverterPreferenceView.REDUCE_IMAGE_SIZE_PREFERENCE_NAME);\n\t}", "title": "" }, { "docid": "092c77f3ab3934cc60ba548fa0834c7d", "score": "0.60273564", "text": "public int returnSize() {\n return this.width * this.height;\n }", "title": "" }, { "docid": "77265cfaa35a574d6fa1209237698cc8", "score": "0.60216695", "text": "public int width() {\n return this.picture.width();\n }", "title": "" }, { "docid": "0dbcce92d0bcaab1cd889ef64a539c68", "score": "0.59898424", "text": "@Override\r\n\tpublic int[][] imageData() {\n\t\treturn imgData;\r\n\t}", "title": "" }, { "docid": "1b2cb4416c54271fa1cd21933c687804", "score": "0.59892905", "text": "Image getImage();", "title": "" }, { "docid": "7315a90ae53e8af5fc7c4026953a44e3", "score": "0.5987391", "text": "public Image(){\n width = 0;\n height = 0;\n buffer = null;\n }", "title": "" }, { "docid": "cd87441db2d365c12e16d280fcee5d13", "score": "0.5974723", "text": "@Override\n public double[] getDimensions() {\n return new double[]{getHeight(), getWidth()};\n }", "title": "" }, { "docid": "bbcd5f5859a08c647d92aa88acd77cb5", "score": "0.59715766", "text": "@Override\r\n public String toString() {\r\n //Size = (width + 1 (for '\\n')) * height\r\n StringBuilder ret = new StringBuilder((getWidth() + 1) * getHeight());\r\n for (char[] line : image) ret.append(line).append('\\n');\r\n return ret.toString();\r\n }", "title": "" }, { "docid": "3965e6101c3be676e6e476a8a7f9666e", "score": "0.597014", "text": "private int getGifHeight(){ return getBoundaryHeight()*scale; }", "title": "" }, { "docid": "5c594e593307298533bc80adc66d16f1", "score": "0.59590364", "text": "public double[] getImage() {\n\t\treturn image;\n\t}", "title": "" }, { "docid": "7aaadfa549cfddad1af791c2dc4de0b9", "score": "0.59495455", "text": "public void readImage();", "title": "" }, { "docid": "8d0178fe9b562ad6fd6a7ff4ed140a7f", "score": "0.59467113", "text": "@Override\n public String toString() {\n return \"[\" + this.width + \",\" + this.height + \"]\";\n }", "title": "" }, { "docid": "34c8bfe1a1559875b620b0699194027d", "score": "0.5946574", "text": "@Override\n\tpublic int getHeight() {\n\t\treturn bitmap.getHeight();\n\t}", "title": "" }, { "docid": "36c76a8c8164c6b77b8ad6b0340d0ef7", "score": "0.59436804", "text": "public native int height();", "title": "" }, { "docid": "aea36814e3d9c1fe26eb2c03da7d72c3", "score": "0.59380674", "text": "public int getOriginalImageWidth() {\n\t\treturn originalWidth;\n\t}", "title": "" }, { "docid": "ba66a69be464dd58f65386df66ff6ab8", "score": "0.5937121", "text": "@Override\n\tpublic int getWidth() {\n\t\treturn bitmap.getWidth();\n\t}", "title": "" }, { "docid": "27d9fdcf46dc17c3d68a20c42e6d5655", "score": "0.59280926", "text": "private int getScreenImageSize() {\n DisplayMetrics outMetrics = new DisplayMetrics();\n getWindowManager().getDefaultDisplay().getMetrics(outMetrics);\n return (int) Math.max(outMetrics.heightPixels, outMetrics.widthPixels);\n }", "title": "" }, { "docid": "abf257b7c8050624cbefd1280d3a3827", "score": "0.5925605", "text": "public ReadableByteChannel getRawImageData();", "title": "" }, { "docid": "72167294a2698b11f61f49324e18a03f", "score": "0.59149605", "text": "public int getImage(){\n return imageReference;\n }", "title": "" }, { "docid": "5af54c5c84fcf7484e2e7ef5910b7369", "score": "0.59112215", "text": "public int getImageWidth() throws PDFNetException {\n/* 394 */ return GetImageWidth(this.a);\n/* */ }", "title": "" }, { "docid": "46701aaf1c2c2382003e25e397ea55e9", "score": "0.59041685", "text": "public BufferedImage getImage(){\n\treturn image;\n }", "title": "" }, { "docid": "05e6f84ea4565dbb979c73f0b813d812", "score": "0.58897537", "text": "@Override\r\n\tpublic int getHeight() {\n\t\treturn leftPic.getHeight();\r\n\t}", "title": "" }, { "docid": "fddcd6f7b871e189f117def45fc0b373", "score": "0.5888593", "text": "public int getWidth() {\n if (size != null) {\n return size.width;\n } else {\n return getImage().getWidth();\n }\n }", "title": "" }, { "docid": "6b823b9c35259ad0c36d60a3b2f71304", "score": "0.5858798", "text": "public BufferedImage getImage(){\r\n\t\treturn img;\r\n\t}", "title": "" }, { "docid": "e668dc747e89c7aab94bf5a630244e0c", "score": "0.5850818", "text": "public Dimension getSize() {\n if (this.size == null) {\n if(Type.image.equals(getType())) {\n try {\n this.size = getImageSize(getImagePath());\n } catch (ImageManagerException | FileNotFoundException e) {\n logger.error(\"Error reading image size of \" + getImagePath(), e);\n }\n } else {\n this.size = new Dimension();\n }\n\n }\n return this.size;\n }", "title": "" }, { "docid": "deb4469b9719c289dbb52e6024dc19bd", "score": "0.58472013", "text": "private int getGifWidth(){ return getBoundaryWidth()*scale; }", "title": "" }, { "docid": "b498f2972c4d756a9a83d82e3327512f", "score": "0.5846553", "text": "public Image getImage();", "title": "" }, { "docid": "b61663cedfba18d4cb388398c24f47fa", "score": "0.584404", "text": "@Override\r\n\tpublic BufferedImage getImage() {\n\t\treturn imgLdr.getImage(image, 0);\r\n\t}", "title": "" }, { "docid": "0f8ed9646eba55b7f82eb91e87d23e64", "score": "0.5844024", "text": "public BufferedImage createImage(int width, int height) {\n/* 55 */ return new BufferedImage(width, height, 1);\n/* */ }", "title": "" }, { "docid": "34a0d3332ff4007d9bf1e9beebc588bd", "score": "0.583914", "text": "public int getOriginalWidth() {\r\n return originalImage.getWidth( null );\r\n }", "title": "" }, { "docid": "d2cbe9719492b6e1af3894470d39c539", "score": "0.58312756", "text": "public double getImag()\n {\n return im;\n }", "title": "" }, { "docid": "b9a1d53834b8bf54bf17344ff44dd8f3", "score": "0.58170825", "text": "public int[] getSuggestedImageSize();", "title": "" }, { "docid": "680a48e0096769ae85cd6c2e3adac12c", "score": "0.58160466", "text": "public void setImageLength(String imageLength){this.imageLength=imageLength;}", "title": "" }, { "docid": "ebbe28d463943964fa6d91e3ce10d640", "score": "0.5813935", "text": "public int getImageDataSize() throws PDFNetException {\n/* 367 */ return GetImageDataSize(this.a);\n/* */ }", "title": "" }, { "docid": "4f729f416e9ef90dcb55d52f143b329d", "score": "0.5795831", "text": "public BufferedImage getImage();", "title": "" }, { "docid": "6552718ab041b55aebb589426d7a6f3a", "score": "0.57831", "text": "protected BufferedImage getImage() {\n return image;\n }", "title": "" }, { "docid": "0f960350e2b7e07bf64fe01dcfd8c141", "score": "0.57794994", "text": "public Picture() {\n\n\ntracker = new MediaTracker(this);\ntracker.addImage(image,0);\ntracker.checkAll(true);\n\n\nimage_width = image.getWidth( this);\nimage_height = image.getHeight(this);\n\nsetPreferredSize(new Dimension(image_width, image_height) );\n\n\n\n}", "title": "" }, { "docid": "3808577840f7e4220338ea0b4929120c", "score": "0.57763267", "text": "public int getHeight() { return height; }", "title": "" }, { "docid": "fc644cb2ed4c5d8fbcdf921b2dc182f4", "score": "0.5768853", "text": "public void setImageWidth(String imageWidth){this.imageWidth=imageWidth;}", "title": "" }, { "docid": "e62f9c586e19cdeb948d4a62713e5b32", "score": "0.5765875", "text": "private Image getImage () {\n\t\timage = new BufferedImage(d.width, d.height, BufferedImage.TYPE_INT_RGB);\n\t\tGraphics2D g2d = image.createGraphics();\n\t\tpanel.print(g2d);\n\t\tImage img = image.getScaledInstance(100, 100, Image.SCALE_SMOOTH);\n\t\tg2d.dispose();\n\t\treturn img;\n\t}", "title": "" }, { "docid": "a130196cbce64d9ca2b0e9e824edf42d", "score": "0.5763878", "text": "public Image() {\n super(3, 3, Precision.Double, 1);\n largeSize = 1200;\n smallSize = 5;\n }", "title": "" }, { "docid": "ec7f42d9898c975e6e3438977268f333", "score": "0.5739762", "text": "@Override\r\n\tpublic int getWidth() {\n\t\treturn leftPic.getWidth()+ rightPic.getWidth();\r\n\t}", "title": "" }, { "docid": "680fb412e243b40106dea32d6f1c1a41", "score": "0.57372266", "text": "public ImageInterface getImage(double resolution);", "title": "" }, { "docid": "79d40dfcdc7f71ce9280f850ed8cd77b", "score": "0.5735873", "text": "public byte[] getImg() {\n return img;\n }", "title": "" }, { "docid": "920c1c039dcd297403a11c9942eea760", "score": "0.573002", "text": "@Override\n\tpublic int getIntrinsicHeight() {\n\t\treturn mWidth;\n\t}", "title": "" }, { "docid": "7be8ab0dc2e77c96916be0696aebcc84", "score": "0.5718694", "text": "java.lang.String getImage();", "title": "" }, { "docid": "36541d093e7a1d3ef6f3b7cb0e100eee", "score": "0.5717723", "text": "public BufferedImage getImage()\n {\n return image;\n }", "title": "" }, { "docid": "536a9ef856f5e549d5a9528477cb7e88", "score": "0.5713703", "text": "public int getTextureWidth() {\n return textureWidth;\n }", "title": "" }, { "docid": "229095d8a9beac74dbdba1d9d1a5c6ac", "score": "0.5713516", "text": "public int getImageCount() {\n return fileHeader.imageCount;\n }", "title": "" }, { "docid": "2a4805ac6d86a36f9efdca67ac4e0b26", "score": "0.5707775", "text": "public String getImage( )\n {\n return image;\n }", "title": "" }, { "docid": "0fab888d2876f923513d9f904cfb7e93", "score": "0.5675826", "text": "public int getTextureHeight() {\n return textureHeight;\n }", "title": "" }, { "docid": "d806b263c333f52b7840be2d3ecd7f62", "score": "0.5664176", "text": "int getDimensions();", "title": "" }, { "docid": "5ce12b01472964975fe9655586ff27e7", "score": "0.56610787", "text": "public static Dimension getImageSize(InputStream in) throws IOException {\n return getImageSize(\"\", in); \n }", "title": "" }, { "docid": "0b42ea1e0fd76e93d9e53bb6dfbbfcec", "score": "0.56601244", "text": "Image createImage();", "title": "" } ]
dd57d847588ff688065d90a0e6331062
Gets all constructors from a class
[ { "docid": "e4c8838cc5eee7a747d92e12df3504c1", "score": "0.7147972", "text": "public static Constructor<?>[] getConstructors(final Class<?> clazz)\r\n {\r\n return new SecureReflectionAccess<Constructor<?>[]>()\r\n {\r\n @Override\r\n protected Constructor<?>[] work() throws Exception\r\n {\r\n return clazz.getConstructors();\r\n }\r\n }.runAndWrap();\r\n }", "title": "" } ]
[ { "docid": "593ad8b53fe79488de06338666874d46", "score": "0.81424713", "text": "Collection<ConstructorDeclaration> getConstructors();", "title": "" }, { "docid": "0e071eeac0d0858f9fa2d10c3f9db3e0", "score": "0.71856654", "text": "public static Constructor<?>[] getDeclaredConstructors(final Class<?> clazz)\r\n {\r\n return new SecureReflectionAccess<Constructor<?>[]>()\r\n {\r\n @Override\r\n protected Constructor<?>[] work() throws Exception\r\n {\r\n return clazz.getDeclaredConstructors();\r\n\r\n }\r\n }.runAndWrap();\r\n }", "title": "" }, { "docid": "e5fe803c696ed7b18f294cdd6c4c444f", "score": "0.7121389", "text": "public List<MethodData> getConstructorsDeclared(){\r\n return _constructorsDeclared;\r\n }", "title": "" }, { "docid": "393ff5ae1621cbb75b65d2f775ee83c7", "score": "0.7103296", "text": "public static ArrayList<String> constructors(Class<?> c) {\r\n\t\tArrayList<String> result = new ArrayList<String>(); \r\n\t\tfor (Constructor<?> constructor : c.getConstructors()) {\r\n\t\t\tString s = constructor.getDeclaringClass().getSimpleName() + \"(\";\r\n\t\t\tfor (Class<?> sc : constructor.getParameterTypes()) {\r\n\t\t\t\ts = s + sc.getSimpleName() + \",\";\r\n\t\t\t}\r\n\t\t\tif (s.charAt(s.length() - 1) != '(') {\r\n\t\t\t\ts = s.substring(0, s.length()-1);\r\n\t\t\t}\r\n\t\t\ts += \")\";\r\n\t\t\tresult.add(s);\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "bd73fefa52f32779cd16792820c188d9", "score": "0.698459", "text": "@SuppressWarnings(\"unchecked\")\n protected MBeanConstructorInfo[] getConstructors() {\n\n Constructor[] constructors = currentClass.getConstructors();\n MBeanConstructorInfo[] constructorInfo =\n new MBeanConstructorInfo[constructors.length];\n for (int i = 0; i < constructors.length; i++) {\n constructorInfo[i] =\n new MBeanConstructorInfo(currentClass.getName(),\n constructors[i]);\n }\n\n return constructorInfo;\n }", "title": "" }, { "docid": "7d415e6cb05e95b4fde8966561448c47", "score": "0.6716623", "text": "private MBeanConstructorInfo[] getConstructorInfo() {\n final List<MBeanConstructorInfo> infoList = new ArrayList<>();\n\n if (type != null) {\n for (Constructor constructor : type.getConstructors()) {\n infoList.add(new MBeanConstructorInfo(constructor.toGenericString(), constructor));\n }\n }\n\n return infoList.toArray(new MBeanConstructorInfo[infoList.size()]);\n }", "title": "" }, { "docid": "590dba205b6d7af5c2edfebe9953c5ba", "score": "0.6712823", "text": "public Constructor<?> getConstructor();", "title": "" }, { "docid": "8b6d42814acd606f33f131131dd8000f", "score": "0.668334", "text": "private void loadConstructors() {\n Constructor[] ctors = clazz.getConstructors();\n\n for (int i = 0; i < ctors.length; ++i) {\n ctorList.add(ctors[i]);\n paramMap.put(ctors[i], ctors[i].getParameterTypes());\n }\n }", "title": "" }, { "docid": "09649fcefe0fec17b365ad96cffaf1cd", "score": "0.65092516", "text": "public ArrayList<InstanceCreationExpression> getConstructorInvocations() {\n return constructorInvocations;\n }", "title": "" }, { "docid": "4addc847102d913b07b56fc952e244e7", "score": "0.64263743", "text": "public MethodInfo findConstructorInfo( Signature sig ) ;", "title": "" }, { "docid": "5ae7ac1f0ac686497b3bf637cd876512", "score": "0.6343433", "text": "public List<ConstructorResolver> getConstructorResolvers()\r\n/* 80: */ {\r\n/* 81:110 */ ensureConstructorResolversInitialized();\r\n/* 82:111 */ return this.constructorResolvers;\r\n/* 83: */ }", "title": "" }, { "docid": "7669cef87ff6650c4d3421e94af52938", "score": "0.6319507", "text": "public void listConstructors(Class<?> cls) {\n for (Constructor<?> c : cls.getConstructors()) {\n constructorListModel.addElement(c);\n }\n List<Constructor<?>> list = Arrays.asList(cls.getConstructors());\n for (Constructor<?> c : cls.getDeclaredConstructors()) {\n if(!list.contains(c))\n constructorListModel.addElement(c);\n }\n }", "title": "" }, { "docid": "8180406ae269112d9c32a0b52d42af81", "score": "0.6257204", "text": "Constructor<?> findConstructor(Class<?> clazz, Class<?>... parameterTypes) throws NoSuchMethodException;", "title": "" }, { "docid": "bd0ab8bab2d88c8797d74ac0deeff7af", "score": "0.6234768", "text": "@Override\n public List<ConstructorReflective> getSuperConstructors()\n {\n return Collections.emptyList();\n }", "title": "" }, { "docid": "8f8f2c753c82f170ce22b9bcf7fa641c", "score": "0.61477953", "text": "public HashMap<ConstructorElement, ConstructorDeclaration> getConstructorMap() {\n return constructorMap;\n }", "title": "" }, { "docid": "42f4046e844769a98fe8b1527cc1a7ab", "score": "0.6092897", "text": "private static Constructor m77246a(Class cls) throws NoSuchMethodException {\n return cls.getConstructor(new Class[]{Context.class});\n }", "title": "" }, { "docid": "2712a9b9e40f6d476d04b7b7d1a9bd22", "score": "0.6070489", "text": "void findConstructorDeclarations(char[] prefix, boolean camelCaseMatch, final ISearchRequestor requestor);", "title": "" }, { "docid": "ed1010f340e1e425141c59203802aec6", "score": "0.59732187", "text": "protected SimpleSet chooseConstructor() {\n\t\tClassInstanceExpr instanceExpr = getClassInstanceExpr();\n\t\tTypeDecl type = getTypeAccess().type();\n\n\t\tassert instanceExpr != null;\n\t\tassert type instanceof ParClassDecl;\n\n\t\tGenericClassDecl genericType =\n\t\t\t(GenericClassDecl) ((ParClassDecl)type).genericDecl();\n\n\t\tList<PlaceholderMethodDecl> placeholderMethods =\n\t\t\tgenericType.getPlaceholderMethodList();\n\n\t\tSimpleSet maxSpecific = SimpleSet.emptySet;\n\t\tCollection<MethodDecl> potentiallyApplicable =\n\t\t\tpotentiallyApplicable(placeholderMethods);\n\t\tfor (MethodDecl candidate : potentiallyApplicable) {\n\t\t\tif (applicableBySubtyping(instanceExpr, candidate) ||\n\t\t\t\t\tapplicableByMethodInvocationConversion(\n\t\t\t\t\t\tinstanceExpr, candidate) ||\n\t\t\t\t\tapplicableByVariableArity(instanceExpr, candidate))\n\t\t\t\tmaxSpecific = mostSpecific(maxSpecific, candidate);\n\n\t\t}\n\t\treturn maxSpecific;\n\t}", "title": "" }, { "docid": "6b4af7e4212628f8a1a7115f28f42218", "score": "0.59665847", "text": "public void inspectConstructors(Constructor[] constructorObjects){\n for(Constructor c : constructorObjects){\n //query Constructor objects for name, parameter types, and modifier\n Class constructorParameterTypes[] = c.getParameterTypes();\n\n int modifiers = c.getModifiers();\n String modifierString = Modifier.toString(modifiers);\n\n //display Constructor as single line output (method signature)\n System.out.print(\"Constructor: \" + modifierString + \" \" + c.getName() +\"(\");\n displayClassTypeObjects(constructorParameterTypes);\n System.out.println(\")\");\n }\n }", "title": "" }, { "docid": "6aa94c2308f57f7ad63cc217790d1f49", "score": "0.59116334", "text": "Constructor createConstructor();", "title": "" }, { "docid": "f15141542da86e7029ad15384c712996", "score": "0.59000224", "text": "private void createConstructors(\n final Class<?> clazz,\n final String className\n ) {\n boolean noAvailableConstructor = true;\n for (Constructor<?> constructor : clazz.getDeclaredConstructors()) {\n int flags = constructor.getModifiers();\n Type[] args = constructor.getGenericParameterTypes();\n if (forbiddenExecutable(flags)) {\n continue;\n }\n Class<?> declaringClass = constructor.getDeclaringClass();\n addMethod(\n createFullTypeParameters(constructor.getTypeParameters(), declaringClass),\n className,\n args,\n constructor.isVarArgs(),\n \"\",\n getSuperStatement(args.length),\n constructor.getGenericExceptionTypes(),\n flags,\n false,\n declaringClass\n );\n noAvailableConstructor = false;\n }\n if (noAvailableConstructor) {\n throw new UncheckedImplerException(\"No available constructor to create\");\n }\n }", "title": "" }, { "docid": "bbf004536467cc750971294283a41fc3", "score": "0.5881142", "text": "Object[] getConstructorArgs() {\n\t\treturn new Object[0];\n\t}", "title": "" }, { "docid": "440c62e9671af09b2b8bd6c2813e1570", "score": "0.5862363", "text": "@SuppressWarnings(\"rawtypes\")\r\n private static void printConstructors(Class cl) {\r\n Constructor[] constructors = cl.getDeclaredConstructors();\r\n\r\n for (Constructor c : constructors) {\r\n String name = c.getName();\r\n System.out.print(\" \");\r\n // print modifiers.\r\n String modifiers = Modifier.toString(c.getModifiers());\r\n if (modifiers.length() > 0) {\r\n System.out.print(modifiers + \" \");\r\n }\r\n\r\n // print name and parameter types.\r\n System.out.print(name.substring(name.lastIndexOf(\".\") + 1) + \" (\");\r\n Class[] paramTypes = c.getParameterTypes();\r\n for (int j = 0; j < paramTypes.length; j++) {\r\n if (j > 0) {\r\n System.out.print(\", \");\r\n }\r\n printType(paramTypes[j]);\r\n }\r\n System.out.print(\")\");\r\n\r\n // print exceptions\r\n Class[] exceptions = c.getExceptionTypes();\r\n if (exceptions.length > 0) {\r\n System.out.print(\" throws \");\r\n for (int j = 0; j < exceptions.length; j++) {\r\n if (j > 0) {\r\n System.out.print(\", \");\r\n }\r\n printType(exceptions[j]);\r\n }\r\n }\r\n\r\n System.out.println(\";\");\r\n }\r\n }", "title": "" }, { "docid": "fe23f41a5a56a58f36e0b87568933a72", "score": "0.5856461", "text": "@Override\n\t\tpublic String visitConstructorDeclaration(JavaParser.ConstructorDeclarationContext ctx) {\n\t\t\tString type = null;\n\t\t\tString name = ctx.Identifier().getText();\n\t\t\tString[] args = null;\n\t\t\tList<String> argsList = new ArrayList<>();\n\t\t\tif (ctx.formalParameters().formalParameterList() != null) {\n\t\t\t\tfor (JavaParser.FormalParameterContext param : \n\t\t\t\t\t\tctx.formalParameters().formalParameterList().formalParameter()) {\n\t\t\t\t\targsList.add(visit(param.typeType()));\n\t\t\t\t}\n\t\t\t\tif (ctx.formalParameters().formalParameterList().lastFormalParameter() != null) {\n\t\t\t\t\targsList.add(visit(ctx.formalParameters().formalParameterList().lastFormalParameter().typeType()));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (argsList.size() > 0)\n\t\t\t\targs = argsList.toArray(new String[argsList.size()]);\n\t\t\tint line = ctx.getStart().getLine();\n\t\t\tactiveClasses.peek().addMethod(new JavaMethod(lastModifier, isStatic, isAbstract, type, name, args, line));\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "7b753a44d5fc93a106f98d663cf0c87d", "score": "0.58451885", "text": "public static <T> Constructor<T> getAccessibleConstructor(Class<T> cls, Class<?>... parameterTypes) {\n/* 201 */ Validate.notNull(cls, \"class cannot be null\", new Object[0]);\n/* */ try {\n/* 203 */ return getAccessibleConstructor(cls.getConstructor(parameterTypes));\n/* 204 */ } catch (NoSuchMethodException e) {\n/* 205 */ return null;\n/* */ } \n/* */ }", "title": "" }, { "docid": "5bb3b1947ab3ba75ae5168902bef73c6", "score": "0.575324", "text": "private Constructor<T> extractConstructor(Class<T> clazz) {\r\n\t\ttry {\r\n\t\t\treturn clazz.getConstructor();\r\n\t\t} catch (NoSuchMethodException | SecurityException ex) {\r\n\t\t\tlog.log(Level.SEVERE, \"It appears there is no accessible default constructor. Proceeding in case method is static. Please check that constructor is not private or protected.\");\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "b5d52ce0132716bca5b5473b31cd75cc", "score": "0.5732794", "text": "private synchronized void initializeConstructorResolvers()\r\n/* 263: */ {\r\n/* 264:272 */ if (this.constructorResolvers == null)\r\n/* 265: */ {\r\n/* 266:273 */ List<ConstructorResolver> defaultResolvers = new ArrayList();\r\n/* 267:274 */ defaultResolvers.add(new ReflectiveConstructorResolver());\r\n/* 268:275 */ this.constructorResolvers = defaultResolvers;\r\n/* 269: */ }\r\n/* 270: */ }", "title": "" }, { "docid": "d228cdcb0b82c8e01e03ff2d4d7c3b53", "score": "0.5724194", "text": "public IConstructor findConstructor(Collection<? extends IConstructor> constructors,\n List<? extends IVariableType> parameters);", "title": "" }, { "docid": "420f93752e9b2d698f301e1a05f4185a", "score": "0.5719048", "text": "public ccConstructor getConstructorAtIndex(int i){\n\t\treturn constructors.get(i);\n\t}", "title": "" }, { "docid": "3ed66e11c643063c663fdcc4dd34b62a", "score": "0.5710984", "text": "ConstructorArgumentValues getConstructorArgumentValues();", "title": "" }, { "docid": "7e9fd3bd573c15be5ff2548ddd4d0fdc", "score": "0.5705862", "text": "@Override\r\n public MBeanConstructorInfo[] defineConstructors() {\n MBeanConstructorInfo[] mBeanConstrInfo = new MBeanConstructorInfo[1];\r\n // empty constructor\r\n mBeanConstrInfo[0] = new MBeanConstructorInfo(\"Timer\",\r\n \"Public default constructor ...\", null);\r\n \r\n return mBeanConstrInfo;\r\n }", "title": "" }, { "docid": "940ad2bad51ba66b9437a2ea8a4e6923", "score": "0.565012", "text": "public Constructor findConstructor(Class[] parameterTypes)\n throws NoSuchMethodException {\n if (parameterTypes == null)\n parameterTypes = new Class[0];\n\n return (Constructor) findMemberIn(ctorList, parameterTypes);\n }", "title": "" }, { "docid": "40c9f215f5e7e24415daff7c25373ba6", "score": "0.56363314", "text": "protected Construct getConstructor(Node node) {\n if (node.useClassConstructor()) {\n return yamlClassConstructors.get(node.getNodeId());\n } else {\n Construct constructor = yamlConstructors.get(node.getTag());\n if (constructor == null) {\n for (String prefix : yamlMultiConstructors.keySet()) {\n if (node.getTag().startsWith(prefix)) {\n return yamlMultiConstructors.get(prefix);\n }\n }\n return yamlConstructors.get(null);\n }\n return constructor;\n }\n }", "title": "" }, { "docid": "21c1f934180fdda3e9578593ed66b5e4", "score": "0.55999106", "text": "@Test\r\n public void callPrivateConstructors() throws SecurityException, NoSuchMethodException, IllegalArgumentException,\r\n InstantiationException, IllegalAccessException, InvocationTargetException {\r\n Class<?>[] classesToConstruct = {ClassDefinitionGenerator.class };\r\n for (Class<?> clazz : classesToConstruct) {\r\n Constructor<?> constructor = clazz.getDeclaredConstructor();\r\n constructor.setAccessible(true);\r\n assertNotNull(constructor.newInstance());\r\n }\r\n }", "title": "" }, { "docid": "951e88bd5278c2e1d81ca2a852a840c9", "score": "0.5580893", "text": "public static <T> Constructor<T> getMatchingAccessibleConstructor(Class<T> cls, Class<?>... parameterTypes) {\n/* 246 */ Validate.notNull(cls, \"class cannot be null\", new Object[0]);\n/* */ \n/* */ \n/* */ try {\n/* 250 */ Constructor<T> ctor = cls.getConstructor(parameterTypes);\n/* 251 */ MemberUtils.setAccessibleWorkaround(ctor);\n/* 252 */ return ctor;\n/* 253 */ } catch (NoSuchMethodException noSuchMethodException) {\n/* */ \n/* 255 */ Constructor<T> result = null;\n/* */ \n/* */ \n/* */ \n/* */ \n/* 260 */ Constructor[] arrayOfConstructor = (Constructor[])cls.getConstructors();\n/* */ \n/* */ \n/* 263 */ for (Constructor<?> ctor : arrayOfConstructor) {\n/* */ \n/* 265 */ if (MemberUtils.isMatchingConstructor(ctor, parameterTypes)) {\n/* */ \n/* 267 */ ctor = getAccessibleConstructor(ctor);\n/* 268 */ if (ctor != null) {\n/* 269 */ MemberUtils.setAccessibleWorkaround(ctor);\n/* 270 */ if (result == null || MemberUtils.compareConstructorFit(ctor, result, parameterTypes) < 0) {\n/* */ \n/* */ \n/* */ \n/* 274 */ Constructor<T> constructor = (Constructor)ctor;\n/* 275 */ result = constructor;\n/* */ } \n/* */ } \n/* */ } \n/* */ } \n/* 280 */ return result;\n/* */ } \n/* */ }", "title": "" }, { "docid": "26baefacda46dd437a75c419647b80fe", "score": "0.5559772", "text": "@Override\n public List<AssistContentThreadSafe> getThisConstructors()\n {\n return Collections.emptyList();\n }", "title": "" }, { "docid": "2465d1eae36c0bcb1bbb0efb399d7fa4", "score": "0.55533844", "text": "public RefConstructor findConstructor(int number) {\n List<Constructor> constructors = new ArrayList<>();\n Collections.addAll(constructors, clazz.getConstructors());\n Collections.addAll(constructors, clazz.getDeclaredConstructors());\n for (Constructor m : constructors) {\n if (m.getParameterTypes().length == number) return new RefConstructor(m);\n }\n throw new RuntimeException(\"no such constructor\");\n }", "title": "" }, { "docid": "b26e36b667a3e9c87fdb56cf1ae13e75", "score": "0.5548233", "text": "private Constructor getConstructor(int length, Class<?> classA) {\n // Get list\n Constructor[] list = classA.getDeclaredConstructors();\n // Loop through list\n for(Constructor current : list) {\n // If length matches, return\n if(current.getParameterCount() == length) {\n return current;\n }\n }\n // No value = null\n return null;\n }", "title": "" }, { "docid": "8d915ed48be787ce3d9e22c1ccab88b2", "score": "0.5545676", "text": "public List<Expression> ctorParams() {\n return Collections.unmodifiableList(ctorParams);\n }", "title": "" }, { "docid": "b0606f8df14e3aabf48da1743aa8afed", "score": "0.5532933", "text": "private static void readAndInitConstructors(BufferedReader br) throws IOException {\n\t\t// Read constructor count\n\t\tSystem.out.println(\"Nc: \");\n\t\t// read constructor\n\t\tString ncLine = br.readLine();\n\t\tint nc = Integer.parseInt(ncLine);\n\t\t\n\t\tint constructorCount = 1;\n\t\t\n\t\tfor(; constructorCount<= nc; constructorCount++) {\n\t\t\t\n\t\t\tString lines = br.readLine();\n\t\t\tString[] strs = lines.trim().split(\"\\\\s+\");\n\n\t\t\tint[] temp = new int[4];\n\t\t\tfor (int i = 0; i < strs.length; i++) {\n\t\t\t\ttemp[i] = Integer.parseInt(strs[i]);\n\t\t\t}\n\t\t\ttemp[3] = constructorCount;\n\t\t\t\n\t\t\tConstructor constructor = new Constructor(temp);\n\t\t\t\n\t\t\tconstructors.add(constructor);\n\t\t}\n\t}", "title": "" }, { "docid": "1f0a4edbd9a242604686cf699cb242e4", "score": "0.55050683", "text": "private static <T> Constructor<?> getConstructor(final Class<T> type, final Class<?>[] parameterTypes) throws NoSuchMethodException {\n for (Constructor<?> constructor : type.getDeclaredConstructors()) {\n if (autoboxingEquals(constructor.getParameterTypes(), parameterTypes)) {\n constructor.setAccessible(true);\n return constructor;\n }\n }\n throw new NoSuchMethodException(type.getName() + \".<init>\" + argumentTypesToString(parameterTypes));\n }", "title": "" }, { "docid": "ec71dd6b06e7a22ab125981bd84ce2fa", "score": "0.5492784", "text": "@Override\n public Constructor<?> getAnnotated() { return _constructor; }", "title": "" }, { "docid": "dade00734ab540f8f3beece2cbfdbfaf", "score": "0.5492751", "text": "private static <T> Constructor<T> getConstructor(final Class<T> clazz, final Object... constructorArguments) {\n\t\tConstructor<T> result = null;\n\n\t\ttry {\n\t\t\tresult = clazz.getConstructor(getClassArrayForValues(constructorArguments));\n\t\t} catch (final SecurityException exception) {\n\t\t\tthrow new RuntimeException(exception);\n\t\t} catch (final NoSuchMethodException exception) {\n\t\t\tthrow new RuntimeException(exception);\n\t\t}\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "9be194093d9b941f490e6858e8d086bd", "score": "0.5477955", "text": "public RefConstructor getConstructor(Object... types) {\n try {\n Class[] classes = new Class[types.length];\n int i = 0;\n for (Object e : types) {\n if (e instanceof Class) classes[i++] = (Class) e;\n else if (e instanceof RefClass) classes[i++] = ((RefClass) e).getRealClass();\n else classes[i++] = e.getClass();\n }\n try {\n return new RefConstructor(clazz.getConstructor(classes));\n } catch (NoSuchMethodException ignored) {\n return new RefConstructor(clazz.getDeclaredConstructor(classes));\n }\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "83744fd454336a466bdd8aa3461eede7", "score": "0.5440377", "text": "public List<TypeParameterDescriptor> getTypeConstructorTypeParameters() {\n List<? extends TypeParameterDescriptor> list = this.typeConstructorParameters;\n if (list != null) {\n return list;\n }\n Intrinsics.throwUninitializedPropertyAccessException(\"typeConstructorParameters\");\n throw null;\n }", "title": "" }, { "docid": "fe92c139ddff7ce840e60441b2cb16c7", "score": "0.5395641", "text": "private boolean appendConstructors(Constructor[] constrs) {\n boolean onlyPrivate = true;\n for (Constructor c : constrs) {\n Implementable k = new ImplConstructor(c, className);\n allcode.append(\"\\n\\n\").append(k.getToPrint());\n if (!Modifier.isPrivate(c.getModifiers())) {\n onlyPrivate = false;\n }\n }\n return !onlyPrivate;\n }", "title": "" }, { "docid": "f092d75600c3712a9ccdb62625f67a23", "score": "0.5374905", "text": "public static <T> T invokeExactConstructor(Class<T> cls, Object... args) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {\n/* 146 */ args = ArrayUtils.nullToEmpty(args);\n/* 147 */ Class<?>[] parameterTypes = ClassUtils.toClass(args);\n/* 148 */ return invokeExactConstructor(cls, args, parameterTypes);\n/* */ }", "title": "" }, { "docid": "f7a31fafaa6da1c9fa86cd78efa8ddff", "score": "0.5371346", "text": "public static <T> Constructor<T> getDeclaredConstructor(final Class<T> clazz, final Class<?>... parameterTypes) throws NoSuchMethodException\r\n {\r\n return new SecureReflectionAccess<Constructor<T>>()\r\n {\r\n @Override\r\n protected Constructor<T> work() throws Exception\r\n {\r\n return clazz.getDeclaredConstructor(parameterTypes);\r\n }\r\n }.runAsMethodAccess();\r\n }", "title": "" }, { "docid": "3f6e9fad1dbe4e565d90858f9af02fde", "score": "0.52542436", "text": "private static MBeanConstructorInfo[] createMBeanConstructors(OpenMBeanConstructorInfo[] constructors) throws ArrayStoreException\n {\n if (constructors == null) return null;\n MBeanConstructorInfo[] constInfo = new MBeanConstructorInfo[constructors.length];\n System.arraycopy(constructors, 0, constInfo, 0, constInfo.length);\n return constInfo;\n }", "title": "" }, { "docid": "50b8c24abc83ba240de6331042844641", "score": "0.52527416", "text": "public ConstructorInstance constructorInstance(TypeSystem ts, ClassType ct,\n Field[] fields) {\n MethodInstance mi = methodInstance(ts, ct);\n\n List formals = mi.formalTypes();\n\n if (ct.isInnerClass()) {\n // If an inner class, the first argument may be a reference to an\n // enclosing class used to initialize a synthetic field.\n\n // Count the number of synthetic fields.\n int numSynthetic = 0;\n\n for (int i = 0; i < fields.length; i++) {\n if (fields[i].isSynthetic()) {\n numSynthetic++;\n }\n }\n\n // Ignore a number of parameters equal to the number of synthetic\n // fields.\n if (numSynthetic <= formals.size()) {\n formals = formals.subList(numSynthetic, formals.size());\n }\n }\n\n return ts.constructorInstance(mi.position(), ct,\n mi.flags(), formals,\n mi.throwTypes());\n }", "title": "" }, { "docid": "41f36c0106293ba91b73460cab10458f", "score": "0.523907", "text": "private Constructor<?> getConstructor(String ins){\n\t\ttry {\n\t\t\tConstructor[] constructors = Class.forName(getInstructionType(ins)).getConstructors();\n\t\t\tConstructor<?> constructor = constructors[0];\n\t\t\tfor (Constructor<?> cons : constructors) {\n\t\t\t\tif (cons.getParameterCount() > constructor.getParameterCount())\n\t\t\t\t\tconstructor = cons;\n\t\t\t}\n\t\t\treturn constructor;\n\t\t}\n\t\tcatch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "51801e7a27bbe4a1c4e18072245b941d", "score": "0.5226419", "text": "public static Constructor<?> getConstructor(final Class<?> clazz, final Class<?>... parameterTypes) throws NoSuchMethodException\r\n {\r\n return new SecureReflectionAccess<Constructor<?>>()\r\n {\r\n @Override\r\n protected Constructor<?> work() throws Exception\r\n {\r\n return clazz.getConstructor(parameterTypes);\r\n }\r\n }.runAsMethodAccess();\r\n }", "title": "" }, { "docid": "c4260490232278fb8b25ecedaa01a69c", "score": "0.52151847", "text": "@Override\n public procedure_construct visitConstructorDeclaration(ConstructorDeclarationContext ctx) {\n return new procedure_construct(\n new empty<annotation_construct>(),\n null,\n visitIdentifier(ctx.identifier()).the_name,\n visitFormalParameters(ctx.formalParameters()),\n new empty<annotation_construct>(),\n visitBlock(ctx.block()),\n get_origin(ctx)\n );\n }", "title": "" }, { "docid": "382e79c902c2f8b058ec40cec1e04c5c", "score": "0.5207717", "text": "List<String> getClass_();", "title": "" }, { "docid": "382e79c902c2f8b058ec40cec1e04c5c", "score": "0.5207717", "text": "List<String> getClass_();", "title": "" }, { "docid": "382e79c902c2f8b058ec40cec1e04c5c", "score": "0.5207717", "text": "List<String> getClass_();", "title": "" }, { "docid": "db636f65cb7e5ca1341f3838a0216a95", "score": "0.51914936", "text": "public void setConstructorResolvers(List<ConstructorResolver> constructorResolvers)\r\n/* 86: */ {\r\n/* 87:115 */ this.constructorResolvers = constructorResolvers;\r\n/* 88: */ }", "title": "" }, { "docid": "9529150cf1f49d99c5acc2a4d624b75e", "score": "0.51864135", "text": "private List<IRFuncDecl> constructClassInitializationFunctions(List<ClassDeclaration> cds) {\n // We need the class hierarchy to determine the order in which we call functions\n Map<Identifier, List<Identifier>> hierarchyGraph = constructClassHierarchyGraph();\n\n List<IRFuncDecl> functions = new LinkedList<>();\n\n for (ClassDeclaration cd : cds) {\n List<IRStmt> stmts = new LinkedList<>();\n Identifier identifier = cd.getIdentifier();\n\n /* Initialize class ID's */\n IRExpr counter = new IRMem(new IRName(\"_I_idcounter\", true));\n stmts.add(new IRMove(new IRMem(new IRName(\"_I_id_\" + identifier.getName(), true)), counter));\n IRExpr incrementedCounter = new IRBinOp(OpType.ADD, counter, new IRConst(1));\n stmts.add(new IRMove(counter, incrementedCounter));\n\n /* Initialize class sizes */\n // If the class has a parent class, we add the number of fields * WORD_SIZE to\n // the size of the parent class.\n // Otherwise, we add it to WORD_SIZE.\n IRExpr fieldSize = new IRConst(classFields.get(identifier).size() * Configuration.WORD_SIZE);\n // Either the size of the parent or WORD_SIZE for the base size of the object\n IRExpr baseSize = cd.getParentIdentifier().isPresent() ?\n new IRMem(new IRName(\"_I_size_\" + cd.getParentIdentifier().get().getName(), true)) :\n new IRConst(Configuration.WORD_SIZE);\n IRExpr size = new IRBinOp(OpType.ADD, fieldSize, baseSize);\n stmts.add(new IRMove(new IRMem(new IRName(\"_I_size_\" + identifier.getName(), true)), size));\n\n // We need to call the initialization functions for subclasses\n List<Identifier> subclasses = hierarchyGraph.get(identifier);\n for (Identifier subclass : subclasses) {\n stmts.add(new IRExp(new IRCall(new IRName(\"_I_init_\" + subclass.getName()))));\n }\n stmts.add(new IRReturn());\n\n // Add the function to the list\n functions.add(new IRFuncDecl(\"_I_init_\" + identifier.getName(), new IRSeq(stmts)));\n }\n\n return functions;\n }", "title": "" }, { "docid": "d05d6609109f3afa6d26dfa32d554f76", "score": "0.51784855", "text": "private void ensureConstructorResolversInitialized()\r\n/* 256: */ {\r\n/* 257:266 */ if (this.constructorResolvers == null) {\r\n/* 258:267 */ initializeConstructorResolvers();\r\n/* 259: */ }\r\n/* 260: */ }", "title": "" }, { "docid": "4628bb55b3e550440f221aab324f9934", "score": "0.5169077", "text": "@Override\n public String toString() {\n final int argCount = _constructor.getParameterCount();\n return String.format(\"[constructor for %s (%d arg%s), annotations: %s\",\n ClassUtil.nameOf(_constructor.getDeclaringClass()), argCount,\n (argCount == 1) ? \"\" : \"s\", _annotations);\n }", "title": "" }, { "docid": "7b7c1e78ab0b793549ac41efd24eae20", "score": "0.51579696", "text": "static Constructor<?> getStringConstructor(Class<?> clazz) {\n try {\n return clazz.getConstructor(String.class);\n } catch (Exception e) {\n return null;\n }\n\n }", "title": "" }, { "docid": "b921ab6f9ab8fb6d067416dc629dc60a", "score": "0.51051617", "text": "static private Coercer[] coercersFor (Method method)\n {\n\tif (method == null)\n\t{\n\t throw new NullPointerException (\"method == null\");\n\t}\n\n\tClass[] ptypes = method.getParameterTypes ();\n\tCoercer[] result = new Coercer[ptypes.length];\n\n\tfor (int i = 0; i < ptypes.length; i++)\n\t{\n\t result[i] = Coercer.get (ptypes[i]);\n\t}\n\n\treturn result;\n }", "title": "" }, { "docid": "25c355ac60a1189fbf70474a725004fb", "score": "0.51017046", "text": "@Override\r\n protected void handleConstructorDeclaration(final IRNode cdecl) {\n boolean hasBorrowedParam = false;\r\n hasBorrowedParam |= UniquenessRules.isBorrowedReceiver(cdecl);\r\n // Cannot have a unique receiver\r\n\r\n final IRNode formals = ConstructorDeclaration.getParams(cdecl);\r\n for (int i = 0; i < JJNode.tree.numChildren(formals); i++) {\r\n final IRNode param = JJNode.tree.getChild(formals, i);\r\n hasBorrowedParam |= UniquenessRules.isBorrowed(param);\r\n }\r\n if (hasBorrowedParam) {\r\n addMethod(cdecl);\r\n }\r\n \r\n // Check the rest of the constructor\r\n doAcceptForChildren(cdecl);\r\n }", "title": "" }, { "docid": "bb360caf3f5fbaeeb17c940057739f24", "score": "0.5085683", "text": "ConstructorTypes (String str) {\n\t\tSystem.out.println(\"I am a constructor with 1 parameter\");\n\t}", "title": "" }, { "docid": "9a24b8bf16dbf2c1a2d17ca1ce57ebf1", "score": "0.5061901", "text": "@Override\n public Integer visitConstructorDeclaration(ConstructorDeclarationContext ctx) {\n jFile.println();\n jFile.println(\".method public <init>()V\");\n jFile.println();\n jFile.println(\"\\taload_0\");\n jFile.println(\"\\tinvokenonvirtual java/lang/Object/<init>()V\");\n \n Integer value = visit(ctx.constructorBody());\n \n jFile.println(\"\\treturn\");\n jFile.println();\n jFile.println(\".limit locals 20\");\n jFile.println(\".limit stack 20\");\n jFile.println(\".end method\");\n \n return value;\n }", "title": "" }, { "docid": "73c1107f5aff02cdee680b1cb7e40c32", "score": "0.5048518", "text": "@Test \n\t// test names of constructors and their corresponding parameter types and modifiers\n\tpublic void testConstructors() {\n\t Object obj= new ClassD();\n\t Class objClass = obj.getClass();\n\t Inspector objInspector = new Inspector();\n\t String strConstructors = objInspector.inspectConstructors(objClass);\n\t boolean b=strConstructors.contains(\"Constructor: ClassD\\n\\tModifier: public\");\n\t b=b&strConstructors.contains(\"Constructor: ClassD\\n\\tParameter type(s): int\\n\\tModifier: public\");\n\t org.junit.Assert.assertTrue(b);\t \n\t}", "title": "" }, { "docid": "7888d855a0f759ea228f877325d343b9", "score": "0.5040677", "text": "@Test\n public void testClassMustHaveExplicitConstructor() throws Exception {\n File f = new File(System.getProperty(\"user.dir\")\n + \"/test/testprogram/restrictions/ClassMustHaveExplicitConstructor.txt\");\n runParser(f);\n }", "title": "" }, { "docid": "25e2a937020379e441759fb9ec55be03", "score": "0.50400895", "text": "Set<Class<?>> getAll();", "title": "" }, { "docid": "c84ac246dd93048e4d4584e0f4219cc1", "score": "0.50360787", "text": "Clazz() {\n\t}", "title": "" }, { "docid": "cd824a344707b96dddd31440a29537a0", "score": "0.5029409", "text": "public void testConstructor() {\r\n assertNotNull(new DrctrFHPageflow());\r\n \r\n Constructor[] cons = DrctrFHPageflow.class.getDeclaredConstructors();\r\n assertEquals(1, cons.length);\r\n assertEquals(true, Modifier.isPublic(cons[0].getModifiers()));\r\n \r\n assertEquals(true, Modifier.isPublic(DrctrFHPageflow.class.getModifiers()));\r\n assertEquals(false, Modifier.isFinal(DrctrFHPageflow.class.getModifiers()));\r\n }", "title": "" }, { "docid": "73f726ee966bc2d096bd53a555b18449", "score": "0.5013726", "text": "@Override\n\tpublic void visitConstructor(ConstructorNode node) {\n\t\tsuper.visitConstructor(node);\n\t}", "title": "" }, { "docid": "76ccb15d2f8f2eaa0e90b9819cc6ed65", "score": "0.5005486", "text": "private ClassTypes() {\n }", "title": "" }, { "docid": "d79dacccc2633a678df912ad78a0007d", "score": "0.49654907", "text": "public static <T> T invokeExactConstructor(Class<T> cls, Object[] args, Class<?>[] parameterTypes) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {\n/* 174 */ args = ArrayUtils.nullToEmpty(args);\n/* 175 */ parameterTypes = ArrayUtils.nullToEmpty(parameterTypes);\n/* 176 */ Constructor<T> ctor = getAccessibleConstructor(cls, parameterTypes);\n/* 177 */ if (ctor == null) {\n/* 178 */ throw new NoSuchMethodException(\"No such accessible constructor on object: \" + cls\n/* 179 */ .getName());\n/* */ }\n/* 181 */ return ctor.newInstance(args);\n/* */ }", "title": "" }, { "docid": "1cd38d0d6cca3b11c981932050840b7d", "score": "0.49572414", "text": "Collection getClasses();", "title": "" }, { "docid": "761f188713e39e839e083119e11ec1c2", "score": "0.49529204", "text": "@Override\n public CodeBlock getConstructor(Map<String, String> paramToChannelname, Map<Terminal, String> terminalToChannelname) {\n ArrayList<Object> formatArgs = new ArrayList<>();\n formatArgs.add(getRunformClass());\n for (Parameter p : mArchetype.ctor.getParameters()) {\n String name = p.getName();\n if (params.containsKey(name)) {\n formatArgs.add(paramToChannelname.getOrDefault(name, ERROR_NAME));\n } else {\n formatArgs.add(terminalToChannelname.getOrDefault(getTerminals().stream().filter(t -> name.equals(t.getName())).findFirst().orElse(null), ERROR_NAME));\n }\n }\n \n String chanFormat = String.join(\", \", Arrays.asList(mArchetype.ctor.getParameters()).stream().map(s -> \"$L\").collect(Collectors.toList()));\n return CodeBlock.builder().add(\"new $T(\" + chanFormat + \")\", formatArgs.toArray()).build();\n }", "title": "" }, { "docid": "d3ad9476f93fd068a86baf2b33e2dbb8", "score": "0.4906444", "text": "public static <T> Constructor<T> getAccessibleConstructor(Constructor<T> ctor) {\n/* 221 */ Validate.notNull(ctor, \"constructor cannot be null\", new Object[0]);\n/* 222 */ return \n/* 223 */ (MemberUtils.isAccessible(ctor) && isAccessible(ctor.getDeclaringClass())) ? ctor : null;\n/* */ }", "title": "" }, { "docid": "5a95def9e2574512a79e692b3132314a", "score": "0.48991042", "text": "public GetClassInfo() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "cbd196e25ad6ae4f1c98f257dcd33c7a", "score": "0.48900744", "text": "List<JClassSymbol> getDeclaredClasses();", "title": "" }, { "docid": "161c0eb67901713414c7710f4c7cf4b5", "score": "0.48890942", "text": "public static void constructor(){\n }", "title": "" }, { "docid": "c51499ea92175c0f17563b8ce949be7e", "score": "0.4864868", "text": "@Memoized\n boolean containsConstructorWithDefaultParam() {\n return classMetadata().constructors().stream()\n .flatMap(constructor -> constructor.parameters().stream())\n .anyMatch(parameter -> parameter.flags(DECLARES_DEFAULT_VALUE));\n }", "title": "" }, { "docid": "38affa8215b149aa7442c8724fced26d", "score": "0.48462158", "text": "public void setDeclaredConstructors(ConstructorInfoImpl[] constructors)\n {\n this.constructors = constructors;\n if (constructors != null)\n {\n for (int i = 0; i < constructors.length; i++)\n constructors[i].declaringClass = this;\n }\n }", "title": "" }, { "docid": "b9257a1856bd520b1a16b24e7481e2e5", "score": "0.48407787", "text": "public static Set<Class<?>> getClassSet() {\n return CLASS_SET;\n }", "title": "" }, { "docid": "72cb64a5fb074e0f9440d03f28023d3d", "score": "0.4834334", "text": "public ClassCollector() {\n this.classes = new HashSet<OntClass>();\n }", "title": "" }, { "docid": "3eed3cf6f97fe9fcee9f13944603c483", "score": "0.47983313", "text": "@Test\n\tvoid utils_classes_should_only_have_private_constructors() {\n\t\tJavaClasses importedClasses = new ClassFileImporter().\n\t\t\t\timportPackages(\"de.stl.saar.prog3\");\n\t\t\n\t\tArchRule archRule = constructors().that().\n\t\t\t\t\t\t\t\t\t\t areDeclaredInClassesThat().\n\t\t\t\t\t\t\t\t\t\t resideInAnyPackage(\"..utils..\").\n\t\t\t\t\t\t\t\t\t\t should().\n\t\t\t\t\t\t\t\t\t\t bePrivate();\n\t\t\n\t\tarchRule.check(importedClasses);\n\t\t\n\t}", "title": "" }, { "docid": "2c76b21d131cade72381c5a2dc0f701e", "score": "0.47793338", "text": "@Test\n\tpublic void testConstructor() {\n @SuppressWarnings(\"unused\")\n ConstructorTestClass constructorTestClass = new ConstructorTestClass();\t\t\n }", "title": "" }, { "docid": "cf2a392b4a578d5e20d2d80c2512cb4d", "score": "0.4776785", "text": "@Test\n\tvoid hibernate_entity_classes_should_only_have_public_constructors() {\n\t\tJavaClasses importedClasses = new ClassFileImporter().importPackages(\"de.stl.saar.prog3\");\n\t\t\n\t\tArchRule archRule = constructors().\n\t\t\t\tthat().\n\t\t\t\tareDeclaredInClassesThat().\n\t\t\t\tresideInAPackage(\"..model.hibernate..\").\n\t\t\t\tshould().\n\t\t\t\tbePublic();\n\t\t\t\t\n\t\tarchRule.check(importedClasses);\n\t}", "title": "" }, { "docid": "4707aa681e035f462ff3ad5ee8ce3460", "score": "0.47751766", "text": "@Test\n\tpublic void testConstructor() {\n\t @SuppressWarnings(\"unused\")\n\t\t\tConstructorTestClass constructorTestClass = new ConstructorTestClass();\t\t\n\t}", "title": "" }, { "docid": "4707aa681e035f462ff3ad5ee8ce3460", "score": "0.47751766", "text": "@Test\n\tpublic void testConstructor() {\n\t @SuppressWarnings(\"unused\")\n\t\t\tConstructorTestClass constructorTestClass = new ConstructorTestClass();\t\t\n\t}", "title": "" }, { "docid": "a31ab41aff9798be49d93cf6f45a5018", "score": "0.47735894", "text": "initializer_list getInit_declarator_list();", "title": "" }, { "docid": "b6c8b82f5ddc1a2652d1a8b80ec9c8eb", "score": "0.47663742", "text": "private static String getConstructorName(Value oToBeCloned) {\n if (oToBeCloned.isProxyObject()) {\n if (oToBeCloned.hasArrayElements()) {\n return \"Array\";\n }\n if (oToBeCloned.hasMembers()) {\n return \"Object\";\n }\n }\n // other types, get constructor or return \"undefined\"\n Value fConstr = oToBeCloned.getMember(\"constructor\");\n return fConstr == null ? \"undefined\" : fConstr.getMember(\"name\").asString();\n }", "title": "" }, { "docid": "e9e95620671afdc0f5f565c91955f0a9", "score": "0.47621", "text": "public com.gensym.util.Sequence getAttributeInitializationsForClass() throws G2AccessException {\n java.lang.Object retnValue = getStaticAttributeValue (SystemAttributeSymbols.ATTRIBUTE_INITIALIZATIONS_);\n return (com.gensym.util.Sequence)retnValue;\n }", "title": "" }, { "docid": "9faa81efea752f0a2fcc3e1aed9dafc9", "score": "0.4751877", "text": "public ClsCtorDef findCtorOrNull(int arity) {\n\t\tfor (ClsCtorDef ccd : this.constructors) {\n\t\t\tif (ccd.monobody.formals.formals.size() == arity)\n\t\t\t\treturn ccd;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "15cb09fc43082d8dc4de55ec1616b44b", "score": "0.4719592", "text": "@Override\r\n\tpublic List<Clazz> getClazzList() {\n\t\treturn clazzMapper.getClazzList();\r\n\t}", "title": "" }, { "docid": "ff40f239532a4f5f3654d12bcf9fef0f", "score": "0.47175226", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tConstructorsDemo c = new ConstructorsDemo(10,20);\r\n\t\t\r\n\t\tConstructorsDemo c1 = new ConstructorsDemo(11,21);\r\n\r\n\t\tSystem.out.println(c);\r\n\t\tSystem.out.println(c1);\r\n\r\n\t\tSystem.out.println(c);\r\n\r\n\r\n\t}", "title": "" }, { "docid": "602448e9cfbfe47afb2fc15c86e082a2", "score": "0.47006056", "text": "@Override\n public Class<?> getDeclaringClass() { return _constructor.getDeclaringClass(); }", "title": "" }, { "docid": "6058705a25d69a1fe53b5fa16fa99d97", "score": "0.47001734", "text": "public PairVector getCCs(JavaClass c){\t\t\t\t\r\n\t\treturn ccList;\r\n\t}", "title": "" }, { "docid": "8f52ee393e98501a07b4681988448ce3", "score": "0.46948308", "text": "@Test public void determinePreferredConstructor_Typical ( ) {\r\n\t\tTestingClass tc = new TestingClass ( );\r\n\t\tTestingMethod defaultConstructor = new TestingMethod ( );\r\n\t\tdefaultConstructor.setConstructor(true);\r\n\t\ttc.addMethod(defaultConstructor);\r\n\t\t\r\n\t\tTestingMethod parameterizedConstructor = createEatMeatMethod();\r\n\t\tparameterizedConstructor.setConstructor(true);\r\n\t\ttc.addMethod(parameterizedConstructor);\r\n\r\n\t\tIMethod actual = determinePreferredConstructor ( tc );\r\n\t\tassertEquals(defaultConstructor, actual); \r\n\t}", "title": "" }, { "docid": "f0137ae0580400a56db9684ad3ce8b3a", "score": "0.46869373", "text": "public static List<Method> allMethods(Class<?> clss)\n\t{\n\t\tList<Method> list = new ArrayList<Method>();\n\t\tallMethods(clss, list, null);\n\t\treturn list;\n\t}", "title": "" }, { "docid": "5105cf20e70eccf392b4512daba60910", "score": "0.4678066", "text": "@Test\r\n\tpublic void testConstructor() {\r\n\t\tnew ConstructorTestClass();\r\n\t}", "title": "" }, { "docid": "5a7050ea2812995f0a0ea9ef166dfab1", "score": "0.46692342", "text": "private ClassHelper() {}", "title": "" } ]
cbc3f45e6771210899e540a9b963b8d4
Closes the current tag. We present no distinction between empty and selfclosing tags, so and are both dealt with in the same way: parser.accept("foo"); parser.close();
[ { "docid": "17dee494f63f1dc0ca3d7924fa70603c", "score": "0.7113172", "text": "public void close() throws ParseException, XMLStreamException {\n if (!this.atClosingTag()) {\n throw new ParseException(\"expecting closing tag\");\n }\n depth--;\n next();\n }", "title": "" } ]
[ { "docid": "6adf28aee09cb2eec9db43df10f21c8e", "score": "0.6519509", "text": "private int parseCloseTag() throws SAXException, IOException {\r\n yy_markedPos++; // skip the \"/\"\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next++;\r\n\r\n stringValue = parseElementName();\r\n if (stringValue == null) {\r\n // We ran into trouble; kick it back to lex\r\n yybegin(tagStartState);\r\n yy_markedPos--; // unread the \"/\"\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next--;\r\n return -1;\r\n }\r\n\r\n while ((yy_endRead-yy_markedPos) > 0) {\r\n char c = yy_buffer[yy_markedPos++];\r\n\r\n switch (c) {\r\n case '>':\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next++;\r\n checkEndTag(stringValue);\r\n\r\n// if (parser.fNamespaces) {\r\n// parser.reportEndTag(elementURI,elementLocalName,stringValue);\r\n// processNSContextEnd();\r\n// }\r\n// else {\r\n parser.reportEndTag(elementURI,elementLocalName,stringValue);\r\n// }\r\n\r\n yybegin(baseState);\r\n tagType = Piccolo.CLOSE_TAG;\r\n if (tokenizeInput)\r\n return Piccolo.CLOSE_TAG;\r\n else\r\n return 0;\r\n\r\n case ' ':\r\n case '\\t':\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next++;\r\n break;\r\n\r\n case '\\n':\r\n yyline_next++;\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next = 0;\r\n break;\r\n\r\n default:\r\n // Something that shouldn't be here\r\n throw fatalError(\"Unexpected character encountered while in a closing tag: '\"\r\n + c + \"'\");\r\n }\r\n }\r\n\r\n // We hit the end of the buffer; let lex continue\r\n yybegin(parser.fNamespaces? CLOSE_TAG_NS : CLOSE_TAG);\r\n return -1;\r\n }", "title": "" }, { "docid": "6f7c827881020ba3876f68d37633810b", "score": "0.62021494", "text": "@Override\r\n\tpublic void close() throws IOException {\r\n\t\tinf.end();\r\n\t\tin.close();\r\n\t\teos = true;\r\n\t}", "title": "" }, { "docid": "c4605a74242317541764a555b3737128", "score": "0.61939394", "text": "public void close()\n throws IOException, SAXException\n {\n }", "title": "" }, { "docid": "a931d9875ef447347338b7ebf08c2eb3", "score": "0.59037876", "text": "public void close() throws IOException {\n inf.end();\n in.close();\n eos = true;\n closed = true;\n }", "title": "" }, { "docid": "aed6b3c041abb14873ebe6b007bac554", "score": "0.5878906", "text": "private void endTag() throws SAXException, StopSniffingException, IOException {\n int b = read();\n if ((b >= 0x41 && b <= 0x5A) || (b >= 0x61 && b <= 0x7A)) { // ASCII\n // letter\n metaState = MetaState.NO;\n tag();\n } else {\n consumeUntilAndIncludingGt();\n }\n }", "title": "" }, { "docid": "297f427b4a60aef476f2b76a85a0c7d6", "score": "0.5839343", "text": "private int parseCloseTagNS() throws SAXException, IOException {\r\n yy_markedPos++; // skip the \"/\"\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next++;\r\n\r\n stringValue = parseElementNameNS();\r\n if (stringValue == null) {\r\n // We ran into trouble; kick it back to lex\r\n yybegin(tagStartState);\r\n yy_markedPos--; // unread the \"/\"\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next--;\r\n return -1;\r\n }\r\n\r\n while ((yy_endRead-yy_markedPos) > 0) {\r\n char c = yy_buffer[yy_markedPos++];\r\n\r\n switch (c) {\r\n case '>':\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next++;\r\n checkEndTag(stringValue);\r\n\r\n// if (parser.fNamespaces) {\r\n elementURI = nsSupport.getURI(elementURI);\r\n parser.reportEndTag(elementURI,elementLocalName,stringValue);\r\n processNSContextEnd();\r\n// }\r\n// else {\r\n// parser.reportEndTag(elementURI,elementLocalName,stringValue);\r\n// }\r\n\r\n yybegin(baseState);\r\n tagType = Piccolo.CLOSE_TAG;\r\n if (tokenizeInput)\r\n return Piccolo.CLOSE_TAG;\r\n else\r\n return 0;\r\n\r\n case ' ':\r\n case '\\t':\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next++;\r\n break;\r\n\r\n case '\\n':\r\n yyline_next++;\r\n if (Constants.COLUMN_NUMBERS_ON) yycolumn_next = 0;\r\n break;\r\n\r\n default:\r\n // Something that shouldn't be here\r\n throw fatalError(\"Unexpected character encountered while in a closing tag: '\"\r\n + c + \"'\");\r\n }\r\n }\r\n\r\n // We hit the end of the buffer; let lex continue\r\n yybegin(parser.fNamespaces? CLOSE_TAG_NS : CLOSE_TAG);\r\n return -1;\r\n }", "title": "" }, { "docid": "8679c0ee1dda8737b4ae58f0e5569e1c", "score": "0.58187485", "text": "public boolean matchEndTag(XMLStreamReader parser, String name)\r\n\t{\r\n\t\tif (parser.getEventType() == XMLStreamConstants.END_ELEMENT)\r\n\t\t{\r\n\t\t\tString tagName = parser.getLocalName().toUpperCase();\r\n\t\t\treturn tagName.equals(name);\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "f19edacfe4071d46a15304b2cc3daff5", "score": "0.57394886", "text": "public XMLConsumer endTag(String tagName)\n\t\t{\n\t\tif (tagStack.isEmpty())\n\t\t\tthrow new IllegalStateException(\"Unmatched end tag\");\n\t\tfinal String startTagName = tagStack.pop();\n\t\tif (!startTagName.equals(tagName))\n\t\t\tthrow new IllegalStateException(\"End tag \" + tagName + \" for start tag \" + startTagName);\n\t\t\n\t\thandler.endTag(tagName, tagStack.size());\n\t\treturn (this);\n\t\t}", "title": "" }, { "docid": "ac0bb258d453365fa77401749c3986ab", "score": "0.57147443", "text": "final public void yyclose() throws java.io.IOException {\r\n yy_atEOF = true; /* indicate end of file */\r\n yy_endRead = yy_startRead; /* invalidate buffer */\r\n\r\n if (yy_reader != null)\r\n yy_reader.close();\r\n }", "title": "" }, { "docid": "751de69c0cd00281837cd76dea49752a", "score": "0.5699697", "text": "@Override\r\n\tpublic void endElement(String uri, String localName, String qName)\r\n\t\t\tthrows SAXException {\n\t\tif ( isInTag ) isInTag = false;\r\n\r\n\t\tparseInEndTag(qName);\r\n\r\n\t}", "title": "" }, { "docid": "60cce177956ca780b18548572588bd55", "score": "0.56977063", "text": "public void close() {\n // no body\n }", "title": "" }, { "docid": "9a690ff1291ce7852075e9002e83f807", "score": "0.5646292", "text": "public final void finishOpeningTag() {\n\t\twriteMarkup(\">\");\n\t}", "title": "" }, { "docid": "433e1e7c300d774260a2cda7f207134c", "score": "0.5611018", "text": "public void internal_close() {\n this.reachedEOF = true;\n }", "title": "" }, { "docid": "3eba234b149a6b51e9735a8e8a96c26f", "score": "0.56003565", "text": "public String closingTag(){\n\t\treturn Tag.START_CHAR + closingTagText() + Tag.END_CHAR;\n\t}", "title": "" }, { "docid": "4e35375b69f09f2392d7a8b713404894", "score": "0.5588101", "text": "public boolean atClosingTag() {\n return event.isEndElement();\n }", "title": "" }, { "docid": "2c4ef0e93ea3027505d2e58fed6a3e72", "score": "0.5555938", "text": "@Override // ohos.com.sun.org.apache.xml.internal.serializer.ToSAXHandler\r\n public void closeStartTag() throws SAXException {\r\n this.m_elemContext.m_startTagOpen = false;\r\n String localName = getLocalName(this.m_elemContext.m_elementName);\r\n String namespaceURI = getNamespaceURI(this.m_elemContext.m_elementName, true);\r\n if (this.m_needToCallStartDocument) {\r\n startDocumentInternal();\r\n }\r\n this.m_saxHandler.startElement(namespaceURI, localName, this.m_elemContext.m_elementName, this.m_attributes);\r\n this.m_attributes.clear();\r\n if (this.m_state != null) {\r\n this.m_state.setCurrentNode(null);\r\n }\r\n }", "title": "" }, { "docid": "9faa823d1c9ed3ad81e4d130e4dc6103", "score": "0.55473024", "text": "public void endTag(Tag tag) throws HtmlException\n {\n\t if (tag.isType(\"head\")) {\n // force stop parsing\n throw new HtmlException();\n }\n }", "title": "" }, { "docid": "60eeab3036c47cd2a38c062bd7481231", "score": "0.5524984", "text": "public void close() throws XPathException {\r\n // default implementation takes no action\r\n }", "title": "" }, { "docid": "cb5373d4b3c063b82a4705556da82df9", "score": "0.5518584", "text": "@Override\n\tpublic void endElement(String uri, String localName, String qName) throws SAXException {\n\t\tcurrentTag = \"\";\n\t}", "title": "" }, { "docid": "f4da1f43ff576c5aad7092ec6dc008bf", "score": "0.5501353", "text": "@Override\n public void close() {\n isClosed = true;\n mux.releaseInput(inlet);\n }", "title": "" }, { "docid": "4eee7464c95b0b7274e1d3cf1cc29743", "score": "0.54405624", "text": "boolean tryCreateTagEnd() {\n int c = currentChar();\n if (c == '>') {\n if (context.hasTagStart()) {\n SourceLocation.Point point = currentPoint();\n context.setState(context.createTag(currentRawTextNode, false, point), point);\n } else {\n errorReporter.report(currentLocation(), FOUND_END_TAG_STARTED_IN_ANOTHER_BLOCK);\n throw new AbortParsingBlockError();\n }\n advance();\n consume();\n return true;\n } else if (matchPrefix(\"/>\", false)) {\n // position the index on the '>' so that the end location of the tag calculated by\n // currentPoint is accurate\n advance();\n if (context.hasTagStart()) {\n SourceLocation.Point point = currentPoint();\n context.setState(context.createTag(currentRawTextNode, true, point), point);\n } else {\n errorReporter.report(currentLocation(), FOUND_END_TAG_STARTED_IN_ANOTHER_BLOCK);\n throw new AbortParsingBlockError();\n }\n // consume the rest of the '/>'\n advance();\n consume();\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "a415ddf57e3bd57a5e125cc894a46e6e", "score": "0.54344124", "text": "private void yy_do_eof() throws java.io.IOException {\r\n if (!yy_eof_done) {\r\n yy_eof_done = true;\r\n yyclose();\r\n }\r\n }", "title": "" }, { "docid": "a4eb60fb5045e58a0004b983052b3802", "score": "0.53827435", "text": "public void close()\n {}", "title": "" }, { "docid": "a736f1bdbbffeb0e3ad1d3e6441e85b5", "score": "0.53695637", "text": "@Override\r\n\tpublic void doTag() throws JspException, IOException {\n\t\tChooseTag parent = (ChooseTag) this.getParent();\r\n\t\tif (parent.isOk() == false) {\r\n\t\t\tthis.getJspBody().invoke(null);\r\n\t\t\tparent.setOk(true);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "dca432f6c840d38ae063d19b16592e8f", "score": "0.5360411", "text": "default void close() {\n // noop\n }", "title": "" }, { "docid": "24e6b0545d332c4d2ef094ab8cd065c2", "score": "0.53478104", "text": "public void close(){}", "title": "" }, { "docid": "b6ed5d85eaa55eedf52e552d519d153e", "score": "0.53449154", "text": "public void readEndTag(XmlEndTag etag)\r\n throws XmlPullParserException;", "title": "" }, { "docid": "8e4f7a46abd43c8f1870e5966758fbf4", "score": "0.5335071", "text": "public void close() {}", "title": "" }, { "docid": "8e4f7a46abd43c8f1870e5966758fbf4", "score": "0.5335071", "text": "public void close() {}", "title": "" }, { "docid": "abf895d827b18e7efc5fc84c56cf7ee6", "score": "0.532676", "text": "public void endOfParsing(CharBuffer input) throws SAXException;", "title": "" }, { "docid": "f6be7e16f20e415352e97213b16b1a34", "score": "0.53190005", "text": "public void close() throws IOException {\n/* 465 */ this.out.close();\n/* */ \n/* 467 */ if (peek() != JsonScope.NONEMPTY_DOCUMENT) {\n/* 468 */ throw new IOException(\"Incomplete document\");\n/* */ }\n/* */ }", "title": "" }, { "docid": "9b28cf2211303b572d02e3a0c1609058", "score": "0.5315845", "text": "private final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "8a9f02804abb14380a43d12b57ea1e7f", "score": "0.5312062", "text": "public void endElement(OperationResult or, String tag);", "title": "" }, { "docid": "6e484bc2a00c8350c983b5a869f4eef0", "score": "0.530805", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true;\n /* indicate end of file */\n zzEndRead = zzStartRead;\n /* invalidate buffer */\n\n if (zzReader != null) {\n zzReader.close();\n }\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "13ee8d35547419bf2b4f3c9e627cf3df", "score": "0.52992105", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; /* indicate end of file */\n zzEndRead = zzStartRead; /* invalidate buffer */\n\n if (zzReader != null)\n zzReader.close();\n }", "title": "" }, { "docid": "3e61e065112d4d331f51bfea036c2040", "score": "0.52956074", "text": "public void finish() {\n\t\ttry {\n\t\t\tif (outputBuffer != null) {\n\t\t\t\tSystem.out.println(\" DelimitedTextParser - closing \" + normalisedOutputFile.getName());\n\t\t\t\toutputBuffer.flush();\n\t\t\t\toutputBuffer.close();\n\t\t\t}\n\t\t\tif (auditBuffer != null) {\n\t\t\t\tSystem.out.println(\" DelimitedTextParser - closing auditBuffer\");\t\t\n\t\t\t\tauditBuffer.flush();\n\t\t\t\tauditBuffer.close();\n\t\t\t}\n\t\t} catch ( IOException ioe) {\n\t\t\tSystem.out.println(\"IOException : Unable to close output file \" + normalisedOutputFile.getPath() + \", \" + ioe.getMessage() ); \n\t\t}\t\n\t}", "title": "" }, { "docid": "462e64578bc588bb776a0dad393bc414", "score": "0.529034", "text": "public void close() { }", "title": "" }, { "docid": "0a7255c97eb273dfb071b51b8b761313", "score": "0.5289354", "text": "public void close() {\n\t}", "title": "" }, { "docid": "0a7255c97eb273dfb071b51b8b761313", "score": "0.5289354", "text": "public void close() {\n\t}", "title": "" }, { "docid": "0a7255c97eb273dfb071b51b8b761313", "score": "0.5289354", "text": "public void close() {\n\t}", "title": "" }, { "docid": "57dcfe1a02d679b77c83b0e78fd8f94d", "score": "0.52647555", "text": "@Override\n protected void close(boolean escaped)\n {}", "title": "" }, { "docid": "ebd1aecfaf671b0acf52225367576c0d", "score": "0.52579165", "text": "void close() {\n }", "title": "" }, { "docid": "3effdabf0ed80b9fe98a4b0d643d8d5b", "score": "0.52539295", "text": "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null)\r\n zzReader.close();\r\n }", "title": "" }, { "docid": "3effdabf0ed80b9fe98a4b0d643d8d5b", "score": "0.52539295", "text": "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null)\r\n zzReader.close();\r\n }", "title": "" }, { "docid": "3effdabf0ed80b9fe98a4b0d643d8d5b", "score": "0.52539295", "text": "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null)\r\n zzReader.close();\r\n }", "title": "" }, { "docid": "f6089dde8689ef01723299dac39acdaa", "score": "0.5250033", "text": "public void close()\n\t{\n\t}", "title": "" }, { "docid": "5fa97300c11112a681582f1c063d220a", "score": "0.5238099", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; // indicate end of file\n zzEndRead = zzStartRead; // invalidate buffer\n\n if (zzReader != null) {\n zzReader.close();\n }\n }", "title": "" }, { "docid": "5fa97300c11112a681582f1c063d220a", "score": "0.5238099", "text": "public final void yyclose() throws java.io.IOException {\n zzAtEOF = true; // indicate end of file\n zzEndRead = zzStartRead; // invalidate buffer\n\n if (zzReader != null) {\n zzReader.close();\n }\n }", "title": "" }, { "docid": "0407ecb30f07fe819dc25d649657a934", "score": "0.5235143", "text": "public void close()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "f5e47bbd7bae604ad6f24d365f4e339d", "score": "0.5234616", "text": "public final void yyclose() throws java.io.IOException {\r\n zzAtEOF = true; /* indicate end of file */\r\n zzEndRead = zzStartRead; /* invalidate buffer */\r\n\r\n if (zzReader != null) {\r\n zzReader.close();\r\n }\r\n }", "title": "" }, { "docid": "bc8b71989407b6740f7e57333bc136bc", "score": "0.5230507", "text": "public void close() throws IOException {\n/* */ try {\n/* 165 */ this.in.close();\n/* 166 */ } catch (IOException e) {\n/* 167 */ handleIOException(e);\n/* */ } \n/* */ }", "title": "" }, { "docid": "dee395cc11e3774b3ddccc72ecb863a9", "score": "0.5224726", "text": "@Override default void close() {\n }", "title": "" }, { "docid": "add0536e86b517c490c5508427fcb34c", "score": "0.5213752", "text": "public void close() {\n scanner.close(); \n }", "title": "" }, { "docid": "1c5b7363999f215da9774dcfc3267539", "score": "0.5209329", "text": "public void closeCDATA() throws SAXException {\r\n try {\r\n this.m_writer.write(\"]]>\");\r\n this.m_cdataTagOpen = false;\r\n } catch (IOException e) {\r\n throw new SAXException(e);\r\n }\r\n }", "title": "" }, { "docid": "3a608d24b844d4b84adfd996e11eebf6", "score": "0.5192154", "text": "public void close() {\n }", "title": "" }, { "docid": "3a608d24b844d4b84adfd996e11eebf6", "score": "0.5192154", "text": "public void close() {\n }", "title": "" }, { "docid": "3a608d24b844d4b84adfd996e11eebf6", "score": "0.5192154", "text": "public void close() {\n }", "title": "" }, { "docid": "07f3f44190f39238d0efa150f2065149", "score": "0.51900595", "text": "public void closeStartTag() throws SAXException {\r\n if (this.m_elemContext.m_startTagOpen) {\r\n try {\r\n if (this.m_tracer != null) {\r\n super.fireStartElem(this.m_elemContext.m_elementName);\r\n }\r\n int length = this.m_attributes.getLength();\r\n if (length > 0) {\r\n processAttributes(this.m_writer, length);\r\n this.m_attributes.clear();\r\n }\r\n this.m_writer.write(62);\r\n if (this.m_cdataSectionElements != null) {\r\n this.m_elemContext.m_isCdataSection = isCdataSection();\r\n }\r\n if (this.m_doIndent) {\r\n this.m_isprevtext = false;\r\n this.m_preserves.push(this.m_ispreserve);\r\n }\r\n } catch (IOException e) {\r\n throw new SAXException(e);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "380d000defade35bdc565e0c3164ef4b", "score": "0.5189679", "text": "public void close() {\n\t\t\n\t}", "title": "" }, { "docid": "380d000defade35bdc565e0c3164ef4b", "score": "0.5189679", "text": "public void close() {\n\t\t\n\t}", "title": "" }, { "docid": "adc87cf2ddcac97d661d224dccc2bf39", "score": "0.5188467", "text": "public static String closeAllTags(String s) {\n // first clean up any unclosed tag\n s = s.replaceAll(\"<[^>]*$\", \"\");\n\n // token matches a word, tag, or special character\n Pattern token = Pattern.compile(\"<\\\\/?([^> ]+)[^>]*\\\\/?>\");\n\n int charCount = 0;\n Stack openTags = new Stack();\n\n // Set the default for the max number of characters\n // (only counts characters outside of HTML tags)\n int maxChars = s.length();\n\n Matcher myMatcher = token.matcher(s);\n\n while ((charCount < maxChars) && (myMatcher.find())) {\n\n //Find the next tag\n String tag = myMatcher.group(1);\n\n // if this tag matches a closing tag, remove from stack\n if (!openTags.empty() && openTags.peek().toString().equals(tag)) openTags.pop();\n\n // else add to stack\n else openTags.push(tag);\n }\n\n // Close any tags which were left open\n while (!openTags.empty()) s += \"</\" + openTags.pop().toString() + \">\";\n\n return s;\n }", "title": "" }, { "docid": "0ac27400f449a05b900039daa55f1a0c", "score": "0.5182272", "text": "public final void yyclose() throws java.io.IOException\n {\n zzAtEOF = true; // indicate end of file\n zzEndRead = zzStartRead; // invalidate buffer\n\n if (zzReader != null)\n {\n zzReader.close();\n }\n }", "title": "" }, { "docid": "f619e4d8b58212656deeb875dfa3f7b3", "score": "0.517933", "text": "public final void writeClosingTag(String name) {\n\t\twriteMarkup(\"</\" + name + \">\");\n\t}", "title": "" }, { "docid": "4f773e9c34aa71a24732c2af1af4d5a2", "score": "0.5176374", "text": "public void endDocument()\n {\n this.m_log.log( \"parser\", 1, \"*** end of document ***\" );\n }", "title": "" }, { "docid": "13fa9b9d3f0779bf869c1b263d3cd5ed", "score": "0.5171442", "text": "public void close() {\n \n }", "title": "" }, { "docid": "ac8ed9ab37c5de1846bc94b1ff85d2fe", "score": "0.51642853", "text": "public void close() {\n }", "title": "" }, { "docid": "02ecdbfe5f7462764c77804a8953d768", "score": "0.5163251", "text": "public final void finishOpeningTagAsEmpty() {\n\t\twriteMarkup(\" />\");\n\t}", "title": "" }, { "docid": "d9e0c17a000278100c0aee5358bc9ac8", "score": "0.5159903", "text": "public void closed() {\n // NOP\n }", "title": "" }, { "docid": "e432b2abba6f6d44836a3b42b19ed546", "score": "0.5154199", "text": "@Override\n public void close() throws IOException {\n input.close();\n }", "title": "" }, { "docid": "d490531093b7613584e69d621d61e819", "score": "0.5138408", "text": "public void closingTags(BufferedWriter bw) {\n\t\ttry{\n\t\t\tbw.append(\"</table>\");\n\t\t\tbw.append(\"<div align=\\\"right\\\"><font size=\\\"3\\\" color=\\\"green\\\">Designed By : Shaik K.A.</font></div>\");\n\t\t\tbw.append(\"</section>\");\n\t\t\tbw.append(\"</div>\");\n\t\t\tbw.append(\"</body >\");\n\t\t\tbw.append(\"</html>\");\n\t\t\tbw.close();\n\t\t}catch(Throwable t){\n\t\t\tt.printStackTrace();\n\t\t\tlogsObj.logError(\"closingTags:-Unable to close the tags of test summary results page due to error-\",t);\n\t\t}\n\n\t}", "title": "" } ]
c5c6c487d5a707714195afbfbfd753ec
Test case number: 36 /Coverage entropy=1.0986122886681096
[ { "docid": "50d25483de24a9d1592eb3d60be6c9f3", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test36() throws Throwable {\n ConnectionFactories connectionFactories0 = new ConnectionFactories();\n connectionFactories0.clearXATopicConnectionFactory();\n XATopicConnectionFactory xATopicConnectionFactory0 = new XATopicConnectionFactory();\n try { \n connectionFactories0.setXATopicConnectionFactory(0, xATopicConnectionFactory0);\n fail(\"Expecting exception: IndexOutOfBoundsException\");\n \n } catch(IndexOutOfBoundsException e) {\n //\n // Index: 0, Size: 0\n //\n verifyException(\"java.util.ArrayList\", e);\n }\n }", "title": "" } ]
[ { "docid": "eefcb8163fe844db41b4e7f3007cf287", "score": "0.6601884", "text": "@Test(timeout = 4000)\n public void test24() throws Throwable {\n Discretize discretize0 = new Discretize(\"h&uYpUC]>5dku/m]CS\");\n discretize0.m_ClassIndex = 102;\n double[][] doubleArray0 = new double[4][0];\n byte[] byteArray0 = new byte[8];\n byteArray0[0] = (byte)0;\n byteArray0[2] = (byte)96;\n byteArray0[3] = (byte)0;\n byteArray0[5] = (byte) (-102);\n byteArray0[6] = (byte)96;\n byteArray0[7] = (byte) (-102);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n double[] doubleArray1 = new double[9];\n doubleArray1[0] = (double) (byte)0;\n doubleArray1[3] = (double) 102;\n doubleArray1[4] = (double) (byte)0;\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"h&uYpUC]>5dku/m]CS\");\n doubleArray1[5] = (double) (byte) (-102);\n doubleArray1[4] = 0.0;\n FileSystemHandling.shouldAllThrowIOExceptions();\n doubleArray1[8] = (double) (byte)0;\n doubleArray0[0] = doubleArray1;\n doubleArray0[1] = doubleArray1;\n discretize0.m_CutPoints = doubleArray0;\n String string0 = discretize0.getBinRangesString((byte)0);\n assertFalse(discretize0.getFindNumBins());\n assertEquals(10, discretize0.getBins());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertEquals(\"(-inf-0],(0-0],(0-0],(0-102],(102-0],(0--102],(-102-0],(0-0],(0-0],(0-inf)\", string0);\n assertFalse(discretize0.getUseEqualFrequency());\n }", "title": "" }, { "docid": "7b86a76e9e9f3d6b2d46e9aa1a5ecf24", "score": "0.6560387", "text": "@Test(timeout = 4000)\n public void test05() throws Throwable {\n Evaluation.handleCostOption(\"\", 0);\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n textDirectoryLoader0.getOptions();\n Evaluation evaluation0 = new Evaluation(instances0);\n boolean boolean0 = evaluation0.equals(textDirectoryLoader0);\n assertFalse(boolean0);\n \n double double0 = evaluation0.weightedAreaUnderPRC();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "cf2c237bf23fd6da172af8072a976609", "score": "0.6535085", "text": "@Test(timeout = 4000)\n public void test32() throws Throwable {\n FileSystemHandling.shouldAllThrowIOExceptions();\n Attribute attribute0 = new Attribute(\"+]S^<Ux5jl\");\n Attribute attribute1 = attribute0.copy(\"Options:\\n\\t-list-packages <all | installed | available>\\n\\t-package-info <repository | installed | archive> <packageName | packageZip>\\n\\t-install-package <packageName | packageZip | URL> [version]\\n\\t-uninstall-package packageName\\n\\t-refresh-cache\");\n attribute1.setWeight(0.0);\n JRip jRip0 = new JRip();\n AbstractClassifier.makeCopy(jRip0);\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n double double0 = jRip_NominalAntd0.getCover();\n assertEquals(Double.NaN, double0, 0.01);\n \n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute1);\n JRip.NumericAntd jRip_NumericAntd1 = (JRip.NumericAntd)jRip_NumericAntd0.copy();\n assertEquals(Double.NaN, jRip_NumericAntd1.getSplitPoint(), 0.01);\n assertNotSame(jRip_NumericAntd1, jRip_NumericAntd0);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAttrValue(), 0.01);\n \n JRip.NumericAntd jRip_NumericAntd2 = jRip0.new NumericAntd(attribute0);\n assertEquals(Double.NaN, jRip_NumericAntd2.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd2.getAccuRate(), 0.01);\n assertEquals(0.0, jRip_NumericAntd2.getMaxInfoGain(), 0.01);\n \n int[] intArray0 = new int[6];\n intArray0[0] = 4;\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"@attribute\", arrayList0, 4);\n jRip_RipperRule0.prune(instances0, true);\n FileSystemHandling.shouldAllThrowIOExceptions();\n jRip_RipperRule0.hasAntds();\n boolean boolean0 = jRip_RipperRule0.hasAntds();\n assertFalse(jRip0.getDebug());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(boolean0);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertEquals(3, jRip0.getFolds());\n }", "title": "" }, { "docid": "694eb827d70bef7c00ac5f3cb96ce509", "score": "0.65299004", "text": "@Test(timeout = 4000)\n public void test27() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n TestInstances testInstances1 = new TestInstances();\n Instances instances0 = testInstances0.generate(\" \");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.getRevision();\n FilteredClassifier filteredClassifier0 = new FilteredClassifier();\n evaluation0.setNumericPriorsFromBuffer();\n evaluation0.rootMeanPriorSquaredError();\n }", "title": "" }, { "docid": "b1a3dd464739fce5c17f09f75415f164", "score": "0.65142924", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n Evaluation.handleCostOption(\"\", 0);\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n textDirectoryLoader0.setOutputFilename(false);\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n instances0.stream();\n double double0 = evaluation0.numTruePositives(22);\n assertEquals(0.0, double0, 0.01);\n \n double double1 = evaluation0.unclassified();\n assertEquals(0.0, double1, 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "333370c99aa8211840b41c23f6adb4f0", "score": "0.6384359", "text": "@Test(timeout = 4000)\n public void test14() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n char[] charArray0 = new char[1];\n charArray0[0] = 'F';\n String string0 = evaluation0.num2ShortID((-2), charArray0, 8);\n assertEquals(\" F\", string0);\n \n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n testInstances0.setNumRelationalString(82);\n double double0 = evaluation0.pctIncorrect();\n assertEquals(Double.NaN, double0, 0.01);\n \n String string1 = evaluation0.toSummaryString((String) null, true);\n assertEquals(\"null\\nTotal Number of Instances 0 \\n\", string1);\n \n double double1 = evaluation0.pctUnclassified();\n double double2 = evaluation0.m_SumPriorEntropy;\n double double3 = evaluation0.falsePositiveRate(32);\n assertEquals(0.0, double3, 0.01);\n \n double double4 = evaluation0.coverageOfTestCasesByPredictedRegions();\n double double5 = evaluation0.rootMeanSquaredError();\n double double6 = evaluation0.SFEntropyGain();\n assertNotEquals(double6, double5, 0.01);\n \n evaluation0.confusionMatrix();\n double[][] doubleArray0 = evaluation0.confusionMatrix();\n assertEquals(2, doubleArray0.length);\n \n double double7 = evaluation0.weightedRecall();\n assertEquals(double7, double4, 0.01);\n \n System.setCurrentTimeMillis((-59L));\n double double8 = evaluation0.weightedAreaUnderROC();\n assertEquals(double8, double1, 0.01);\n assertEquals(Double.NaN, double8, 0.01);\n }", "title": "" }, { "docid": "382844f757fb037cc2beb2627cd31eae", "score": "0.6323251", "text": "@Test(timeout = 4000)\n public void test10() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n GlobalInfoJavadoc globalInfoJavadoc0 = new GlobalInfoJavadoc();\n globalInfoJavadoc0.setSilent(false);\n REPTree rEPTree0 = new REPTree();\n evaluation0.numTrueNegatives(0);\n evaluation0.setDiscardPredictions(true);\n evaluation0.SFPriorEntropy();\n double double0 = evaluation0.numTruePositives(100000);\n assertTrue(evaluation0.getDiscardPredictions());\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "25440b7e4a7306b1e2136558aa282480", "score": "0.6316122", "text": "@Test(timeout = 4000)\n public void test19() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n char[] charArray0 = new char[1];\n charArray0[0] = 'F';\n String string0 = evaluation0.num2ShortID((-2), charArray0, 8);\n assertEquals(\" F\", string0);\n \n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n testInstances0.setNumRelationalString(82);\n double double0 = evaluation0.pctIncorrect();\n String string1 = evaluation0.toSummaryString((String) null, true);\n assertEquals(\"null\\nTotal Number of Instances 0 \\n\", string1);\n \n double double1 = evaluation0.pctUnclassified();\n double double2 = evaluation0.m_SumPriorEntropy;\n double double3 = evaluation0.falsePositiveRate(32);\n assertEquals(0.0, double3, 0.01);\n \n double double4 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(double4, double1, 0.01);\n \n double double5 = evaluation0.rootMeanSquaredError();\n double double6 = evaluation0.SFEntropyGain();\n assertNotEquals(double6, double0, 0.01);\n \n evaluation0.confusionMatrix();\n evaluation0.confusionMatrix();\n double double7 = evaluation0.weightedRecall();\n assertNotEquals(double7, double3, 0.01);\n assertEquals(double7, double5, 0.01);\n \n System.setCurrentTimeMillis((-59L));\n Evaluation evaluation1 = new Evaluation(evaluation0.m_Header);\n evaluation0.rootRelativeSquaredError();\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n }", "title": "" }, { "docid": "32737fd821a7ee1c0e22b7998c7d0f3b", "score": "0.62846965", "text": "@Test\n public void testEntropy() {\n System.out.println(\"entropy\");\n MultivariateGaussianDistribution instance = new MultivariateGaussianDistribution(mu, Matrix.of(sigma));\n assertEquals(2.954971, instance.entropy(), 1E-6);\n }", "title": "" }, { "docid": "6a26a8bb1673b720d51ed6f3e473201d", "score": "0.6235303", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\" \");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n VotedPerceptron votedPerceptron0 = new VotedPerceptron();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n cVParameterSelection0.setClassifier(votedPerceptron0);\n Evaluation.makeOptionString(votedPerceptron0, false);\n Evaluation evaluation1 = new Evaluation(instances0);\n Evaluation evaluation2 = new Evaluation(instances0);\n Evaluation evaluation3 = new Evaluation(evaluation0.m_Header);\n Instances instances1 = evaluation0.getHeader();\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n Evaluation evaluation4 = new Evaluation(instances1);\n evaluation4.toCumulativeMarginDistributionString();\n Evaluation evaluation5 = new Evaluation(instances0);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, (String) null);\n evaluation5.meanAbsoluteError();\n double double0 = evaluation3.SFMeanEntropyGain();\n assertEquals(Double.NaN, double0, 0.01);\n \n evaluation3.weightedMatthewsCorrelation();\n String string0 = evaluation4.toClassDetailsString((String) null);\n assertEquals(\"null\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\n 0 0 0 0 0 0 ? ? class1\\n 0 0 0 0 0 0 ? ? class2\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n }", "title": "" }, { "docid": "b7fa1c6274727df4089bab004ec17276", "score": "0.6206058", "text": "@Test(timeout = 4000)\n public void test27() throws Throwable {\n FileSystemHandling.shouldAllThrowIOExceptions();\n Attribute attribute0 = new Attribute(\"+]S^<Ux5jl\");\n Attribute attribute1 = attribute0.copy(\"Options:\\n\\t-list-packages <all | installed | available>\\n\\t-package-info <repository | installed | archive> <packageName | packageZip>\\n\\t-install-package <packageName | packageZip | URL> [version]\\n\\t-uninstall-package packageName\\n\\t-refresh-cache\");\n attribute1.setWeight(0.0);\n JRip jRip0 = new JRip();\n AbstractClassifier.makeCopy(jRip0);\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n \n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n FileSystemHandling.appendLineToFile((EvoSuiteFile) null, \"date\");\n double double0 = jRip_NominalAntd0.getCover();\n assertEquals(Double.NaN, double0, 0.01);\n \n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute1);\n JRip.NumericAntd jRip_NumericAntd1 = (JRip.NumericAntd)jRip_NumericAntd0.copy();\n assertEquals(Double.NaN, jRip_NumericAntd1.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getSplitPoint(), 0.01);\n assertNotSame(jRip_NumericAntd1, jRip_NumericAntd0);\n \n JRip.NumericAntd jRip_NumericAntd2 = jRip0.new NumericAntd(attribute0);\n int[] intArray0 = new int[6];\n intArray0[0] = 4;\n intArray0[1] = 2;\n intArray0[2] = 3;\n intArray0[4] = 4;\n intArray0[5] = 1;\n FileSystemHandling.setPermissions((EvoSuiteFile) null, true, false, true);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1, intArray0, 2);\n boolean boolean0 = jRip_NumericAntd2.covers(binarySparseInstance0);\n assertTrue(boolean0);\n \n System.setCurrentTimeMillis(0L);\n String string0 = jRip_NominalAntd0.getRevision();\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(\"8118\", string0);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n \n long long0 = jRip0.getSeed();\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getUsePruning());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(3, jRip0.getFolds());\n assertEquals(1L, long0);\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "ec3d918951ffe570af0b85d0171fd9e2", "score": "0.6176586", "text": "@Test(timeout = 4000)\n public void test25() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n char[] charArray0 = new char[1];\n charArray0[0] = 'F';\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n ZeroR zeroR0 = new ZeroR();\n cVParameterSelection0.setClassifier(zeroR0);\n MultiClassClassifier multiClassClassifier0 = new MultiClassClassifier();\n evaluation0.KBRelativeInformation();\n System.setCurrentTimeMillis((-1L));\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation0.toClassDetailsString(\".arff\");\n evaluation1.trueNegativeRate(474);\n }", "title": "" }, { "docid": "2d541ad7b407e419be986740bd2f3411", "score": "0.6166529", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n char[] charArray0 = new char[1];\n charArray0[0] = 'F';\n String string0 = evaluation0.num2ShortID((-2), charArray0, 8);\n assertEquals(\" F\", string0);\n \n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n testInstances0.setNumRelationalString(82);\n double double0 = evaluation0.pctIncorrect();\n String string1 = evaluation0.toSummaryString((String) null, true);\n assertEquals(\"null\\nTotal Number of Instances 0 \\n\", string1);\n \n double double1 = evaluation0.pctUnclassified();\n assertEquals(Double.NaN, double1, 0.01);\n \n double double2 = evaluation0.m_SumPriorEntropy;\n evaluation0.falsePositiveRate(32);\n double double3 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(double3, double0, 0.01);\n \n Instances.test(testInstances0.DEFAULT_WORDS);\n evaluation0.rootMeanSquaredError();\n double double4 = evaluation0.m_ConfLevel;\n assertEquals(0.95, double4, 0.01);\n \n evaluation0.confusionMatrix();\n evaluation0.confusionMatrix();\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation0.useNoPriors();\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }", "title": "" }, { "docid": "56c0fdd9541b914fd81210a6523dc3dd", "score": "0.6157397", "text": "@Test(timeout = 4000)\n public void test08() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n VotedPerceptron votedPerceptron0 = new VotedPerceptron();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n cVParameterSelection0.setClassifier(votedPerceptron0);\n Evaluation.makeOptionString(votedPerceptron0, false);\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation1.getHeader();\n Evaluation evaluation2 = new Evaluation(instances0);\n String string0 = evaluation1.toSummaryString(false);\n assertEquals(\"=== Summary ===\\n\\nTotal Number of Instances 0 \\n\", string0);\n \n double double0 = evaluation1.meanAbsoluteError();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation1.unclassified(), 0.01);\n }", "title": "" }, { "docid": "02cd166fc77e07e5cbbae2950ec6854c", "score": "0.6155616", "text": "@Test\n\t@Override\n\tpublic void testNormalDistribution() throws Exception {\n\t}", "title": "" }, { "docid": "35cd538a6dfa956e9edc60a441a1df05", "score": "0.61288095", "text": "@Test(timeout = 4000)\n public void test03() throws Throwable {\n Evaluation.handleCostOption(\"\", 0);\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Vector<NaiveBayesMultinomial> vector0 = new Vector<NaiveBayesMultinomial>();\n instances0.removeAll(vector0);\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.equals(textDirectoryLoader0);\n boolean boolean0 = evaluation0.equals(vector0);\n assertFalse(boolean0);\n \n double double0 = evaluation0.numTrueNegatives(2);\n assertEquals(0.0, double0, 0.01);\n \n double double1 = evaluation0.SFPriorEntropy();\n assertEquals(0.0, double1, 0.01);\n \n double double2 = evaluation0.numTruePositives(117);\n assertEquals(double2, double0, 0.01);\n assertEquals(0.0, double2, 0.01);\n }", "title": "" }, { "docid": "5947b8d06f2a5234b3f399d9747aee8b", "score": "0.61140066", "text": "@Test(timeout = 4000)\n public void test19() throws Throwable {\n Discretize discretize0 = new Discretize(\"X]..?f\");\n discretize0.setAttributeIndices(\"X]..?f\");\n discretize0.m_UseEqualFrequency = true;\n discretize0.m_MakeBinary = true;\n discretize0.setDesiredWeightOfInstancesPerInterval((-1.0));\n discretize0.m_DesiredWeightOfInstancesPerInterval = 1.7976931348623157E308;\n discretize0.getCapabilities();\n discretize0.binsTipText();\n discretize0.getOptions();\n discretize0.getBinRangesString((-1));\n discretize0.getRevision();\n assertEquals(1.7976931348623157E308, discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n }", "title": "" }, { "docid": "0dd161add24da8f2c313321aae6ba34c", "score": "0.61073697", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n Discretize discretize0 = new Discretize(\"g\");\n discretize0.setOutputFormat();\n double[][] doubleArray0 = new double[2][0];\n double[] doubleArray1 = new double[9];\n doubleArray1[0] = 0.0;\n doubleArray1[1] = 0.0;\n doubleArray1[2] = (-1803.2);\n doubleArray1[3] = 1726.34;\n doubleArray1[4] = 1316.19;\n doubleArray1[5] = 0.0;\n doubleArray1[6] = (-8.99122234509242);\n doubleArray1[7] = 1.7976931348623157E308;\n doubleArray1[8] = (-1.7976931348623157E308);\n doubleArray0[0] = doubleArray1;\n double[] doubleArray2 = new double[4];\n doubleArray2[0] = 1.7976931348623157E308;\n doubleArray2[1] = 1726.34;\n doubleArray2[2] = (-1803.2);\n doubleArray2[3] = 0.0;\n doubleArray0[1] = doubleArray2;\n discretize0.m_CutPoints = doubleArray0;\n // Undeclared exception!\n try { \n discretize0.getBinRangesString((-1952257859));\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1952257859\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "191e5577548f9c6b9e31235268440f94", "score": "0.6106188", "text": "@Test(timeout = 4000)\n public void test00() throws Throwable {\n Discretize discretize0 = new Discretize(\"ma6:[z8W(%2_++X[5\");\n discretize0.setInvertSelection(false);\n String[] stringArray0 = new String[7];\n stringArray0[0] = \"ma6:[z8W(%2_++X[5\";\n stringArray0[1] = \"ma6:[z8W(%2_++X[5\";\n stringArray0[2] = \"ma6:[z8W(%2_++X[5\";\n stringArray0[3] = \"ma6:[z8W(%2_++X[5\";\n stringArray0[4] = \"ma6:[z8W(%2_++X[5\";\n stringArray0[5] = \"pv<X4\\\"T2E#((:rxF/f!\";\n stringArray0[6] = \"ma6:[z8W(%2_++X[5\";\n Discretize.main(stringArray0);\n discretize0.invertSelectionTipText();\n double double0 = 44.9043;\n discretize0.m_DesiredWeightOfInstancesPerInterval = 44.9043;\n discretize0.findNumBinsTipText();\n // Undeclared exception!\n try { \n discretize0.calculateCutPointsByEqualFrequencyBinning(3404);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.core.Instances\", e);\n }\n }", "title": "" }, { "docid": "70def4ca57bcb2db9400b4ca2e71db51", "score": "0.60795015", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n VotedPerceptron votedPerceptron0 = new VotedPerceptron();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n cVParameterSelection0.setClassifier(votedPerceptron0);\n Evaluation.makeOptionString(votedPerceptron0, false);\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation1.getHeader();\n Evaluation evaluation2 = new Evaluation(instances0);\n String string0 = evaluation2.toMatrixString();\n assertEquals(\"=== Confusion Matrix ===\\n\\n a b <-- classified as\\n 0 0 | a = class1\\n 0 0 | b = class2\\n\", string0);\n \n double double0 = evaluation1.meanAbsoluteError();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation1.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "a954f06f3f4dd02370ff53382468bed0", "score": "0.6061954", "text": "@Test(timeout = 4000)\n public void test251() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n resultMatrixLatex0.clearHeader();\n ResultMatrixSignificance.main((String[]) null);\n }", "title": "" }, { "docid": "93e42410659568fd1ee4adfab391529f", "score": "0.60259753", "text": "int entropySize() {\n\t\t return 8;\n\t }", "title": "" }, { "docid": "9f2bde2ce17f198c8af20c040fa99f11", "score": "0.6010737", "text": "@Test(timeout = 4000)\n public void test02() throws Throwable {\n Evaluation.handleCostOption(\"\", 0);\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n String[] stringArray0 = new String[3];\n stringArray0[0] = \"@relation\";\n stringArray0[1] = \".arff\";\n stringArray0[2] = \"@data\";\n textDirectoryLoader0.setOptions(stringArray0);\n Evaluation evaluation0 = new Evaluation(instances0);\n boolean boolean0 = evaluation0.equals(textDirectoryLoader0);\n assertFalse(boolean0);\n \n double double0 = evaluation0.rootMeanSquaredError();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }", "title": "" }, { "docid": "ee1e5156e314abd32f5e33bf1610678c", "score": "0.6003499", "text": "public TestTransferEntropyBinaryDiscrete invoke() {\n\n int arrayLengths = 100;\n RandomGenerator rg = new RandomGenerator();\n\n// Generate some random binary data:\n sourceArray = rg.generateRandomInts(arrayLengths, 2);\n int[] destArray = new int[arrayLengths];\n destArray[0] = 0;\n System.arraycopy(sourceArray, 0, destArray, 1, arrayLengths - 1);\n sourceArray2 = rg.generateRandomInts(arrayLengths, 2);\n\n //打印两个原始Array,取值是二元的,0-1,即只有0-1两种状态\n for(int i=0;i<sourceArray2.length;i++){\n System.out.println(\"the\"+i+\"element is_\"+\"sourceArray:\"+sourceArray[i]+\" sourceArray2:\"+sourceArray2[i]+\"\\n\");\n }\n\n// Create a TE calculator and run it:\n TransferEntropyCalculatorDiscrete teCalc=\n new TransferEntropyCalculatorDiscrete(2, 1);\n teCalc.initialise();\n teCalc.addObservations(sourceArray, destArray);\n double result = teCalc.computeAverageLocalOfObservations();\n System.out.printf(\"For copied source, result should be close to 1 bit : %.3f bits\\n\", result);\n teCalc.initialise();\n teCalc.addObservations(sourceArray2, destArray);\n double result2 = teCalc.computeAverageLocalOfObservations();\n System.out.printf(\"For random source, result should be close to 0 bits: %.3f bits\\n\", result2);\n return this;\n }", "title": "" }, { "docid": "bd49e37e0d2d6f02b5f1a19c2031ce9f", "score": "0.59961283", "text": "@Test(timeout = 4000)\n public void test62() throws Throwable {\n CostMatrix costMatrix0 = Evaluation.handleCostOption(\"\", 0);\n assertNull(costMatrix0);\n \n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertNotNull(textDirectoryLoader0);\n \n Instances instances0 = textDirectoryLoader0.getDataSet();\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"_home_ubuntu_evosuite_readability_gen_projects_107_weka\", instances0.relationName());\n assertEquals(0, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(0.0, instances0.sumOfWeights(), 0.01);\n assertEquals(0, instances0.size());\n assertTrue(instances0.checkForStringAttributes());\n assertEquals(0, instances0.numInstances());\n assertEquals(2, instances0.numAttributes());\n assertNotNull(instances0);\n \n CostSensitiveClassifier costSensitiveClassifier0 = new CostSensitiveClassifier();\n assertEquals(1, CostSensitiveClassifier.MATRIX_ON_DEMAND);\n assertEquals(2, CostSensitiveClassifier.MATRIX_SUPPLIED);\n assertFalse(costSensitiveClassifier0.getDebug());\n assertEquals(\"The random number seed to be used.\", costSensitiveClassifier0.seedTipText());\n assertEquals(\"A metaclassifier that makes its base classifier cost-sensitive. Two methods can be used to introduce cost-sensitivity: reweighting training instances according to the total cost assigned to each class; or predicting the class with minimum expected misclassification cost (rather than the most likely class). Performance can often be improved by using a Bagged classifier to improve the probability estimates of the base classifier.\", costSensitiveClassifier0.globalInfo());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", costSensitiveClassifier0.debugTipText());\n assertEquals(1, costSensitiveClassifier0.getSeed());\n assertEquals(0, costSensitiveClassifier0.graphType());\n assertEquals(\"Sets the cost matrix explicitly. This matrix is used if the costMatrixSource property is set to \\\"Supplied\\\".\", costSensitiveClassifier0.costMatrixTipText());\n assertEquals(\"The base classifier to be used.\", costSensitiveClassifier0.classifierTipText());\n assertEquals(\"Sets the directory where cost files are loaded from. This option is used when the costMatrixSource is set to \\\"On Demand\\\".\", costSensitiveClassifier0.onDemandDirectoryTipText());\n assertFalse(costSensitiveClassifier0.getMinimizeExpectedCost());\n assertEquals(\"Sets whether the minimum expected cost criteria will be used. If this is false, the training data will be reweighted according to the costs assigned to each class. If true, the minimum expected cost criteria will be used.\", costSensitiveClassifier0.minimizeExpectedCostTipText());\n assertNotNull(costSensitiveClassifier0);\n \n TestInstances testInstances0 = new TestInstances();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertNotNull(testInstances0);\n \n Instances instances1 = testInstances0.generate();\n assertFalse(instances1.equals((Object)instances0));\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20, instances1.numInstances());\n assertEquals(2, instances1.numAttributes());\n assertEquals(\"Testdata\", instances1.relationName());\n assertEquals(1, instances1.classIndex());\n assertEquals(2, instances1.numClasses());\n assertFalse(instances1.checkForStringAttributes());\n assertEquals(20.0, instances1.sumOfWeights(), 0.01);\n assertEquals(20, instances1.size());\n assertNotNull(instances1);\n assertNotSame(instances1, instances0);\n \n Evaluation evaluation0 = new Evaluation(instances1, (CostMatrix) null);\n assertFalse(instances1.equals((Object)instances0));\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20, instances1.numInstances());\n assertEquals(2, instances1.numAttributes());\n assertEquals(\"Testdata\", instances1.relationName());\n assertEquals(1, instances1.classIndex());\n assertEquals(2, instances1.numClasses());\n assertFalse(instances1.checkForStringAttributes());\n assertEquals(20.0, instances1.sumOfWeights(), 0.01);\n assertEquals(20, instances1.size());\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertNotNull(evaluation0);\n \n String string0 = evaluation0.toClassDetailsString(\"@relation\");\n assertFalse(instances1.equals((Object)instances0));\n assertEquals(\"@relation\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\n 0 0 0 0 0 0 ? ? class1\\n 0 0 0 0 0 0 ? ? class2\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(testInstances0.getNoClass());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(20, instances1.numInstances());\n assertEquals(2, instances1.numAttributes());\n assertEquals(\"Testdata\", instances1.relationName());\n assertEquals(1, instances1.classIndex());\n assertEquals(2, instances1.numClasses());\n assertFalse(instances1.checkForStringAttributes());\n assertEquals(20.0, instances1.sumOfWeights(), 0.01);\n assertEquals(20, instances1.size());\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertNotNull(string0);\n assertNotSame(instances1, instances0);\n }", "title": "" }, { "docid": "04ebe07f8af79a560dfa2e4e4a2012ad", "score": "0.59879166", "text": "@Test(timeout = 4000)\n public void test28() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n ZeroR zeroR0 = new ZeroR();\n cVParameterSelection0.setClassifier(zeroR0);\n MultiClassClassifier multiClassClassifier0 = new MultiClassClassifier();\n Evaluation.main(testInstances0.DEFAULT_WORDS);\n evaluation0.KBRelativeInformation();\n Evaluation.makeOptionString(multiClassClassifier0, false);\n evaluation0.trueNegativeRate(1);\n }", "title": "" }, { "docid": "6936126c5485091cee9e10ea8238d3bb", "score": "0.5978172", "text": "@Test(timeout = 4000)\n public void test095() 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 assertNotNull(resultMatrixSignificance0);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\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 assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n \n boolean boolean0 = true;\n resultMatrixSignificance0.m_PrintColNames = true;\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\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 assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n \n resultMatrixSignificance0.setPrintColNames(true);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\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 assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n \n String string0 = resultMatrixSignificance0.removeFilterName(\"|oY.$SBwz*`$$;RV\");\n assertEquals(\"|oY.$SBwz*`$$;RV\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\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 assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n \n String[] stringArray0 = new String[9];\n stringArray0[0] = \"|oY.$SBwz*`$$;RV\";\n stringArray0[1] = \"*\";\n stringArray0[2] = \"*\";\n stringArray0[3] = \" \";\n stringArray0[4] = \"|oY.$SBwz*`$$;RV\";\n stringArray0[5] = \"|oY.$SBwz*`$$;RV\";\n stringArray0[6] = \")\";\n stringArray0[7] = \"|oY.$SBwz*`$$;RV\";\n stringArray0[8] = \"v\";\n resultMatrixSignificance0.m_RowNames = stringArray0;\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(9, resultMatrixSignificance0.getRowCount());\n \n String string1 = resultMatrixSignificance0.removeFilterName(\"|oY.$SBwz*`$$;RV\");\n assertEquals(\"|oY.$SBwz*`$$;RV\", string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(string1.equals((Object)string0));\n assertNotNull(string1);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(9, resultMatrixSignificance0.getRowCount());\n \n resultMatrixSignificance0.clearHeader();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(9, resultMatrixSignificance0.getRowCount());\n \n resultMatrixSignificance0.clearSummary();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(9, resultMatrixSignificance0.getRowCount());\n \n String string2 = resultMatrixSignificance0.globalInfo();\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n assertNotNull(string2);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(9, resultMatrixSignificance0.getRowCount());\n \n int int0 = 1725;\n // Undeclared exception!\n try { \n resultMatrixSignificance0.toString();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "6ad79b0b3404cfb7ae0f7655a6afcab7", "score": "0.59721285", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n VotedPerceptron votedPerceptron0 = new VotedPerceptron();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n cVParameterSelection0.setClassifier(votedPerceptron0);\n Evaluation.makeOptionString(votedPerceptron0, false);\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation1.getHeader();\n Evaluation evaluation2 = new Evaluation(instances0);\n evaluation2.m_ClassIsNominal = false;\n evaluation0.toCumulativeMarginDistributionString();\n evaluation1.meanAbsoluteError();\n evaluation2.setDiscardPredictions(false);\n evaluation1.pctCorrect();\n Random.setNextRandom(816);\n }", "title": "" }, { "docid": "a176ecc066c42dc17d2545a54e66d930", "score": "0.59465176", "text": "@Test\n\tvoid computeEntropy_Zeros() {\n\t\tStereoMutualInformation alg = new StereoMutualInformation();\n\t\talg.configureHistogram(251);\n\n\t\t// only a few non-zero values\n\t\tfor (int i = 0; i < 251; i++) {\n\t\t\talg.histJoint.set(250,i,40);\n\t\t}\n\t\talg.computeProbabilities();\n\t\talg.computeEntropy();\n\n\t\t// make sure all numbers are valid\n\t\tfor (int i = 0; i < 251; i++) {\n\t\t\tassertFalse(UtilEjml.isUncountable(alg.entropyLeft.get(i,0)));\n\t\t\tassertFalse(UtilEjml.isUncountable(alg.entropyRight.get(i,0)));\n\n\t\t\tfor (int j = 0; j < 251; j++) {\n\t\t\t\tassertFalse(UtilEjml.isUncountable(alg.entropyJoint.get(j,i)));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "70c42a2679213cacbb0b37826da6b684", "score": "0.5939278", "text": "@Test(timeout = 4000)\n public void test146() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\n resultMatrixHTML0.TIE_STRING = \"(\";\n resultMatrixLatex0.getStdDev(0, 25);\n resultMatrixLatex0.setStdDev(3911, 85, 0);\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(69, 3911);\n }", "title": "" }, { "docid": "dbfcf3cba7ca75a6483c014e391498ff", "score": "0.5936215", "text": "@Test(timeout = 4000)\n public void test08() throws Throwable {\n int int0 = 0;\n Evaluation.handleCostOption(\"\", 0);\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n byte[] byteArray0 = new byte[0];\n FileSystemHandling.appendDataToFile(evoSuiteFile0, byteArray0);\n Vector<NaiveBayesMultinomial> vector0 = new Vector<NaiveBayesMultinomial>();\n instances0.removeAll(vector0);\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n evaluation0.numInstances();\n CostSensitiveClassifier costSensitiveClassifier0 = new CostSensitiveClassifier();\n CostMatrix costMatrix0 = costSensitiveClassifier0.getCostMatrix();\n Evaluation evaluation1 = null;\n try {\n evaluation1 = new Evaluation(instances0, costMatrix0);\n fail(\"Expecting exception: Exception\");\n \n } catch(Throwable e) {\n //\n // Cost matrix not compatible with data!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "d23270f2f961ac32f1e42285e50e41e0", "score": "0.5923853", "text": "@Test(timeout = 4000)\n public void test28() throws Throwable {\n FileSystemHandling.shouldAllThrowIOExceptions();\n ArrayList<Locale.LanguageRange> arrayList0 = new ArrayList<Locale.LanguageRange>();\n LinkedList<Locale.LanguageRange> linkedList0 = new LinkedList<Locale.LanguageRange>();\n LinkedList<String> linkedList1 = new LinkedList<String>();\n Locale.filterTags((List<Locale.LanguageRange>) arrayList0, (Collection<String>) linkedList1);\n ArrayList<Locale.LanguageRange> arrayList1 = new ArrayList<Locale.LanguageRange>();\n List<String> list0 = Locale.filterTags((List<Locale.LanguageRange>) arrayList1, (Collection<String>) null);\n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n Attribute attribute0 = new Attribute(\"\", list0, protectedProperties0);\n JRip jRip0 = new JRip();\n JRip jRip1 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip1.new RipperRule();\n jRip1.getCapabilities();\n jRip_RipperRule0.setConsequent(4);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"$Revision: 8181 $\");\n JRip.RipperRule jRip_RipperRule1 = jRip1.new RipperRule();\n jRip_RipperRule0.hasAntds();\n JRip.NominalAntd jRip_NominalAntd0 = jRip1.new NominalAntd(attribute0);\n ArrayList<Attribute> arrayList2 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"integer\", arrayList2, 3);\n jRip_NominalAntd0.splitData(instances0, 0.0, 346.801769518576);\n jRip1.getOptions();\n jRip_RipperRule1.hasAntds();\n jRip_RipperRule0.grow(instances0);\n assertEquals(4.0, jRip_RipperRule0.getConsequent(), 0.01);\n }", "title": "" }, { "docid": "7abdc03eada59f07458dacb67e24b9e4", "score": "0.5923048", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n byte[] byteArray0 = new byte[34];\n HashWrapper hashWrapper0 = new HashWrapper(byteArray0);\n MockFile mockFile0 = new MockFile(\"1^%8|FrkXc\", \"1^%8|FrkXc\");\n URL uRL0 = mockFile0.toURL();\n LightWeightSeedManager lightWeightSeedManager0 = LightWeightSeedManager.getSingleton();\n LightWeightSeed lightWeightSeed0 = new LightWeightSeed(lightWeightSeedManager0, \"1^%8|FrkXc\", hashWrapper0, uRL0, mockFile0, (LightWeightSeedAdapter) null);\n lightWeightSeed0.start();\n lightWeightSeed0.stop();\n }", "title": "" }, { "docid": "271c0d4f22298072283217038fd5e0ab", "score": "0.5918906", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n ZeroR zeroR0 = new ZeroR();\n MultiClassClassifier multiClassClassifier0 = new MultiClassClassifier();\n Evaluation.main(testInstances0.DEFAULT_WORDS);\n evaluation0.KBRelativeInformation();\n Evaluation.makeOptionString(multiClassClassifier0, true);\n FilteredClusterer filteredClusterer0 = new FilteredClusterer();\n evaluation0.toClassDetailsString();\n // Undeclared exception!\n try { \n evaluation0.fMeasure(2);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 2\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "ae771fafe50b1b99e0df4af6041ea7f2", "score": "0.5905333", "text": "@Test(timeout = 4000)\n public void test17() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n char[] charArray0 = new char[1];\n charArray0[0] = 'F';\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n ZeroR zeroR0 = new ZeroR();\n cVParameterSelection0.setClassifier(zeroR0);\n MultiClassClassifier multiClassClassifier0 = new MultiClassClassifier();\n evaluation0.KBRelativeInformation();\n Evaluation.makeOptionString(multiClassClassifier0, true);\n Evaluation evaluation1 = new Evaluation(instances0);\n testInstances0.getData();\n Evaluation evaluation2 = new Evaluation(instances0);\n evaluation2.toCumulativeMarginDistributionString();\n evaluation0.meanAbsoluteError();\n Instance instance0 = null;\n try { \n Evaluation.handleCostOption(\".bsi\", 3);\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't open file null.\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "a704bc7a652b51012e82c4fec7d817be", "score": "0.59041244", "text": "@Test(timeout = 4000)\n public void test19() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.toString();\n Attribute attribute0 = new Attribute(\"{\", 2287);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n double[] doubleArray0 = new double[4];\n doubleArray0[0] = (double) 1;\n doubleArray0[1] = (double) 4;\n doubleArray0[2] = 559.9;\n doubleArray0[3] = (double) 2;\n SparseInstance sparseInstance0 = new SparseInstance(559.9, doubleArray0);\n jRip_NominalAntd0.covers(sparseInstance0);\n jRip_NominalAntd0.getAttrValue();\n Attribute attribute1 = jRip_NominalAntd0.getAttr();\n attribute1.setWeight(0.0);\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.setConsequent((-945.575));\n jRip0.listOptions();\n jRip0.listOptions();\n jRip_RipperRule0.size();\n jRip0.getFolds();\n CoverTree coverTree0 = new CoverTree();\n try { \n coverTree0.kNearestNeighbours(sparseInstance0, 0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "732420f45f1e1d21e7378abc06a98553", "score": "0.5902232", "text": "@Test(timeout = 4000)\n public void test158() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.m_StdDevWidth = 97;\n resultMatrixSignificance0.setMeanPrec((-766));\n int[] intArray0 = new int[8];\n intArray0[0] = 2;\n intArray0[1] = 2;\n intArray0[2] = 2;\n intArray0[3] = 2;\n intArray0[4] = (-766);\n intArray0[5] = 1;\n intArray0[6] = 2;\n intArray0[7] = 2;\n resultMatrixSignificance0.m_RankingWins = intArray0;\n resultMatrixSignificance0.clearRanking();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixSignificance0);\n resultMatrixHTML0.setMeanWidth((-563));\n resultMatrixHTML0.m_MeanWidth = 1126;\n resultMatrixHTML0.m_PrintRowNames = false;\n resultMatrixHTML0.m_StdDevWidth = 0;\n resultMatrixSignificance0.toStringKey();\n resultMatrixHTML0.countWidthTipText();\n String[] stringArray0 = resultMatrixHTML0.getOptions();\n resultMatrixHTML0.m_RowNames = stringArray0;\n resultMatrixSignificance0.setPrintRowNames(false);\n resultMatrixSignificance0.getShowAverage();\n resultMatrixHTML0.printRowNamesTipText();\n resultMatrixHTML0.setRemoveFilterName(false);\n resultMatrixHTML0.toStringSummary();\n resultMatrixSignificance0.setSignificance(2, 0, 26);\n assertEquals(97, resultMatrixSignificance0.getStdDevWidth());\n }", "title": "" }, { "docid": "c34a5bce34df89196827cb16c337c057", "score": "0.5886014", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.toString();\n Attribute attribute0 = new Attribute(\"{\", 2287);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n double[] doubleArray0 = new double[4];\n doubleArray0[0] = (double) 1;\n doubleArray0[1] = (double) 4;\n doubleArray0[2] = 559.9;\n doubleArray0[3] = (double) 2;\n SparseInstance sparseInstance0 = new SparseInstance(559.9, doubleArray0);\n jRip_NominalAntd0.covers(sparseInstance0);\n jRip_NominalAntd0.getAttrValue();\n Attribute attribute1 = jRip_NominalAntd0.getAttr();\n attribute1.setWeight(0.0);\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.setConsequent((-945.575));\n jRip0.listOptions();\n // Undeclared exception!\n try { \n jRip0.getRuleStats(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.rules.JRip\", e);\n }\n }", "title": "" }, { "docid": "017a7cda383c1b7e584b3dffebc52b74", "score": "0.5884403", "text": "@Test(timeout = 4000)\n public void test26() 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 assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\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(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\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(0, resultMatrixSignificance0.getMeanWidth());\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(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\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(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\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 assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\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.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n \n int[][] intArray0 = new int[2][9];\n int[] intArray1 = new int[5];\n intArray1[0] = 915;\n intArray1[1] = (-2430);\n intArray1[2] = 0;\n intArray1[3] = 0;\n intArray1[4] = 2;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[9];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 1;\n intArray2[1] = 2;\n intArray2[2] = 0;\n intArray2[3] = (-2430);\n intArray2[4] = 2;\n intArray2[5] = 2;\n intArray2[6] = 2;\n intArray2[7] = (-2430);\n intArray2[8] = 2;\n intArray0[1] = intArray2;\n resultMatrixSignificance0.setSummary(intArray0, intArray0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\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 assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(2, intArray0.length);\n }", "title": "" }, { "docid": "c718181e085f5ff4588f7c415dc7c5f4", "score": "0.58842856", "text": "@Test(timeout = 4000)\n public void test07() throws Throwable {\n Evaluation.handleCostOption(\"\", 0);\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n boolean boolean0 = evaluation0.equals(textDirectoryLoader0);\n assertFalse(boolean0);\n \n double[][] doubleArray0 = evaluation0.confusionMatrix();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0, doubleArray0.length);\n }", "title": "" }, { "docid": "946ae3a0da2dc01edec54b9bf2bc369a", "score": "0.5874113", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n Discretize discretize0 = new Discretize();\n String string0 = discretize0.globalInfo();\n assertEquals(\"An instance filter that discretizes a range of numeric attributes in the dataset into nominal attributes. Discretization is by simple binning. Skips the class attribute if set.\", string0);\n \n discretize0.setAttributeIndices(\"\");\n assertFalse(discretize0.getFindNumBins());\n assertFalse(discretize0.getUseEqualFrequency());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getUseBinNumbers());\n assertEquals(10, discretize0.getBins());\n assertFalse(discretize0.getMakeBinary());\n }", "title": "" }, { "docid": "b44da534667de2f40ba463cd6a6479c9", "score": "0.58715403", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n testInstances0.generate(\".arff\");\n evaluation0.m_Header = instances0;\n double[][] doubleArray0 = new double[0][8];\n evaluation0.m_ConfusionMatrix = doubleArray0;\n char[] charArray0 = new char[1];\n charArray0[0] = 'F';\n evaluation0.KBMeanInformation();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n LWL lWL0 = new LWL();\n cVParameterSelection0.setClassifier(lWL0);\n Evaluation.makeOptionString(lWL0, false);\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances1 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation1 = new Evaluation(instances1);\n evaluation1.getHeader();\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n Evaluation evaluation2 = new Evaluation(instances1);\n evaluation1.toCumulativeMarginDistributionString();\n evaluation1.meanAbsoluteError();\n evaluation2.SFMeanEntropyGain();\n OneR oneR0 = new OneR();\n try { \n Evaluation.wekaStaticWrapper(oneR0, \"setNumFolds\");\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.OneR$OneRRule\", e);\n }\n }", "title": "" }, { "docid": "fa5a5c2f5a5faae03c0cece90ff79b14", "score": "0.58680224", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n Discretize discretize0 = new Discretize(\"X]..?f\");\n discretize0.setAttributeIndices(\"X]..?f\");\n assertFalse(discretize0.getMakeBinary());\n \n discretize0.m_MakeBinary = true;\n discretize0.binsTipText();\n discretize0.m_DefaultCols = \"Optimize number of bins using leave-one-out estimate\\n\\tof estimated entropy (for equal-width discretization).\\n\\tIf this is set then the -B option will be ignored.\";\n String[] stringArray0 = discretize0.getOptions();\n discretize0.getBinRangesString((-1));\n Discretize.main(stringArray0);\n assertTrue(discretize0.getMakeBinary());\n assertEquals(10, discretize0.getBins());\n }", "title": "" }, { "docid": "3ecff3ad4c64450141e14eef05a89d23", "score": "0.5846649", "text": "@Test\n public void asdf(){\n target.solution(24);\n// target.solution(30);\n }", "title": "" }, { "docid": "3354d979b4e2012efef6208fcc22299f", "score": "0.584194", "text": "@Test\n public void testRandom() {\n System.out.println(\"random\");\n double[] prob = {0.473646292, 0.206116725, 0.009308497, 0.227844687, 0.083083799};\n int[] sample = Math.random(prob, 300);\n double[][] hist = Histogram.histogram(sample, 5);\n double[] p = new double[5];\n for (int i = 0; i < 5; i++) {\n p[i] = hist[2][i] / 300.0;\n }\n assertTrue(Math.KullbackLeiblerDivergence(prob, p) < 0.05);\n }", "title": "" }, { "docid": "4e71bf108a9dcf31e44cd4d0c42be044", "score": "0.58408356", "text": "@Test(timeout = 4000)\n public void test115() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixSignificance0);\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(resultMatrixPlainText0);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\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 assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixPlainText0);\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 assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\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 assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\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.getDefaultStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n \n resultMatrixSignificance0.WIN_STRING = \" \";\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n \n boolean boolean0 = resultMatrixGnuPlot0.getPrintRowNames();\n assertTrue(boolean0);\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 assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\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 assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\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.getDefaultStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n \n boolean[] booleanArray0 = new boolean[5];\n booleanArray0[0] = true;\n booleanArray0[1] = true;\n booleanArray0[2] = true;\n booleanArray0[3] = true;\n booleanArray0[4] = true;\n resultMatrixPlainText0.m_ColHidden = booleanArray0;\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\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 assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\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(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n \n String string0 = resultMatrixHTML0.getDisplayName();\n assertEquals(\"HTML\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\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(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n \n boolean boolean1 = resultMatrixSignificance0.isStdDev(0);\n assertFalse(boolean1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(boolean1 == boolean0);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n }", "title": "" }, { "docid": "7354252840c6b234317288afa3e83e04", "score": "0.58407146", "text": "@Test(timeout = 4000)\n public void test30() throws Throwable {\n FileSystemHandling.shouldAllThrowIOExceptions();\n ArrayList<Locale.LanguageRange> arrayList0 = new ArrayList<Locale.LanguageRange>();\n LinkedList<Locale.LanguageRange> linkedList0 = new LinkedList<Locale.LanguageRange>();\n LinkedList<String> linkedList1 = new LinkedList<String>();\n Locale.filterTags((List<Locale.LanguageRange>) arrayList0, (Collection<String>) linkedList1);\n ArrayList<Locale.LanguageRange> arrayList1 = new ArrayList<Locale.LanguageRange>();\n List<String> list0 = Locale.filterTags((List<Locale.LanguageRange>) arrayList1, (Collection<String>) null);\n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n Attribute attribute0 = new Attribute(\"\", list0, protectedProperties0);\n JRip jRip0 = new JRip();\n JRip jRip1 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip1.new RipperRule();\n jRip1.getCapabilities();\n jRip_RipperRule0.setConsequent(4);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"$Revision: 8181 $\");\n JRip.RipperRule jRip_RipperRule1 = jRip1.new RipperRule();\n jRip_RipperRule0.hasAntds();\n assertEquals(4.0, jRip_RipperRule0.getConsequent(), 0.01);\n \n JRip.NominalAntd jRip_NominalAntd0 = jRip1.new NominalAntd(attribute0);\n ArrayList<Attribute> arrayList2 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"integer\", arrayList2, 3);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n jRip_NumericAntd0.splitData(instances0, 3, (-917.2587814));\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n }", "title": "" }, { "docid": "d359209a97c8e22b9eda476e7c72aca1", "score": "0.5839117", "text": "@Test(timeout = 4000)\n public void test22() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n \n InputMappedClassifier inputMappedClassifier0 = new InputMappedClassifier();\n String[] stringArray0 = new String[9];\n stringArray0[0] = \"?{Cuzcj-_4b\";\n stringArray0[1] = \"%tO(J z\";\n stringArray0[2] = \"4+)l;M_n<UPN\";\n double[] doubleArray0 = new double[3];\n doubleArray0[0] = 559.9;\n doubleArray0[1] = 1.0;\n doubleArray0[2] = 559.9;\n SparseInstance sparseInstance0 = new SparseInstance(1.0, doubleArray0);\n ArrayList<Locale.LanguageRange> arrayList0 = new ArrayList<Locale.LanguageRange>();\n List<String> list0 = Locale.filterTags((List<Locale.LanguageRange>) arrayList0, (Collection<String>) null);\n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n Attribute attribute0 = new Attribute(\"?{Cuzcj-_4b\", list0, protectedProperties0);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n jRip_NominalAntd0.covers(sparseInstance0);\n jRip_NominalAntd0.getAttrValue();\n Attribute attribute1 = jRip_NominalAntd0.getAttr();\n attribute0.setWeight(64.0);\n JRip.RipperRule jRip_RipperRule1 = jRip0.new RipperRule();\n jRip_RipperRule0.setConsequent(Double.NaN);\n JRip jRip1 = new JRip();\n JRip.RipperRule jRip_RipperRule2 = jRip0.new RipperRule();\n jRip_RipperRule2.hasAntds();\n jRip_RipperRule0.covers(sparseInstance0);\n jRip_NominalAntd0.copy();\n jRip_NominalAntd0.getMaxInfoGain();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute1);\n String string0 = jRip_NumericAntd0.getRevision();\n assertEquals(\"8118\", string0);\n }", "title": "" }, { "docid": "c56f0c59da58941bd39689470682744a", "score": "0.58365", "text": "@Test(timeout = 4000)\n public void test22() throws Throwable {\n FileSystemHandling.shouldAllThrowIOExceptions();\n Discretize discretize0 = new Discretize();\n discretize0.m_IgnoreClass = true;\n discretize0.getCapabilities();\n String[] stringArray0 = discretize0.getOptions();\n assertEquals(10, discretize0.getBins());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertEquals(7, stringArray0.length);\n }", "title": "" }, { "docid": "754c3d7bfe5d1057e179f70f6d580853", "score": "0.5833235", "text": "@Test(timeout = 4000)\n public void test15() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n VotedPerceptron votedPerceptron0 = new VotedPerceptron();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n cVParameterSelection0.setClassifier(votedPerceptron0);\n Evaluation.makeOptionString(votedPerceptron0, false);\n Evaluation evaluation1 = new Evaluation(instances0);\n testInstances0.getData();\n Evaluation evaluation2 = new Evaluation(instances0);\n evaluation1.toCumulativeMarginDistributionString();\n evaluation2.meanAbsoluteError();\n evaluation2.setDiscardPredictions(true);\n assertTrue(evaluation2.getDiscardPredictions());\n }", "title": "" }, { "docid": "e198344b223e7763dc24807dde886ee3", "score": "0.5826373", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n Discretize discretize0 = new Discretize();\n int[] intArray0 = new int[4];\n intArray0[0] = 891;\n String string0 = discretize0.makeBinaryTipText();\n assertEquals(\"Make resulting attributes binary.\", string0);\n \n double[] doubleArray0 = new double[4];\n doubleArray0[0] = (double) 891;\n doubleArray0[1] = (double) 891;\n doubleArray0[3] = (double) 891;\n DenseInstance denseInstance0 = new DenseInstance(891, doubleArray0);\n String string1 = discretize0.useEqualFrequencyTipText();\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", string1);\n \n discretize0.getBinRangesString((-1840700267));\n assertEquals(10, discretize0.getBins());\n assertFalse(discretize0.getMakeBinary());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getFindNumBins());\n assertFalse(discretize0.getUseEqualFrequency());\n assertFalse(discretize0.getUseBinNumbers());\n }", "title": "" }, { "docid": "a0a2b3cf9e4f46d38636166fab5e5adc", "score": "0.5819804", "text": "@Test(timeout = 4000)\n public void test20() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n VotedPerceptron votedPerceptron0 = new VotedPerceptron();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n cVParameterSelection0.setClassifier(votedPerceptron0);\n Evaluation.makeOptionString(votedPerceptron0, false);\n Evaluation evaluation1 = new Evaluation(instances0);\n evaluation1.getHeader();\n Evaluation evaluation2 = new Evaluation(evaluation0.m_Header);\n String string0 = evaluation0.toMatrixString();\n assertEquals(\"=== Confusion Matrix ===\\n\\n a b <-- classified as\\n 0 0 | a = class1\\n 0 0 | b = class2\\n\", string0);\n \n double double0 = Evaluation.MIN_SF_PROB;\n evaluation2.numInstances();\n evaluation1.rootMeanPriorSquaredError();\n double double1 = evaluation1.weightedAreaUnderPRC();\n assertEquals(Double.NaN, double1, 0.01);\n assertEquals(0.0, evaluation1.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "301a3deb8abf58de11aad1b04e83e4f3", "score": "0.5809056", "text": "@Test\n public void testRandom2() {\n System.out.println(\"random\");\n double[] prob = {0.473646292, 0.206116725, 0.009308497, 0.227844687, 0.083083799};\n int[] sample = new int[300];\n for (int i = 0; i < 300; i++) {\n sample[i] = Math.random(prob);\n }\n\n double[][] hist = Histogram.histogram(sample, 5);\n double[] p = new double[5];\n for (int i = 0; i < 5; i++) {\n p[i] = hist[2][i] / 300.0;\n }\n\n assertTrue(Math.KullbackLeiblerDivergence(prob, p) < 0.05);\n }", "title": "" }, { "docid": "e432fa2f879d2b48404b9513e86733ac", "score": "0.58089197", "text": "@Test(timeout = 4000)\n public void test24() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n InputMappedClassifier inputMappedClassifier0 = new InputMappedClassifier();\n String[] stringArray0 = new String[9];\n stringArray0[0] = \"?{Cuzcj-_4b\";\n stringArray0[1] = \"%tO(J z\";\n stringArray0[2] = \"4+)l;M_n<UPN\";\n stringArray0[3] = \"\\nGrowing and pruning Replace ...\";\n stringArray0[4] = \"--=8h\";\n stringArray0[5] = \"IR\\\"3C2\";\n stringArray0[6] = \"IR\\\"3C2\";\n stringArray0[7] = \"mqVdpB\";\n stringArray0[8] = \"k>g6=J]K$\";\n jRip0.setOptions(stringArray0);\n JRip.RipperRule jRip_RipperRule1 = jRip0.new RipperRule();\n jRip_RipperRule1.size();\n jRip_RipperRule1.setConsequent((-651.008404112985));\n assertEquals((-651.008404112985), jRip_RipperRule1.getConsequent(), 0.01);\n \n JRip jRip1 = new JRip();\n JRip.RipperRule jRip_RipperRule2 = jRip1.new RipperRule();\n JRip.RipperRule jRip_RipperRule3 = jRip1.new RipperRule();\n jRip_RipperRule3.hasAntds();\n Attribute attribute0 = new Attribute(\"Using inverse-distance weighting kernels\\n\");\n JRip.NominalAntd jRip_NominalAntd0 = jRip1.new NominalAntd(attribute0);\n double double0 = jRip_NominalAntd0.getAccuRate();\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "2e15b2e6c8967c0c44a27ab259eb5a5d", "score": "0.5804744", "text": "@Test(timeout = 4000)\n public void test20() throws Throwable {\n JRip jRip0 = new JRip();\n DecisionTable decisionTable0 = new DecisionTable();\n Instances instances0 = decisionTable0.m_dtInstances;\n Attribute attribute0 = new Attribute(\"\\\"4F/Mq5/c|)\", 116);\n Attribute attribute1 = new Attribute(\"@attribute\", \"d88\");\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n JRip.NominalAntd jRip_NominalAntd1 = (JRip.NominalAntd)jRip_NominalAntd0.copy();\n assertEquals(0.0, jRip_NominalAntd1.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd1.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd1.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd1.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd1.getAttrValue(), 0.01);\n \n JRip jRip1 = new JRip();\n String string0 = jRip1.minNoTipText();\n assertEquals(\"The minimum total weight of the instances in a rule.\", string0);\n \n String string1 = jRip0.debugTipText();\n assertEquals(\"Whether debug information is output to the console.\", string1);\n \n boolean boolean0 = jRip0.getCheckErrorRate();\n assertTrue(boolean0);\n \n String[] stringArray0 = jRip1.getOptions();\n assertEquals(2, jRip1.getOptimizations());\n assertEquals(1L, jRip1.getSeed());\n assertTrue(jRip1.getUsePruning());\n assertFalse(jRip1.getDebug());\n assertEquals(11, stringArray0.length);\n assertEquals(2.0, jRip1.getMinNo(), 0.01);\n assertEquals(3, jRip1.getFolds());\n }", "title": "" }, { "docid": "d56f39c755f6f02e0e0b033c42ae7830", "score": "0.5801509", "text": "public static void main(String... args) {\n for(int size = 1; size < 1_000_000; size *= 10) {\n // for(int size = 1; size < 1_000_000; size = (size < 100) ? (size + 1) : (int) (size * 1.1)) {\n Data best = null;\n for (int segmentLengthBits = 3; segmentLengthBits < 14; segmentLengthBits++) {\n int segmentLength = 1 << segmentLengthBits;\n if (segmentLength > size) {\n break;\n }\n for(double load = 0.85; load > 0.3; load-= 0.05) {\n Data d = getProbability(size, segmentLengthBits, load, best);\n if (d != null && d.p > 0.85) {\n if (best == null || d.bitsPerKey < best.bitsPerKey) {\n best = d;\n }\n break;\n }\n }\n }\n if (best != null) {\n System.out.println(best);\n }\n }\n }", "title": "" }, { "docid": "82bc74e3f934d03f718e41fb80e76788", "score": "0.5795329", "text": "@Test(timeout = 4000)\n public void test139() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 0);\n int[][] intArray0 = new int[3][2];\n resultMatrixSignificance0.m_ShowStdDev = false;\n resultMatrixSignificance0.m_NonSigWins = intArray0;\n int[] intArray1 = new int[4];\n intArray1[0] = 0;\n intArray1[1] = 0;\n intArray1[2] = 0;\n intArray1[3] = 0;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[7];\n intArray2[0] = 1;\n intArray2[1] = 1;\n intArray2[2] = 2;\n intArray2[6] = 2;\n intArray2[4] = 0;\n resultMatrixSignificance0.getRowName(2138);\n intArray2[5] = 1;\n intArray2[6] = 2;\n intArray0[1] = intArray2;\n int[] intArray3 = new int[6];\n intArray3[1] = 0;\n intArray3[2] = 0;\n intArray3[3] = 0;\n intArray3[4] = 1;\n intArray0[2] = intArray3;\n resultMatrixSignificance0.setSummary(intArray0, intArray0);\n resultMatrixSignificance0.setPrintRowNames(false);\n resultMatrixSignificance0.getDisplayName();\n boolean boolean0 = resultMatrixSignificance0.isSignificance(3);\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "e20d92a0b2c78e207843f140985c38be", "score": "0.57913816", "text": "@Test(timeout = 4000)\n public void test27() 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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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.getCountWidth());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n \n int int0 = resultMatrixSignificance0.getDefaultColNameWidth();\n assertEquals(0, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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.getCountWidth());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n \n resultMatrixSignificance0.setMeanPrec(1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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.getCountWidth());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n \n String string0 = resultMatrixSignificance0.toStringKey();\n assertEquals(\"Key:\\n(1) col0\\n\", string0);\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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.getCountWidth());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixSignificance0);\n assertNotNull(resultMatrixHTML0);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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.getCountWidth());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(40, resultMatrixHTML0.getRowNameWidth());\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.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixHTML0);\n assertNotNull(resultMatrixGnuPlot0);\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(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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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.getCountWidth());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(40, resultMatrixHTML0.getRowNameWidth());\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.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\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.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n \n resultMatrixHTML0.assign(resultMatrixGnuPlot0);\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(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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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.getCountWidth());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(40, resultMatrixHTML0.getRowNameWidth());\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.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\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.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n \n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML();\n assertNotNull(resultMatrixHTML1);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\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 assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\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 assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n \n int[] intArray0 = new int[8];\n intArray0[0] = 0;\n intArray0[1] = 0;\n intArray0[2] = 783;\n intArray0[3] = 0;\n intArray0[4] = (-2346);\n intArray0[5] = 0;\n intArray0[6] = 2;\n intArray0[7] = (-3604);\n resultMatrixHTML0.setColOrder(intArray0);\n assertFalse(resultMatrixHTML0.equals((Object)resultMatrixHTML1));\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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.getCountWidth());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(40, resultMatrixHTML0.getRowNameWidth());\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.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertNotSame(resultMatrixHTML0, resultMatrixHTML1);\n assertArrayEquals(new int[] {0, 0, 783, 0, (-2346), 0, 2, (-3604)}, intArray0);\n assertEquals(8, intArray0.length);\n \n resultMatrixHTML1.setColName(1, \"-show-avg\");\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\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 assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\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 assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertNotSame(resultMatrixHTML1, resultMatrixHTML0);\n \n resultMatrixHTML1.setColOrder(intArray0);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\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 assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\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 assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertNotSame(resultMatrixHTML1, resultMatrixHTML0);\n assertArrayEquals(new int[] {0, 0, 783, 0, (-2346), 0, 2, (-3604)}, intArray0);\n assertEquals(8, intArray0.length);\n }", "title": "" }, { "docid": "8366702b50dc2d5a204c1084d16a0158", "score": "0.57906055", "text": "@Test\n public void testStep36GetPreviousInteractionsCount() {\n System.out.println(\"testStep36GetPreviousInteractionsCount\");\n assertEquals(PREVIOUS_INTERACTIONS_COUNT, yearStat.getPreviousInteractionsCount()); \n }", "title": "" }, { "docid": "74cffeae265be8720efa07bcd29df739", "score": "0.5783619", "text": "@Test(timeout = 4000)\n public void test182() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n resultMatrixLatex0.setSignificanceWidth(2);\n resultMatrixLatex0.setMeanPrec(2);\n resultMatrixLatex0.toStringSummary();\n assertEquals(2, resultMatrixLatex0.getSignificanceWidth());\n }", "title": "" }, { "docid": "8431169cc86948b674d240de7d82d09a", "score": "0.5775651", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"tm\\\"iK7~\");\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_Header = instances0;\n VotedPerceptron votedPerceptron0 = new VotedPerceptron();\n CVParameterSelection cVParameterSelection0 = new CVParameterSelection();\n cVParameterSelection0.setClassifier(votedPerceptron0);\n Evaluation.makeOptionString(votedPerceptron0, false);\n Evaluation evaluation1 = new Evaluation(instances0);\n testInstances0.getData();\n Evaluation evaluation2 = new Evaluation(instances0);\n evaluation1.confusionMatrix();\n evaluation0.confusionMatrix();\n double double0 = evaluation0.weightedRecall();\n assertEquals(Double.NaN, double0, 0.01);\n \n String string0 = evaluation2.toMatrixString(\".bsi\");\n assertEquals(\".bsi\\n a b <-- classified as\\n 0 0 | a = class1\\n 0 0 | b = class2\\n\", string0);\n \n evaluation1.toSummaryString();\n assertEquals(Double.NaN, evaluation1.weightedTruePositiveRate(), 0.01);\n }", "title": "" }, { "docid": "6261d11dbf2f5553e9c1de2b553f05e5", "score": "0.57678413", "text": "@Test\n\tpublic void capTest36() {\n\t\tassertFalse(JunitTester.canCaptureTest(yellowKingvsKingBoard, 1, 6));\n\t}", "title": "" }, { "docid": "c85b65a0fd4a9438d698cbc5ccde2de0", "score": "0.5755918", "text": "@Test(timeout = 4000)\n public void test046() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\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.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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 assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\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(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n \n int[][] intArray0 = new int[3][2];\n resultMatrixSignificance0.m_NonSigWins = intArray0;\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.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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 assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\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(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n \n int[] intArray1 = new int[4];\n intArray1[0] = 0;\n intArray1[1] = 0;\n intArray1[2] = 0;\n intArray1[3] = 0;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[7];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 1;\n intArray2[1] = 1;\n intArray2[2] = 2;\n intArray2[3] = 2;\n intArray2[4] = 0;\n String string0 = resultMatrixSignificance0.getRowName(2138);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNull(string0);\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.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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 assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\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(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n \n intArray2[6] = 2;\n intArray0[1] = intArray2;\n int[] intArray3 = new int[6];\n assertFalse(intArray3.equals((Object)intArray1));\n assertFalse(intArray3.equals((Object)intArray2));\n \n intArray3[0] = 2;\n intArray3[1] = 0;\n intArray3[2] = 0;\n intArray3[3] = 0;\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex0);\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n \n resultMatrixLatex0.setStdDev(1, (-2032), 4.8);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n }", "title": "" }, { "docid": "8e005eef39f0fe0417a4f504d90cbd84", "score": "0.5754191", "text": "public void test1570() { doTest(true, true); }", "title": "" }, { "docid": "a86bd50bed03457ba46fb2b96425daaa", "score": "0.5753717", "text": "@Test(timeout = 4000)\n public void test23() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.toString();\n Attribute attribute0 = new Attribute(\"{\", 2296);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n double[] doubleArray0 = new double[4];\n doubleArray0[0] = (double) 1;\n doubleArray0[1] = (double) 4;\n doubleArray0[2] = 559.9;\n doubleArray0[3] = (double) 2;\n SparseInstance sparseInstance0 = new SparseInstance(559.9, doubleArray0);\n jRip_NominalAntd0.covers(sparseInstance0);\n jRip_NominalAntd0.getAttrValue();\n Attribute attribute1 = jRip_NominalAntd0.getAttr();\n FileSystemHandling.shouldAllThrowIOExceptions();\n attribute1.setWeight(0.0);\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.setConsequent((-945.575));\n JRip jRip1 = new JRip();\n JRip.RipperRule jRip_RipperRule1 = jRip1.new RipperRule();\n jRip_RipperRule0.hasAntds();\n jRip_RipperRule0.covers(sparseInstance0);\n assertEquals((-945.575), jRip_RipperRule0.getConsequent(), 0.01);\n \n jRip_NominalAntd0.getCover();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute1);\n jRip_NumericAntd0.copy();\n boolean boolean0 = jRip_NumericAntd0.covers(sparseInstance0);\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "d9491772898e494e42e84005b545e5d5", "score": "0.57513654", "text": "@Test(timeout = 4000)\n public void test149() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(31, 46);\n resultMatrixSignificance0.setShowAverage(true);\n resultMatrixSignificance0.padString(\"stddev-width\", 627);\n assertTrue(resultMatrixSignificance0.getShowAverage());\n }", "title": "" }, { "docid": "9756b5db0f629edcae3f303be2fbb581", "score": "0.57513", "text": "@Test(timeout = 4000)\n public void test00() throws Throwable {\n JRip jRip0 = new JRip();\n LinkedList<Locale.LanguageRange> linkedList0 = new LinkedList<Locale.LanguageRange>();\n Environment environment0 = new Environment();\n Set<String> set0 = environment0.getVariableNames();\n List<String> list0 = Locale.filterTags((List<Locale.LanguageRange>) linkedList0, (Collection<String>) set0);\n Locale.FilteringMode locale_FilteringMode0 = Locale.FilteringMode.REJECT_EXTENDED_RANGES;\n List<String> list1 = Locale.filterTags((List<Locale.LanguageRange>) linkedList0, (Collection<String>) list0, locale_FilteringMode0);\n Attribute attribute0 = new Attribute(\"#w#-6'qw,\", list1, 0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n double double0 = jRip_NumericAntd0.getSplitPoint();\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n assertFalse(jRip0.getDebug());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertEquals(3, jRip0.getFolds());\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 }", "title": "" }, { "docid": "93278205aec40a592841e84f1a7161d2", "score": "0.57474756", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n Discretize discretize0 = new Discretize(\"#\");\n String string0 = discretize0.attributeIndicesTipText();\n assertEquals(\"Specify range of attributes to act on. This is a comma separated list of attribute indices, with \\\"first\\\" and \\\"last\\\" valid values. Specify an inclusive range with \\\"-\\\". E.g: \\\"first-3,5,6-10,last\\\".\", string0);\n assertEquals(10, discretize0.getBins());\n assertFalse(discretize0.getUseEqualFrequency());\n assertEquals((-1.0), discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n assertFalse(discretize0.getUseBinNumbers());\n assertFalse(discretize0.getMakeBinary());\n assertFalse(discretize0.getFindNumBins());\n }", "title": "" }, { "docid": "c37d9094e550d3252f4eae431f322a72", "score": "0.57444793", "text": "@Test\n public void test() {\n Map<TermId, Integer> recipeToId = new HashMap<>();\n Map<TermId, Set<TermId>> labels = new HashMap<>();\n int nextId = 1;\n for (VegetableRecipeAnnotation a : recipeAnnotations) {\n if (!recipeToId.containsKey(a.getItemId())) {\n recipeToId.put(a.getItemId(), nextId++);\n }\n TermId recipeId = a.id();\n if (!labels.containsKey(recipeId)) {\n labels.put(recipeId, new HashSet<>());\n }\n final Set<TermId> termIds = labels.get(recipeId);\n termIds.add(a.id());\n }\n\n Map<Integer, ScoreDistribution> samplingResult = scoreSampling.performSampling();\n assertEquals(1, samplingResult.size());\n // todo add more testing of distribution\n }", "title": "" }, { "docid": "ee73cb91df29435fab1313bb7a448295", "score": "0.57438684", "text": "@Test(timeout = 4000)\n public void test054() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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.getMeanWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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 assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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(\"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 \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(2, 0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixPlainText0);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n \n resultMatrixPlainText0.clearSummary();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(2, 0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertNotNull(resultMatrixGnuPlot1);\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n \n resultMatrixGnuPlot1.setRowName(3, (String) null);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertNotSame(resultMatrixGnuPlot1, resultMatrixGnuPlot0);\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(1, 0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\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.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\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 standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\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(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n \n int[] intArray0 = new int[5];\n intArray0[0] = 1;\n intArray0[1] = 0;\n intArray0[2] = (-358);\n intArray0[3] = 0;\n intArray0[4] = 1;\n resultMatrixCSV0.setRowOrder(intArray0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(5, intArray0.length);\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\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.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\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 standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\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(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertArrayEquals(new int[] {1, 0, (-358), 0, 1}, intArray0);\n \n String string0 = resultMatrixCSV0.globalInfo();\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\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.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\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 standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\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(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n \n boolean boolean0 = resultMatrixGnuPlot0.getRowHidden(0);\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixGnuPlot0.equals((Object)resultMatrixGnuPlot1));\n assertNotSame(resultMatrixGnuPlot0, resultMatrixGnuPlot1);\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n }", "title": "" }, { "docid": "17fbeac7d3d1821d7313fe65d89c5db7", "score": "0.5743524", "text": "public static void main(String[] args) throws IOException {\n\n String path = \"C:\\\\Users\\\\jakub\\\\Desktop\\\\mnist_png\\\\training\";\n //testImageLoader(path);\n DigitsImageLoader loader = new DigitsImageLoader(path);\n BufferedImage[][] images = loader.loadDigits();\n\n RCHistogramFeature featureMethod = new RCHistogramFeature();\n featureMethod.setThreshold(5);\n\n long start = System.currentTimeMillis();\n double[][][] featureVectors1 = new double[images.length][][];\n for (int digit = 0; digit < featureVectors1.length; digit++) {\n featureVectors1[digit] = new double[images[digit].length][];\n double[][] imageFeatureVectors = featureVectors1[digit];\n\n for (int i = 0; i < imageFeatureVectors.length; i++) {\n double[] featureVector = featureMethod.createFeature(images[digit][i]);\n imageFeatureVectors[i] = featureVector;\n }\n }\n\n testClassifier(new MinimumDistanceClassifier(featureVectors1));\n long e = System.currentTimeMillis() - start;\n System.out.println(e);\n }", "title": "" }, { "docid": "9a444185dc74f7bee24f3e73baf4a3c7", "score": "0.57426405", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Vector<NaiveBayesMultinomial> vector0 = new Vector<NaiveBayesMultinomial>();\n instances0.removeAll(vector0);\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.equals(textDirectoryLoader0);\n TechnicalInformationHandlerJavadoc technicalInformationHandlerJavadoc0 = new TechnicalInformationHandlerJavadoc();\n evaluation0.equals(technicalInformationHandlerJavadoc0);\n evaluation0.numTrueNegatives(0);\n evaluation0.SFPriorEntropy();\n Evaluation evaluation1 = new Evaluation(instances0);\n double[] doubleArray0 = new double[1];\n doubleArray0[0] = (double) 0;\n try { \n evaluation0.evaluationForSingleInstance(doubleArray0, (Instance) null, false);\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": "533823c26e454177d44c8f5cb25ff51d", "score": "0.57358533", "text": "private static void testAlgosOnRefDataSet()\n \t{\n\t\tApriori.runExperiment(Dataset.T5_I2_D100K, MinSup.POINT_SEVEN_FIVE_PERCENT);\n \t}", "title": "" }, { "docid": "2d810c5d5d65045b493d61d9dab3b8ba", "score": "0.5734569", "text": "@Test(timeout = 4000)\n public void test096() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixLatex0);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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 assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n String[] stringArray0 = new String[7];\n stringArray0[0] = \"$circ$\";\n stringArray0[1] = \")\";\n stringArray0[2] = \" \";\n resultMatrixLatex0.clear();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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 assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n String[][] stringArray1 = resultMatrixLatex0.toArray();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(stringArray1);\n assertEquals(3, stringArray1.length);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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 assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n int[] intArray0 = new int[3];\n intArray0[0] = (-2519);\n intArray0[1] = (-1064);\n intArray0[2] = 0;\n resultMatrixLatex0.m_RowOrder = intArray0;\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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 assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n stringArray0[3] = \"(\";\n resultMatrixLatex0.setEnumerateRowNames(false);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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 assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n stringArray0[4] = \"$\\bullet$\";\n resultMatrixLatex0.setShowAverage(false);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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 assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n stringArray0[5] = \"$\\bullet$\";\n stringArray0[6] = \"$\\bullet$\";\n resultMatrixLatex0.setOptions(stringArray0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(7, stringArray0.length);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n int[] intArray1 = new int[1];\n assertFalse(intArray1.equals((Object)intArray0));\n \n intArray1[0] = 26;\n resultMatrixLatex0.m_ColOrder = intArray1;\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n double double0 = resultMatrixLatex0.getMean(26, 97);\n assertEquals(0.0, double0, 0.01);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n String[][] stringArray2 = resultMatrixLatex0.toArray();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(stringArray2.equals((Object)stringArray1));\n assertNotSame(stringArray2, stringArray1);\n assertNotNull(stringArray2);\n assertEquals(3, stringArray2.length);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n int int0 = resultMatrixLatex0.getDefaultRowNameWidth();\n assertEquals(0, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\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(0, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n \n // Undeclared exception!\n try { \n resultMatrixLatex0.getColSize(stringArray2, 0, false, false);\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": "401bfb7eba37ca44e7a6856242dfd44d", "score": "0.57315165", "text": "@Test(timeout = 4000)\n public void test20() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 0);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\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.getDefaultCountWidth());\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(0, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n int int0 = resultMatrixSignificance0.getDefaultRowNameWidth();\n assertEquals(40, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\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.getDefaultCountWidth());\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(0, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n String string0 = resultMatrixSignificance0.doubleToString(0.0, 0);\n assertEquals(\"0.\", string0);\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\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.getDefaultCountWidth());\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(0, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\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 assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n \n String string1 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"-ranking data not set-\", string1);\n assertNotNull(string1);\n assertFalse(string1.equals((Object)string0));\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\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 assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n \n int[] intArray0 = new int[2];\n intArray0[0] = 1;\n resultMatrixGnuPlot0.setRowNameWidth((-399));\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\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 assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n \n int int1 = resultMatrixGnuPlot0.getStdDevPrec();\n assertEquals(2, int1);\n assertFalse(int1 == int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\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 assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n }", "title": "" }, { "docid": "66c040a261e8fe6271f1d4d4ae0a081d", "score": "0.5729856", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.getTechnicalInformation();\n jRip0.getTechnicalInformation();\n AbstractClassifier.makeCopy(jRip0);\n jRip0.toString();\n AbstractClassifier.makeCopy(jRip0);\n jRip0.getUsePruning();\n jRip0.getMinNo();\n ArrayList<String> arrayList0 = new ArrayList<String>();\n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n Attribute attribute0 = new Attribute(\"JRIP: No model built yet.\", arrayList0, protectedProperties0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n SerializedClassifier serializedClassifier0 = new SerializedClassifier();\n File file0 = serializedClassifier0.getModelFile();\n String string0 = \"]>An(V\\\"}\";\n MockPrintStream mockPrintStream0 = null;\n try {\n mockPrintStream0 = new MockPrintStream(file0, \"]>An(V\\\"}\");\n fail(\"Expecting exception: FileNotFoundException\");\n \n } catch(Throwable e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.evosuite.runtime.mock.java.io.MockFileOutputStream\", e);\n }\n }", "title": "" }, { "docid": "ffd331a681428f40b851c278e572249d", "score": "0.5729774", "text": "@Test(timeout = 4000)\n public void test015() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\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.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(2, 0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixPlainText0);\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\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(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n \n resultMatrixPlainText0.clearSummary();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\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(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixPlainText0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertNotNull(resultMatrixLatex0);\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\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(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getRowCount());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\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(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n \n String string0 = resultMatrixLatex0.padString(\"`tptE~4dE!l$&j$b\", 0, false);\n assertEquals(\"`tptE~4dE!l$&j$b\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertNotNull(string0);\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\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(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getRowCount());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\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(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixPlainText0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertNotNull(resultMatrixCSV0);\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\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(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\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(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(5, resultMatrixCSV0.getCountWidth());\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(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getColCount());\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 assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n \n boolean boolean0 = resultMatrixCSV0.getDefaultEnumerateColNames();\n assertTrue(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\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(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\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(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(5, resultMatrixCSV0.getCountWidth());\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(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getColCount());\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 assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n \n String[] stringArray0 = new String[3];\n stringArray0[0] = \"(\";\n stringArray0[1] = \")\";\n stringArray0[2] = null;\n ResultMatrixCSV.main(stringArray0);\n assertEquals(3, stringArray0.length);\n \n resultMatrixLatex0.setColName(0, \")\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\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(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getRowCount());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\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(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n \n int int0 = resultMatrixLatex0.getSignificanceCount(0, (-752));\n assertEquals(0, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\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(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getRowCount());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\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(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertNotNull(resultMatrixLatex1);\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n \n String string1 = resultMatrixLatex1.toStringMatrix();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption}\\n\\\\footnotesize\\n{\\\\centering \\\\begin{tabular}{lr}\\n\\\\\\\\\\n\\\\hline\\nDataset & (1)\\\\\\\\\\n\\\\hline\\nrow0 & \\\\\\\\\\n\\\\hline\\n\\\\multicolumn{2}{c}{$\\\\circ$, $\\\\bullet$ statistically significant improvement or degradation}\\\\\\\\\\n\\\\end{tabular} \\\\footnotesize \\\\par}\\n\\\\end{table}\\n\", string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string1.equals((Object)string0));\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertNotNull(string1);\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n \n // Undeclared exception!\n try { \n resultMatrixLatex0.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": "270f8e66b9b7ef59ca976f1300370963", "score": "0.5725485", "text": "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FileSystemHandling.createFolder((EvoSuiteFile) null);\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate(\"distributionForInstance\");\n Evaluation evaluation0 = new Evaluation(instances0);\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n TestInstances testInstances1 = new TestInstances();\n testInstances1.setNumRelationalString((-2));\n evaluation0.pctIncorrect();\n evaluation0.m_NoPriors = true;\n evaluation0.toSummaryString(\"distributionForInstance\", true);\n evaluation0.pctUnclassified();\n try { \n evaluation0.correlationCoefficient();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't compute correlation coefficient: class is nominal!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "412f5303adacf2c70776854f031bc748", "score": "0.5725303", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n byte[] byteArray0 = new byte[10];\n byteArray0[0] = (byte) (-1);\n byteArray0[1] = (byte) (-92);\n byteArray0[2] = (byte) (-84);\n byteArray0[3] = (byte)25;\n byteArray0[4] = (byte) (-114);\n byteArray0[5] = (byte)65;\n byteArray0[4] = (byte)51;\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n FileSystemHandling.setPermissions((EvoSuiteFile) null, false, false, false);\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n int int0 = expressionMatrixImpl0.getValue(0, 1);\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "78701295ffbbdc8b3b074f2b0de7f434", "score": "0.57252806", "text": "@Test(timeout = 4000)\n public void test178() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.m_RowNameWidth = 2;\n resultMatrixSignificance0.LOSS_STRING = \"mean-width\";\n resultMatrixSignificance0.setCountWidth(0);\n resultMatrixSignificance0.setStdDevPrec(0);\n resultMatrixSignificance0.addHeader(\"\", \"\");\n assertEquals(0, resultMatrixSignificance0.getStdDevPrec());\n }", "title": "" }, { "docid": "629b3174174569c5a4cba37d18168b56", "score": "0.5723633", "text": "@Test(timeout = 4000)\n public void test041() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\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 assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n \n int[] intArray0 = new int[4];\n intArray0[0] = 0;\n intArray0[1] = 0;\n intArray0[2] = 0;\n intArray0[3] = 0;\n int[] intArray1 = new int[7];\n assertFalse(intArray1.equals((Object)intArray0));\n \n intArray1[0] = 1;\n intArray1[2] = 2;\n intArray1[4] = 0;\n intArray1[5] = 1;\n intArray0[3] = 2;\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n \n String[] stringArray0 = new String[2];\n stringArray0[0] = \"\";\n stringArray0[1] = \" \";\n resultMatrixGnuPlot0.m_ColNames = stringArray0;\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n \n resultMatrixGnuPlot0.setRowName(0, \"\");\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(0, 1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixCSV0);\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\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.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\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(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\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(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n \n int[] intArray2 = new int[1];\n assertFalse(intArray2.equals((Object)intArray0));\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = (-358);\n resultMatrixCSV0.setRowOrder(intArray2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(intArray2.equals((Object)intArray0));\n assertFalse(intArray2.equals((Object)intArray1));\n assertNotSame(intArray2, intArray0);\n assertNotSame(intArray2, intArray1);\n assertEquals(1, intArray2.length);\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\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.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\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(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\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(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertArrayEquals(new int[] {(-358)}, intArray2);\n \n String string0 = resultMatrixCSV0.globalInfo();\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(string0);\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\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.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\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(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\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(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n \n boolean boolean0 = resultMatrixGnuPlot0.getRowHidden(2);\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n \n boolean boolean1 = resultMatrixSignificance0.isStdDev(1);\n assertFalse(boolean1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(boolean1 == boolean0);\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 assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\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(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n }", "title": "" }, { "docid": "bda057290628cb35827533acc71fc6e6", "score": "0.57210135", "text": "@Test(timeout = 4000)\n public void test029() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\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.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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 assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n \n int[][] intArray0 = new int[3][2];\n resultMatrixSignificance0.m_NonSigWins = intArray0;\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\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.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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 assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n \n int[] intArray1 = new int[4];\n intArray1[0] = 0;\n intArray1[1] = 0;\n intArray1[2] = 0;\n intArray1[3] = 0;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[7];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 1;\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(0, 2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n \n resultMatrixSignificance0.setColNameWidth(2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\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.getShowAverage());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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 assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getColNameWidth());\n \n String string0 = resultMatrixHTML0.getSummaryTitle(3);\n assertEquals(\"d\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(string0);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\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(resultMatrixLatex0);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getVisibleColCount());\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 assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n \n resultMatrixLatex0.setRemoveFilterName(false);\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 assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getVisibleColCount());\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 assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n \n resultMatrixHTML0.setRowHidden(2679, true);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\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(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\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 assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\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 assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n \n resultMatrixSignificance1.assign(resultMatrixLatex0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\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 assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\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(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\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 assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(25, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(2, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getVisibleColCount());\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 assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixPlainText0);\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\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(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getColCount());\n assertEquals(2, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n \n boolean boolean0 = resultMatrixHTML0.getColHidden(3);\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n }", "title": "" }, { "docid": "c29cdd68f2b64f4387a321ba897a048d", "score": "0.57182676", "text": "@Test(timeout = 4000)\n public void test033() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"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(\"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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n \n String string0 = resultMatrixSignificance0.getColName(7);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNull(string0);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"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(\"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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(2, 0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixPlainText0);\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(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\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 assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n \n resultMatrixPlainText0.clearSummary();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\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(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\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 assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n \n String[] stringArray0 = new String[9];\n stringArray0[0] = \"$w7]\\\"$x-O*{$^wl\";\n stringArray0[1] = \"\";\n stringArray0[2] = \"*\";\n stringArray0[3] = \"v\";\n stringArray0[4] = \"$w7]\\\"$x-O*{$^wl\";\n stringArray0[5] = \")\";\n stringArray0[6] = \"$w7]\\\"$x-O*{$^wl\";\n stringArray0[7] = \"JOR}My?[1>q\";\n stringArray0[8] = \")\";\n ResultMatrixPlainText.main(stringArray0);\n assertEquals(9, stringArray0.length);\n \n int[] intArray0 = new int[3];\n intArray0[0] = 0;\n intArray0[1] = 2;\n intArray0[2] = 2;\n resultMatrixSignificance0.setColOrder(intArray0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(3, intArray0.length);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"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(\"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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertArrayEquals(new int[] {0, 2, 2}, intArray0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\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 assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\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 assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertNotNull(resultMatrixGnuPlot1);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"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(\"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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixGnuPlot1.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixGnuPlot1);\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 assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"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(\"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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixGnuPlot1.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\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(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\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(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n \n boolean boolean0 = resultMatrixSignificance0.getDefaultShowStdDev();\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"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(\"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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n \n String string1 = resultMatrixGnuPlot1.getRowName((-1));\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 assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixGnuPlot1, resultMatrixGnuPlot0);\n assertNull(string1);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"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(\"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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixGnuPlot1.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n \n int int0 = resultMatrixPlainText0.getDisplayCol((-382));\n assertEquals((-1), int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\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(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\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 assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n \n double double0 = resultMatrixGnuPlot1.getCount(1);\n assertEquals(0.0, double0, 0.01);\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 assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixGnuPlot1, resultMatrixGnuPlot0);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"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(\"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 maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixGnuPlot1.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n }", "title": "" }, { "docid": "b3e7702b390f84967b1cd1a90ead8026", "score": "0.5718159", "text": "@Test\n public void test58() throws Throwable {\n SeqClassifierFlags seqClassifierFlags0 = new SeqClassifierFlags();\n assertEquals(\"\", seqClassifierFlags0.toString());\n assertNotNull(seqClassifierFlags0);\n assertEquals(50, seqClassifierFlags0.SGD2QNhessSamples);\n assertTrue(seqClassifierFlags0.useSequences);\n assertFalse(seqClassifierFlags0.useBoundarySequences);\n assertFalse(seqClassifierFlags0.combo);\n assertFalse(seqClassifierFlags0.useGoodForNamesCpC);\n assertFalse(seqClassifierFlags0.casedDistSim);\n assertFalse(seqClassifierFlags0.useTypeySequences);\n assertFalse(seqClassifierFlags0.useNoisyNonNoisyFeature);\n assertFalse(seqClassifierFlags0.useTypeSeqs3);\n assertFalse(seqClassifierFlags0.useTypeSeqs2);\n assertFalse(seqClassifierFlags0.useCRFforUnsup);\n assertEquals(1.0E-4, seqClassifierFlags0.tolerance, 0.01D);\n assertFalse(seqClassifierFlags0.printWeights);\n assertFalse(seqClassifierFlags0.greekifyNGrams);\n assertFalse(seqClassifierFlags0.useTrainLexicon);\n assertFalse(seqClassifierFlags0.randomLopFeatureSplit);\n assertFalse(seqClassifierFlags0.useWEBFreqDict);\n assertFalse(seqClassifierFlags0.useDictleng);\n assertFalse(seqClassifierFlags0.useHk);\n assertFalse(seqClassifierFlags0.useNextRealWord);\n assertFalse(seqClassifierFlags0.useMUCFeatures);\n assertFalse(seqClassifierFlags0.useDict2);\n assertFalse(seqClassifierFlags0.testHessSamples);\n assertFalse(seqClassifierFlags0.removeBackgroundSingletonFeatures);\n assertFalse(seqClassifierFlags0.deleteBlankLines);\n assertFalse(seqClassifierFlags0.includeFullCRFInLOP);\n assertEquals(0.1, seqClassifierFlags0.dualDecompInitialStepSize, 0.01D);\n assertEquals((-1), seqClassifierFlags0.arbitraryInputLayerSize);\n assertFalse(seqClassifierFlags0.usePrediction2);\n assertFalse(seqClassifierFlags0.useParenMatching);\n assertEquals(0.0, seqClassifierFlags0.removeTopNPercent, 0.01D);\n assertFalse(seqClassifierFlags0.useWEB);\n assertFalse(seqClassifierFlags0.useDictCTB2);\n assertFalse(seqClassifierFlags0.useTopics);\n assertEquals(0, seqClassifierFlags0.dualDecompMaxItr);\n assertFalse(seqClassifierFlags0.groupByFeatureTemplate);\n assertEquals(0.1, seqClassifierFlags0.initialGain, 0.01D);\n assertEquals(0.0, seqClassifierFlags0.priorLambda, 0.01D);\n assertFalse(seqClassifierFlags0.bioSubmitOutput);\n assertFalse(seqClassifierFlags0.usePre);\n assertFalse(seqClassifierFlags0.transitionEdgeOnly);\n assertFalse(seqClassifierFlags0.useQuartic);\n assertFalse(seqClassifierFlags0.useDisjunctiveShapeInteraction);\n assertFalse(seqClassifierFlags0.strictlySecondOrder);\n assertFalse(seqClassifierFlags0.useFloat);\n assertFalse(seqClassifierFlags0.addBiasToEmbedding);\n assertFalse(seqClassifierFlags0.useASBCSuf1);\n assertFalse(seqClassifierFlags0.dropoutApprox);\n assertFalse(seqClassifierFlags0.useAs);\n assertFalse(seqClassifierFlags0.regularizeSoftmaxTieParam);\n assertFalse(seqClassifierFlags0.dump);\n assertFalse(seqClassifierFlags0.useSeenFeaturesOnly);\n assertFalse(seqClassifierFlags0.useNegHKDict2);\n assertFalse(seqClassifierFlags0.useHardGE);\n assertEquals(0.0, seqClassifierFlags0.l1reg, 0.01D);\n assertFalse(seqClassifierFlags0.useNegCTBDict2);\n assertFalse(seqClassifierFlags0.useRadical);\n assertFalse(seqClassifierFlags0.useChPos);\n assertFalse(seqClassifierFlags0.removeStrictGoodCoNLLDuplicates);\n assertFalse(seqClassifierFlags0.fakeDataset);\n assertFalse(seqClassifierFlags0.useNegCTBDict4);\n assertFalse(seqClassifierFlags0.useNegCTBDict3);\n assertFalse(seqClassifierFlags0.useSegmentation);\n assertFalse(seqClassifierFlags0.useNB);\n assertFalse(seqClassifierFlags0.useNegHKDict3);\n assertFalse(seqClassifierFlags0.useNegHKDict4);\n assertFalse(seqClassifierFlags0.intern2);\n assertFalse(seqClassifierFlags0.retainEntitySubclassification);\n assertFalse(seqClassifierFlags0.useHybrid);\n assertFalse(seqClassifierFlags0.useWordn);\n assertFalse(seqClassifierFlags0.readStdin);\n assertFalse(seqClassifierFlags0.dualDecompAlignment);\n assertFalse(seqClassifierFlags0.useShapeConjunctions);\n assertFalse(seqClassifierFlags0.useGazettes);\n assertEquals(25, seqClassifierFlags0.QNsize);\n assertFalse(seqClassifierFlags0.useLemmas);\n assertEquals(25, seqClassifierFlags0.QNsize2);\n assertFalse(seqClassifierFlags0.useUnicodeBlock);\n assertTrue(seqClassifierFlags0.learnCHBasedOnEN);\n assertFalse(seqClassifierFlags0.useBeginSent);\n assertFalse(seqClassifierFlags0.expandMidDot);\n assertFalse(seqClassifierFlags0.normalizeTerms);\n assertFalse(seqClassifierFlags0.evaluateBackground);\n assertFalse(seqClassifierFlags0.useSuf);\n assertFalse(seqClassifierFlags0.useEntityTypeSequences);\n assertEquals(0, seqClassifierFlags0.numTimesPruneFeatures);\n assertFalse(seqClassifierFlags0.useAcqPrior);\n assertFalse(seqClassifierFlags0.useRad2b);\n assertFalse(seqClassifierFlags0.usePhraseWordTags);\n assertEquals(0, seqClassifierFlags0.hybridCutoffIteration);\n assertEquals(10, seqClassifierFlags0.totalDataSlice);\n assertFalse(seqClassifierFlags0.subCWGaz);\n assertFalse(seqClassifierFlags0.dehyphenateNGrams);\n assertEquals(1, seqClassifierFlags0.endFold);\n assertFalse(seqClassifierFlags0.doAdaptation);\n assertTrue(seqClassifierFlags0.useQN);\n assertFalse(seqClassifierFlags0.useWideDisjunctive);\n assertFalse(seqClassifierFlags0.useNoisyLabel);\n assertFalse(seqClassifierFlags0.blockInitialize);\n assertEquals(0, seqClassifierFlags0.multiThreadGibbs);\n assertEquals(0.0, seqClassifierFlags0.dropoutRate, 0.01D);\n assertFalse(seqClassifierFlags0.useReverse);\n assertFalse(seqClassifierFlags0.useBagOfWords);\n assertEquals(10, seqClassifierFlags0.totalFeatureSlice);\n assertFalse(seqClassifierFlags0.tuneSGD);\n assertEquals((-1), seqClassifierFlags0.samplingSpeedUpThreshold);\n assertEquals(0.1, seqClassifierFlags0.gainSGD, 0.01D);\n assertFalse(seqClassifierFlags0.useSentenceNumber);\n assertFalse(seqClassifierFlags0.useOrdinal);\n assertFalse(seqClassifierFlags0.useAbbr1);\n assertFalse(seqClassifierFlags0.testVariance);\n assertEquals(100, seqClassifierFlags0.printClassifierParam);\n assertFalse(seqClassifierFlags0.useSymWordPairs);\n assertFalse(seqClassifierFlags0.prependEmbedding);\n assertEquals((-1), seqClassifierFlags0.maxNGramLeng);\n assertEquals(0.0, seqClassifierFlags0.alignmentPruneThreshold, 0.01D);\n assertFalse(seqClassifierFlags0.keepAllWhitespaces);\n assertFalse(seqClassifierFlags0.useOutDict2);\n assertFalse(seqClassifierFlags0.useLastRealWord);\n assertEquals(0.0, seqClassifierFlags0.pctSegmenterScale, 0.01D);\n assertFalse(seqClassifierFlags0.useNERPrior);\n assertTrue(seqClassifierFlags0.useHiddenLayer);\n assertFalse(seqClassifierFlags0.usePk);\n assertFalse(seqClassifierFlags0.useFREQ);\n assertFalse(seqClassifierFlags0.baseline);\n assertEquals((-1), seqClassifierFlags0.SGDPasses);\n assertEquals(1, seqClassifierFlags0.startFold);\n assertFalse(seqClassifierFlags0.normalize);\n assertEquals(1, seqClassifierFlags0.numFolds);\n assertFalse(seqClassifierFlags0.usePKChar2);\n assertEquals(0, seqClassifierFlags0.maxDocSize);\n assertTrue(seqClassifierFlags0.initViterbi);\n assertFalse(seqClassifierFlags0.usePrev);\n assertFalse(seqClassifierFlags0.useMoreTags);\n assertFalse(seqClassifierFlags0.useStochasticQN);\n assertFalse(seqClassifierFlags0.useOWLQN);\n assertFalse(seqClassifierFlags0.powerAlignProb);\n assertFalse(seqClassifierFlags0.suppressMidDotPostprocessing);\n assertFalse(seqClassifierFlags0.useNGrams);\n assertFalse(seqClassifierFlags0.useURLSequences);\n assertFalse(seqClassifierFlags0.restrictTransitionsTimit);\n assertFalse(seqClassifierFlags0.cacheNGrams);\n assertFalse(seqClassifierFlags0.noNeighborConstraints);\n assertFalse(seqClassifierFlags0.useWord4);\n assertFalse(seqClassifierFlags0.useWord3);\n assertFalse(seqClassifierFlags0.useWord2);\n assertFalse(seqClassifierFlags0.useScaledSGD);\n assertFalse(seqClassifierFlags0.noMidNGrams);\n assertFalse(seqClassifierFlags0.useWordPairs);\n assertFalse(seqClassifierFlags0.useSGDtoQN);\n assertFalse(seqClassifierFlags0.useIfInteger);\n assertFalse(seqClassifierFlags0.nonLinearCRF);\n assertFalse(seqClassifierFlags0.useLC);\n assertEquals(0, seqClassifierFlags0.numOfSlices);\n assertFalse(seqClassifierFlags0.useTitle);\n assertFalse(seqClassifierFlags0.useSum);\n assertEquals((-1), seqClassifierFlags0.wordShape);\n assertFalse(seqClassifierFlags0.normalizeTimex);\n assertFalse(seqClassifierFlags0.useKL);\n assertFalse(seqClassifierFlags0.useDictPK2);\n assertEquals(1, seqClassifierFlags0.kBest);\n assertFalse(seqClassifierFlags0.largeChSegFile);\n assertFalse(seqClassifierFlags0.useMoreGazFeatures);\n assertFalse(seqClassifierFlags0.useDictionaryConjunctions);\n assertEquals(1, seqClassifierFlags0.numTimesRemoveTopN);\n assertFalse(seqClassifierFlags0.useMinimalAbbr1);\n assertEquals(0.9, seqClassifierFlags0.selfTrainConfidenceThreshold, 0.01D);\n assertFalse(seqClassifierFlags0.usePosition);\n assertFalse(seqClassifierFlags0.useRule2);\n assertFalse(seqClassifierFlags0.useWordShapeGaz);\n assertFalse(seqClassifierFlags0.useWord1);\n assertFalse(seqClassifierFlags0.outputIterationsToFile);\n assertFalse(seqClassifierFlags0.softmaxOutputLayer);\n assertEquals(0, seqClassifierFlags0.multiThreadClassifier);\n assertFalse(seqClassifierFlags0.useVB);\n assertEquals(0.0, seqClassifierFlags0.softmaxTieLambda, 0.01D);\n assertFalse(seqClassifierFlags0.useCommonWordsFeature);\n assertFalse(seqClassifierFlags0.useMinimalAbbr);\n assertFalse(seqClassifierFlags0.useAdaGradFOBOS);\n assertFalse(seqClassifierFlags0.useUnicodeType4gram);\n assertFalse(seqClassifierFlags0.useLongSequences);\n assertFalse(seqClassifierFlags0.sighanPostProcessing);\n assertEquals(0, seqClassifierFlags0.numOfFeatureSlices);\n assertFalse(seqClassifierFlags0.useDisjunctive);\n assertFalse(seqClassifierFlags0.verboseMode);\n assertFalse(seqClassifierFlags0.useTypeSeqs);\n assertFalse(seqClassifierFlags0.useNPGovernor);\n assertFalse(seqClassifierFlags0.useEitherSideDisjunctive);\n assertFalse(seqClassifierFlags0.printXML);\n assertFalse(seqClassifierFlags0.splitOnHead);\n assertFalse(seqClassifierFlags0.useMoreAbbr);\n assertFalse(seqClassifierFlags0.useChunks);\n assertFalse(seqClassifierFlags0.useABSTR);\n assertFalse(seqClassifierFlags0.terminateOnEvalImprovement);\n assertFalse(seqClassifierFlags0.useDictionaryConjunctions3);\n assertEquals(0.1, seqClassifierFlags0.initRate, 0.01D);\n assertFalse(seqClassifierFlags0.ocrTrain);\n assertEquals(8, seqClassifierFlags0.maxAllowedChromaticSize);\n assertFalse(seqClassifierFlags0.useSymTags);\n assertEquals(1.0, seqClassifierFlags0.dropoutScale, 0.01D);\n assertFalse(seqClassifierFlags0.useNextSequences);\n assertFalse(seqClassifierFlags0.strictlyZeroethOrder);\n assertEquals((-1), seqClassifierFlags0.QNPasses);\n assertFalse(seqClassifierFlags0.printNR);\n assertFalse(seqClassifierFlags0.mergeTags);\n assertFalse(seqClassifierFlags0.useCorefFeatures);\n assertFalse(seqClassifierFlags0.useDisjShape);\n assertFalse(seqClassifierFlags0.evaluateTrain);\n assertEquals(1000, seqClassifierFlags0.wordSegBeamSize);\n assertEquals(1.0, seqClassifierFlags0.unsupDropoutScale, 0.01D);\n assertFalse(seqClassifierFlags0.use4Clique);\n assertEquals(30, seqClassifierFlags0.beamSize);\n assertFalse(seqClassifierFlags0.printFactorTable);\n assertFalse(seqClassifierFlags0.useSigmoid);\n assertFalse(seqClassifierFlags0.useNumberFeature);\n assertFalse(seqClassifierFlags0.groupByInput);\n assertTrue(seqClassifierFlags0.useMemoryEvaluator);\n assertFalse(seqClassifierFlags0.memoryThrift);\n assertFalse(seqClassifierFlags0.groupByHiddenUnit);\n assertTrue(seqClassifierFlags0.separateASCIIandRange);\n assertTrue(seqClassifierFlags0.applyNERPenalty);\n assertFalse(seqClassifierFlags0.printTrainLabels);\n assertFalse(seqClassifierFlags0.hardcodeSoftmaxOutputWeights);\n assertFalse(seqClassifierFlags0.useBerkeleyAlignerForViterbi);\n assertFalse(seqClassifierFlags0.lowercaseNGrams);\n assertFalse(seqClassifierFlags0.useASBCPre1);\n assertEquals(0.95, seqClassifierFlags0.adaDeltaRho, 0.01D);\n assertEquals(1, seqClassifierFlags0.selfTrainWindowSize);\n assertEquals(0.5, seqClassifierFlags0.alignmentDecodeThreshold, 0.01D);\n assertFalse(seqClassifierFlags0.useABSTRFreq);\n assertFalse(seqClassifierFlags0.dontExtendTaggy);\n assertTrue(seqClassifierFlags0.useDenero);\n assertTrue(seqClassifierFlags0.restrictLabels);\n assertTrue(seqClassifierFlags0.keepOBInMemory);\n assertFalse(seqClassifierFlags0.useChunkySequences);\n assertFalse(seqClassifierFlags0.useInPlaceSGD);\n assertFalse(seqClassifierFlags0.terminateOnAvgImprovement);\n assertEquals(1.0, seqClassifierFlags0.sigma, 0.01D);\n assertFalse(seqClassifierFlags0.useSemPrior);\n assertFalse(seqClassifierFlags0.numberEquivalenceDistSim);\n assertFalse(seqClassifierFlags0.useHuber);\n assertFalse(seqClassifierFlags0.strictlyThirdOrder);\n assertFalse(seqClassifierFlags0.strictlyFirstOrder);\n assertTrue(seqClassifierFlags0.useExternal);\n assertFalse(seqClassifierFlags0.weightByEntropy);\n assertFalse(seqClassifierFlags0.augmentedDateChars);\n assertFalse(seqClassifierFlags0.useSMD);\n assertFalse(seqClassifierFlags0.initWithNERPosterior);\n assertFalse(seqClassifierFlags0.useFeaturesCpC5gram);\n assertFalse(seqClassifierFlags0.announceObjectBankEntries);\n assertFalse(seqClassifierFlags0.useLemmaAsWord);\n assertFalse(seqClassifierFlags0.geDebug);\n assertFalse(seqClassifierFlags0.useGEforSup);\n assertFalse(seqClassifierFlags0.useUnicodeType5gram);\n assertEquals(0, seqClassifierFlags0.interimOutputFreq);\n assertEquals(100, seqClassifierFlags0.numSamples);\n assertFalse(seqClassifierFlags0.useANTE);\n assertFalse(seqClassifierFlags0.gradientDebug);\n assertFalse(seqClassifierFlags0.usePhraseWords);\n assertFalse(seqClassifierFlags0.verboseForTrueCasing);\n assertTrue(seqClassifierFlags0.useOutputLayer);\n assertTrue(seqClassifierFlags0.biAlignmentPriorIsPMI);\n assertFalse(seqClassifierFlags0.useBig5);\n assertFalse(seqClassifierFlags0.useYetMoreCpCShapes);\n assertFalse(seqClassifierFlags0.useFilter);\n assertFalse(seqClassifierFlags0.useAdaDelta);\n assertEquals(0, seqClassifierFlags0.featureCountThresh);\n assertFalse(seqClassifierFlags0.useUnicodeType);\n assertFalse(seqClassifierFlags0.estimateInitial);\n assertEquals((-1), seqClassifierFlags0.labelDictionaryCutoff);\n assertEquals(8, seqClassifierFlags0.distSimMaxBits);\n assertFalse(seqClassifierFlags0.pctSegmenterScaleByCRF);\n assertFalse(seqClassifierFlags0.useNextVB);\n assertFalse(seqClassifierFlags0.tieOutputLayer);\n assertEquals((-1), seqClassifierFlags0.numHiddenUnits);\n assertFalse(seqClassifierFlags0.saveFeatureIndexToDisk);\n assertFalse(seqClassifierFlags0.useGENIA);\n assertFalse(seqClassifierFlags0.useUniformPrior);\n assertFalse(seqClassifierFlags0.printFirstOrderProbs);\n assertEquals(1, seqClassifierFlags0.numStartLayers);\n assertFalse(seqClassifierFlags0.booleanFeatures);\n assertFalse(seqClassifierFlags0.useTOK);\n assertEquals(0, seqClassifierFlags0.maxRight);\n assertFalse(seqClassifierFlags0.useABGENE);\n assertFalse(seqClassifierFlags0.use2W);\n assertEquals(2, seqClassifierFlags0.maxLeft);\n assertEquals(10, seqClassifierFlags0.wideDisjunctionWidth);\n assertFalse(seqClassifierFlags0.useWordUTypeConjunctions3);\n assertFalse(seqClassifierFlags0.cleanGazette);\n assertTrue(seqClassifierFlags0.includeC2EViterbi);\n assertFalse(seqClassifierFlags0.secondOrderNonLinear);\n assertFalse(seqClassifierFlags0.useWordUTypeConjunctions2);\n assertFalse(seqClassifierFlags0.usePKSuf1);\n assertFalse(seqClassifierFlags0.alternateTraining);\n assertFalse(seqClassifierFlags0.useHKChar2);\n assertTrue(seqClassifierFlags0.useKnownLCWords);\n assertTrue(seqClassifierFlags0.useViterbi);\n assertEquals(Integer.MAX_VALUE, seqClassifierFlags0.printFeaturesUpto);\n assertFalse(seqClassifierFlags0.useFirstWord);\n assertFalse(seqClassifierFlags0.usePrevVB);\n assertFalse(seqClassifierFlags0.useEitherSideWord);\n assertFalse(seqClassifierFlags0.usePKPre1);\n assertFalse(seqClassifierFlags0.useRad1);\n assertTrue(seqClassifierFlags0.splitDocuments);\n assertFalse(seqClassifierFlags0.doFeatureDiscovery);\n assertFalse(seqClassifierFlags0.lowerNewgeneThreshold);\n assertEquals(1, seqClassifierFlags0.nerSlowerTimes);\n assertFalse(seqClassifierFlags0.useCWSWordFeaturesAll);\n assertFalse(seqClassifierFlags0.useNeighborNGrams);\n assertTrue(seqClassifierFlags0.useWord);\n assertFalse(seqClassifierFlags0.useTaggySequencesShapeInteraction);\n assertFalse(seqClassifierFlags0.iobTags);\n assertFalse(seqClassifierFlags0.useSequentialScanSampling);\n assertFalse(seqClassifierFlags0.useSGD);\n assertFalse(seqClassifierFlags0.useBilingualNERPrior);\n assertFalse(seqClassifierFlags0.useACR);\n assertFalse(seqClassifierFlags0.suppressTestDebug);\n assertFalse(seqClassifierFlags0.useAdaDiff);\n assertFalse(seqClassifierFlags0.pctSegmenterLenAdjust);\n assertFalse(seqClassifierFlags0.usePhraseFeatures);\n assertFalse(seqClassifierFlags0.useFeaturesCpC6gram);\n assertFalse(seqClassifierFlags0.dualDecompDebug);\n assertFalse(seqClassifierFlags0.useBigramInTwoClique);\n assertFalse(seqClassifierFlags0.testObjFunction);\n assertEquals(0, seqClassifierFlags0.featureCountThreshold);\n assertFalse(seqClassifierFlags0.useOccurrencePatterns);\n assertEquals(0, seqClassifierFlags0.maxQNItr);\n assertFalse(seqClassifierFlags0.factorInAlignmentProb);\n assertFalse(seqClassifierFlags0.useKBest);\n assertTrue(seqClassifierFlags0.averagePerceptron);\n assertEquals(15, seqClassifierFlags0.stochasticBatchSize);\n assertEquals(0.0, seqClassifierFlags0.annealingRate, 0.01D);\n assertFalse(seqClassifierFlags0.useRad2);\n assertEquals(0, seqClassifierFlags0.ocrFold);\n assertFalse(seqClassifierFlags0.backpropLopTraining);\n assertFalse(seqClassifierFlags0.useProtoFeatures);\n assertEquals((-1), seqClassifierFlags0.maxIterations);\n assertFalse(seqClassifierFlags0.useExtraTaggySequences);\n assertFalse(seqClassifierFlags0.useNegASBCDict2);\n assertFalse(seqClassifierFlags0.usePrediction);\n assertFalse(seqClassifierFlags0.useTaggySequences);\n assertFalse(seqClassifierFlags0.useWordShapeConjunctions2);\n assertFalse(seqClassifierFlags0.useWordShapeConjunctions3);\n assertEquals(3, seqClassifierFlags0.charHalfWindow);\n assertFalse(seqClassifierFlags0.useOnlySeenWeights);\n assertFalse(seqClassifierFlags0.useEntityTypes);\n assertFalse(seqClassifierFlags0.useLabelSource);\n assertFalse(seqClassifierFlags0.twoStage);\n assertTrue(seqClassifierFlags0.initWithPosterior);\n assertFalse(seqClassifierFlags0.useCWSWordFeatures);\n assertFalse(seqClassifierFlags0.useHeadGov);\n assertFalse(seqClassifierFlags0.useNegASBCDict3);\n assertEquals(0, seqClassifierFlags0.removeTopN);\n assertFalse(seqClassifierFlags0.useNegASBCDict4);\n assertFalse(seqClassifierFlags0.useRandomSeed);\n assertFalse(seqClassifierFlags0.groupByOutputClass);\n assertFalse(seqClassifierFlags0.powerAlignProbAsAddition);\n assertFalse(seqClassifierFlags0.useFeaturesC6gram);\n assertFalse(seqClassifierFlags0.conjoinShapeNGrams);\n assertFalse(seqClassifierFlags0.factorInBiEdgePotential);\n assertFalse(seqClassifierFlags0.strictGoodCoNLL);\n assertFalse(seqClassifierFlags0.doGibbs);\n assertEquals(0, seqClassifierFlags0.scaledSGDMethod);\n assertFalse(seqClassifierFlags0.useCTBChar2);\n assertFalse(seqClassifierFlags0.useFeaturesC5gram);\n assertEquals(1.0, seqClassifierFlags0.lambdaCH, 0.01D);\n assertFalse(seqClassifierFlags0.perceptronDebug);\n assertFalse(seqClassifierFlags0.useShapeStrings3);\n assertFalse(seqClassifierFlags0.useShapeStrings1);\n assertFalse(seqClassifierFlags0.useWordTag);\n assertFalse(seqClassifierFlags0.matchNERIncentive);\n assertFalse(seqClassifierFlags0.useShapeStrings5);\n assertFalse(seqClassifierFlags0.useWordnetFeatures);\n assertFalse(seqClassifierFlags0.useShapeStrings4);\n assertEquals(0.001, seqClassifierFlags0.adaGradEps, 0.01D);\n assertFalse(seqClassifierFlags0.useShapeStrings);\n assertEquals(1.0, seqClassifierFlags0.randomizedRatio, 0.01D);\n assertFalse(seqClassifierFlags0.learnENBasedOnCH);\n assertFalse(seqClassifierFlags0.checkNameList);\n assertFalse(seqClassifierFlags0.useYear);\n assertEquals(0.0, seqClassifierFlags0.priorAlpha, 0.01D);\n assertFalse(seqClassifierFlags0.useAbbr);\n assertFalse(seqClassifierFlags0.appendLC);\n assertFalse(seqClassifierFlags0.useObservedFeaturesOnly);\n assertFalse(seqClassifierFlags0.useEmbedding);\n assertFalse(seqClassifierFlags0.useNegDict2);\n assertFalse(seqClassifierFlags0.useEntityRule);\n assertFalse(seqClassifierFlags0.randomLopWeights);\n assertEquals(0, seqClassifierFlags0.nerSkipFirstK);\n assertFalse(seqClassifierFlags0.noEdgeFeature);\n assertFalse(seqClassifierFlags0.keepEnglishWhitespaces);\n assertEquals(1, seqClassifierFlags0.numLopExpert);\n assertFalse(seqClassifierFlags0.useCTBPre1);\n assertFalse(seqClassifierFlags0.useASBCChar2);\n assertFalse(seqClassifierFlags0.checkGradient);\n assertFalse(seqClassifierFlags0.useTags);\n assertFalse(seqClassifierFlags0.useNegDict3);\n assertFalse(seqClassifierFlags0.sloppyGazette);\n assertFalse(seqClassifierFlags0.useNegDict4);\n assertFalse(seqClassifierFlags0.skipOutputRegularization);\n assertFalse(seqClassifierFlags0.useGenericFeatures);\n assertEquals(1, seqClassifierFlags0.selfTrainIterations);\n assertEquals(1, seqClassifierFlags0.multiThreadPerceptron);\n assertFalse(seqClassifierFlags0.keepEmptySentences);\n assertFalse(seqClassifierFlags0.sparseOutputLayer);\n assertFalse(seqClassifierFlags0.useHKSuf1);\n assertEquals(0.01, seqClassifierFlags0.epsilon, 0.01D);\n assertFalse(seqClassifierFlags0.useGazettePhrases);\n assertFalse(seqClassifierFlags0.useMSRChar2);\n assertFalse(seqClassifierFlags0.printLabelValue);\n assertFalse(seqClassifierFlags0.useNERPriorBIO);\n assertEquals(0, seqClassifierFlags0.evaluateIters);\n assertFalse(seqClassifierFlags0.lazyUpdate);\n assertEquals(1, seqClassifierFlags0.CRForder);\n assertFalse(seqClassifierFlags0.useDictHK2);\n assertFalse(seqClassifierFlags0.useABSTRFreqDict);\n assertFalse(seqClassifierFlags0.purgeDatasets);\n assertFalse(seqClassifierFlags0.timitDatum);\n assertFalse(seqClassifierFlags0.addCapitalFeatures);\n assertEquals(0.0, seqClassifierFlags0.featureWeightThreshold, 0.01D);\n assertFalse(seqClassifierFlags0.makeConsistent);\n assertFalse(seqClassifierFlags0.useFeaturesC4gram);\n assertFalse(seqClassifierFlags0.useDictASBC2);\n assertEquals(2, seqClassifierFlags0.CRFwindow);\n assertFalse(seqClassifierFlags0.doFE);\n assertFalse(seqClassifierFlags0.useFeaturesCpC4gram);\n assertFalse(seqClassifierFlags0.useClassFeature);\n assertFalse(seqClassifierFlags0.useMsr);\n assertFalse(seqClassifierFlags0.useReverseAffix);\n assertEquals((-1), seqClassifierFlags0.purgeFeatures);\n assertFalse(seqClassifierFlags0.useIsURL);\n assertFalse(seqClassifierFlags0.useIsDateRange);\n assertEquals(0.1, seqClassifierFlags0.dualDecompInitialStepSizeAlignment, 0.01D);\n assertEquals(Double.POSITIVE_INFINITY, seqClassifierFlags0.searchGraphPrune, 0.01D);\n assertFalse(seqClassifierFlags0.usePrevSequences);\n assertFalse(seqClassifierFlags0.useGazFeatures);\n assertFalse(seqClassifierFlags0.intern);\n assertFalse(seqClassifierFlags0.useMidDotShape);\n assertFalse(seqClassifierFlags0.selfTest);\n assertFalse(seqClassifierFlags0.printProbs);\n assertEquals(0, seqClassifierFlags0.startEvaluateIters);\n assertTrue(seqClassifierFlags0.useCWSFeatures);\n assertFalse(seqClassifierFlags0.useCWSWordFeaturesBigram);\n assertEquals(1, seqClassifierFlags0.multiThreadGrad);\n assertFalse(seqClassifierFlags0.useRobustQN);\n assertTrue(seqClassifierFlags0.useInternal);\n assertFalse(seqClassifierFlags0.useDualDecomp);\n assertEquals(1, seqClassifierFlags0.terminateOnEvalImprovementNumOfEpoch);\n assertFalse(seqClassifierFlags0.useNegPKDict3);\n assertEquals(1.0, seqClassifierFlags0.alignDDAlpha, 0.01D);\n assertFalse(seqClassifierFlags0.useNegPKDict4);\n assertFalse(seqClassifierFlags0.dampDDStepSizeWithAlignmentProb);\n assertEquals(1, seqClassifierFlags0.featureThreshold);\n assertFalse(seqClassifierFlags0.useRule);\n assertFalse(seqClassifierFlags0.useNPHead);\n assertFalse(seqClassifierFlags0.useNegPKDict2);\n assertFalse(seqClassifierFlags0.usePhraseWordSpecialTags);\n assertEquals(0.0, seqClassifierFlags0.featureDiffThresh, 0.01D);\n assertEquals(1, seqClassifierFlags0.numDatasetsPerFile);\n assertFalse(seqClassifierFlags0.useBerkeleyCompetitivePosterior);\n assertFalse(seqClassifierFlags0.useObservedSequencesOnly);\n assertFalse(seqClassifierFlags0.useAltGazFeatures);\n assertFalse(seqClassifierFlags0.usePrevNextLemmas);\n assertFalse(seqClassifierFlags0.useChromaticSampling);\n assertFalse(seqClassifierFlags0.justify);\n assertFalse(seqClassifierFlags0.useCTBSuf1);\n assertEquals(1, seqClassifierFlags0.numRuns);\n assertFalse(seqClassifierFlags0.dualDecompNotBIO);\n assertEquals(0.0, seqClassifierFlags0.newgeneThreshold, 0.01D);\n assertFalse(seqClassifierFlags0.useDistSim);\n assertFalse(seqClassifierFlags0.useNext);\n assertFalse(seqClassifierFlags0.useUnknown);\n assertFalse(seqClassifierFlags0.iobWrapper);\n assertFalse(seqClassifierFlags0.useHKPre1);\n assertEquals(1, seqClassifierFlags0.bisequencePriorType);\n assertEquals(1.0, seqClassifierFlags0.adaptSigma, 0.01D);\n assertEquals(1.0, seqClassifierFlags0.lambdaEN, 0.01D);\n assertEquals((-1), seqClassifierFlags0.tuneSampleSize);\n assertEquals(4, seqClassifierFlags0.disjunctionWidth);\n \n String string0 = JSONObject.numberToString((Number) 0.95);\n assertNotNull(string0);\n assertEquals(\"0.95\", string0);\n \n JSONObject jSONObject0 = null;\n try {\n jSONObject0 = new JSONObject((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "de85637d4ba7288bbfe026e9c2e0671d", "score": "0.5713159", "text": "@Test(timeout = 4000)\n public void test159() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixCSV0);\n String[] stringArray0 = resultMatrixSignificance0.getOptions();\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(18, stringArray0.length);\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(25, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n }", "title": "" }, { "docid": "f1d4954d96b5929f0147776c05edd3e4", "score": "0.5709703", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n Discretize discretize0 = new Discretize(\"X]..?f\");\n discretize0.setAttributeIndices(\"X]..?f\");\n discretize0.m_MakeBinary = true;\n discretize0.m_DesiredWeightOfInstancesPerInterval = 1.7976931348623157E308;\n discretize0.binsTipText();\n discretize0.getOptions();\n discretize0.getBinRangesString((-1));\n discretize0.getRevision();\n assertEquals(1.7976931348623157E308, discretize0.getDesiredWeightOfInstancesPerInterval(), 0.01);\n }", "title": "" }, { "docid": "2d7d45d73e5f0258193fa70f56667f70", "score": "0.57089716", "text": "public static void main(String[] args) {\n\n\t\ttry {\n\n\t\t\tinput();\n\n\t\t\tclassEntropy = new double[partitionCount];\n\n\t\t\tfor (int i = 0; i < partitionCount; i++) {\n\t\t\t\tint yesCount = 0;\n\t\t\t\tint noCount = 0;\n\t\t\t\tint tCount = 0;\n\t\t\t\tfor (int j = 0; j < instanceCount; j++) {\n\n\t\t\t\t\tfor (int k = 0; k < classCount[i]; k++) {\n\t\t\t\t\t\tif (classData[i][k] == (j + 1)\n\t\t\t\t\t\t\t\t&& inputData[j][featureCount - 1] == 1)\n\t\t\t\t\t\t\tyesCount++;\n\t\t\t\t\t\tif (classData[i][k] == (j + 1)\n\t\t\t\t\t\t\t\t&& inputData[j][featureCount - 1] == 0)\n\t\t\t\t\t\t\tnoCount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tclassEntropy[i] = calculateEntropy(noCount, yesCount);\n\t\t\t}\n\n\t\t\tconditionalEntropy = new double[partitionCount][featureCount - 1];\n\t\t\tinformationGain = new double[partitionCount][featureCount - 1];\n\n\t\t\tfor (int i = 0; i < partitionCount; i++) {\n\t\t\t\tfor (int j = 0; j < featureCount - 1; j++) {\n\t\t\t\t\tint yesCount0 = 0;\n\t\t\t\t\tint noCount0 = 0;\n\t\t\t\t\tint yesCount1 = 0;\n\t\t\t\t\tint noCount1 = 0;\n\t\t\t\t\tint noCount2 =0;\n\t\t\t\t\tint yesCount2 =0;\n\n\t\t\t\t\tfor (int k = 0; k < classCount[i]; k++) {\n\t\t\t\t\t\tif (inputData[classData[i][k] - 1][j] == 0\n\t\t\t\t\t\t\t\t&& inputData[classData[i][k] - 1][featureCount - 1] == 0)\n\t\t\t\t\t\t\tnoCount0++;\n\t\t\t\t\t\telse if (inputData[classData[i][k] - 1][j] == 0\n\t\t\t\t\t\t\t\t&& inputData[classData[i][k] - 1][featureCount - 1] == 1)\n\t\t\t\t\t\t\tyesCount0++;\n\t\t\t\t\t\telse if (inputData[classData[i][k] - 1][j] == 1\n\t\t\t\t\t\t\t\t&& inputData[classData[i][k] - 1][featureCount - 1] == 0)\n\t\t\t\t\t\t\tnoCount1++;\n\t\t\t\t\t\telse if (inputData[classData[i][k] - 1][j] == 1\n\t\t\t\t\t\t\t\t&& inputData[classData[i][k] - 1][featureCount - 1] == 1)\n\t\t\t\t\t\t\tyesCount1++;\n\t\t\t\t\t\telse if (inputData[classData[i][k] - 1][j] == 2\n\t\t\t\t\t\t\t\t&& inputData[classData[i][k] - 1][featureCount - 1] == 0)\n\t\t\t\t\t\t\tnoCount2++;\n\t\t\t\t\t\telse if (inputData[classData[i][k] - 1][j] == 2\n\t\t\t\t\t\t\t\t&& inputData[classData[i][k] - 1][featureCount - 1] == 1)\n\t\t\t\t\t\t\tyesCount2++;\n\t\t\t\t\t}\n\n\t\t\t\t\tconditionalEntropy[i][j] = calculateConditionalEntropy(\n\t\t\t\t\t\t\tnoCount0, yesCount0, noCount1, yesCount1, noCount2, yesCount2);\n\t\t\t\t\tinformationGain[i][j] = classEntropy[i]\n\t\t\t\t\t\t\t- conditionalEntropy[i][j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfindMaxGainFeature();\n\t\t\tInputOutput.writeOutput();\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Partition unsuccessful...\");\n\t\t}\n\t}", "title": "" }, { "docid": "113ddbd5c9c3c8256fd34d7eb5a259fb", "score": "0.5698774", "text": "@Test(timeout = 4000)\n public void test03() throws Throwable {\n Discretize discretize0 = new Discretize();\n discretize0.toString();\n discretize0.useBinNumbersTipText();\n discretize0.setBins(2928);\n String[] stringArray0 = new String[4];\n stringArray0[0] = \"Use bin numbers (eg BXofY) rather than ranges for for discretized attributes\";\n stringArray0[1] = \"Use bin numbers (eg BXofY) rather than ranges for for discretized attributes\";\n stringArray0[2] = \"weka.filters.unsupervised.attribute.Discretize\";\n stringArray0[3] = \"Ur\";\n discretize0.setOptions(stringArray0);\n // Undeclared exception!\n try { \n discretize0.calculateCutPointsByEqualFrequencyBinning((-2100));\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.core.Instances\", e);\n }\n }", "title": "" }, { "docid": "93ac9728101c054ae027c344fd643c88", "score": "0.5691137", "text": "@Test(timeout = 4000)\n public void test156() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n int[][] intArray0 = new int[0][0];\n resultMatrixHTML0.setRanking(intArray0);\n resultMatrixHTML0.toStringKey();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n resultMatrixCSV0.getDefaultRowNameWidth();\n resultMatrixHTML0.getRevision();\n resultMatrixHTML0.setShowAverage(true);\n resultMatrixCSV0.getMean(1949, 2);\n resultMatrixCSV0.getDisplayName();\n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV();\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixCSV1);\n resultMatrixPlainText0.setRanking(intArray0);\n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML(resultMatrixPlainText0);\n assertFalse(resultMatrixHTML1.getShowAverage());\n \n resultMatrixHTML0.getDisplayName();\n boolean boolean0 = resultMatrixHTML0.getShowAverage();\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "250a84757189b875841e8bde609f5810", "score": "0.56900096", "text": "@Test(timeout = 4000)\n public void test064() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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 assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\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 assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n \n resultMatrixSignificance0.m_RowNameWidth = 2;\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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 assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\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 assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n \n resultMatrixSignificance0.LOSS_STRING = \"anwdt\\\"\";\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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 assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\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 assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n \n resultMatrixSignificance0.setCountWidth((-9));\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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 assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\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 assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n \n resultMatrixSignificance0.setStdDevPrec((-9));\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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 assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\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 assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n \n String string0 = resultMatrixSignificance0.toStringSummary();\n assertEquals(\"-summary data not set-\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(string0);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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 assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\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 assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\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(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(114, 0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex0);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(114, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(114, resultMatrixLatex0.getVisibleColCount());\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 assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\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 assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n \n String string1 = resultMatrixLatex0.globalInfo();\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", string1);\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 assertNotNull(string1);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(114, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(114, resultMatrixLatex0.getVisibleColCount());\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 assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\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 assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n \n int int0 = resultMatrixHTML0.getColCount();\n assertEquals(1, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\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(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n }", "title": "" }, { "docid": "a2559d87cc5cfaad0a84ce9cc2a00ded", "score": "0.5678994", "text": "@Test(timeout = 4000)\n public void test166() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(2, 0);\n int int0 = resultMatrixLatex0.getMeanWidth();\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, int0);\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n }", "title": "" }, { "docid": "8b32732975c9fa518af156356bd3793e", "score": "0.5676576", "text": "@Test(timeout = 4000)\n public void test050() 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 assertNotNull(resultMatrixSignificance0);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\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.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n resultMatrixSignificance0.m_RowNameWidth = 2;\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\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.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n resultMatrixSignificance0.LOSS_STRING = \"mean-width\";\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\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.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n resultMatrixSignificance0.setCountWidth((-9));\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\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.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n String string0 = resultMatrixSignificance0.toStringMatrix();\n assertEquals(\"Da (1)\\n--------------------\\nro \\n\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\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.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n resultMatrixSignificance0.setPrintRowNames(false);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\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(\"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.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\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(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\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 assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n \n String string1 = resultMatrixSignificance0.enumerateRowNamesTipText();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", 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 assertNotNull(string1);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\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(\"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.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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(2, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n }", "title": "" }, { "docid": "6c7198993ce246b216f11ab1531a3752", "score": "0.5674906", "text": "@Test(timeout = 4000)\n public void test102() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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 assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\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(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\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(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n \n int[] intArray0 = new int[4];\n intArray0[0] = 0;\n intArray0[1] = 0;\n intArray0[2] = 0;\n intArray0[3] = 0;\n int[] intArray1 = new int[7];\n assertFalse(intArray1.equals((Object)intArray0));\n \n intArray1[0] = 1;\n intArray1[2] = 2;\n intArray1[4] = 0;\n intArray1[5] = 1;\n intArray0[3] = 2;\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n \n String[] stringArray0 = new String[2];\n stringArray0[0] = \"\";\n stringArray0[1] = \" \";\n resultMatrixGnuPlot0.m_ColNames = stringArray0;\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n \n resultMatrixGnuPlot0.setRowName(0, \"\");\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(0, 1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixCSV0);\n assertTrue(resultMatrixCSV0.getPrintRowNames());\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(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\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(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\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.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n \n int[] intArray2 = new int[1];\n assertFalse(intArray2.equals((Object)intArray1));\n assertFalse(intArray2.equals((Object)intArray0));\n \n intArray2[0] = (-358);\n resultMatrixCSV0.setRowOrder(intArray2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(intArray2.equals((Object)intArray1));\n assertFalse(intArray2.equals((Object)intArray0));\n assertNotSame(intArray2, intArray1);\n assertNotSame(intArray2, intArray0);\n assertEquals(1, intArray2.length);\n assertTrue(resultMatrixCSV0.getPrintRowNames());\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(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\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(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\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.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertArrayEquals(new int[] {(-358)}, intArray2);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixPlainText0);\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\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(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n \n String string0 = resultMatrixPlainText0.padString(\"\", 294, false);\n assertEquals(\" \", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\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(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n \n String string1 = resultMatrixPlainText0.toStringSummary();\n assertEquals(\"-summary data not set-\", string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(string1.equals((Object)string0));\n assertNotNull(string1);\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\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(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixPlainText0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\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(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n \n int int0 = resultMatrixLatex0.getDefaultStdDevPrec();\n assertEquals(2, int0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\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(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n }", "title": "" }, { "docid": "20cfe974190145aa319b25a3fea9d53f", "score": "0.56740963", "text": "@Test\n public void test128()\n {\n MizuchiRNG r1 = new MizuchiRNG(), r2 = new MizuchiRNG();\n for (int i = 0; i < 8; i++) {\n r1.nextLong();\n r2.nextLong();\n }\n long a, b, x, y;\n for (int i = 0; i < 0x10000000; i++) {\n a = r1.nextLong();\n b = r2.nextLong();\n x = mulhi(a, b);\n y = mulPrecise(a, b);\n //System.out.printf(\"On iteration %d, 0x%016X * 0x%016X (sum %016X) gave: 0x%016X and 0x%016X\", i, a, b, a+b, x, y);\n if(x != y)\n {\n System.out.println(\"\\n :( by \" + (y - x) + \" \");\n break;\n //x = mulhi(a, b);\n //System.out.println(x);\n }\n //else System.out.println();\n }\n }", "title": "" }, { "docid": "2dab75c4162fd479e0c5f7d2a371cfed", "score": "0.56738245", "text": "@Test\n\tpublic void testNormal()\n\t{\n\t\tint result = rn.calculateRecovery(500,1000);\n\t\tassertEquals(result,500);\n\t}", "title": "" }, { "docid": "22366e39fa285f349fa61e5566087c83", "score": "0.5668578", "text": "@Test(timeout = 4000)\n public void test107() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\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(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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 assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\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(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(93, 2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(93, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(93, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n \n resultMatrixGnuPlot0.clear();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(93, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(93, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixGnuPlot0);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixLatex0);\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(93, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(93, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(50, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(93, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(93, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n \n resultMatrixLatex0.setSize(1, 0);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(93, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(93, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(50, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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 assertTrue(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixPlainText0);\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\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(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n }", "title": "" }, { "docid": "d0db26402ccd3ebc6e6bc36f11a0ba8f", "score": "0.56677026", "text": "@Test(timeout = 4000)\n public void test184() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n int[][] intArray0 = new int[1][0];\n resultMatrixHTML0.setRanking(intArray0);\n String string0 = resultMatrixHTML0.toStringKey();\n assertEquals(\"<table border=\\\"1\\\" cellpadding=\\\"3\\\" cellspacing=\\\"0\\\">\\n <tr><td colspan=\\\"2\\\"><b>Key</b></td></tr>\\n <tr><td><b>(1)</b></td><td>col0</td></tr>\\n</table>\\n\", string0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n int int0 = ResultMatrix.SIGNIFICANCE_TIE;\n resultMatrixHTML0.getRevision();\n resultMatrixHTML0.setShowAverage(true);\n resultMatrixCSV0.getDisplayName();\n resultMatrixHTML0.m_NonSigWins = intArray0;\n String[] stringArray0 = new String[1];\n stringArray0[0] = \"*\";\n resultMatrixCSV0.m_RowNames = stringArray0;\n resultMatrixCSV0.setMean(0, 1, 1453.095346975402);\n int int1 = resultMatrixHTML0.getDisplayRow(0);\n assertEquals(0, int1);\n \n resultMatrixCSV0.getDefaultEnumerateColNames();\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n }", "title": "" }, { "docid": "3cca16f2d8b71001bdf8f3253278725b", "score": "0.56658024", "text": "@Test\n\tpublic void capTest37() {\n\t\tassertTrue(JunitTester.canCaptureTest(yellowKingvsKingBoard, 4, 0));\n\t}", "title": "" }, { "docid": "49abbb8831a83b05872247166227e7e1", "score": "0.5664218", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n int[] intArray0 = new int[1];\n resultMatrixSignificance0.m_RankingDiff = intArray0;\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 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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n intArray0[0] = 2;\n resultMatrixSignificance0.m_RankingWins = intArray0;\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 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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n resultMatrixSignificance0.m_PrintRowNames = false;\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 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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n resultMatrixSignificance0.m_PrintRowNames = true;\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 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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n int int0 = resultMatrixSignificance0.getDefaultColNameWidth();\n assertEquals(0, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n int int1 = 1629;\n resultMatrixSignificance0.setMeanPrec(1629);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1629, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\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(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.toStringKey();\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": "94adf85e9e3f80b97f5a60af5e6616cf", "score": "0.56639934", "text": "@Test(timeout = 4000)\n public void test060() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getRowCount());\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 assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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 \n int[][] intArray0 = new int[3][2];\n resultMatrixSignificance0.m_NonSigWins = intArray0;\n assertEquals(0, resultMatrixSignificance0.getRowCount());\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 assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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 \n int[] intArray1 = new int[4];\n boolean[] booleanArray0 = new boolean[4];\n booleanArray0[0] = false;\n booleanArray0[1] = true;\n booleanArray0[2] = true;\n booleanArray0[3] = false;\n resultMatrixSignificance0.m_RowHidden = booleanArray0;\n assertEquals(0, resultMatrixSignificance0.getRowCount());\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 assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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 \n intArray1[0] = 0;\n intArray1[1] = 0;\n intArray1[2] = 0;\n intArray1[3] = 0;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[7];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 1;\n intArray2[1] = 1;\n intArray2[2] = 2;\n intArray2[3] = 2;\n intArray2[4] = 0;\n String string0 = resultMatrixSignificance0.getRowName(2138);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNull(string0);\n assertEquals(0, resultMatrixSignificance0.getRowCount());\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 assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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 \n intArray2[5] = 1;\n intArray2[6] = 2;\n intArray0[1] = intArray2;\n int[] intArray3 = new int[6];\n assertFalse(intArray3.equals((Object)intArray1));\n assertFalse(intArray3.equals((Object)intArray2));\n \n intArray3[0] = 2;\n intArray3[1] = 0;\n intArray3[2] = 0;\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(0, 0);\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 assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\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(\"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, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\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(\"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, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n \n resultMatrixSignificance1.m_StdDevWidth = 0;\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\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(\"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, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n \n String string1 = resultMatrixGnuPlot0.getColName(4019);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertNull(string1);\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\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(\"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, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n \n boolean boolean0 = resultMatrixGnuPlot0.getDefaultShowAverage();\n assertFalse(boolean0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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 assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\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(\"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, resultMatrixSignificance1.getCountWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n }", "title": "" }, { "docid": "aad4c13213078d0f11da88f0f368912d", "score": "0.5663917", "text": "@SuppressWarnings(\"unchecked\")\r\n private void generateTestcases(int p_size, int p_noiseLevel,\r\n int p_incompletenessLevel) {\r\n int p, i, j, r, ffc, max, one, zero;\r\n Random random;\r\n ArrayList<Integer> pos, pos2;\r\n int testcase[];\r\n\r\n p = this.phenotypeLength;\r\n i = 0;\r\n j = 0;\r\n r = 0;\r\n random = new Random();\r\n\r\n this.testCaseCount = p_size;\r\n this.testCases = new int[p_size][p];\r\n\r\n pos = new ArrayList<Integer>();\r\n for (i = p - 1; i >= 0; --i)\r\n pos.add(new Integer(i));\r\n\r\n for (i = 0; i < p_size; ++i) {\r\n testcase = new int[p];\r\n for (j = p - 1; j >= 0; --j)\r\n testcase[j] = (j ^ 1) & 1;\r\n\r\n pos2 = (ArrayList<Integer>) pos.clone();\r\n for (j = this.internalIncompletenessDifficultyLevel - 1; j >= 0; --j) {\r\n r = random.nextInt(pos2.size());\r\n testcase[pos2.get(r).intValue()] = 2;\r\n pos2.remove(r);\r\n }\r\n\r\n for (j = this.internalNoiseDifficultyLevel - 1; j >= 0; --j) {\r\n r = random.nextInt(pos2.size());\r\n testcase[pos2.get(r).intValue()] ^= 1;\r\n pos2.remove(r);\r\n }\r\n\r\n this.testCases[i] = testcase;\r\n }\r\n\r\n byte[] correctSolution = new byte[(this.phenotypeLength >> 3) + 1];\r\n for (i = correctSolution.length - 1; i >= 0; --i)\r\n correctSolution[i] = (byte) this.SOLUTION_VALUE;\r\n\r\n ffc = this.functionalObjectiveFunctionCount;\r\n this.functionalObjectiveFunctionCount = 1;\r\n\r\n this.minimumFitnessToSuccess = this\r\n .calculateFunctionalObjectivFitness(correctSolution, 0,\r\n this.phenotypeLength);\r\n \r\n max = 0;\r\n \r\n for( i = 0; i < p; ++i )\r\n {\r\n one = 0;\r\n zero = 0;\r\n \r\n for( j = 0; j < p_size; ++j )\r\n {\r\n if( this.testCases[j][i] == 1)\r\n ++one;\r\n else if( this.testCases[j][i] == 0 )\r\n ++zero;\r\n }\r\n \r\n max += Math.max(one, zero);\r\n }\r\n \r\n this.maximumFitness = max;\r\n\r\n this.functionalObjectiveFunctionCount = ffc;\r\n }", "title": "" } ]
69f0966361e4e664d2bfad8eef7ed2e2
Validation to ensure strong password
[ { "docid": "f4f469dfcbeff8d555574a1bae81ad5e", "score": "0.0", "text": "public static boolean isValid(final String password){\n\n Matcher matcher = pattern.matcher(password);\n \n return matcher.matches();\n\n }", "title": "" } ]
[ { "docid": "b48b74b0a70989dbfa5b28a870ea19d7", "score": "0.7324863", "text": "boolean checkPassword(@NotNull User user, @NotNull String plainPassword);", "title": "" }, { "docid": "53c5734b1df2136ae818019be7a04b6e", "score": "0.7183853", "text": "boolean verifyPassword(String password);", "title": "" }, { "docid": "71e3216b8fb808210c5377bd59fae0fe", "score": "0.71329796", "text": "boolean hasPassword();", "title": "" }, { "docid": "71e3216b8fb808210c5377bd59fae0fe", "score": "0.71329796", "text": "boolean hasPassword();", "title": "" }, { "docid": "71e3216b8fb808210c5377bd59fae0fe", "score": "0.71329796", "text": "boolean hasPassword();", "title": "" }, { "docid": "71e3216b8fb808210c5377bd59fae0fe", "score": "0.71329796", "text": "boolean hasPassword();", "title": "" }, { "docid": "71e3216b8fb808210c5377bd59fae0fe", "score": "0.71329796", "text": "boolean hasPassword();", "title": "" }, { "docid": "71e3216b8fb808210c5377bd59fae0fe", "score": "0.71329796", "text": "boolean hasPassword();", "title": "" }, { "docid": "8217d95f88cb01695e74a7b2d6227528", "score": "0.70996076", "text": "public boolean checkPassword(){\n if(pass_reg.getText().equals(confirm_reg.getText()) && (!(pass_reg.getText().isEmpty() && confirm_reg.getText().isEmpty()))){\n String inputPassword = pass_reg.getText();\n HashSalt hashedSaltedPass = new HashSalt();\n salt = hashedSaltedPass.createSalt();\n stringSalt = hashedSaltedPass.encodeHexString(salt);\n password = hashedSaltedPass.genHashSalted(inputPassword, salt);\n return true;\n }else {\n return false;\n }\n }", "title": "" }, { "docid": "aae43cc5d0a4272cf3cc55d5c67d9437", "score": "0.7031362", "text": "public static Boolean isValidPassword(String password){\n //ToDO password validation\n return true;\n }", "title": "" }, { "docid": "e9aa83c3606ecfdd865fa8b52992f609", "score": "0.6990747", "text": "String checkValidity(User user, String proposedPassword);", "title": "" }, { "docid": "462e16681a872ed4ad852e3dbef8155a", "score": "0.6951883", "text": "private boolean isPasswordValid(){\n String b = \"\";\n return (b.equals(mPassword.getText().toString()));\n }", "title": "" }, { "docid": "dbdd11a4ae6d3f07e49cfbb78f8dae5d", "score": "0.6950292", "text": "private boolean checkValidation(String new_pass) {\n if(new_pass.length()>=8 && isValidPassword(new_pass)) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "5dd3f2606e58effb6c8b53e76274f593", "score": "0.6943862", "text": "private boolean isPasswordValid(String password) {\n return password.length() >= 8;\n }", "title": "" }, { "docid": "46926b6eb5c9cdfde5e5d3378257fc72", "score": "0.6909249", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 2;\n }", "title": "" }, { "docid": "326b928327e0b80283827cb37f0749f9", "score": "0.6901786", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 8;\n }", "title": "" }, { "docid": "e10bca37ac079e4c3741fcc46538c6e7", "score": "0.68893474", "text": "private boolean validateEntirePassword() {\n String EntirePasswordInput = edtEntirePassword.getText().toString().trim();\n String Password = edtNewPass.getText().toString().trim();\n if (!EntirePasswordInput.equals(Password)) {\n edtEntirePassword.setError(\"Entire Wrong !!!\");\n\n return false;\n } else if (EntirePasswordInput.isEmpty()) {\n edtEntirePassword.setError(\"Field can't be empty!\");\n return false;\n\n } else {\n\n edtEntirePassword.setError(null);\n return true;\n }\n }", "title": "" }, { "docid": "f590a72b7adf42f7e230e6b0cf07578d", "score": "0.688142", "text": "private void validatePassword() {\n password.setError(\"Please enter user password\");\r\n password.requestFocus();\r\n }", "title": "" }, { "docid": "f648a758308348e90f1d77b3a0225968", "score": "0.68811035", "text": "private boolean passwordIsValid() {\n String password = this.getPassword();\n String retype_password = String.valueOf(\n this.retype_password_passwordfield.getPassword());\n if (Validation.argIsEmpty(password)) {\n new WarningDialog(Define.NOINPUT_MESSAGE_1\n + this.INPUT_ERROR_PASSWORD + Define.NOINPUT_MESSAGE_2,\n this.main_frame);\n return false;\n } else if (!password.equals(retype_password)) {\n new WarningDialog(Define.PASSWORD_DO_NOT_MATCH_MESSAGE,\n this.main_frame);\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "f15413dbe989f9095c390bf162b6fe44", "score": "0.6850258", "text": "@Override\r\n\tpublic boolean validatePassword(String password) throws ClaimRegException {\r\n\t\tboolean passFlag = false;\r\n\t\tString passwordRegEx = \"[a-zA-Z0-9]{1,12}\";\r\n\r\n\t\tif (Pattern.matches(passwordRegEx, password)) {\r\n\t\t\tpassFlag = true;\r\n\t\t} else {\r\n\t\t\tthrow new ClaimRegException(\"password should be alphanumeric and not more than 12 characters\");\r\n\t\t}\r\n\r\n\t\treturn passFlag;\r\n\t}", "title": "" }, { "docid": "4e3d8e835980e7dc65a415964734e590", "score": "0.6835147", "text": "@When(\"valid password\")\r\n\tpublic void valid_password() {\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2601ef91b174ed21238f7f3c674acebe", "score": "0.68193996", "text": "public abstract boolean passwordValida(String nickname, String password);", "title": "" }, { "docid": "45ebec93238b4e46fac7b8f9a1136959", "score": "0.680866", "text": "private boolean isPasswordValid(String password) {\n boolean flag = true;\n String pw = preferences.getString(CommonString.KEY_PASSWORD, \"\");\n if (!pw.equals(\"\") && !password.equals(pw)) {\n flag = false;\n }\n return flag;\n }", "title": "" }, { "docid": "c3bda59af37bc7213926e1b442ad6b2a", "score": "0.677656", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 6;\r\n }", "title": "" }, { "docid": "c042d6727fb88dac4dc46c0d09f51df5", "score": "0.6776201", "text": "@Test\n public void aValidPassphrase_returnsTrue() {\n boolean checkPassphrase = passwordValidator.isValidPassword(\"aa bb cc dd ee\");\n Assertions.assertThat(checkPassphrase).isTrue();\n }", "title": "" }, { "docid": "f395b70568fb8188d8419c67833503e1", "score": "0.6774606", "text": "@Override\r\n\tpublic void validate() {\n\t\tuserId = request.getSession().getAttribute(\"userid\").toString();\r\n\t\tUserInfo userInfo = new UserInfoDAO().findByUserId(userId);\r\n\t\tPattern pattern=Pattern.compile(\"^[A-Za-z0-9_]+$\");\r\n\t Matcher matcher=pattern.matcher(newPassword);\r\n\t\t\t\t\r\n\t\tif (oldPassword.length()>0&&!userInfo.getUserPassword().equals(oldPassword)) {\r\n\t\t\tthis.addFieldError(\"oldPassword\", \"原密码错误\");\r\n\t\t} else if (newPassword.length()>0&&!matcher.matches()) {\r\n\t\t\tthis.addFieldError(\"newPassword\", \"密码为数字、字母或下划线\");\r\n\t\t} else if (newPassword.length()>0&&confirmPassword.length()>0&&!newPassword.equals(confirmPassword)) {\r\n\t\t\tthis.addFieldError(\"confirmPassword\", \"密码不一致\");\r\n\t\t}\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "661132e1b11d802d7ddf3cd01e9bee49", "score": "0.67681754", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\r\n }", "title": "" }, { "docid": "2810f16fa0f196d1dfb6935f3e933824", "score": "0.67600065", "text": "@Test\n public void givenPassword_whenProper_shouldReturnTrue() {\n boolean password = userRegistration.validateUserPassword(\"@Mercy123\");\n assertTrue(password);\n }", "title": "" }, { "docid": "d5f5983d4d91cb2e50c27f91a6020d67", "score": "0.6752471", "text": "private boolean isPasswordValid(String password) {\n return password.length()>5;\n }", "title": "" }, { "docid": "7359fa1bc55d24b2e9a6334b65d4cdbc", "score": "0.6745052", "text": "private boolean checkPassword() {\n\t\tif (password.length() == 0) {\n\t\t\tconnectGui.wrongFormatMessage(\"Please enter password\");\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "d11d92b961ebe41fd1882ee1992d9c03", "score": "0.6712041", "text": "void validateExpirationUsersPassword();", "title": "" }, { "docid": "f6a31b8e10a30f153823d7a3d2ce0dd1", "score": "0.67096394", "text": "private boolean isValidPassword(String pass) {\n if (pass != null && pass.length() > 0) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "c51848e20a5516d83ba31f2105f8c6da", "score": "0.67083687", "text": "private boolean isValidPassword(String password) {\n return password.length() >= 8;\n }", "title": "" }, { "docid": "814ab3d764222769bbbe8a14d5cb8008", "score": "0.6704527", "text": "@Override\n public boolean isValid(String password, ConstraintValidatorContext constraintValidatorContext) {\n return StringUtils.hasLength(password) && password.length() >= 4 && !password.equals(password.toLowerCase()) && password.matches(\".*\\\\d.*\");\n }", "title": "" }, { "docid": "fa51b23b139f7b4283db3ff75f4e65c3", "score": "0.67038", "text": "@Override\n\tpublic boolean checkPassword(String password) {\n\t\treturn password.equals(this.password);\n\t}", "title": "" }, { "docid": "743b130886bdbc9d27f5a8e61f0a870d", "score": "0.67017627", "text": "private void checkPassValidation(User user) {\n\t\tString pass = user.getPass();\n\t\tif (pass == null || pass.length() < 8 || pass.length() > 20) {\n\t\t\tthrow new InvalidException(\"User Password invalid\");\n\t\t}\n\t}", "title": "" }, { "docid": "2e7a8745f5daf5b1f7fff7d7406b9e19", "score": "0.66947484", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 3;\n }", "title": "" }, { "docid": "53a061eb8490efd053161ce3d3f14d0f", "score": "0.6689804", "text": "private boolean isPasswordValid(String password) {\n return password.length() >= 6;\n }", "title": "" }, { "docid": "c9d4556fd20025c329aa8f00853bd06f", "score": "0.66852117", "text": "boolean isMatchPassword(Password password);", "title": "" }, { "docid": "d8af6e57b6b2d32285c7f123ab989e3f", "score": "0.66735595", "text": "public boolean getPassword(String password) throws ValidationExceptions {\n try {\n return Pattern.matches(\"^(?=.*[A-Z])(?=.*\\\\d)(?=.*[a-zA-z0-9!@#$%^&*()_+=-{};':<>,./?~`]).{8,}$\", password);\n } catch (Exception e){\n throw new ValidationExceptions(\"Invalid password\");\n }\n }", "title": "" }, { "docid": "a8e0f01dc15b14ff435bbbd417d0f008", "score": "0.666689", "text": "private boolean isPasswordValid() {\n\t\t\n\t\tif(password == null) {\n\t\t\tmessage = \"Password is required!\";\n\t\t\treturn false;\n\t\t}\n\t\telse if(password.length() < 6 || password.length() > 20) {\n\t\t\tmessage = \"Password must have between 6 and 20 characters!\";\n\t\t\treturn false;\n\t\t}\n\t\telse if(! password.equals(repeatPassword)) {\n\t\t\tmessage = \"Password's don't match!\";\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "95be6e480a90071c71b49938552004d3", "score": "0.66661745", "text": "public Boolean checkPasswordStrength(String password){\n\t\treturn validatePassword(password);\n\t}", "title": "" }, { "docid": "ddedb0c9d87dab4be1e260cad0fa1059", "score": "0.66625935", "text": "private boolean isPasswordValid(String password) {\n return password.length() >= 4;\n }", "title": "" }, { "docid": "41aa09507b5a0707d78eaee7deb90786", "score": "0.66524404", "text": "boolean containsPassword(ProtectedPassword password);", "title": "" }, { "docid": "531b19d62b027d9ccaa4e77e1656700d", "score": "0.66462487", "text": "@Test\n\tpublic void invalidPasswordForInvalidPolicies() {\n\t\tString email = \"F40@gmail.com\";\n\t\tString oldPass = \"Ferrari\";\n\t\tString newPass = \"1234\";\n\n\t\tassertEquals(false, User.updatePassword(email, oldPass, newPass));\n\t}", "title": "" }, { "docid": "ebe0763e1b80e18fcb073547c8e4cefc", "score": "0.66459703", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 6;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "c9cb8190ba6ca22d3bc3b5a9f17378a9", "score": "0.6633873", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 4;\n }", "title": "" }, { "docid": "f859cb6ceb710270d79fa8cd1b7a2fe5", "score": "0.6622917", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 5;\n }", "title": "" }, { "docid": "f859cb6ceb710270d79fa8cd1b7a2fe5", "score": "0.6622917", "text": "private boolean isPasswordValid(String password) {\n return password.length() > 5;\n }", "title": "" }, { "docid": "bfe5b83053dbb08b989921cb6a9c68cf", "score": "0.6611369", "text": "@Override\r\n\tpublic boolean validatePasswordInDatabase(String userName, String password) throws ClaimRegException {\r\n\t\tboolean passFlag = false;\r\n\t\tString passwordRegEx = \"[a-zA-Z0-9]{1,12}\";\r\n\r\n\t\tif (Pattern.matches(passwordRegEx, password)) {\r\n\t\t\tint existingPassword = claimDao.validatePasswordInDatabase(userName, password);\r\n\t\t\tif (existingPassword == 0) {\r\n\t\t\t\tthrow new ClaimRegException(\"Password is incorrect. Please enter again\");\r\n\t\t\t} else\r\n\t\t\t\tpassFlag = true;\r\n\t\t} else {\r\n\t\t\tthrow new ClaimRegException(\"password should be alphanumeric and not more than 12 characters\");\r\n\t\t}\r\n\r\n\t\treturn passFlag;\r\n\t}", "title": "" }, { "docid": "59f290fedcc964942025a3288c98d0bf", "score": "0.65983015", "text": "@Test\n public void anAnagramValidPassphrase_returnsTrue() {\n boolean checkPassphrase = passwordValidator.isValidPassword(\"abcde fghij\");\n Assertions.assertThat(checkPassphrase).isTrue();\n }", "title": "" }, { "docid": "9f6b9e0bd170229c478cfd2cd798f0f8", "score": "0.6595107", "text": "public boolean validatePassword(String password) {\n boolean valid = false;\n Pattern pattern = Pattern.compile(PASSWORD_PATTERN);\n Matcher matcher = pattern.matcher(password);\n\n if(matcher.matches()){\n valid = true;\n } else {\n passwordET.setError(\"Invalid Password\");\n Toast.makeText(getApplicationContext(), \"Password must be 8-40 characters long and contain AT LEAST\\nONE upper case, ONE lower case and ONE number\", Toast.LENGTH_LONG).show();\n }\n return valid;\n }", "title": "" }, { "docid": "274ba8ef61450f0d6c0cde67427c6f0d", "score": "0.65917754", "text": "public abstract PasswordCheckerResult checkPassword(char[] password);", "title": "" }, { "docid": "9b084cf0de4bf39212fc30086b2220e6", "score": "0.65884036", "text": "public boolean isPasswordCorrectForUser(String username, String userPassword);", "title": "" }, { "docid": "6cbadbb7edd7c53024a6826170c3037d", "score": "0.65883255", "text": "boolean checkPassword(UserDTO user, String password);", "title": "" }, { "docid": "c3ef58542834b6c5b70faedfea24b2f0", "score": "0.6574661", "text": "private boolean isPasswordMachValid(String password, String confirmPassword) {\n if(password == confirmPassword){\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "eeecafb0beb78674197ca2d6dccb2a5f", "score": "0.6572192", "text": "@Test\n\tvoid validPasswordLengthTest()\n\t{\n\t\tassertTrue(account.checkLength(account.getPassword(), 6));\n\t}", "title": "" }, { "docid": "fd2365ca077c89c768fde6da0dc902a6", "score": "0.6570152", "text": "public boolean passwordCheck(String password){\n // regex is taken from the link because there is only way to valid for the password with the specific length\n // specific other requirement too.\n // link where i only copy the regex.\n // https://mkyong.com/regular-expressions/how-to-validate-password-with-regular-expression/\n return password.matches(\"^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#&()–[{}]:;',?/*~$^+=<>]).{6,15}$\");\n }", "title": "" }, { "docid": "0e139d78b03ca731f251160002ec1954", "score": "0.65695035", "text": "public boolean checkPassword(String input)\n {\n StrongPasswordEncryptor encryption = new StrongPasswordEncryptor();\n return encryption.checkPassword(input, encryptedPassword);\n }", "title": "" }, { "docid": "0475321d56b3cfaf41134564b366cd7a", "score": "0.65633", "text": "@When(\"^user enter valid Password$\")\r\n\tpublic void user_enter_valid_Password() throws Throwable {\n\t throw new PendingException();\r\n\t}", "title": "" }, { "docid": "a667a2a49aad90ec3e18168e0681f0ee", "score": "0.65581983", "text": "@Test\n\tpublic void testValidation() throws Exception {\n\t\tfinal String encryptedPassword = \"5e4682898e6dce60d5b30d50aefcc58975a6a3bd0d9b34197c1d45043b854185591413f03e76c4d2bbdbdeb6f49c63c6394b63b24faef7b2af0061f9f8f09d3e385cdfb01d14dca2c7e728ab0dada34279d166d8df988bf572f455a809ab0b6e3154f233ae1a4fd72ffc6039c5e5565c1dc43192b707fcce9dec850299790bceae7d87e6c206a4487649ba8cbc4432f5da33984a602e074c137024a01b500b3bee61e345f397ed56b8c640bfdac1564c850f540f02f719ce9dfdb44221d43e20941712305bfbd6a1535de7a42f0baae29c48229e89173ca0b5062dbad420184e46f781b06f9d2dd5e9bababb2104fb60429ae69fac38d85a1d3390fa4419b491606e4931945e07bf89abeb5de4d31b4392fa5bd0f3ad11ef29f878d7ac628a5270498d34300f1e07db817bad7245047b94fe57a5ee56fba5c5233dd579f81a7b7bbb4a79148e4f68c4488c6e6352480399dd4f1dfef7ede3b77fe51a3c06f45dd28f5edaef89b82d42fa983f5a46c21f62b9999de085a45b851bcf7ef69f77ef351d78751e774488396612ce0c9ff694f6596c9f9555badda157ef6adff455835f5afe8492d28d4a119bf238394517b008d206f8e1822bd7f70a83e039140db1ba6b54f5af3614f6805a08ec5caca9b92fcf885a57978bf7b07c1403e54583ff0c5d862f1cef5b3fce7e27ca4c87c88703e45c3fae197526a7464d62ad1001b2:5000:dd5e8e47473d2f4bd5df4a3e3e2e90ba2960e81a5adc48d9f8f2c55df64957a9e8be1fa77aae1bc5c04ec12fbbb943f75e31b05c21194aed843e6507c810aea0612d0d9b99d6cd991312fef958d192991a9f1c9c1f5774ec8d1851d1e19a59aa15be2e36f3b290e7fc760fe29e9ce6f3bcfa7c8890eac463b7694b84390c26375bab30225f1ca8f4336b2c9904c0fba64360d777c03ce2ba0ebef2cce4bcf4fec298f77ba2bdbae1e4e99f5f9b0cbf05f82b77f261d09f22516c98f5095b47f10761a2d6fecfc59cc19aaf42dc4302e48115bf2d51f327ff18c72fbfd5ea2933fd6fbf9cbc354abe3f4c0f51dc3db67b2a07c40110f395ea4aa60e6d2d66e7115e50c6ca045c9bbd411ebb7592e133ef8048a819600ac95e2fd20e4002fcd92a78837f524ddc2b5c3d2ed1ed69f5b2ab38db47123b443610f3a5af0ff2d08a2d6a330f2c4fda7dcd9ab3163a5166cdfcc8385bff3dd1ff625e416f7ddd453c23f0bd965dbbb824145b36c200214c7a1b1d9138e3a4c7fc2e96df8f944a8638990544f859599b27b547c6418370126ee160c8ade4d8416c378903b72def6d7cc3cb470894be6b4c521ac6a2a66af1eb94d0e97a496e50d9dea70381420854ca2e12f8d3dc9517e3ef4f506037cb3098b07170e0d4519ebcd9ef5123e528a9f533a179605c2ce2e7bc1dc98c3ede9375641ae44e775cc3bf4b4cf6400f13e7481c\";\n\n\t\tboolean isCorrect = Encryption.validateString(password, encryptedPassword);\n\n\t\tassertTrue(\"Our encryption algorithm should think this is correct.\", isCorrect);\n\t}", "title": "" }, { "docid": "5c47bf49b1b8a150ab870e97a5bd2d62", "score": "0.6555866", "text": "private boolean isPasswordValid(String password) {\n\t\treturn password.length() > 4;\n\t}", "title": "" }, { "docid": "2bcb75639a4d0dad17cac0fe9b5537fc", "score": "0.6552054", "text": "@And(\"^User enters a Reviewer valid password$\")\n\tpublic void user_enters_a_valid_password() throws Throwable {\n\t\tExcelLoadUtil excelUtil = new ExcelLoadUtil();\n\t\texcelUtil.setExcelFile(Constant.Path_TestDataLogin + Constant.File_TestDataLogin);\n\t\tString sPassword = ExcelUtils.getStringCellValue(excelUtil.getExcelWBook(), 0, 0, 1);\n\t\tboolean passWordField = Utilities.Utility.elementIsPresent(Login_Page_PO.Inpt_Password);\n\t\tif (passWordField == true) {\n\t\t\t// System.out.println(Login_Page_PO.Inpt_Password.getAttribute(arg0));\n\t\t\t// Assert.assertEquals(Login_Page_PO.Inpt_Password.getTagName(),\n\t\t\t// \"Operating Metrics\");\n\t\t\tLogin_Page_PO.Inpt_Password.clear();\n\t\t\tSystem.out.println(\"Password is \" + sPassword);\n\t\t\tLogin_Page_PO.Inpt_Password.sendKeys(sPassword);\n\t\t} else {\n\t\t\tSystem.out.println(\"Element \" + Login_Page_PO.Inpt_Password + \" is not present please check\");\n\t\t}\n\t\t// throw new PendingException();\n\t}", "title": "" }, { "docid": "0db4c1cf530573eac265d788faa3f77f", "score": "0.6546283", "text": "private boolean validateCurrentPassWord() {\n String passwordInput = edtCurrentPass.getText().toString();\n if (passwordInput.equals(\"\") && !passwordInput.matches(\"\\\\S\")) {\n edtCurrentPass.setError(\"Field can't be empty!\");\n return false;\n } else {\n edtCurrentPass.setError(null);\n return true;\n }\n }", "title": "" }, { "docid": "524939e2e71f28d23b1055fc427fdd75", "score": "0.6501667", "text": "private boolean isPasswordValid(String password) {\n return password != null && password.trim().length() > 5;\n }", "title": "" }, { "docid": "524939e2e71f28d23b1055fc427fdd75", "score": "0.6501667", "text": "private boolean isPasswordValid(String password) {\n return password != null && password.trim().length() > 5;\n }", "title": "" }, { "docid": "c9e12457510a9ce0b470f758e474edab", "score": "0.64984894", "text": "@Test\n\tvoid invalidPasswordLengthTest()\n\t{\n\t\tassertFalse(account.checkLength(account.getPassword(), 6));\n\t}", "title": "" }, { "docid": "87e17bdcbafe668c83995576eab9e46f", "score": "0.6497833", "text": "public static boolean validatePassword (UserBean bean) {\n\t\t\n\t\t// must have a password\n\t\tif(!Tools.exists(bean.getPassword())) {\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "fa7f8525007bd45454c57c0118a34d5c", "score": "0.6479232", "text": "public static boolean isValidPassword(String pass) {\r\n\t\tif (\r\n\t\t\tpass.length() < 8 ||\t//Must be longer than 8 characters\r\n\t\t\t!pass.replaceAll(\"[A-Za-z0-9!@#$%^&*()_+=]\", \"\").equals(\"\") ||\t//Only allowed characters\r\n\t\t\tpass.replaceAll(\"[0-9]\", \"\").equals(pass) ||\t//Must have at least 1 number\r\n\t\t\t(\t//Must contain at least 1 uppercase or 1 special character\r\n\t\t\t\tpass.replaceAll(\"[A-Z]\", \"\").equals(pass) &&\r\n\t\t\t\tpass.replaceAll(\"[!@#$%^&*()_+=]\", \"\").equals(pass)\r\n\t\t\t)\r\n\t\t)\r\n\t\t\treturn false;\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "03617cfb34cd618543216c11b22bdf37", "score": "0.6471689", "text": "public boolean verifyUserAndPassword(String username, String password) ;", "title": "" }, { "docid": "b1eb24ba8221fabd3bfbb21815844df9", "score": "0.6464006", "text": "public boolean verifyPassword(){\n\n boolean passwordMatch = passwordInDatabase();\n\n if(!passwordMatch){\n System.out.println(\"This password is incorrect.\");\n return false;\n } else{\n return true;\n }\n }", "title": "" }, { "docid": "39cebb3e79e95149733ff8bf1e3bafcf", "score": "0.64474285", "text": "boolean validatePassword() {\n String password = passwordET.getEditText().getText().toString().trim();\n String confirmPass = password2ET.getEditText().getText().toString().trim();\n\n if (password.isEmpty()) {\n passwordET.setError(\"Field can not be empty!\");\n return false;\n }else if (confirmPass.isEmpty()) {\n password2ET.setError(\"Field can not be empty!\");\n return false;\n } else if (!password.equals(confirmPass)) {\n password2ET.setError(\"Password doesn't match\");\n return false;\n } else {\n passwordET.setError(null);\n return true;\n }\n }", "title": "" }, { "docid": "6094179fae68b1af01ad2a91e7f08c6c", "score": "0.6429106", "text": "@Test\n\tvoid incorrectPasswordTest()\n\t{\n\t\tassertFalse(account.correctUserName(account.getInput(), account.getPassword()));\n\t}", "title": "" }, { "docid": "a7289b38f57a32dbbca857e1ab917bee", "score": "0.64248645", "text": "private boolean isValidPassword(String password) {\n if (StringUtils.isBlank(password)) {\n return false;\n }\n // check length: 4~64\n int length = password.length();\n if (length < 4 || length > 64) {\n return false;\n }\n // contains only lowcase characters\n if (!StringUtils.isAllLowerCase(password)) {\n return false;\n }\n // contains only a~z,0~9,dot\n for (int i = 0; i < length; ++i) {\n char c = password.charAt(i);\n if (!(c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '.') {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "e10b57d51cbcb0fe31eb1e3d8c21bae1", "score": "0.6423802", "text": "public abstract long checkUsernamePassword(String username, String password);", "title": "" }, { "docid": "f943a32ff31c48b39d7bf96edd6d8a9a", "score": "0.6411445", "text": "public boolean checkPassword(String password){\n return this.password.equals(password);\n }", "title": "" }, { "docid": "64c7a612c9f92d3d5d215b354a73d4e2", "score": "0.6410644", "text": "private boolean isValidPassword(String pass) {\n\t\tif (pass != null && pass.length() > 6) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "be9e8fc829f5164b4a2c1afee9f60fbe", "score": "0.6401203", "text": "public boolean isValidPassword(String value)\n\t{\n\t\treturn password.equals(value);\n\t}", "title": "" }, { "docid": "308789afed956ed6b611d639a9e4ad46", "score": "0.6399354", "text": "private boolean validateField(String email, String password) {\n if (email.isEmpty()) {\n return false;\n }\n\n if (password.isEmpty()) {\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "2bb0d7cde5258aed334f245da4141a4f", "score": "0.6399299", "text": "private boolean isPasswordValid(String password) {\r\n return !TextUtils.isEmpty(password) && password.trim().length() > 5;\r\n }", "title": "" }, { "docid": "95e1b1c4ea6a883729d513aceef83c6a", "score": "0.63988394", "text": "@Override\n public boolean validateUserPassword(String email, String password) {\n User user;\n try {\n user = userRepository.findById(email.toLowerCase()).get();\n } catch (NoSuchElementException e) {\n return false;\n }\n return PasswordUtils.verify(password, user.pass_hash());\n }", "title": "" }, { "docid": "64c5982f266c0fe16dc3e2440919808f", "score": "0.63852453", "text": "@NotNull\n String hashPassword(@NotNull String plainPassword);", "title": "" }, { "docid": "1918ad6f10ce08388875bc8680cddfd9", "score": "0.63834107", "text": "@Override\r\n\tpublic boolean validatePassword(String password) {\r\n\t\tif (password != null) {\r\n\t\t\treturn validations.customerPassword(password);\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6fc315aec0dbeb2b44515628dbb66fe9", "score": "0.6379136", "text": "public GeneralVerification enterpassword() {\n\t\r\n password_txt.click();\r\n\t\r\n String validpassword = TestData.password();\r\n\t\r\n\tCommon.log(\"--->Enter Invalid Password = \"+validpassword+ \" <---\");\r\n\t\r\n\tpassword_txt.sendKeys(validpassword);\r\n\t\r\n\treturn new GeneralVerification(driver);\r\n}", "title": "" }, { "docid": "ec9dfbbe61ca9ee641c43bb721a90da2", "score": "0.6368076", "text": "public String validateUserAndPassword()\r\n\t{\r\n\t\t\r\n\t\tboolean valid = DatabaseValidation.check(this.username, this.password);\r\n\t\tif(valid)\r\n\t\t{\r\n\t\t\treturn \"success\";\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn \"failure\";\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b3107c5cd491e593e34e1de6203cf89c", "score": "0.63478285", "text": "private boolean isValidPassword(String password) {\n\n final String regex = \"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\\\W).*$\";\n final Pattern regexCD = Pattern.compile(regex);\n final Matcher matched = regexCD.matcher(password);\n return matched.matches();\n }", "title": "" }, { "docid": "40ce76db656998cd88945b3b33bfd8c2", "score": "0.6336913", "text": "public boolean isValidUserAndPass(User user) throws Exception ;", "title": "" }, { "docid": "6037b883e83fc02ac9450cab11f567a6", "score": "0.6335456", "text": "boolean detectPasswordRequiredByUrl(String url);", "title": "" }, { "docid": "4f2ee70fab9bd1aac78b986b86459d83", "score": "0.6306406", "text": "@Test\n\tvoid correctPasswordTest()\n\t{\n\t\tassertTrue(account.correctUserName(account.getInput(), account.getPassword()));\n\t}", "title": "" }, { "docid": "0135275cc431c9d3cc5ac890232513a4", "score": "0.63028264", "text": "public boolean validate(String email, String password) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ac97b715021b84159dac634b66ef4938", "score": "0.6302399", "text": "private boolean checkValidPassword(String password, String confirmPassword) {\n\t\tif (password.equals(confirmPassword)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "6315824a830e4bbf4b932f057fdd8599", "score": "0.6300434", "text": "public GeneralVerification enterinvalidpassword() {\n\tpassword_txt.click();\r\n\t\r\n String invalidpassword = TestData.invalidpassword();\r\n\t\r\n\tCommon.log(\"--->Enter Invalid Password = \"+invalidpassword+ \" <---\");\r\n\t\r\n\tpassword_txt.sendKeys(invalidpassword);\r\n\t\r\n\treturn new GeneralVerification(driver);\r\n}", "title": "" }, { "docid": "8fff23589ebfaa8e1f347d8d728c5a78", "score": "0.6293643", "text": "private void validateUserPasswordPolicy(BtxDetailsUserManagement btxDetails) throws Exception {\n UserDto userData = btxDetails.getUserData();\n userData.setPasswordPolicy(ApiFunctions.safeTrim(userData.getPasswordPolicy()));\n String passwordPolicy = ApiFunctions.safeString(userData.getPasswordPolicy());\n validatePasswordPolicy(passwordPolicy, btxDetails);\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f705cac9af7d3bfa9c407eb694744838", "score": "0.0", "text": "@Override\r\n public String getName() {\n return \"HotCityAdapter\";\r\n }", "title": "" } ]
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69742316", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.68059677", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.6648208", "text": "@Override\r\n\tpublic void 위험물회피() {\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": "096eb77080c8c192fe461650f49ca14b", "score": "0.65149313", "text": "@Override\r\n public void catering() {\r\n\r\n }", "title": "" }, { "docid": "a21047eaafcc2c1ada6326bfbe33e0ad", "score": "0.64755934", "text": "@Override\r\n public void alquilar() {\n }", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64358324", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.6414421", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cc5af39f74474ffdb7b456b8a10d5774", "score": "0.6357822", "text": "@Override\r\n\tpublic void 길안내() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c18c3127184f8abd7be145ddb9d4c3e6", "score": "0.6348844", "text": "@Override\r\n\tpublic void 온도내리기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bde53ee3de9072b04cd122133e6162a1", "score": "0.6326172", "text": "public void soigner() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fdbf96893589fef5cdd1a8fe92e98938", "score": "0.62869394", "text": "@Override\n\tpublic void enfria() {\n\n\t}", "title": "" }, { "docid": "9ee6be05232928533401d708d518b6ed", "score": "0.62742454", "text": "@Override\r\n\t\t\tpublic void enginetype() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "83c17378086426b4324c4ea8c160e29d", "score": "0.626611", "text": "@Override\r\n\tpublic void provjeri() {\n\r\n\t}", "title": "" }, { "docid": "556495e35d508ac961dae051dd40b377", "score": "0.61844474", "text": "@Override\n\tpublic void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "9da42c54ca8fb8825afce96ad2d2781c", "score": "0.61519784", "text": "@Override\r\n\tpublic void comenzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce01e16cbc1fc0a29d28a4365b63f79d", "score": "0.6131432", "text": "@Override\n\tprotected void specialFuntion() {\n\t\t\n\t}", "title": "" }, { "docid": "c387be8fe936bea8d505f3a779d6ba15", "score": "0.61139184", "text": "@Override\n\tpublic void actualise() {\n\t\t\n\t}", "title": "" }, { "docid": "30c236da9912ee76f7962e7da2c72b59", "score": "0.6074856", "text": "@Override\n\tpublic void chante() {\n\t\t\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.605568", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f13a29996996a34a710d85285e104a7f", "score": "0.6034386", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "90586632a4af36d51003a1554ebef902", "score": "0.6030915", "text": "public void mo24205Oz() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "0b7a2d4389f8d1afdedab87d2ac4fb96", "score": "0.5973926", "text": "@Override\n\tprotected void generateData() {\n\t\treturn;\t\t\n\t}", "title": "" }, { "docid": "43f0eb79e8610935222f70ad7a047f4f", "score": "0.59676504", "text": "protected void Referesh() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "69f727ad790d8c02f9f110fb4190bf05", "score": "0.5958382", "text": "@Override\r\n\tpublic void 에어백펼치기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4fd121321f2d50da2f5700be65d017d8", "score": "0.59534895", "text": "@Override\n\tpublic void filngtonext() {\n\t\t\n\t}", "title": "" }, { "docid": "5289bcfa483e278c4782f4e45b7117eb", "score": "0.59168786", "text": "@Override\n\tpublic void generer() {\n\t\t\n\t}", "title": "" }, { "docid": "c52abf264dc130278399a6a822295dca", "score": "0.5916093", "text": "@Override\n\t\t\tpublic void e() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "661a589ba018609d85af5ba0fc651d02", "score": "0.5909626", "text": "@Override\n\t\tprotected void process() {\n\t\t}", "title": "" }, { "docid": "661a589ba018609d85af5ba0fc651d02", "score": "0.5909626", "text": "@Override\n\t\tprotected void process() {\n\t\t}", "title": "" }, { "docid": "c28afddea09ba99a1adc54b371dabaa1", "score": "0.59047043", "text": "@Override\r\n\tpublic void 온도높이기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5886539", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "6827ba40809e6f9bad9a043036edaa04", "score": "0.58847684", "text": "@Override\r\n\tpublic void dormir() {\n\t}", "title": "" }, { "docid": "6afb1e3a721c7314f12581b77ae35716", "score": "0.5883849", "text": "@Override\n\tprotected void colisao() {\n\t\t\n\t}", "title": "" }, { "docid": "40a41a107fa03a270a78b03d0bcf910d", "score": "0.58717483", "text": "private void ergebnisAuswerten() {\n\n\t}", "title": "" }, { "docid": "c5fa2315669c0925b60762f7cca5f0f6", "score": "0.58611465", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "a672d2d2a4b7bb037f7f20d62ff1f55e", "score": "0.58465064", "text": "@Override\n\tpublic void ss() {\n\t\t\n\t}", "title": "" }, { "docid": "fa29da40be3a8b33b07b21fe8e0ba298", "score": "0.5842648", "text": "@Override\n\tpublic void notity() {\n\t\t\n\t}", "title": "" }, { "docid": "4ff7fd5d2a0aebc561e81557b528262a", "score": "0.58340675", "text": "@Override\n\tprotected void initialize() {\n\n }", "title": "" }, { "docid": "f323cb003520a5608cea47c5412447e4", "score": "0.58295655", "text": "@Override\n\t\t\t\tpublic int characteristics() {\n\t\t\t\t\treturn 0;\n\t\t\t\t}", "title": "" }, { "docid": "089be79d90be02605e37d2a48b09e194", "score": "0.58192337", "text": "@Override\n\tpublic void gril() {\n\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5791661", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\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": "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": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "79a702a1409937a9a2dd8f8167323190", "score": "0.5784611", "text": "@Override\n\tvoid promocja() {\n\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": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "86ca2b6b7e0174532c4a1f8a4dec7946", "score": "0.577024", "text": "@Override\r\n\tpublic void 주차보조() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e74841359f2b616460c1fcf1e3e0b696", "score": "0.57600427", "text": "@Override\n\tpublic void Oeffne_Schadenanlage() {\n\t\t\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": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "a8b768dae1b52549249069e4d6a9253f", "score": "0.5750039", "text": "@Override\n public int getType() {\n return 0;\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": "f98329c4ce112f2ebcf93e4b478576a0", "score": "0.5745665", "text": "@Override\r\n\tpublic void work4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6cfde2be0b51f55a421cdc3e28609c66", "score": "0.57384264", "text": "@Override\n\tprotected void salario() {\n\t\t\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": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f5fd4f1b89ecbb54b8b64a1b9e40552c", "score": "0.5733982", "text": "protected void mo7431b() {\n }", "title": "" }, { "docid": "3fb97b46c147b19f8180197325c66d34", "score": "0.5722489", "text": "@Override\n public void quite() {\n }", "title": "" }, { "docid": "f448e47f2da25727e964a3718545f012", "score": "0.5718643", "text": "public final void mo93547c() {\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.5714686", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "d7c48eb628caa38ca564de355edb7e6e", "score": "0.5709367", "text": "@Override\n public int getType() {\n return 1;\n }", "title": "" }, { "docid": "593053b99bc5abca6d010d9e21a31e6b", "score": "0.570741", "text": "@Override\r\n\tpublic void 자율주행하기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28872bba7a5c17cad13c73f21624cabc", "score": "0.57049847", "text": "@Override\n\tpublic void CreateRs() {\n\t\t\n\t}", "title": "" }, { "docid": "8e056894cd061aea767d71a9c1b43d97", "score": "0.5701457", "text": "@Override\n\tpublic void init(){\n\t}", "title": "" }, { "docid": "2102a3691307d06f0d2ee35d192fccc6", "score": "0.57008916", "text": "protected Encontro() {\n\t}", "title": "" }, { "docid": "e8f6ecd3f06f1f0e76ca511991b76265", "score": "0.5697829", "text": "protected void defesa(){}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.5696396", "text": "@Override\n\tprotected void lazyLoad() {\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": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.567194", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "75e13fc47dcc1e84b4615e5de4d4c091", "score": "0.56708115", "text": "@Override\n public String getName() {\n return null;\n }", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669723", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "81488a3212e9004be8808ba15e91f1a5", "score": "0.56636477", "text": "public final void mo93546b() {\n }", "title": "" }, { "docid": "1b6ae1f9acb8e538994b7d00bae50317", "score": "0.5662892", "text": "@Override\n\tprotected void skirmish() {\n\n\t}", "title": "" }, { "docid": "da07444f023c4f45aa766ef285cccf1c", "score": "0.56608945", "text": "@Override\n\tpublic void 吃斋() {\n\n\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" } ]
7773ddbf0aebf3ca15782042e49615ac
Logger logger = LoggerFactory.getLogger(Main.class);
[ { "docid": "f224076033adbc60988a76c88483f31b", "score": "0.0", "text": "public static void main(String[] args) {\n logger.error(\"msg:{}\");\n }", "title": "" } ]
[ { "docid": "e18c3af9c73acc083151650a7a7a8b39", "score": "0.76081073", "text": "private static Logger getLogger() {\n return LoggerFactory.getLogger(TestFiles.class);\n }", "title": "" }, { "docid": "f32a8e465807fe3cbaad9313f96ecb5f", "score": "0.7467279", "text": "Logger getLogger();", "title": "" }, { "docid": "f32a8e465807fe3cbaad9313f96ecb5f", "score": "0.7467279", "text": "Logger getLogger();", "title": "" }, { "docid": "f32a8e465807fe3cbaad9313f96ecb5f", "score": "0.7467279", "text": "Logger getLogger();", "title": "" }, { "docid": "ec0382de57f05b460803860a7e2e9e43", "score": "0.73638725", "text": "public static void main(String[] args) {\n\n Logger log = LoggerFactory.getLogger(\"com.testlog\");\n\n log.info(\"info-log\");\n\n log.error(\"error-log\");\n\n\n }", "title": "" }, { "docid": "514d5d314462db73ec70705437254657", "score": "0.72079045", "text": "private static Logger getLogger() {\r\n return Logger.getLogger(Utils.class);\r\n }", "title": "" }, { "docid": "ab250affc702eb467b56779867df6345", "score": "0.704382", "text": "public interface LoggerFactory {\n Logger createLogger();\n}", "title": "" }, { "docid": "dff678aeee25b1b4acef469bb73ae73d", "score": "0.696834", "text": "public static Logger getLogger(){\n return log;\n }", "title": "" }, { "docid": "ec25e79254668f80470bcc5bb66167e9", "score": "0.69224626", "text": "public ILogger getLogger();", "title": "" }, { "docid": "83f9fe3f563ce71a938ac7b7ee25f12e", "score": "0.68990684", "text": "private Logger log() {\n return LoggerFactory.getLogger(\"dev-updater\");\n }", "title": "" }, { "docid": "a90da45453e196fb1ee459d694671d28", "score": "0.6734321", "text": "Logger getEventLogger();", "title": "" }, { "docid": "a98dbd5064e66f547c1abb7140149bd1", "score": "0.67204463", "text": "T getLogger();", "title": "" }, { "docid": "7c36bb2002c15283ea01d3c7324494c7", "score": "0.67194915", "text": "private SingleLogger() {}", "title": "" }, { "docid": "cd6ca2f5feedd175077ce7db5e943087", "score": "0.6705847", "text": "private void initLogger() {\n\t\tthis.logger = Logger.getLogger(getClass().getName());\n\t}", "title": "" }, { "docid": "72379cb5f70f5a800c28625ed8d0e336", "score": "0.66484606", "text": "private static Logger getLogger() {\n return LogManager.getLogger(RepositoryConnector.class);\n }", "title": "" }, { "docid": "1986400b0cc4aafd8defeb4eea6ee8b4", "score": "0.66316026", "text": "public static ILoggerFactory getILoggerFactory() {\n }", "title": "" }, { "docid": "8989b8fefea8673b6660983f09f6662c", "score": "0.66127795", "text": "public abstract Logger getLogger();", "title": "" }, { "docid": "8989b8fefea8673b6660983f09f6662c", "score": "0.66127795", "text": "public abstract Logger getLogger();", "title": "" }, { "docid": "f110c052af75ce8d8fe415f02ec1cb25", "score": "0.66103804", "text": "public static void logging(){\n }", "title": "" }, { "docid": "d9c525747cb033cbcf470afbe2031e95", "score": "0.65984637", "text": "public static Logger getLogger() {\n\t return log;\n\t }", "title": "" }, { "docid": "f59b1ac1f78f8785953f561397309ae2", "score": "0.6593036", "text": "public LoggerManager () {\n initializeLogger(LoggerReflection.getCallerClassName());\n }", "title": "" }, { "docid": "290c9cfc879f2307f5ee663c1b86e143", "score": "0.65519845", "text": "default public Logger log() {\n\t\treturn LogManager.getLogger(this.getClass());\n\t}", "title": "" }, { "docid": "c99ca333e2b9c6b12c8d3565814395f3", "score": "0.65318054", "text": "public static Logger getLogger() {\r\n\t\treturn log;\r\n\t}", "title": "" }, { "docid": "8e2172215aa8c690c01f53d634f9996b", "score": "0.65131205", "text": "@Override\n \tpublic Logger getLogger() {\n \t\treturn log;\n \t}", "title": "" }, { "docid": "d38afd4898d08aff22ae74554940426a", "score": "0.65128255", "text": "public Logger getLogger() {\n return Benchmark.logger;\n }", "title": "" }, { "docid": "d3af107439dda3f6d240703a78bc4699", "score": "0.64738226", "text": "private Logger() {\n\n\t}", "title": "" }, { "docid": "9bc9a31ca8c26ec472a029143f6b5af8", "score": "0.6463189", "text": "public static Logger getLogger()\n\t{\n\t\treturn getInstance().logger;\n\t}", "title": "" }, { "docid": "26f0d655b60f8ea17e28fab4f46d4f55", "score": "0.64557123", "text": "public Logger getLogger(Class<?> cls) {\n return LoggerFactory.getLogger(cls);\n }", "title": "" }, { "docid": "3bed453cfcd0abad08a0e3fee7eeae0d", "score": "0.6436381", "text": "private Logger() {\n }", "title": "" }, { "docid": "61fb9ef73172748e888e0b08292384a3", "score": "0.6435008", "text": "public Logger getLogger(String classType) {\n return Logger.getLogger(classType); \n }", "title": "" }, { "docid": "477023086c372951a5f9d06086d13211", "score": "0.64165944", "text": "private Logger(){}", "title": "" }, { "docid": "066eb624912d6ffea4908dd28ec27af8", "score": "0.6402185", "text": "@Produces\n public Logger produceLogger(InjectionPoint ip) throws Exception {\n return LoggerFactory.getLogger(ip.getMember().getDeclaringClass());\n }", "title": "" }, { "docid": "b68878590fd44ab48d0d395862143d59", "score": "0.6392401", "text": "@Produces\n public Logger produceLogger(InjectionPoint ip) {\n return Logger.getLogger(ip.getMember().getDeclaringClass().getName());\n }", "title": "" }, { "docid": "22e16a5f9b8704497ca7e0f96b3fba9a", "score": "0.6384243", "text": "public Logger getLogger()\n {\n return logger;\n }", "title": "" }, { "docid": "c113a72d13e1a920ffafca5d32888190", "score": "0.63729006", "text": "public void initialize() {\n LOGGER = getLogger();\n }", "title": "" }, { "docid": "b62ac4a5ee69f657ed4cc2487c13b641", "score": "0.6359017", "text": "@Test\n\tpublic void testLog() {\n\t\tLogger logger = Logger.getLogger(\"stdout\");\n\t\tlogger.debug(\"debug\");\n\t\tlogger.info(\"info\");\n\t\tlogger.warn(\"warn\");\n\t\tlogger.error(\"error\");\n\t}", "title": "" }, { "docid": "c13390442d77e8c4a21de505fcbe2f83", "score": "0.6354708", "text": "public interface Logger {\n}", "title": "" }, { "docid": "e63fd23952a8a26c7fbaf468f5630e9d", "score": "0.6349404", "text": "public static void main(String[] args) throws Exception {\n Logger.getLogger(TestLog4J.class).error(\"error\"); \r\n Logger.getLogger(TestLog4J.class).info(\"info\");\r\n Logger.getLogger(TestLog4J.class).warn(\"warn\");\r\n Logger.getLogger(TestLog4J.class).debug(\"debug\");\r\n //throw new Exception(\"sss\");\r\n }", "title": "" }, { "docid": "f28e8967fe7b901a4ce5b7a3d9914ac3", "score": "0.6334476", "text": "private Logger getLogger() {\n if (log == null) {\n log = Logger.getLogger(this.getClass());\n }\n\n return log;\n }", "title": "" }, { "docid": "97dd4fe281ff96814ab163454d7f24d9", "score": "0.6318483", "text": "private static Logger getLogger() {\n if ( log == null ) log = Logger.getLogger(PropertyManager.class.getName());\n return log;\n }", "title": "" }, { "docid": "848e322a9c0f2ce6108936c05b153a42", "score": "0.6317785", "text": "protected abstract Log getLogger();", "title": "" }, { "docid": "c0176c34073d82ba3397242f4efa0775", "score": "0.6316078", "text": "public static void main(String[] args) {\n\t\tLogger logger = Logger.getLogger(Level.WARNING);\r\n\t\tLogger logger2 = Logger.getLogger();\r\n\t\t\r\n\t\tSystem.out.println(logger);\r\n\t\tSystem.out.println(logger2);\r\n\t\t\r\n\t\tlogger.log(\"Sample warning log message\");\r\n\t\t\r\n\t\tlogger.setLevel(Level.INFO);\r\n\t\t\r\n\t\tlogger.log(\"Sample info message\");\r\n\t\t\r\n\t\tlogger.log(Level.CONFIG, \"Sample config message\");\r\n\t}", "title": "" }, { "docid": "4246df3123c3cff3002f7f7c01b04ec2", "score": "0.6299554", "text": "public static void main(String[] args) {\n\n\t\tBasicConfigurator.configure();\n\t\tmainLogger.info(\"This is a logger\");\t\n\n\t}", "title": "" }, { "docid": "0d40424cd85715f53a5dc7c4f59b633f", "score": "0.62762195", "text": "private static Logger getLogger()\n {\n if (logger == null)\n {\n logger = WebBeansLoggerFacade.getLogger(PropertyLoader.class);\n }\n return logger;\n }", "title": "" }, { "docid": "45b8a757c86e323594bd653c08d73879", "score": "0.6269307", "text": "private BuildLogger createLogger() {\n BuildLogger logger = null;\n if (loggerClassname != null) {\n try {\n logger = (BuildLogger) ClasspathUtils.newInstance(\n loggerClassname, Main.class.getClassLoader(),\n BuildLogger.class);\n } catch (BuildException e) {\n System.err.println(\"The specified logger class \"\n + loggerClassname\n + \" could not be used because \" + e.getMessage());\n throw new RuntimeException();\n }\n } else {\n logger = new DefaultLogger();\n }\n \n logger.setMessageOutputLevel(msgOutputLevel);\n logger.setOutputPrintStream(out);\n logger.setErrorPrintStream(err);\n logger.setEmacsMode(emacsMode);\n \n return logger;\n }", "title": "" }, { "docid": "a366f8fab4da1b9f26d3d7af4f80d749", "score": "0.6235157", "text": "private Log() {}", "title": "" }, { "docid": "b65bb2e6fd2518d20968724a3e8c83d1", "score": "0.6229134", "text": "public Log getLogger() {\n return LOG;\n }", "title": "" }, { "docid": "d8f68bc86200d13129ac82aa43f20e50", "score": "0.6227986", "text": "public void setLogger (Logger logger);", "title": "" }, { "docid": "d2ed87a567d59c07d802a1345dfe1141", "score": "0.6198015", "text": "private static Logger getLogger() {\r\n Logger logger = null;\r\n String sThisTestCaseName = \"\";\r\n String sTrace = \"\";\r\n try {\r\n throw new Exception();\r\n } catch (Exception e) {\r\n StackTraceElement[] trace = e.getStackTrace();\r\n \r\n for(StackTraceElement te : trace)\r\n \tsTrace = sTrace + te.toString() + \",\";\r\n \r\n for (int x = 2; x < trace.length ; x++){\r\n \tif(trace[x].toString().matches(\".*testMain.*\")){\r\n \t\tsThisTestCaseName = trace[x].getClassName().substring(trace[x].getClassName().lastIndexOf('.')+1);\r\n \t\tif(!sThisTestCaseName.equals(sTestCaseName)){\r\n \t\t\tsTestCaseName = sThisTestCaseName;\r\n \t\t\tbTestCasePass = true;\r\n \t\t}\r\n \t\tbreak;\r\n \t}\r\n }\r\n \r\n for (int i = 2; logger == null && i < trace.length; i++) {\t\r\n if (!trace[i].getClassName().equals(BaseAssert.class.getName())){\r\n \tlogger = Logger.getLogger(trace[i].getClassName());\r\n }\r\n }\r\n }\r\n return logger;\r\n }", "title": "" }, { "docid": "1c3ee4fbe410304b7984569ae780ac82", "score": "0.6195225", "text": "private static Logger getLogger(){\r\n if(logger == null){\r\n try {\r\n new LoggerFile();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n return logger;\r\n }", "title": "" }, { "docid": "74e456de9b9ecb4b2ea70bc098ca5d72", "score": "0.6184195", "text": "public Log getLogger() {\n return logger;\n }", "title": "" }, { "docid": "74e456de9b9ecb4b2ea70bc098ca5d72", "score": "0.6184195", "text": "public Log getLogger() {\n return logger;\n }", "title": "" }, { "docid": "4bb00196ebf0590056dde2ad313f35ea", "score": "0.6162526", "text": "public static Logger getLog()\n\t{\n\t\treturn log;\n\t}", "title": "" }, { "docid": "928cf03e14d96dc2f8484bb87f942c68", "score": "0.61556697", "text": "public static LocLogger getLogger() {\n\treturn sysLogger;\n }", "title": "" }, { "docid": "adf613b6d1e6f67ee189571a50076acd", "score": "0.6155181", "text": "public Logger getLogger () {\n\t\treturn logger;\n\t}", "title": "" }, { "docid": "b7b88d64613d420e34e308c937666609", "score": "0.61532223", "text": "public Logger getLogger()\n\t{\n\t\treturn logger;\n\t}", "title": "" }, { "docid": "265dec3acb7da7e1f37c1d344635a19e", "score": "0.61456335", "text": "public Logger getLogger()\n {\n return m_logger;\n }", "title": "" }, { "docid": "5b1d6057d5a3c4ce18d2b75a62f609d5", "score": "0.61337626", "text": "private LoggerFactory() {\n super();\n }", "title": "" }, { "docid": "205357a808174892eb4955fa409a244b", "score": "0.61085033", "text": "public static Logger getLogger(final Class cl){\n final Logger lgr = Logger.getLogger(cl.getName());\n lgr.addHandler(gloghandler);\n return lgr;\n }", "title": "" }, { "docid": "639bbb2a9bd6a15752d83c89a3426fd1", "score": "0.6101252", "text": "private static Logger initLog()\r\n {\r\n PropertiesReader propReader = PropertiesReader.getInstance(); // Singleton to read from conf file\r\n String log4jConfFilePath = propReader.getProperty(LogMisc.LOG4J_CONF_FILE_PATH_PARAM); // log4j2.xml file path\r\n System.setProperty(LogMisc.LOG4J_CONF_FILE_PARAM, log4jConfFilePath);\r\n\r\n return LogManager.getLogger(TraceManager.class);\r\n }", "title": "" }, { "docid": "fe3d172e8c3a6b59332421e58f41a655", "score": "0.6072195", "text": "public static Logger getLog() {\n return log;\n }", "title": "" }, { "docid": "9e3f595faeceb9fb7ee13bb95ee3c1aa", "score": "0.6059019", "text": "public Logger getLogger()\n {\n \treturn this.logger;\n }", "title": "" }, { "docid": "2d2e66fc6efac732a3567ba0bb40a538", "score": "0.60561645", "text": "public static Logger getLoggerForClass() {\n String className = getCallerClassName();\n return Hierarchy.getDefaultHierarchy().getLoggerFor(removePrefix(className));\n }", "title": "" }, { "docid": "0c20a8d6cc02c37bafd333e87fc3fe69", "score": "0.60490406", "text": "private IEventLogger appLogger() {\n return MainApplication.getEventLogger();\n }", "title": "" }, { "docid": "0b856e4855a18b16e84ed55edd6e10e0", "score": "0.602039", "text": "public Logger getLogger()\n {\n return this.logger;\n }", "title": "" }, { "docid": "f8df9d5e8f917a91f1260b195fbedae3", "score": "0.6011661", "text": "private Log(final Logger logger)\n\t{\n\t\tsetLogger(logger);\n\t}", "title": "" }, { "docid": "07ac284d0dcac40cc96b2a10801b4b1c", "score": "0.59982187", "text": "public static void init() throws IOException {\n Logger logger = Logger.getLogger(\"\");\n if (!initialized) {\n File logDir = CliConfig.logPath.getParent().toFile();\n if (!logDir.exists()) logDir.mkdirs();\n\n FileHandler fileHandler =\n new FileHandler(CliConfig.logPath.toString(), 10 * 1024 * 1024, 2, true);\n fileHandler.setLevel(Level.ALL);\n fileHandler.setFormatter(new BriefLogFormatter());\n\n logger.setUseParentHandlers(false);\n logger.removeHandler(logger.getHandlers()[0]);\n logger.addHandler(fileHandler);\n loggerRefs.add(logger);\n\n logger.info(\"\");\n logger.info(\">>>>> Starting OneOps Secrets CLI... <<<<<\");\n logger.info(\n \"Initialized the logger on\"\n + DateTimeFormatter.RFC_1123_DATE_TIME.format(ZonedDateTime.now()));\n initialized = true;\n } else {\n logger.info(\"Logger is already initialized!\");\n }\n }", "title": "" }, { "docid": "9c9d172bbe9e8d7eca05772bd26bd8c2", "score": "0.5995317", "text": "static public org.slf4j.Logger getLogger(Class<?> clazz, Level l)\n\t\t{\n\t\t\treturn getLogger(clazz.getName(), l);\n\t\t}", "title": "" }, { "docid": "eec90bc1426adae5597cbc04ee2b80b0", "score": "0.5993861", "text": "private static Log getLog() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6d1671bed7ceb639ed65e079cfe84d0d", "score": "0.59920996", "text": "public static Logger getLOGGER() {\n return LOGGER;\n }", "title": "" }, { "docid": "4df30c95e7aa128458c6f54a6edef63d", "score": "0.598351", "text": "Logs createLogs();", "title": "" }, { "docid": "064014dc74aebe704f02b986f25e2796", "score": "0.598297", "text": "public \n void setLogger(Logger logger) {\n }", "title": "" }, { "docid": "721a014b2e89acaf6601375e65e532f0", "score": "0.59829235", "text": "public static void setLogger( Logger lg ) { logger = lg; }", "title": "" }, { "docid": "b5179d0eff5ff768017d27d75dbac484", "score": "0.5975841", "text": "final static public Logger getInstance(){\r\n return _instance != null ? _instance : new Logger();\r\n }", "title": "" }, { "docid": "c5722bca394def51e66710c0d81aec39", "score": "0.59710556", "text": "public Logger getLogger() {\n return mLogger;\n }", "title": "" }, { "docid": "8cd9e9585b5fa20671cada9bb2cdb446", "score": "0.5962299", "text": "void init() {\n logger.info(\"Initialized\");\n }", "title": "" }, { "docid": "69fb61ac114915150721cd7eede4049d", "score": "0.59534025", "text": "public static void main(String[] args) {\n\t\t\n\t\tSystem.out.println(\"Hello World\");\n\t\t\n\t\t//Logger logger1 = LogManager.getLogger(\"one two test\");\n\t\t\n//\t\tprivate static final Logger monLogger = Logger\n\t\t\n\t\t//logger1.trace(\"Debug !!\");\n\n\t}", "title": "" }, { "docid": "70f6defe9286c07363d8869fdc8f3c84", "score": "0.5947075", "text": "public static void main(String[] args) {\r\n\t\t// TODO Auto-generated method stub\r\n\t \tBasicConfigurator.configure();\r\nlog.debug(\"this is debug log\");\r\n\r\nlog.info(\"this is info log\");\r\n\r\nlog.error(\"error in this proeject\");\t\r\n\t}", "title": "" }, { "docid": "f107d53fdd15587966174d24dc30690e", "score": "0.59392023", "text": "@Test\n public void testGetLogger() {\n LOGGER.info(\"getLogger\");\n ContainerDeployment instance = new ContainerDeployment();\n assertNotNull(instance.getLogger());\n }", "title": "" }, { "docid": "350c5d2986006f8e8917040b8c21dbe6", "score": "0.59294444", "text": "void log();", "title": "" }, { "docid": "91a73adaf59c7b1663de183f2de6b690", "score": "0.5926578", "text": "public LogFactory getLogFactory();", "title": "" }, { "docid": "f4f980b5bb20ea3bf1968b3bc2fb49b0", "score": "0.5917325", "text": "public void log() {\n\t\t\n\t}", "title": "" }, { "docid": "75d6011ee37ba391578e5eb97d02259a", "score": "0.5915614", "text": "@Override\n public String getName()\n {\n return logger.getName();\n }", "title": "" }, { "docid": "ba3bf5052a71ee8733960d28a16801a3", "score": "0.59039754", "text": "public LoggerUtils() {\n }", "title": "" }, { "docid": "5245aedc018c46707442aadb49e05c83", "score": "0.5900233", "text": "public static void init() {\r\n \tif (logger != null) return; // Logger already started\r\n \t\r\n logger = Logger.getLogger(AppLogger.class.getName());\r\n PatternLayout evsLayout = new PatternLayout();\r\n evsLayout.setConversionPattern(CONVERSION_PATTERN);\r\n\r\n RollingFileAppender evsAppender = null;\r\n try {\r\n evsAppender = new RollingFileAppender(evsLayout,LOG_FILE);\r\n evsAppender.setName(NAME);\r\n evsAppender.setMaxBackupIndex(max_backups);\r\n } catch (IOException e) {\r\n \tthrow new BDAException(\"Error: '\" + e.getMessage() + \"'.\");\r\n }\r\n logger.addAppender(evsAppender);\r\n logger.setLevel((Level) Level.DEBUG);\r\n }", "title": "" }, { "docid": "b1c70e1f9e8d00c4526398ba8ee1ecf7", "score": "0.5888886", "text": "protected Logger getLogger() {\n if (log == null) {\n log = Logger.getLogger(this.getClass());\n }\n\n return log;\n }", "title": "" }, { "docid": "0a2c801c9c1f7625e3e1fe113553aa74", "score": "0.58733064", "text": "public Logger getLogger() {\n \t\treturn this.logger;\n \t}", "title": "" }, { "docid": "c55233ee71efa8b0807f5d7d42e88bf4", "score": "0.5844857", "text": "private LoggingUtilityHelper() {\n }", "title": "" }, { "docid": "243407705e4449ecd04d0e54746ff691", "score": "0.5836941", "text": "public final Logger getLogger() {\n return getMyUblu().getLogger();\n }", "title": "" }, { "docid": "8ebcc780277ddd5b12e65333b9e9e63e", "score": "0.58172435", "text": "public LogHandler(Logger logger) {\n this.logger = logger;\n \n log(\"Logging ready\");\n }", "title": "" }, { "docid": "e3adc9c6784714bcdc8feebcb793dc35", "score": "0.5802765", "text": "DebugLog createDebugLog();", "title": "" }, { "docid": "005bc6938f9101980775f82092514c63", "score": "0.5784286", "text": "public FrmLogger(Logger logger) {\n\t\tthis.logger = logger;\n\t}", "title": "" }, { "docid": "b8c8cbb761068f150b62b08290042429", "score": "0.57835203", "text": "public static CommandLineLogger getInstance() {\n\t\tif (conlog == null) {\n\t\t\tcreate();\n\t\t}\n\t\treturn conlog;\n\t}", "title": "" }, { "docid": "734799e89a8e9a1625a08858fd529eea", "score": "0.57825106", "text": "public LogUtils() {\n\n\t}", "title": "" }, { "docid": "75b37031aa21411a90c46b4ff8837fe3", "score": "0.57797456", "text": "@Test\n\tpublic void test(){\n\t\tlogger.info(\"ok\");\n\t}", "title": "" }, { "docid": "9cb846707e6a4b188f3e0954d3ff9db6", "score": "0.5769457", "text": "private Log getLog() {\n if (log == null) {\n log = LogFactory.getLog(FormSet.class);\n }\n return log;\n }", "title": "" }, { "docid": "b855dc0739fb967aff5ee401a93d7185", "score": "0.57683235", "text": "public TestRunner() {\n this(new StreamLogger(System.out));\n }", "title": "" }, { "docid": "793c618aff568bf737c567ce14e90bf1", "score": "0.5767604", "text": "@Override\n\tpublic Logger createLogger() {\n\t\tSystem.out.println(\"获取控制台的输入流\");\n\t\tLogger logger = new CosoleLogger();\n\t\treturn logger;\n\t}", "title": "" }, { "docid": "baf534d83ce59def862132d3a149526b", "score": "0.57581234", "text": "private LoggerStrategyFactory() {\n\t\t}", "title": "" }, { "docid": "f068b1e2d33fd7da226e9cb21a35c2d1", "score": "0.57484007", "text": "public Logger getLogger() {\r\n\t\treturn this.logger;\r\n\t}", "title": "" }, { "docid": "2137847e475bf0daa39f6acaf32291f2", "score": "0.5741577", "text": "public Logger getLOGGER() {\n return LOGGER;\n }", "title": "" } ]
41b44cd206b78424960ae0d7dbc9e417
Called when the activity is first created.
[ { "docid": "74114b3dc568dd4bd01265560fe6191e", "score": "0.0", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_song);\n\n \n // Find the ListView resource. \n songListView = (ListView) findViewById( R.id.songListView );\n\n // Create ArrayAdapter using the planet list.\n listAdapter = new ArrayAdapter<String>(this, R.layout.simplerow, song_names); \n \n\trefreshSonglist();\n \n // On click of an item\n songListView.setOnItemClickListener(new OnItemClickListener() {\n \t@Override\n \tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n \t\t\n \t\t// Show a toast box with the name of the item\n\t\t // Toast.makeText(getApplicationContext(), ((TextView) view).getText(), Toast.LENGTH_SHORT).show();\n\n \t\tIntent intent = null;\n \t\tString selected = (String) (songListView.getItemAtPosition(position));\n\n \t\t// Go to AllSongsListActivity\n \t\tif(selected == addsong ) {\n \t\t\tintent = new Intent(getApplicationContext(), AllSongsListActivity.class);\n \t\t\tstartActivityForResult(intent, 2); \n \t\t}\n\n \t\t//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n \t\t//TODO: Add the intent to play music here\n \t\t\n \t\t// Play music\n \t\telse {\n \t\t\t// Pop up a toast message that says \"Playing <item name>\"\n \t\t\tToast.makeText(getApplicationContext(), \"Playing \"+((TextView) view).getText(), Toast.LENGTH_SHORT).show();\n \t\t}\n \t}\n });\n \n\n // On long press, create a context menu window\n songListView.setOnCreateContextMenuListener(new OnCreateContextMenuListener() {\n \t\n \t@Override\n public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {\n \t\t\n \t\tif(db.getTotalSongs() > 0) {\n \t\t\tmenu.setHeaderTitle(\"Options\"); \n \t\t\tmenu.add(0, 1, 0, \"Play song\");\n \t\t\tmenu.add(0, 2, 0, \"Delete song from playlist\"); \n \t\t\tmenu.add(0, 3, 0, \"Properties\");\n \t\t}\n }\n }); \n\n // Set the ArrayAdapter as the ListView's adapter.\n songListView.setAdapter( listAdapter ); \n \n \n \n }", "title": "" } ]
[ { "docid": "85f9ad2c62707e5fe52f07757334a7d6", "score": "0.7755771", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t\tsetListener();\n\t\t\n\t}", "title": "" }, { "docid": "2b888ba6778573b9a721f33447b0c3ae", "score": "0.77551454", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\t\n\t}", "title": "" }, { "docid": "4a5ad366261961360d1417411cb515b9", "score": "0.77270156", "text": "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "title": "" }, { "docid": "4a5ad366261961360d1417411cb515b9", "score": "0.77270156", "text": "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "title": "" }, { "docid": "ff138eca48e4b5d0ced2db85f116f71c", "score": "0.7693263", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "title": "" }, { "docid": "ff138eca48e4b5d0ced2db85f116f71c", "score": "0.7693263", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "title": "" }, { "docid": "ff138eca48e4b5d0ced2db85f116f71c", "score": "0.7693263", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "title": "" }, { "docid": "ff138eca48e4b5d0ced2db85f116f71c", "score": "0.7693263", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "title": "" }, { "docid": "ff138eca48e4b5d0ced2db85f116f71c", "score": "0.7693263", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t}", "title": "" }, { "docid": "adb44540c3827a77cb3364791736853e", "score": "0.76540065", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinitData();\n\t}", "title": "" }, { "docid": "75dd02afa1a615a5f6432c4fc29888bc", "score": "0.7637394", "text": "@Override\n public void onActivityCreated(Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n }", "title": "" }, { "docid": "75dd02afa1a615a5f6432c4fc29888bc", "score": "0.7637394", "text": "@Override\n public void onActivityCreated(Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n }", "title": "" }, { "docid": "fb86d39c62fbbdc8ccfaf247b8025121", "score": "0.7608429", "text": "@Override\n\t\t\tpublic void onActivityCreated(Activity activity, Bundle savedInstanceState) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "4695d32ac7aed2e685fa70e7abf097e9", "score": "0.75866115", "text": "@Override\n public void onActivityCreated(Bundle savedInstanceState)\n {\n super.onActivityCreated(savedInstanceState);\n\n }", "title": "" }, { "docid": "800eb25cc4906a94d13db673cc068cd1", "score": "0.7540053", "text": "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tLog.e(TAG, \"onActivityCreated-------\");\r\n\t}", "title": "" }, { "docid": "ef0031f9766abb8b3ae43276b3851ddf", "score": "0.75318086", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t\tfindViewById();\n\t\tsetListener();\n\t}", "title": "" }, { "docid": "163c112ca29bdf02ee9f2e5041fd1f8c", "score": "0.7519665", "text": "@Override\n public void onActivityCreated(Bundle savedInstanceState) {\n \tsetView();\n \tsetListener();\n \tsuper.onActivityCreated(savedInstanceState);\n \t\n }", "title": "" }, { "docid": "0d8b6be18ae68cde3e1f5b0a75a72b3a", "score": "0.7476022", "text": "@Override\r\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\r\n\t}", "title": "" }, { "docid": "0d8b6be18ae68cde3e1f5b0a75a72b3a", "score": "0.7476022", "text": "@Override\r\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\r\n\t}", "title": "" }, { "docid": "bd3132a7ff11404740bbe02887394321", "score": "0.7469598", "text": "@Override\n public void onCreate() {\n super.onCreate();\n }", "title": "" }, { "docid": "bd3132a7ff11404740bbe02887394321", "score": "0.7469598", "text": "@Override\n public void onCreate() {\n super.onCreate();\n }", "title": "" }, { "docid": "bd3132a7ff11404740bbe02887394321", "score": "0.7469598", "text": "@Override\n public void onCreate() {\n super.onCreate();\n }", "title": "" }, { "docid": "bd3132a7ff11404740bbe02887394321", "score": "0.7469598", "text": "@Override\n public void onCreate() {\n super.onCreate();\n }", "title": "" }, { "docid": "bd3132a7ff11404740bbe02887394321", "score": "0.7469598", "text": "@Override\n public void onCreate() {\n super.onCreate();\n }", "title": "" }, { "docid": "53a7140af451913b40fe490c094080ed", "score": "0.7467252", "text": "@Override\n public void onActivityCreated(Activity activity, Bundle savedInstanceState) {\n }", "title": "" }, { "docid": "19c5b581e88ce325de9f1fb659f48ee6", "score": "0.74630773", "text": "@Override\r\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\r\n\t\tLog.d(TAG, \"onCreate\");\r\n\r\n\t}", "title": "" }, { "docid": "98b786851c854b0bdd4a664af70b5835", "score": "0.74318826", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinitView();\n\t\tinitEvent();\n\t\tinitData();\n\t}", "title": "" }, { "docid": "726e65a51acb6667197d647404b8f7bf", "score": "0.74266565", "text": "@Override\r\n public void onActivityCreated(@Nullable Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\r\n\r\n initView();\r\n }", "title": "" }, { "docid": "52c0f168c5dae39d1fa5efbeba51939d", "score": "0.7398877", "text": "@Override\n public void onCreate()\n {\n super.onCreate();\n }", "title": "" }, { "docid": "52c0f168c5dae39d1fa5efbeba51939d", "score": "0.7398877", "text": "@Override\n public void onCreate()\n {\n super.onCreate();\n }", "title": "" }, { "docid": "52c0f168c5dae39d1fa5efbeba51939d", "score": "0.7398877", "text": "@Override\n public void onCreate()\n {\n super.onCreate();\n }", "title": "" }, { "docid": "52c0f168c5dae39d1fa5efbeba51939d", "score": "0.7398877", "text": "@Override\n public void onCreate()\n {\n super.onCreate();\n }", "title": "" }, { "docid": "f7e798c9138140a80adeb42e9a008d4c", "score": "0.7396189", "text": "@Override\n public void onActivityCreated(@Nullable Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n }", "title": "" }, { "docid": "b400a2010e30907701bd94892425ecb4", "score": "0.73852414", "text": "@Override\r\n public void onActivityCreated(Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\r\n refreshUI();\r\n }", "title": "" }, { "docid": "422149d6bcb9214a79799f1efbc78a7a", "score": "0.73791397", "text": "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tinitWidgets();\r\n\t}", "title": "" }, { "docid": "a0cad22a850cb92ca87e4360aa46b6f0", "score": "0.73716533", "text": "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tLogUtil.i(\"coolweather\", \"onActivityCreated执行了\");\r\n\t}", "title": "" }, { "docid": "a7f5ba7d4f7a118725f9086d61c48109", "score": "0.7347353", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t}", "title": "" }, { "docid": "a7f5ba7d4f7a118725f9086d61c48109", "score": "0.7347353", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t}", "title": "" }, { "docid": "a7f5ba7d4f7a118725f9086d61c48109", "score": "0.7347353", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t}", "title": "" }, { "docid": "a7f5ba7d4f7a118725f9086d61c48109", "score": "0.7347353", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t}", "title": "" }, { "docid": "a7f5ba7d4f7a118725f9086d61c48109", "score": "0.7347353", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t}", "title": "" }, { "docid": "bb3b30bf7809a48ec3ed72596fcdc3e7", "score": "0.7330592", "text": "@Override\n public void onActivityCreated (Bundle savedInstanceState)\n {\n super.onActivityCreated(savedInstanceState);\n\n\n\n\n\n }", "title": "" }, { "docid": "c043f1b237683d8bd950cda21f75ebc5", "score": "0.7329446", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\t\n\t}", "title": "" }, { "docid": "a3c86f91dd1a79d0a5d6603d87460066", "score": "0.732186", "text": "@Override protected void beforeActivityLaunched() {\n\n }", "title": "" }, { "docid": "071a1f5b3c27db85cc021f56af44914b", "score": "0.7319723", "text": "@Override\r\n\tpublic void onCreate() {\n\t\t\r\n\t}", "title": "" }, { "docid": "944895a43c917b4aeee2ef4e38c123a2", "score": "0.73191786", "text": "@Override\n public void onActivityCreated(Activity activity, Bundle savedInstanceState) {\n\n }", "title": "" }, { "docid": "eaf2b61ff8b775b1674273434bbb52bc", "score": "0.7313914", "text": "protected void initActivity() {\n\n\t\t// gets the data provider\n\t\tmDataProvider = RealFarmProvider.getInstance(this);\n\n\t\t// stores the SoundQueue singleton used to play sounds.\n\t\tmSoundQueue = SoundQueue.getInstance();\n\n\t\t// tracks the application usage.\n\t\tApplicationTracker.getInstance().logEvent(EventType.ACTIVITY_VIEW,\n\t\t\t\tGlobal.userId, getLogTag());\n\n\t\t// enables full screen mode\n\t\tgetWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,\n\t\t\t\tWindowManager.LayoutParams.FLAG_FULLSCREEN);\n\n\t\t// adds the extended background as default.\n\t\tBitmapDrawable bg = (BitmapDrawable) getResources().getDrawable(\n\t\t\t\tR.drawable.bg_curved_extended);\n\t\tgetSupportActionBar().setBackgroundDrawable(bg);\n\t}", "title": "" }, { "docid": "5c220e7088b4c0146be81be52f8f6f62", "score": "0.7311508", "text": "@Override\n public void onCreate() {\n }", "title": "" }, { "docid": "5c220e7088b4c0146be81be52f8f6f62", "score": "0.7311508", "text": "@Override\n public void onCreate() {\n }", "title": "" }, { "docid": "5c220e7088b4c0146be81be52f8f6f62", "score": "0.7311508", "text": "@Override\n public void onCreate() {\n }", "title": "" }, { "docid": "b3d14062066b86fdb6f19cb10e4ebed1", "score": "0.7271694", "text": "public void onCreate() {\r\n\r\n\t}", "title": "" }, { "docid": "6d89757b7f2ffe44651df1122d992405", "score": "0.72648364", "text": "@Override\n public void onCreate() \n {\n super.onCreate();\n }", "title": "" }, { "docid": "383ecc0f6f703d583b7ac564f937ba7d", "score": "0.72612154", "text": "@Override\n public void onCreate() {\n\n }", "title": "" }, { "docid": "2f1854574fc56be0e59b4795ac371ba4", "score": "0.7239448", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\t\t\n\t}", "title": "" }, { "docid": "5e93a043d01fe01fd63018884a9d383f", "score": "0.7183062", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n // Get LocalStorage instance\n localStorage = LocalStorage.getInstance(getApplicationContext());\n\n // Get current settings\n setting = localStorage.getCurrentSetting();\n\n // Setup views\n setupViews();\n\n // Setup listeners\n setupListeners();\n\n // Setup data\n setupCheckbox();\n setupSchedules();\n setupTestButtons();\n }", "title": "" }, { "docid": "97962753cd823f094d2908e1970dc024", "score": "0.7174127", "text": "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\r\n init();\r\n }", "title": "" }, { "docid": "97962753cd823f094d2908e1970dc024", "score": "0.7174127", "text": "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\r\n init();\r\n }", "title": "" }, { "docid": "d8f986eb609d34cecc93cded7e4ffc88", "score": "0.7171504", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n init();\n }", "title": "" }, { "docid": "a204204c396a30d9033fd19f06fbc6a2", "score": "0.7156747", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n initialize();\n }", "title": "" }, { "docid": "2a7e85266c6e29e2e26cf6435a52c3f0", "score": "0.7139477", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n initSharedPreferences();\n initView();\n setEvent();\n }", "title": "" }, { "docid": "4014e013ff1388bf2fb4f9e51749e7bc", "score": "0.7069107", "text": "@Override\n protected void onCreate(@Nullable Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n findViews();\n setListeners();\n init();\n }", "title": "" }, { "docid": "e405544eeda76f031484f4dc9f64cdd7", "score": "0.70594275", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n renderer = new ScreenRender(this);\n inputter = new ScreenInput();\n }", "title": "" }, { "docid": "183de262127125dfe27823af330e8e5f", "score": "0.70565176", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tAppManager.getInstance().addActivity(this);\r\n\t}", "title": "" }, { "docid": "ae9a7cab405ee78c00a827356aad4895", "score": "0.7049904", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\n\t\tinitialize();\n\t\tnew OutListAsyncTask().execute();\n\n\t}", "title": "" }, { "docid": "fb1d301ff0626589796afca455f496fb", "score": "0.7049828", "text": "@Override\n public void onCreate(Bundle savedInstanceState)\n {\n super.onCreate(savedInstanceState);\n\n main_activity = this;\n\n yy_data_source = new YYDataSource();\n yy_schedule = new YYSchedule( this );\n login_view = new LoginView();\n task_list_view = new TaskListView();\n task_detail_view = new TaskDetailView();\n\n login_view.setView( false, null );\n }", "title": "" }, { "docid": "c6d0e68f7e7bcee7c68571a3e31fb1db", "score": "0.7046781", "text": "@Override\n\tpublic void onCreate() {\n\t}", "title": "" }, { "docid": "fadec82488d1f09235309fae57f9c040", "score": "0.704227", "text": "protected void onInit() {}", "title": "" }, { "docid": "f3980bacfa1bbca0e5609fbdd2ec6c68", "score": "0.70340014", "text": "@Override\n public void onActivityCreated(Bundle savedInstanceState) {\n super.onActivityCreated(savedInstanceState);\n requestData();\n }", "title": "" }, { "docid": "90d9c0748914488985da42bd96efd7d5", "score": "0.70205003", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t\tlog.verbose(\"onCreate\");\n\t\tcontext = this;\n\t}", "title": "" }, { "docid": "461b785e65274362453fd64a93aa5784", "score": "0.7020228", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tinit();\r\n\t}", "title": "" }, { "docid": "bdd7ebfe1eeec49bc0d012a03349869e", "score": "0.7012731", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView (R.layout.activity_advert_list);\n\t setTitleFromActivityLabel (R.id.title_text);\n\t \n\t setupStart();\n\t}", "title": "" }, { "docid": "ef3169c0a896485e3a86628ed69f8ca7", "score": "0.7005552", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ef3169c0a896485e3a86628ed69f8ca7", "score": "0.7005552", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "3db537de42c5aede5e8ed2a09d6024a8", "score": "0.69998366", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "4b90be9c978c79f29b7d285db5d8680c", "score": "0.6999602", "text": "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\t\tMyApplication.context = getApplicationContext();\n\t\tif(!EncryptData.encrypt(MyApplication.context)){\n \tthrow new java.lang.NullPointerException();\n }\n\t\t/*String isFirst = Common.getPreferenceValue(Utils.IS_FIRST_START_KEY, \"true\");\n\t\tboolean first = isFirst.equals(\"true\") ? true :false;\n\t\tLogUtil.e(\"MyApplication\", \"isFirst == \"+isFirst);\n\t\tif (!first) {\n\t\t\t//MyApplication.getInstance().exit();\n\t\t\t//return;\n\t\t}*/\n\t}", "title": "" }, { "docid": "1ba7aa495abe2d0cf64717379ce75f7a", "score": "0.69928956", "text": "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\r\n }", "title": "" }, { "docid": "5dd0a4841d7ec632b2345c10f4c08811", "score": "0.69870836", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\r\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tmPreferences = AppPreferences.getInstance(mContext);\r\n\t\tmPreferences.readLocalProperties(mContext);\r\n\t\t//\t\tIntentFilter filter = new IntentFilter();\r\n\t\t//\t\tfilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);\r\n\t\t//\t\tregisterReceiver(networkStatReceiver, filter);\r\n\t\t//\t\tif (StringUtils.isEmpty(mPreferences.isGuide)) {//进入引导页\r\n\t\t//\t\t\tsetContentView(R.layout.app_startup_screen);\r\n\t\t//\t\t}else{\r\n\t\tsetContentView(R.layout.activity_startup_screen);\r\n\t\tmHandler.postDelayed(new Runnable() {\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\tstartActivity(new Intent(mContext, MainPageActivity.class));\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\t\t}, 1000);\r\n\t\t//\t\t}\r\n\t}", "title": "" }, { "docid": "a1900966e1ba40ce420774e5a0ac14cd", "score": "0.69849145", "text": "@Override\n public void onActivityCreated(Bundle bundle){\n super.onActivityCreated(bundle);\n\n mBridge.activityCreated(bundle);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "ccaaf70e22feb2d8fab4212a68adc1d5", "score": "0.69820535", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n }", "title": "" }, { "docid": "4d96f87a1448c5ea7490bf589b98c76d", "score": "0.69797814", "text": "@Override\r\n public void onCreate(Bundle savedInstanceState) {\r\n super.onCreate(savedInstanceState);\r\n\r\n }", "title": "" }, { "docid": "d4934d7b1f1c0092ba58055876dc48a0", "score": "0.69745445", "text": "@Override\r\n\t\tprotected void onCreate(Bundle savedInstanceState) {\n\t\t\tsuper.onCreate(savedInstanceState);\r\n\t\t\tinitView();\r\n\t\t\tinitData();\r\n\t\t\tinitListener();\r\n\t\t}", "title": "" }, { "docid": "cad8d9d2f39755de5f2d3a0cb313fa8c", "score": "0.696241", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n }", "title": "" }, { "docid": "cad8d9d2f39755de5f2d3a0cb313fa8c", "score": "0.696241", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n }", "title": "" }, { "docid": "cad8d9d2f39755de5f2d3a0cb313fa8c", "score": "0.696241", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n }", "title": "" }, { "docid": "fe061acbbe63cb0cc934a969698dec14", "score": "0.69613284", "text": "protected void onCreate(Bundle savedInstanceState) {\n\t\tsetTheme(RealFarmApp.THEME);\n\n\t\tsuper.onCreate(savedInstanceState);\n\n\t\t// internal initialization of the activity.\n\t\tinitActivity();\n\t}", "title": "" }, { "docid": "a83eedbae9ae7768e0e596c7fed0b6c1", "score": "0.69571877", "text": "@Override\n\tprotected void onStart() {\n\t\tLog.i(TAG, \"---Activity-->>>>>onStart\");\n\t\tsuper.onStart();\n\t\t\n\t}", "title": "" }, { "docid": "413e56ec6d589c81a23ac7a454bd1573", "score": "0.6950296", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_group);\n init();\n getInfo();\n setListener();\n }", "title": "" }, { "docid": "f8131f6c9f5812f24b4fe47bddd941ea", "score": "0.6948975", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n\n\n super.onCreate(savedInstanceState);\n\n }", "title": "" }, { "docid": "5c81671e3e04523ce294e1a76be8f05d", "score": "0.6942184", "text": "@Override\n public void onCreate() {\n super.onCreate();\n application = this;\n mainTid = android.os.Process.myTid();\n handler = new Handler();\n init();\n }", "title": "" } ]
550702244944e27975203e28e3bb2f64
This prints a feasibility table for workshops only Could be extended in future to print feasibility of shifts etc. Uses hard coded red and green colors In future another color swatch table could be added to the template document and read in
[ { "docid": "c03ab29d61bb0326f17ee2f65fe57fe1", "score": "0.5718602", "text": "public static void addFeasibleTable(XWPFDocument document, XWPFTable templateTable, Roster roster,\n List<FeasibleWorkshop> feasibilityList, int position) throws Exception {\n\n String colorFeasible = \"93C47D\"; //Green\n String colorInfeasible = \"E06666\"; //Red\n\n //Make the table\n //Source: http://apache-poi.1045710.n5.nabble.com/How-to-copy-a-table-and-modify-it-correctly-in-the-same-docx\n // -file-using-POI-td5716551.html\n CTTbl ctTbl = CTTbl.Factory.newInstance(); // Create a new CTTbl for the new table\n ctTbl.set(templateTable.getCTTbl()); // Copy the template table's CTTbl\n XWPFTable copiedTable = new XWPFTable(ctTbl, document); // Create a new table using the CTTbl upon\n\n int count = 0;\n\n //Add the data\n for (FeasibleWorkshop fwk : feasibilityList) {\n\n count++;\n\n Workshop wk = fwk.getWorkshop();\n String hardScore = Integer.toString(fwk.getHardScore());\n boolean feasible = fwk.isFeasible();\n\n //Copy a template row from last\n addRow(FEASIBLE_HEADER_POS + count, copiedTable);\n\n //Now replace that template row, copied row is new template row\n for (String key : keys) {\n replaceRowText(FEASIBLE_HEADER_POS + count, copiedTable, key, wk.getWorkshopDictionary().get(key));\n }\n\n //Replace the id\n replaceRowText(FEASIBLE_HEADER_POS + count, copiedTable, \"$FullID\", wk.toString());\n\n //Replace hard score\n replaceRowText(FEASIBLE_HEADER_POS + count, copiedTable, \"$Hard\", hardScore);\n\n //Change color\n if (feasible) {\n changeRowColor(FEASIBLE_HEADER_POS + count, copiedTable, colorFeasible);\n } else {\n changeRowColor(FEASIBLE_HEADER_POS + count, copiedTable, colorInfeasible);\n }\n\n }\n\n //Delete last row\n //Remove the extra row at the end\n copiedTable.removeRow(FEASIBLE_HEADER_POS+count+1);\n\n commitTable(copiedTable);\n\n document.createParagraph();\n document.createTable();\n document.setTable(position, copiedTable);\n\n }", "title": "" } ]
[ { "docid": "427f7bcfaca066d2b973eadf6364a5a3", "score": "0.62002724", "text": "public void printTable(){\r\n System.out.printf(\"%-37s%-8s%-8s%-7s%n\", \"\", \"Original\", \"\", \"Current\");\r\n System.out.printf(\"%-14s%-10s%-4s%-9s%-9s%-7s%-8s%-5s%-6s%n\",\r\n \"Item Name\", \"\", \"RFID\", \"\", \"Location\", \"\", \"Location\", \"\", \"Price\");\r\n for (int i = 0; i < 14; i++){\r\n System.out.print(\"-\");\r\n }\r\n System.out.printf(\"%-7s\", \"\");\r\n for (int j = 0; j < 10; j++){\r\n System.out.print(\"-\");\r\n }\r\n System.out.printf(\"%-5s\", \"\");\r\n for (int k = 0; k < 10; k++){\r\n System.out.print(\"-\");\r\n }\r\n System.out.printf(\"%-6s\", \"\");\r\n for (int l = 0; l < 10; l++){\r\n System.out.print(\"-\");\r\n }\r\n System.out.printf(\"%-3s\", \"\");\r\n for (int x = 0; x < 7; x++){\r\n System.out.print(\"-\");\r\n }\r\n }", "title": "" }, { "docid": "652e7a1a72d63092a1d3056d060b6c58", "score": "0.5940478", "text": "public void printComplementaryPatternTable(){\n\t\t\n\t\tSystem.out.println(\"\");\n\t\t/**** print the grid******/\n\t\tSystem.out.println(\"The complementary Pattern Table\");\n\t\tSystem.out.print(\" \");\n\t\tfor (int num=0; num<graphList.size();num++){\n\t\t\tSystem.out.print(\"g\"+num+\" \");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\tfor (int i=0;i<patternTableComplementary.size();i++){\n\t\t\tSystem.out.print(\"s\"+i+\" \");\n\t\t\tfor (int j=0;j<patternTableComplementary.get(i).size();j++){\n\t\t\t\tSystem.out.print(patternTableComplementary.get(i).get(j)+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "title": "" }, { "docid": "4b1c9b3f818fc736b1d6e2b9df879656", "score": "0.5720389", "text": "public void printPatternTable(){\n\t\n\t\tSystem.out.println(\"\");\n\t\t/**** print the grid******/\n\t\tSystem.out.println(\"The Pattern Table\");\n\t\tSystem.out.print(\" \");\n\t\tfor (int num=0; num<graphList.size();num++){\n\t\t\tSystem.out.print(\"g\"+num+\" \");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\tfor (int i=0;i<patternTable.size();i++){\n\t\t\tSystem.out.print(\"p\"+i+\" \");\n\t\t\tfor (int j=0;j<patternTable.get(i).size();j++){\n\t\t\t\tSystem.out.print(patternTable.get(i).get(j)+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "title": "" }, { "docid": "dd72ffb13257a624afbfde61f1e54865", "score": "0.55697834", "text": "public void printWholePatternTable(){\n\t\t\n\t\tSystem.out.println(\"\");\n\t\t/**** print the grid******/\n\t\tSystem.out.println(\"The Whole Pattern Table\");\n\t\tSystem.out.print(\" \");\n\t\tfor (int num=0; num<graphList.size();num++){\n\t\t\tSystem.out.print(\"g\"+num+\" \");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t\tfor (int i=0;i<patternTableWhole.size();i++){\n\t\t\tSystem.out.print(\"p\"+i+\" \");\n\t\t\tfor (int j=0;j<patternTableWhole.get(i).size();j++){\n\t\t\t\tSystem.out.print(patternTableWhole.get(i).get(j)+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "title": "" }, { "docid": "a4134392cfc29055ceea7f25722b585a", "score": "0.5551239", "text": "public static void main(String[] args) { Crate a program that draws a chess table like this\n //\n // % % % %\n // % % % %\n // % % % %\n // % % % %\n // % % % %\n // % % % %\n // % % % %\n // % % % %\n //\n\n System.out.println(\"Chess table: \");\n //Rows\n for (int r = 0; r <= 8; r++) {\n\n //columns\n if (r % 2 != 0) {\n for (int c = 1; c <= 8; c++) {\n if (c % 2 == 0) {\n System.out.print(\"#\");\n } else {\n System.out.print(\" \");\n }\n }\n } else {\n for (int c = 1; c <= 8; c++) {\n if (c % 2 != 0) {\n System.out.print(\"#\");\n } else {\n System.out.print(\" \");\n }\n }\n }\n System.out.println();\n\n }\n }", "title": "" }, { "docid": "2c40202c494ec16db0d420bd72236b86", "score": "0.5520632", "text": "private static HashMap<String, String[]> printColors(XWPFTable table) {\n\n String[] keySwatches = {\n \"KEY_MON\",\n\n \"KEY_TUE\",\n\n \"KEY_WED\",\n\n \"KEY_THU\",\n\n \"KEY_FRI\",\n\n \"KEY_SAT\",\n\n \"KEY_SUN\",\n\n \"KEY_STAFF\",\n\n \"KEY_GUEST\"\n };\n\n\n HashMap<String, String[]> mapSwatch = new HashMap<String, String[]>();\n\n int i;\n\n for (i=0; i<SWATCHNO; i++) {\n\n String key = keySwatches[i];\n\n String[] values = {\"\",\"\",\"\"};\n\n mapSwatch.put(key, values);\n\n }\n\n int row_index;\n\n for (row_index=0; row_index<3; row_index++) {\n\n XWPFTableRow row = table.getRow(row_index);\n\n List<XWPFTableCell> cells = row.getTableCells();\n\n int column_index = 0;\n\n for (XWPFTableCell cell : cells) {\n\n String color = cell.getColor();\n cell.setText(color);\n //System.out.println(color);\n\n String key = keySwatches[column_index];\n\n String[] values = mapSwatch.get(key);\n\n values[row_index] = color;\n\n mapSwatch.put(key, values);\n\n //System.out.println(\"key: \" + key + \" value: \"+color);\n\n column_index++;\n\n }\n\n }\n\n commitTable(table);\n\n return(mapSwatch);\n\n }", "title": "" }, { "docid": "df4f47ba5dc6a8188d5f1c0639a6cd7b", "score": "0.5435758", "text": "private static void printLegend() {\n for (int i = 0; i < Flower.Colors.count(); i++) {\n System.out.print(String.format(\" %d -> %s \", i + 1, Flower.Colors.fromValue(i + 1).getParser()));\n }\n System.out.println();\n }", "title": "" }, { "docid": "62515b8bff53a6fe9f7b7602118ae08f", "score": "0.54178816", "text": "private void showPayoutTable()\r\n { \r\n\tSystem.out.println(\"\\n\\n\");\r\n\tSystem.out.println(\"Payout Table \t Multiplier \");\r\n\tSystem.out.println(\"=======================================\");\r\n\tint size = multipliers.length;\r\n\tfor (int i=size-1; i >= 0; i--) {\r\n\t\tSystem.out.println(goodHandTypes[i]+\"\\t|\\t\"+multipliers[i]);\r\n\t}\r\n\tSystem.out.println(\"\\n\\n\");\r\n }", "title": "" }, { "docid": "a5e2977ebc97c753b53287341f56ac60", "score": "0.5397387", "text": "public static PdfPTable createTable2()\n throws DocumentException {\n PdfPTable table = new PdfPTable(new float[] { 2, 8, 3, 2, 3, 2, 3, 2, 3, 2, 2, 3, 2, 2, 2, 2, 2, 3 });\n table.setWidthPercentage(110f);\n \n //table.setWidthPercentage(100);\n // t.setBorderColor(BaseColor.GRAY);\n // t.setPadding(4);\n // t.setSpacing(4);\n // t.setBorderWidth(1);\n \n \n table.getDefaultCell().setBackgroundColor(BaseColor.LIGHT_GRAY);\n table.getDefaultCell().setUseAscender(true);\n table.getDefaultCell().setUseDescender(true);\n \n table.addCell(\"\");\n table.addCell(\"Team2\");\n for(int i = 0; i <16; ++i){\n table.addCell(\"\"); \n }\n \n \n table.addCell(\"No\");\n table.addCell(\"Player\");\n table.addCell(\"MIN\");\n table.addCell(\"FG\");\n table.addCell(\"FGA\");\n table.addCell(\"3P\");\n table.addCell(\"3PA\");\n table.addCell(\"FT\");\n table.addCell(\"FTA\");\n table.addCell(\"OR\");\n table.addCell(\"DR\");\n table.addCell(\"TOT\");\n table.addCell(\"A\");\n table.addCell(\"PF\");\n table.addCell(\"ST\");\n table.addCell(\"TO\");\n table.addCell(\"BS\");\n table.addCell(\"PTS\");\n \n table.getDefaultCell().setBackgroundColor(null);\n \n \n \n \n \n \n for(int i=0; i<5; ++i){\n if(i%2 != 0)\n table.getDefaultCell().setBackgroundColor(BaseColor.LIGHT_GRAY);\n else\n table.getDefaultCell().setBackgroundColor(null);\n \n table.addCell(\"10\");\n table.addCell(\"Charlie Brown\");\n table.addCell(\"10:11\");\n table.addCell(\"8\");\n table.addCell(\"7\");\n table.addCell(\"11\");\n table.addCell(\"7\");\n table.addCell(\"5\");\n table.addCell(\"4\");\n table.addCell(\"3\");\n table.addCell(\"2\");\n table.addCell(\"5\");\n table.addCell(\"12\");\n table.addCell(\"4\");\n table.addCell(\"2\");\n table.addCell(\"4\");\n table.addCell(\"2\");\n table.addCell(\"39\");\n }\n return table;\n }", "title": "" }, { "docid": "cd9bf503027fea1506cbd65934048a01", "score": "0.5385777", "text": "public void printSchedule(State s) {\r\n\t\t PrintStream previous = System.out;\r\n\t\tPrintStream fileStream = null;\r\n\t\ttry {\r\n\t\t\tfileStream = new PrintStream(\"schedule.txt\");\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tSystem.setOut(fileStream);\r\n\t\t for(int k=0; k<9; k++) { //for every section\r\n\t\t\t if (k == 0) System.out.print(\"A1: \");\r\n\t\t\t else if (k == 1) System.out.print(\"A2: \");\r\n\t\t\t else if (k == 2) System.out.print(\"A3: \");\r\n\t\t\t else if (k == 3) System.out.print(\"B1: \");\r\n\t\t\t else if (k == 4) System.out.print(\"B2: \");\r\n\t\t\t else if (k == 5) System.out.print(\"B3: \");\r\n\t\t\t else if (k == 6) System.out.print(\"C1: \");\r\n\t\t\t else if (k == 7) System.out.print(\"C2: \");\r\n\t\t\t else System.out.print(\"C3: \");\r\n\t\t\t System.out.format(\"%30s%30s%30s%30s%30s\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \" Friday\\n\");\r\n\t\t\t System.out.format(\"%30s\", \"____________________________________________________________________________________________________________________________________________________________ \\n\");\r\n\t\t\t for (int i = 0; i < 7; i++) { // for every day\r\n\t\t\t\t if (i == 0) System.out.print(\"1st: \");\r\n\t\t\t\t else if (i == 1) System.out.print(\"2nd: \");\r\n\t\t\t\t else if (i == 2) System.out.print(\"3rd: \");\r\n\t\t\t\t else System.out.print((i + 1) + \"th: \");\r\n\r\n\t\t\t\t for (int j = 0; j < 5; j++) {\r\n\t\t\t\t\t if (s.getSchedule()[i][j][k] == null) {\r\n\t\t\t\t\t\t System.out.format(\"%30s\", \"-\");\r\n\t\t\t\t\t\t continue;\r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.format(\"%30s\", s.getSchedule()[i][j][k].getLesson().getName() + \" (\" + s.getSchedule()[i][j][k].getTeacher().getName().substring(0, 4) + \".) \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.println(\"\\n ___________________________________________________________________________________________________________________________________________________________\");\r\n\t\t\t }\r\n\r\n\t\t\t System.out.println(\"\\n\");\r\n\r\n\t\t }\r\n\t\t fileStream.close();\r\n\t\t System.setOut(previous);\r\n\t }", "title": "" }, { "docid": "c6d33d27a22ab2034310190f609cf1e3", "score": "0.5372252", "text": "static void e() {\n System.out.printf(\"\\n\");\n for (int i = 0; i < 8; i++) {\n System.out.printf(\" \");\n for (int j = 0; j < 7; j++) {\n if (i == 0) {\n System.out.printf(\"%c\", E);\n } else if (i > 0 && i < 3\n && j < 2) {\n System.out.printf(\"%c\", E);\n } else if (i == 3 && j < 6) {\n System.out.printf(\"%c\", E);\n } else if (i > 3 && i < 6\n && j < 2) {\n System.out.printf(\"%c\", E);\n } else if (i == 6) {\n System.out.printf(\"%c\", E);\n } else\n System.out.printf(\" \");\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "6676764c2a7b1be494321e2519863f13", "score": "0.53650206", "text": "public void tabularDisplay(Results results, Metric metric, String resultType){\n //---------------------setting the solution for up_to option------------------------//\n ArrayList<String> rangeList = new ArrayList<>();\n if (resultType.equals(\"up_to\")){\n for (ArrayList<String> i : metric.getDateListForUpTo()) {\n if (i.size() > 1) {\n String labelFormat = i.get(0) + \"-\" + i.get(i.size() - 1);\n rangeList.add(labelFormat);\n }else {\n rangeList.add(i.get(0)+\"\\t\\t\");\n }\n }\n System.out.println();\n System.out.println(\"-\".repeat(33));\n System.out.println(\"\\t\\t\\tRange\\t\"+\"\\t|\\s\"+\"Value\");\n System.out.println(\"-\".repeat(33));\n for (int i = 0; i < rangeList.size(); i++) {\n System.out.print(\"|\\t\");\n System.out.print(rangeList.get(i)+\"\\t|\\t\"+results.getResults().get(i));\n System.out.print(\" \".repeat(3)+\"|\");\n System.out.println();\n }\n System.out.println(\"-\".repeat(33));\n System.out.println();\n\n //---------------setting the solution for new_total option------------------//\n }else if (resultType.equals(\"new_total\")){\n for (ArrayList<String> i : metric.getDateList()) {\n if (i.size() > 1) {\n String labelFormat = i.get(0) + \"-\" + i.get(i.size() - 1);\n rangeList.add(labelFormat);\n } else {\n rangeList.add(i.get(0)+\"\\t\\t\");\n }\n }\n System.out.println();\n System.out.println(\"-\".repeat(33));\n System.out.println(\"\\t\\t\\tRange\\t\"+\"\\t|\\s\"+\"Value\");\n System.out.println(\"-\".repeat(33));\n\n for (int i = 0; i < rangeList.size(); i++) {\n System.out.print(\"|\\t\");\n System.out.print(rangeList.get(i)+\"\\t|\\t\"+results.getResults().get(i));\n System.out.print(\" \".repeat(3)+\"|\");\n System.out.println();\n }\n System.out.println(\"-\".repeat(33));\n System.out.println();\n }\n }", "title": "" }, { "docid": "cfee7d9f6ce6807bacf4ed5e0830f684", "score": "0.5358031", "text": "protected void printTable() {\n System.out.print(\"\\n\\n\\n\\n \");\n for (int i=0; i<8; i++)\n System.out.print(alphabet.charAt(i) + \"\\u2005\");\n System.out.println();\n for (int i=0; i<8; i++) {\n System.out.print(i+1);\n for (int j=0; j<8; j++)\n System.out.print(cells[i][j].getCharacter());\n System.out.println();\n }\n }", "title": "" }, { "docid": "ba9e98d29e153ed564c7de9eb49e7baf", "score": "0.53478813", "text": "public static PdfPTable createTable1() \n throws DocumentException {\n \n PdfPTable table = new PdfPTable(new float[] { 2, 8, 3, 3, 3, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 3 });\n table.setWidthPercentage(110f);\n \n //table.setWidthPercentage(100);\n // t.setBorderColor(BaseColor.GRAY);\n // t.setPadding(4);\n // t.setSpacing(4);\n // t.setBorderWidth(1);\n \n table.getDefaultCell().setBackgroundColor(BaseColor.LIGHT_GRAY);\n table.getDefaultCell().setUseAscender(true);\n table.getDefaultCell().setUseDescender(true);\n \n table.addCell(\"\");\n table.addCell(\"Team1\");\n for(int i = 0; i <15; ++i){\n table.addCell(\"\"); \n }\n \n table.addCell(\"No\");\n table.addCell(\"Player\");\n table.addCell(\"MIN\");\n table.addCell(\"FG\");\n //table.addCell(\"FGA\");\n table.addCell(\"3P\");\n //table.addCell(\"3PA\");\n table.addCell(\"Ft\");\n table.addCell(\"+/-\");\n table.addCell(\"Off\");\n table.addCell(\"Def\");\n table.addCell(\"Reb\");\n table.addCell(\"A\");\n table.addCell(\"To\");\n table.addCell(\"Stl\");\n table.addCell(\"Bs\"); //Blocked shots\n table.addCell(\"Ba\"); //Blocked against\n table.addCell(\"PF\"); //Personnal fouls\n table.addCell(\"Pts\");\n \n table.getDefaultCell().setBackgroundColor(null);\n \n \n \n for(int i=0; i<5; ++i){\n if(i%2 != 0)\n table.getDefaultCell().setBackgroundColor(BaseColor.LIGHT_GRAY);\n else\n table.getDefaultCell().setBackgroundColor(null);\n \n table.addCell(\"10\");\n table.addCell(\"Charlie Brown\");\n table.addCell(\"10:11\");\n table.addCell(\"8-10\");\n table.addCell(\"7-13\");\n table.addCell(\"11-12\");\n table.addCell(\"7\");\n table.addCell(\"5\");\n table.addCell(\"4\");\n table.addCell(\"3\");\n table.addCell(\"2\");\n table.addCell(\"5\");\n table.addCell(\"12\");\n table.addCell(\"4\");\n table.addCell(\"2\");\n table.addCell(\"4\");\n// table.addCell(\"2\");\n table.addCell(\"39\");\n }\n return table;\n }", "title": "" }, { "docid": "57daf97d4fc18db54a5ab7a216176c74", "score": "0.53376776", "text": "public static void Output(Roster roster, String rootName, String outputDirectory, String templateFile, Map<Object, Indictment> map) throws Exception {\n\n //Determine if it is feasible or not\n Boolean feasible = roster.getScore().isFeasible();\n\n //Hard constraint score for roster\n int totalHardScore = (int) roster.getScore().toLevelNumbers()[0];\n\n //Create feasibility data\n List<Workshop> wklist = roster.getWorkshopList();\n\n List<FeasibleWorkshop> feasibilityList = new ArrayList<FeasibleWorkshop>();\n\n for (Map.Entry<Object, Indictment> mapitem : map.entrySet()) {\n\n //Get index object\n Object tempObj = mapitem.getKey();\n\n //Get hardscore\n Indictment tempInd = mapitem.getValue();\n Score tempScore = tempInd.getScore();\n Number[] tempNumber = tempScore.toLevelNumbers();\n int hardScore = (int) tempNumber[0];\n\n // only print workshops with hard constraint breaches\n if(hardScore >= 0){\n continue;\n }\n\n //System.out.println(\"Obj \"+tempObj);\n\n //If the map contains a workshop\n if (tempObj.toString().contains(\"Workshop\")) {\n\n //Run through Workshop list\n for (Workshop wk : wklist) {\n\n //System.out.println(\"Workshop \"+wk);\n\n if (tempObj == wk) {\n\n if (hardScore < 0) {\n\n System.out.println(tempObj + \" \" + hardScore + \" red \" + wk);\n\n feasibilityList.add(new FeasibleWorkshop(wk,false, hardScore));\n\n } else {\n\n System.out.println(tempObj + \" \" + hardScore + \" green \" + wk);\n\n feasibilityList.add(new FeasibleWorkshop(wk,true, hardScore));\n\n }\n }\n }\n }\n }\n\n int TABLE_BIG_ISSUE = 0;\n\n int TABLE_FEASIBLE = 1;\n\n int TABLE_DAY = 2;\n\n int TABLE_STAFF = 3;\n\n int TABLE_GUEST = 4;\n\n int TABLE_SWATCHES = 5;\n\n int START = 6;\n\n int STARTBREAK = 8;\n\n //Load the Document\n\n //XWPFDocument templateDocument = new XWPFDocument(new FileInputStream(FILE_NAME));\n XWPFDocument templateDocument = new XWPFDocument(new FileInputStream(templateFile));\n\n //Get the Swatches table\n XWPFTable tableSwatches = templateDocument.getTables().get(TABLE_SWATCHES);\n\n HashMap<String, String[]> mapSwatch = printColors(tableSwatches);\n\n //Get the set of staff\n LinkedHashSet<String> staffSet = getStaff(roster);\n\n //Get the set of guests\n LinkedHashSet<String> guestSet = getGuest(roster);\n\n //Get the set of dates\n LinkedHashSet<String> dateSet = getDates(roster);\n\n //Get first and last date\n Iterator dateIterator = dateSet.iterator();\n\n String firstDate = (String) dateIterator.next();\n String lastDate = firstDate; //If only one day with workshops\n while (dateIterator.hasNext()) {lastDate = (String) dateIterator.next();}\n\n //Get the Big Issue header table\n XWPFTable tableBigIssue = templateDocument.getTables().get(TABLE_BIG_ISSUE);\n\n //Replace the date\n replaceRowText(1, tableBigIssue, \"$CustomDate\",firstDate +\" - \"+ lastDate);\n\n //Replace the feasibility\n if (feasible) {\n replaceRowText(0, tableBigIssue, \"$Feasible\", \"Feasible Roster\");\n }\n else {\n replaceRowText(0, tableBigIssue, \"$Feasible\", \"Infeasible Roster\");\n }\n\n //Commit Table\n commitTable(tableBigIssue);\n\n //Get the feasibility table\n XWPFTable tableFeasible = templateDocument.getTables().get(TABLE_FEASIBLE);\n\n //Get the day table\n XWPFTable tableDay = templateDocument.getTables().get(TABLE_DAY);\n\n //Get the staff table\n XWPFTable tableStaff = templateDocument.getTables().get(TABLE_STAFF);\n\n //Get the guest table\n XWPFTable tableGuest = templateDocument.getTables().get(TABLE_GUEST);\n\n int position = START;\n\n //Only add feasibility table if roster has hard constraint breaches\n if(totalHardScore < 0){\n addFeasibleTable(templateDocument, tableFeasible, roster, feasibilityList, position++);\n }\n\n //For every date in the set\n for (String date: dateSet) {\n //Add first date on roster data\n addRosterDateTable(templateDocument, tableDay, roster, date, mapSwatch, position++\n );\n }\n\n //System.out.println(\"Printed days!\");\n\n //For every staff in the set\n for (String staff: staffSet) {\n //Add first date on roster data\n addRosterStaffTable(templateDocument, tableStaff, roster, staff, mapSwatch, position++, false\n );\n }\n\n //System.out.println(\"Printed staff!\");\n\n //For every staff in the set\n for (String staff: guestSet) {\n //Add first date on roster data\n addRosterStaffTable(templateDocument, tableGuest, roster, staff, mapSwatch, position++, true\n );\n }\n\n //System.out.println(\"Printed guests!\");\n\n position = templateDocument.getPosOfTable(tableFeasible);\n templateDocument.removeBodyElement( position );\n\n position = templateDocument.getPosOfTable(tableDay);\n templateDocument.removeBodyElement( position );\n\n position = templateDocument.getPosOfTable(tableStaff);\n templateDocument.removeBodyElement( position );\n\n position = templateDocument.getPosOfTable(tableGuest);\n templateDocument.removeBodyElement( position );\n\n position = templateDocument.getPosOfTable(tableSwatches);\n templateDocument.removeBodyElement( position );\n\n System.out.println(\"Deleted tables!\");\n\n List<XWPFParagraph> para = templateDocument.getParagraphs();\n\n int count = 0;\n\n for (XWPFParagraph p : para) {\n\n XWPFRun r = p.createRun();\n\n if (count>STARTBREAK) {\n\n r.addCarriageReturn();\n r.addBreak(BreakType.PAGE);\n }\n //r.setText(\"This is paragaph \" + count);\n count++;\n }\n\n //Export the document\n templateDocument.write(new FileOutputStream( outputDirectory+\"/\" +rootName+\"_Word.docx\"));\n templateDocument.close();\n\n }", "title": "" }, { "docid": "5dfae02aab69ecaa64c108a030b67fe9", "score": "0.5312522", "text": "private static void printTable(double leftBorder, double rightBorder, double step) {\n System.out.printf(\"|----------------------|\\n\" +\n \"| x | y |\\n\" +\n \"|----------------------|\\n\");\n for (double h = leftBorder; h <= rightBorder; h+=step) {\n System.out.printf(\"| %5f | % 5f |\\n|----------------------|\\n\", h, 2*Math.tan(h)-3);\n }\n }", "title": "" }, { "docid": "32f37719a17e6cc3e417467ad5b5b360", "score": "0.5310518", "text": "public void print() {\n\t\tprintDashes();\r\n\t\tSystem.out.print(\"|\");\r\n\t\tSystem.out.print(String.format(\"%1$\" + cellWidth + \"s\", \"|\"));\r\n\t\tfor (int i = 0; i < numberOfColumns; i++) {\r\n\t\t\t// Add 65 to get the int cast to a char\r\n\t\t\tSystem.out.print(String.format(\"%1$\" + cellWidth + \"c|\", (char) i + 65));\r\n\t\t}\r\n\t\t\r\n\t\tfor (int i = 0; i < numberOfRows; i++) {\r\n\t\t\tSystem.out.println();\r\n\t\t\tprintDashes();\r\n\t\t\tSystem.out.print(\"|\");\r\n\t\t\t// Had to create a \"new\" width because I needed to minus 1, and I can't do it in the .format.\r\n\t\t\tint newCellWidth = cellWidth - 1;\r\n\t\t\tSystem.out.print(String.format(\"%1$\" + newCellWidth + \"d|\", i + 1));\r\n\t\t\t// *END HEADER*\r\n\t\t\tfor (int j = 0; j < numberOfColumns; j++) {\r\n\t\t\t\tSystem.out.printf(\"%s|\", rowsAndColumns[i][j].padLeft(cellWidth));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t\tprintDashes();\r\n\t\t \r\n\t}", "title": "" }, { "docid": "cd5e6b3d9d97379e423763c3d364c547", "score": "0.52939945", "text": "private void showIteration(){\n\t\t\t//System.out.printf(\"*** %s \\n\", T.get(1));\n\t\t\tSystem.out.printf(\"Iteration #%d Vulnerability = %f\\n\",n,V);\n\t\t\t/*System.out.printf(\"Iteration #%d\\nVulnerability = %f\\nFailure Probability = \\n%s\\nRouter Probability = \\n%s\\n S-Expected Link Cost= \\n%s\\n Link Flows= \\n%s\\n\",\n\t\t\t\t\tn, V, rho.toString(), gamma.toString(), T.toString(), x.toString());*/\n\t\t\tvulnerability.printf(\"%s\\n\",Double.toString(V));\n\t\t\tfailureProbFile.printf(\"%d%s\\n\", n, rho.toRowString());\n\t\t\trouterProbFile.printf(\"%d%s\\n\", n, gamma.toRowString());\n\t\t\tTFile.printf(\"%d%s\\n\", n, T.toRowString());\n\t\t\tlinkflowFile.printf(\"%d%s\\n\", n, x.toRowString());\n\t\t\tsFile.printf(\"%d%s\\n\", n, S.toRowString());\n\t\t}", "title": "" }, { "docid": "8dade58d59cf41fb16fd76ebdb7f6d5b", "score": "0.52902335", "text": "public void display()\n {\n String s = \"-----\";\n System.out.printf(\"\\n\");\n \n // prints operator\n System.out.printf(\"%5s\", operator);\n\n // prints header numbers\n System.out.printf(\" \");\n for (int i = 0; i < table.length; i++)\n System.out.printf(\"%5d\", (i + start));\n\n System.out.printf(\"\\n\");\n\n // prints underline under header numbers\n System.out.printf(\" \");\n for (int i = 0; i <= table.length; i++)\n System.out.printf(\"%5s\", s);\n\n System.out.printf(\"\\n\");\n\n // prints side column numbers and elements of array\n for (int row = 0; row < table.length; row++)\n {\n System.out.printf(\"%5d |\", row + start);\n for (int col = 0; col < table.length; col++)\n System.out.printf(\"%5.0f\", table[row][col]);\n \n System.out.printf(\"\\n\");\n }\n }", "title": "" }, { "docid": "3f13fd5ed65508968a7415aa61f857e9", "score": "0.52762073", "text": "public void print() {\n System.out.printf(\" \");\n /**\n * If width is over 26, divide by 26 and print that value until the number dividing into is less\n * than 26, take the mod of original number as final letter\n *\n * Find greatest power of 26 that goes into the number of that cell, divide to get letter for that space,\n * take mod for rest of number, continue pattern on that mod\n */\n if(this.spreadSheet.length > 26) {\n for(int i = 0; i < this.spreadSheet.length; i++) {\n int width = i;\n String header = \"\";\n if(width < 26) {\n header = \"\" + letters.charAt(width);\n } else {\n while(width > 25) {\n int j = 0;\n while(Math.pow(26, j) <= width) {\n j++;\n }\n j--;\n header += \"\" + letters.charAt((width / ((int) Math.pow(26, j)))-1);\n width %= (int) Math.pow(26, j);\n }\n header += letters.charAt(width);\n }\n\n System.out.printf(\"|%9s\", header);\n }\n } else {\n for (int i = 0; i < this.spreadSheet.length; i++) {\n System.out.printf(\"| %s \", letters.charAt(i));\n }\n }\n System.out.printf(\"|\\n----+\");\n for(int i = 0; i < this.spreadSheet.length; i++) {\n System.out.printf(\"---------+\");\n }\n System.out.println();\n for(int i = 0; i < this.spreadSheet[0].length; i++) {\n System.out.printf(\"%4d|\", i+1);\n for(int j = 0; j < this.spreadSheet.length; j++) {\n spreadSheet[j][i].upDateCell();\n System.out.printf(\"%9s|\", spreadSheet[j][i].toString());\n }\n System.out.printf(\"\\n----+\");\n for(int k = 0; k < this.spreadSheet.length; k++) {\n System.out.printf(\"---------+\");\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "80239ac3b0b5930d1041a1cfe218faf2", "score": "0.5260889", "text": "public String toString() {\n String s = \"\\n\\t ---------------------------------- \\n\\t\";\n for (int f = 0; f < fila; f++) {\n for (int c = 0; c < col; c++) {\n s = s + \" | \"+tab[f][c];\n }\n s = s + \" | \\n\\t --------------------------------- \\n\\t\";\n }\n s = s + \" 0 1 2 3 4 5 6\\n\";\n return s;\n }", "title": "" }, { "docid": "814090086a8f4ae907c1a5c193b22d1b", "score": "0.5258216", "text": "private void appearance() {\n\t\tsetBorder(BorderFactory.createTitledBorder(\"Export Table\"));\n\t\t// this.setLayout(new BorderLayout());\n\t\tsetBackground(Color.GRAY);\n\t\t// setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));\n\n\t}", "title": "" }, { "docid": "f9834ec6a2973fe0c7737eb281e48099", "score": "0.52552164", "text": "public void formatFields() {\r\n \r\n if(!hasRight){\r\n awardBasisForm.btnAdd.setEnabled(false);\r\n awardBasisForm.btnDelete.setEnabled(false);\r\n awardBasisForm.btnOK.setEnabled(false);\r\n awardBasisForm.tblBasis.setBackground((Color) UIManager.getDefaults().get(\"Panel.background\"));\r\n }\r\n }", "title": "" }, { "docid": "1721ee8b30cdfbf1258b697eb4113971", "score": "0.5253075", "text": "private void printTable()\r\n\t{\r\n\t\tSystem.out.printf(\" prob |\");\r\n\r\n\t\t/* get all variable names */\r\n\t\tString[] vn = new String[vars.size()];\r\n\t\tfor (int i = 0; i < vn.length; i++)\r\n\t\t\tvn[i] = vars.get(i).getVariable();\r\n\r\n\t\t/* get all state names */\r\n\t\tString[][] vst = new String[vars.size()][];\r\n\t\tfor (int i = 0; i < vst.length; i++)\r\n\t\t\tvst[i] = vars.get(i).getMarginal().states;\r\n\r\n\t\t/* get column widths */\r\n\t\tint[] sl = new int[vst.length];\r\n\t\tfor (int i = 0; i < sl.length; i++)\r\n\t\t{\r\n\t\t\tint maxl = vn[i].length();\r\n\t\t\tfor (int j = 0; j < vst[i].length; j++)\r\n\t\t\t\tif (vst[i][j].length() > maxl)\r\n\t\t\t\t\tmaxl = vst[i][j].length();\r\n\t\t\tif (maxl < 9)\r\n\t\t\t\tmaxl = 9;\r\n\t\t\tsl[i] = maxl;\r\n\t\t}\r\n\r\n\t\t/* initialize recursive counter */\r\n\t\tint[] idx = new int[vst.length];\r\n\t\tint[] len = new int[vst.length];\r\n\t\tfor (int i = 0; i < vst.length; i++)\r\n\t\t\tlen[i] = vars.get(i).numStates();\r\n\r\n\t\t/* print column headings */\r\n\t\tfor (int i = 0; i < vn.length; i++)\r\n\t\t\tprintw(\"| %s \", sl[i] + 3, vn[i]);\r\n\t\tSystem.out.printf(\"\\n\");\r\n\r\n\t\t/* print columns */\r\n\t\tfor (int i = 0; i < dist.length; i++)\r\n\t\t{\r\n\t\t\tSystem.out.printf(\" %8.4f%% |\", dist[i] * 100.0);\r\n\t\t\tfor (int j = 0; j < vst.length; j++)\r\n\t\t\t\tprintw(\"| %s \", sl[j] + 3, vst[j][idx[j]]);\r\n\t\t\tSystem.out.printf(\"\\n\");\r\n\t\t\tint j = vst.length - 1;\r\n\t\t\twhile (j >= 0)\r\n\t\t\t\tif (++idx[j] == len[j])\r\n\t\t\t\t\tidx[j--] = 0;\r\n\t\t\t\telse\r\n\t\t\t\t\tbreak;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ae3f4afcd9f34c532f746ba7a587c139", "score": "0.52397954", "text": "private static void prettyPrint(Flowerbed result) {\n System.out.println(String.format(\"Hochbeet: %d%n\", result.getId()) +\n String.format(\"%5d %n\",\n result.getFlower(0).color.value()) +\n String.format(\"%3d%4d %n\",\n result.getFlower(1).color.value(),\n result.getFlower(2).color.value()) +\n String.format(\"%d%4d%4d %n\",\n result.getFlower(3).color.value(),\n result.getFlower(4).color.value(),\n result.getFlower(5).color.value()) +\n String.format(\"%3d%4d %n\",\n result.getFlower(6).color.value(),\n result.getFlower(7).color.value()) +\n String.format(\"%5d %n\",\n result.getFlower(8).color.value()) +\n String.format(\"Bewertung: %d%n\", result.getScore()));\n }", "title": "" }, { "docid": "92780798c28f444ea8a4ee14956b367f", "score": "0.523345", "text": "public void newField(int[][] fildChess) {\r\n\t\tSystem.out.println(\" a b c d e f g j\");\r\n\t\tSystem.out.println(\" ____ ____ ____ ____ ____ ____ ____ ____\");\r\n\t\tfor (int i = 0; i < 8; i++) {\r\n\t\t\tSystem.out.print(i + 1);\r\n\t\t\tfor (int j = 0; j < 8; j++) {\r\n\t\t\t\tswitch (fildChess[i][j]) {\r\n\t\t\t\tcase 0: {\r\n\t\t\t\t\tSystem.out.print(\" | \" + \" \");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tcase 1: {\r\n\t\t\t\t\tSystem.out.print(\" | \" + \"b \");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tcase 2: {\r\n\t\t\t\t\tSystem.out.print(\" | \" + \"w \");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tcase 10: {\r\n\t\t\t\t\tSystem.out.print(\" | \" + \" \");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tcase 3: {\r\n\t\t\t\t\tSystem.out.print(\" | \" + \"qb\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tcase 4: {\r\n\t\t\t\t\tSystem.out.print(\" | \" + \"qw\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\" |\");\r\n\t\t\tSystem.out.println(\" ____ ____ ____ ____ ____ ____ ____ ____\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "742e141daf44e81a6e95566f7ae74e60", "score": "0.52130634", "text": "public void print() {\n for (int i = 0; i < zeile; i++) {\n for (int j = 0; j < spalte; j++) {\n String value = String.format(\"%.2f\", table[i][j]);\n System.out.print(value + \"\\t\");\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "8051a8cceba1464d267eef91bcc38534", "score": "0.52061665", "text": "public void displayTables()\n {\n System.out.println(\"Hash Table 1\");\n System.out.printf(\"%-7s %-11s\\n\", \"Index\", \"Value\");\n System.out.println(\"------------------\");\n hashTable1.displayTable();\n \n System.out.println(\"Hash Table 2\");\n System.out.printf(\"%-7s %-11s\\n\", \"Index\", \"Value\");\n System.out.println(\"------------------\");\n hashTable2.displayTable();\n }", "title": "" }, { "docid": "7c86f4f9144459529225e8dae05493f0", "score": "0.51936245", "text": "public void printTablePartAll(Graphics2D g2, PageFormat pageFormat, int pi)\n {\n //Printing Left-Right-Width-Height's calculated\n int printablePageLeft = 0;\n int printablePageRight = numColumnOnAPage * columnWidth;\n int printablePageWidth = printablePageRight-printablePageLeft;\n int newPageHeight = numRowsOnAPage * oneRowHeight;\n\n //moves graphic object to starting location of current page\n g2.translate(-printablePageLeft, 0);\n\n if (pi == 0) //IF FIRST PAGE, THEN PRINT ALL ITEMS\n {\n\n\n String pageNumber1 = \"Page: \" + \"1 - 1\";\n g2.drawString(pageNumber1, (int)pageWidth/2, (int)(500));\n // System.out.println(\"The page number for first page is \" + pageNumber1);\n\n //All Set Clip Code goes to X,Y position, then cuts out from there a Width,Height section\n\n //BAR-GRAPH TABLE (Header part to all first row-horizontal pages)\n g2.translate(rhjt.getWidth(), 0);\n g2.setClip(printablePageLeft, 0, printablePageWidth, (int) barHeaderHeight);\n vjt.paint(g2); // draw's the graph bars table\n\n //BUTTON TABLE\n g2.translate( -rhjt.getWidth(), 0);\n g2.setClip(printablePageLeft, 0, vhjt.getWidth(), (int) barHeaderHeight);\n vhjt.paint(g2); //draws the radio-button table\n\n //IF-THEN TABLE\n g2.translate(pageLeft, barHeaderHeight+tableHeaderHeight);\n g2.setClip(printablePageLeft, 0, (int) verticalTableWidth, (int) newPageHeight); //modified, goes to same height as main table\n rhjt.paint(g2); //draws if-then table\n\n //TABLE HEADER OF MAIN TABLE\n g2.translate(rhjt.getWidth(),-tableHeaderHeight );\n g2.setClip(printablePageLeft, 0, printablePageWidth, (int) tableHeaderHeight);\n tableHeader.paint(g2); //draws header for rjt table (numbers)\n\n // CHECK AND BOX TABLE (MAIN TABLE)\n g2.translate(0, tableHeaderHeight);\n g2.setClip(printablePageLeft, 0, printablePageWidth, (int) newPageHeight);\n rjt.paint(g2); //draws check and box table\n\n\n }\n\n else //ELSE PRINT CERTAIN PARTS OF TABLE, BASED ON PAGE POSITION CONDITIONS\n {\n g2.translate(0, -40);\n\n /*\n This Code prints the complete first visible rows of table with all necessary headers;\n Once that is complete, the next set of rowso f the table are printed by shifting the graphics objected downwards to\n the last printed row of previous page and clip from there. Then the following\n else if statement involving onLevelCount, indicates that the printer\n should continued printing on same Y, but change X (Shifting horizontally)\n When onLevelCount hits max, sets back to zero and then shifts downward to next row\n And that process continues until all rows printed. The printing being done is one in which\n the top visible rows are printed with headers and all, then we first shift horizontally, then shift down one whole page and print that by shifting\n horizontally on that set of rows and continuing on as such.\n\n *Note* The use of onLevelCount variable, allows for the horizontal shifting on vertical pages 2 -> end.\n Also the use of printCounts is to deal with the fact that printIndex is used twice by printing, meaning methods are\n called twice and inside methods, we only want values that shift for clipping, to change once.\n\n */\n //all top horizontal sections\n if (currentHorizontalPage <= numHorizontalPages)\n {\n\n String pageNumber2 = \"Page: 1\" + \"-\" + currentHorizontalPage;\n\n g2.drawString(pageNumber2, (int)pageWidth / 2, (int)500);\n\n printTablePart2(g2, pageFormat, currentHorizontalPage, pi);\n if (printHorizontalCount == 1) //If second call to print index made, move to next page, reset print count\n {\n currentHorizontalPage = currentHorizontalPage + 1;\n printHorizontalCount = 0;\n }\n else //First print index call, increment print count\n printHorizontalCount++;\n }\n //top-left side section, all vertical, executed once for each vertical page\n else if (currentVerticalPage <= numVerticalPages || currentHorizontalPage2 <= numHorizontalPages)\n {\n //g2.translate(0, -40);\n if (onLevelCount == 0) //If zero then at new row so, print it first page of it\n {\n\n String pageNumber3 = \"Page:\" + currentVerticalPage + \"-\" + \"1\";\n g2.drawString(pageNumber3, (int)pageWidth/2, (int)(500));\n printTablePart3(g2, pageFormat, currentVerticalPage, pi);\n\n if (printVerticalCount == 1)//If second call to print index made, move to next page, reset print count\n {\n currentVerticalPage = currentVerticalPage + 1;\n printVerticalCount = 0;\n onLevelCount++;\n currentHorizontalPage2 = 2;\n }\n else//First print index call, increment print count\n printVerticalCount++;\n\n }\n //At same set of visible rows as above, shift page horizontally, printing columnsPerPage and rowsPerPage on each page\n\n else if (onLevelCount <= numHorizontalPages)\n {\n\n String pageNumber4 = \"Page:\" + (currentVerticalPage-1) + \"-\" + (onLevelCount+1);\n g2.drawString(pageNumber4, (int)pageWidth/2, (int)(500));\n printTablePart4(g2, pageFormat, currentVerticalPage, currentHorizontalPage, pi);\n\n if (printHorizontalVerticalCount == 1)//If second call to print index made, move to next page, reset print count\n {\n onLevelCount++;\n printHorizontalVerticalCount = 0;\n currentHorizontalPage2++;\n }\n else//First print index call, increment print count\n printHorizontalVerticalCount++;\n\n }\n else\n onLevelCount = 0;\n\n }\n\n\n }\n\n\n }", "title": "" }, { "docid": "d0c45589444a8dd691498a24b00a074b", "score": "0.5173212", "text": "public void printTablePart2(Graphics2D g2, PageFormat pageFormat, int currentHorizontalPage, int pi)\n {\n\n pageLeft = pageRight;\n\n int newPageHeight = numRowsOnAPage * oneRowHeight;\n\n\n g2.translate(-pageLeft, 0); //moves graphic object to starting location of current page\n g2.setColor(Color.black);\n\n //BAR GRAPH TABLE\n\n\n\n g2.setClip(pageLeft, 0,(int) tableWidthPerPage , (int) barHeaderHeight);\n vjt.paint(g2); // draw's the graph bars table\n\n //TABLE HEADER OF MAIN TABLE\n g2.translate(0, barHeaderHeight);\n g2.setClip(pageLeft, 0, (int)tableWidthPerPage , (int) tableHeaderHeight);\n tableHeader.paint(g2); //draws header for rjt table (numbers)\n\n\n // CHECK AND BOX TABLE (MAIN TABLE)\n g2.translate(0, tableHeaderHeight);\n g2.setClip(pageLeft, 0,(int) tableWidthPerPage , (int) newPageHeight);\n rjt.paint(g2); //draws check and box table\n\n\n\n if (printHorizontalCount == 1)\n {\n\n\n pageRight = pageLeft + (int) tableWidthPerPage;\n }\n\n }", "title": "" }, { "docid": "6fdbd69d72f15ac061416a3c61d22c49", "score": "0.5171764", "text": "void printSolution(int[] color) {\n System.out.println(String.format(\"Solution Exists:\"\n + \" Following are the assigned colors \\n\"));\n for (int i = 0; i < V; i++)\n System.out.println(String.format(\" %d \", color[i]));\n System.out.println(String.format(\"\\n\"));\n }", "title": "" }, { "docid": "f2d2b6c85c5392e9a10ff70124ce5384", "score": "0.51584876", "text": "public void displayChainTable()\n {\n System.out.println(\"Separate Chaining Hash Table\");\n System.out.printf(\"%-7s %-11s %-11s %-11s %-11s %-11s\\n\", \"Index\", \"Value\", \"Value\", \"Value\", \"Value\", \"Value\");\n System.out.println(\"------------------------------------------------------------------\");\n chainTable.displayTable();\n }", "title": "" }, { "docid": "b99fcb70ea5d1400ab91e9876ebd0a66", "score": "0.5138807", "text": "public void display() {\n super.display();\n System.out.println(\"\\tPattern: \"+pattern);\n System.out.println(\"\\tCut: \"+cut);\n System.out.println(\"\\tColor Code: \"+colorCode);\n }", "title": "" }, { "docid": "ff0759a9faa245b87b694ca33b637f26", "score": "0.5135698", "text": "public void Print(int x, int y, boolean b) {\n\t\tint extend = 10;\n\t\tif(!b) {\n\t\t\textend = 70;\n\t\t}\n\t\tif(Status == 1) {\n\t\t\tif(Colour == 1) {\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \" ___ \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \"| |\");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \"| |\");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \"|___|\");\n\t\t\t}\n\t\t\telse if(Colour == 2) {\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \" ___ \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \"\\\\ /\");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \" \\\\ / \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \" V \");\n\t\t\t}\n\t\t\telse if(Colour == 3) {\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \"_ _\");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \" \\\\ / \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \" X \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \"_/ \\\\_\");\n\t\t\t}\n\t\t}\n\t\telse if(Status == 2) {\n\t\t\tif(Colour == 1) {\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \" ___ \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \"|# |\" + HP);\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \"| |\");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \"|___|\" + Turn);\n\t\t\t}\n\t\t\telse if(Colour == 2) {\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \" ___ \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \"\\\\# /\" + HP);\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \" \\\\ / \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \" V \" + Turn);\n\t\t\t}\n\t\t\telse if(Colour == 3) {\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \"_ _\");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \"#\\\\ / \" + HP);\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \" X \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \"_/ \\\\_\" + Turn);\n\t\t\t}\n\t\t}\n\t\telse if(Status == 3) {\n\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \" ### \");\n\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \" ### \" + HP);\n\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \" ### \");\n\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \" ### \");\n\t\t}\n\t\telse {\n\t\t\tif(b) {\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \" \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \" \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \" > \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \" \");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x, extend+8*y) + \" \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+1, extend+8*y) + \" \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+2, extend+8*y) + \" < \");\n\t\t\t\tSystem.out.println(String.format(\"%c[%d;%df\", 0x1B, 4*x+3, extend+8*y) + \" \");\n\t\t\t}\n\t\t}\n\t\t/*System.out.print(HP);\n\t\tSystem.out.print(Status);\n\t\tSystem.out.print(Turn + \" \");*/\n\t}", "title": "" }, { "docid": "759060a8ad7d93761b628ae5fd6a1651", "score": "0.51067185", "text": "public void fillColor() {\n \n for (int i=0; i<6; i++) {\n for (int j=0; j<10; j++) {\n seatTab[i][j] = 0;\n tab[i][j].setBackground(Color.green);\n }\n }\n for(int i=0; i<unAvailableSeats.size(); i++) {\n String nr = unAvailableSeats.get(i);\n int first = Integer.parseInt(nr.substring(0,1));\n int second = Integer.parseInt(nr.substring(1));\n seatTab[first][second] = 1;\n tab[first][second].setBackground(Color.yellow);\n } \n }", "title": "" }, { "docid": "c41d7c54565b507c64c096da34e96feb", "score": "0.5105734", "text": "public void printBoard() {\n int[][] state = this.getState();\n System.out.print(\" \");\n for (int i = 0; i < BOARD_SIZE; i++) {\n System.out.print(\"\\u001B[31m\" + i + \"\\u001B[0m \");\n }\n System.out.println();\n\n System.out.print(\" \");\n for (int i = 0; i < BOARD_SIZE; i++) {\n System.out.print(\"\\u001B[31m■■\\u001B[0m\");\n }\n System.out.println();\n\n for (int y = 0; y < BOARD_SIZE; y++) {\n if (y < 10) {\n System.out.print(\"\\u001B[34m\" + y + \"\\u001B[0m \");\n } else {\n System.out.print(\"\\u001B[34m\" + y + \"\\u001B[0m \");\n }\n\n for (int i = y; i < BOARD_SIZE; i++) {\n System.out.print(\" \");\n }\n System.out.print(\"\\u001B[34m▮ \\u001B[0m\");\n\n for (int x = 0; x < BOARD_SIZE; x++) {\n if (state[x][y] == 1) {\n System.out.print(\"\\u001B[31m⬤\\u001B[0m\");\n } else if (state[x][y] == -1) {\n System.out.print(\"\\u001B[34m⬤\\u001B[0m\");\n } else {\n System.out.print(\"⬤\");\n }\n System.out.print(\" \");\n }\n System.out.print(\"\\u001B[34m▮\\u001B[0m\");\n System.out.println();\n }\n\n System.out.print(\" \");\n for (int i = 0; i < BOARD_SIZE; i++) {\n System.out.print(\"\\u001B[31m■■\\u001B[0m\");\n }\n System.out.println();\n }", "title": "" }, { "docid": "67b6a04d07f6b9852c52aee14f49c098", "score": "0.5101072", "text": "private int writeTable (Graphics2D g, FontRenderContext fRend, Font b, Font f, int x, int y, int w, int pageIndex) {\n DefaultTableModel model = (DefaultTableModel)this.t.getModel();\n int n = model.getRowCount();\n int m = model.getColumnCount();\n int localDescriptionRows = 0;\n int i;\n \n writeColumnsNames(g, fRend, b, x, y);\n // horizontal lines\n g.drawLine(x - 5, y - 10, w - 40, y - 10); // up\n g.drawLine(x - 5, y + 5, w - 40, y + 5); // down\n // vertical lines\n g.drawLine(x - 5, y - 10, x - 5, y + 5); // left margin\n g.drawLine(x + 49, y - 10, x + 49, y + 5); // between \"TIPOLOGIA\" and \"CODICE\"\n g.drawLine(x + 148, y - 10, x + 148, y + 5); // between \"CODICE\" and \"DESCRIZIONE\"\n g.drawLine(x + 380, y - 10, x + 380, y + 5); // between \"DESCRIZIONE\" and \"Q.TA'\"\n g.drawLine(x + 416, y - 10, x + 416, y + 5); // between \"Q.TA'\" and \"PREZZO\"\n g.drawLine(x + 481, y - 10, x + 481, y + 5); // between \"PREZZO\" and \"TOT\"\n g.drawLine(x + 526, y - 10, x + 526, y + 5); // right margin\n y += shortHeightLines(1);\n \n for(i = this.tableIndex[pageIndex]; i < n; i++) {\n int auxYA = y + 5 - shortHeightLines(1), auxYB, descriptionRows;\n descriptionRows = printRow(g, fRend, f, x, y, i, m, model);\n localDescriptionRows += descriptionRows;\n // horizontal line\n g.drawLine(x - 5, y + 5 + shortHeightLines(descriptionRows - 1), w - 40, y + 5 + shortHeightLines(descriptionRows - 1));\n // vertical lines\n auxYB = y + 5 + shortHeightLines(descriptionRows - 1);\n g.drawLine(x - 5, auxYA, x - 5, auxYB); // left\n g.drawLine(x + 49, auxYA, x + 49, auxYB);\n g.drawLine(x + 148, auxYA, x + 148, auxYB);\n g.drawLine(x + 380, auxYA, x + 380, auxYB);\n g.drawLine(x + 416, auxYA, x + 416, auxYB);\n g.drawLine(x + 481, auxYA, x + 481, auxYB);\n g.drawLine(x + 526, auxYA, x + 526, auxYB); // right\n y += shortHeightLines(descriptionRows);\n if(localDescriptionRows >= 27) {\n if(pageIndex < this.pages)\n this.tableIndex[pageIndex + 1] = i + 1;\n break;\n }\n }\n return y;\n }", "title": "" }, { "docid": "5700dd40ff4031427e1bd2905b15deeb", "score": "0.5094214", "text": "void colorCell();", "title": "" }, { "docid": "2024de6f2038e66cf2196ab23f6876da", "score": "0.50879353", "text": "@Override\n\tpublic String toString(){\n\t\t\n\t\tif(getSizeRow() == 0 && getSizeCol()==0 ){ return \"Empty Table\"; }\n\n\t\t// basic info of op and size\n \tStringBuilder sb = new StringBuilder(\"============================\\nTable\\n\");\n \tsb.append(\"Operation: \"+op.getClass()+\"\\n\");\n \tsb.append(\"Size: \"+ getSizeRow() + \" rows, \" + getSizeCol()+ \" cols\\n\");\n\n\t\t// decide how many chars to use for rowHead \n \tint rowHeadWidth = getRowHeadMaxWidth(); \n \tint totalWidth = rowHeadWidth;\n \tDynamicArray<Integer> colWidths = new DynamicArray<>();\n \tsb.append(String.format(String.format(\"%%%ds\",rowHeadWidth),\" \"));\n\n\t\t// colHead \n \tfor (int i=0; i<getSizeCol(); i++){\t\t\n \t\tint colWidth = getColMaxWidth(i);\n \t\tcolWidths.add(colWidth);\n \t\ttotalWidth += colWidth+1;\n \t\tsb.append(String.format(String.format(\"|%%%ds\",colWidth),colHead.get(i)));\n \t}\n\n \tsb.append(\"\\n\"+String.format(String.format(\"%%%ds\", totalWidth), \" \").replace(\" \",\"-\")+\"\\n\");\n\n\t\t// row by row\n \tfor(int i=0; i<getSizeRow(); i++){\t\t\n \t\tsb.append(String.format(String.format(\"%%%ds\",rowHeadWidth),rowHead.get(i)));\n \t\tfor (int j=0;j<getSizeCol(); j++){\n\t \t\tint colWidth = colWidths.get(j);\n \t\t\tsb.append(String.format(String.format(\"|%%%ds\",colWidth),board.get(i,j)));\n \t\t}\n \t\tsb.append(\"\\n\");\n \t}\n \tsb.append(\"============================\\n\");\n \treturn sb.toString();\n\n\t}", "title": "" }, { "docid": "26631b94145c2a7df17cfd6c940b5c60", "score": "0.50842", "text": "static void d() {\n System.out.println();\n for (int i = 0; i < 8; i++) {\n {\n System.out.print(E);\n }\n\n for (int o = 0; o < 8; o++) {\n if (i == 0 && (o >= 6 - i))\n System.out.print(\"\");\n else if (i == 1\n && (o == 0 || o == 8 - i\n || (o < 6)))\n System.out.print(\" \");\n else if (i == 2 && (o == 1 || o == 8 - i || (o < 6)))\n System.out.print(\" \");\n\n else if ((i == 3 || i == 4 || i == 5) && (o < 7))\n System.out.print(\" \");\n else if (i == 6 && (o == 0 || o == 8 + 5 - i || (o < 6)))\n System.out.print(\" \");\n else if (i == 7 && (o >= 6 - i + 7))\n System.out.print(\" \");\n else {\n System.out.print(E);\n }\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "cf6507b9e89fb656bb467edc946bec6b", "score": "0.5083638", "text": "public void paintComponent(Graphics g) {\n super.paintComponent(g);\n Graphics2D g2 = (Graphics2D) g;\n\n // Background\n g2.fillRect(0, 0, 620, 620);\n g2.translate(10, 10);\n g2.setColor(Color.LIGHT_GRAY);\n g2.fillRect(0, 0, 600, 600);\n\n // Cell lines\n g2.setColor(Color.GRAY.brighter());\n g2.setStroke(new BasicStroke(2));\n for (int i = 1; i < 9; i++) {\n if (i == 3 || i == 6) continue;\n g2.drawLine((int) (i * (200.0 / 3.0)), 5, (int) (i * (200.0 / 3.0)), 595);\n }\n for (int i = 1; i < 9; i++) {\n if (i == 3 || i == 6) continue;\n g2.drawLine(5, (int) (i * (200.0 / 3.0)), 595, (int) (i * (200.0 / 3.0)));\n }\n\n // Selected cell highlight\n g2.setColor(Color.GRAY.brighter());\n g2.fillRect((int) (focusX * (200.0 / 3.0)), (int) (focusY * (200.0 / 3.0)),\n (int) (200.0 / 3.0), (int) (200.0 / 3.0));\n\n // Cell values drawn\n g2.setColor(Color.WHITE);\n g2.setFont(new Font(\"Lucida Console\", Font.PLAIN, 32));\n for (int i = 0; i < 9; i++) {\n for (int j = 0; j < 9; j++) {\n if (board[j][i].getValue() == 0 || board[j][i].getValue() > 9) continue;\n if (board[j][i].isPreset()) {\n g2.setColor(Color.DARK_GRAY);\n } else {\n g2.setColor(Color.WHITE);\n }\n g2.drawString(String.valueOf(board[j][i].getValue()),\n 25 + (int) (j * (200.0 / 3.0)), 45 + (int) (i * (200.0 / 3.0)));\n }\n }\n\n // Block lines\n g2.setColor(Color.GRAY);\n g2.setStroke(new BasicStroke(3));\n g2.drawLine(200, 10, 200, 590);\n g2.drawLine(400, 10, 400, 590);\n g2.drawLine(10, 200, 590, 200);\n g2.drawLine(10, 400, 590, 400);\n\n }", "title": "" }, { "docid": "8c75321dc07ab70484041562cc844c27", "score": "0.5074581", "text": "public void printBoardAndUnusable(){\n\t\tSystem.out.println(\"GAME BOARD (Displaying Unusable Lines and Lines):\");\n\t\tfor(int i = 0; i < board.length; i++){\n\t\t\tfor(int j = 0; j < board[0].length; j++){\n\t\t\t\tif((i+1)%2 == 0 && (j+1)%2 == 0){\n\t\t\t\t\tif(((Square) board[i][j]).getNumber() == -1){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t} else{\n\t\t\t\t\t\tSystem.out.print(\" \" + ((Square) board[i][j]).getNumber() + \" \" );\n\t\t\t\t\t}\n\t\t\t\t} else if((i+1)%2 == 1 && (j+1)%2 == 1){\n\t\t\t\t\tSystem.out.print(\" + \");\n\t\t\t\t} else{\n\t\t\t\t\tif(i%2 == 0){\n\t\t\t\t\t\tif(((Line) board[i][j]).isLine()){\n\t\t\t\t\t\t\tSystem.out.print(\"---\");\n\t\t\t\t\t\t} else if(!((Line) board[i][j]).isUsable()){\n\t\t\t\t\t\t\tSystem.out.print(\" X \");\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else{\n\t\t\t\t\t\tif(((Line) board[i][j]).isLine()){\n\t\t\t\t\t\t\tSystem.out.print(\" |\");\n\t\t\t\t\t\t} else if(!((Line) board[i][j]).isUsable()){\n\t\t\t\t\t\t\tSystem.out.print(\" X\");\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\tSystem.out.print(\" \");\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\tSystem.out.println();\n\t\t\tif(i%2 == 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\\n\\n\\n\");\n\t}", "title": "" }, { "docid": "644d03b559a744198cf2114f2b678894", "score": "0.5060888", "text": "public static void printTable() {\n for (int i = 1; i != 13; ++i) {\n for (int y = 1; y!= 13; ++y) {\n // inside loop multiplies and prints both counter values\n System.out.printf(\" %3d \", i*y);\n }\n // print new line when inside loop ends\n System.out.println();\n }\n }", "title": "" }, { "docid": "bf69a35aef9f15cb98fd777467b7265d", "score": "0.5052519", "text": "public void mostrarSolucion( )\n {\n for( int i = 0; i < tablero.length; i++ )\n {\n for( int j = 0; j < tablero[i].length; j++ )\n {\n \ttablero[ i ][ j ].setBackground( COLOR_EXITO );\n }\n }\n }", "title": "" }, { "docid": "07f8196d07974671b9cbfbbe860fa2d6", "score": "0.50297594", "text": "public static void addRosterStaffTable(XWPFDocument document, XWPFTable templateTable, Roster roster,\n String name, HashMap<String, String[]> mapSwatch, int position, boolean isGuest) throws Exception {\n\n String colorHeader = null;\n String colorRow1 = null;\n String colorRow2 = null;\n\n //Get colors for table\n //Different colors used for staff versus guest for readibility\n if (isGuest) {\n colorHeader = mapSwatch.get(\"KEY_GUEST\")[0];\n colorRow1 = mapSwatch.get(\"KEY_GUEST\")[1];\n colorRow2 = mapSwatch.get(\"KEY_GUEST\")[2];\n }\n else {\n colorHeader = mapSwatch.get(\"KEY_STAFF\")[0];\n colorRow1 = mapSwatch.get(\"KEY_STAFF\")[1];\n colorRow2 = mapSwatch.get(\"KEY_STAFF\")[2];\n }\n\n //Make the table\n //Source: http://apache-poi.1045710.n5.nabble.com/How-to-copy-a-table-and-modify-it-correctly-in-the-same-docx\n // -file-using-POI-td5716551.html\n CTTbl ctTbl = CTTbl.Factory.newInstance(); // Create a new CTTbl for the new table\n ctTbl.set(templateTable.getCTTbl()); // Copy the template table's CTTbl\n XWPFTable copiedTable = new XWPFTable(ctTbl, document); // Create a new table using the CTTbl upon\n\n //Change the header color\n changeRowColor(STAFF_HEADER_POS, copiedTable, colorHeader);\n\n //Replace title text\n replaceRowText(0, copiedTable, \"$Name\", name);\n\n //Get the number of rows needed\n int count = 0;\n\n boolean odd = true;\n\n for (Workshop workshop : roster.getWorkshopList()) {\n\n if (workshop.isStaff(name)) {\n\n count++;\n\n //Copy a template row from last\n addRow(STAFF_HEADER_POS + count, copiedTable);\n\n for (String key : keys) {\n\n replaceRowText(STAFF_HEADER_POS + count, copiedTable, key, workshop.getWorkshopDictionary().get(key));\n }\n\n //Change color\n if (odd) {\n\n changeRowColor(STAFF_HEADER_POS + count, copiedTable, colorRow1);\n\n }\n\n else {\n\n changeRowColor(STAFF_HEADER_POS + count, copiedTable, colorRow2);\n }\n odd = !odd;\n }\n\n }\n\n //Remove the extra row at the end\n copiedTable.removeRow(STAFF_HEADER_POS+count+1);\n\n commitTable(copiedTable);\n\n document.createParagraph();\n document.createTable();\n document.setTable(position, copiedTable);\n\n }", "title": "" }, { "docid": "5012420ebd7c16aaead6baebdf84727a", "score": "0.5019263", "text": "public void printTablePart3(Graphics2D g2, PageFormat pageFormat, int currentVerticalPage, int pi)\n {\n int printablePageLeft = (int)topPageLeft;\n int printablePageRight = (numColumnOnAPage * columnWidth);\n int printablePageWidth = printablePageRight-printablePageLeft;\n int newPageHeight = numRowsOnAPage * oneRowHeight;\n\n\n\n\n g2.translate(-printablePageLeft, -newPageHeight); //moves graphic object to starting location of current page\n\n //IF-THEN TABLE\n g2.setClip(printablePageLeft,newPageHeight, (int) verticalTableWidth, newPageHeight); //modified, goes to same height as main table\n rhjt.paint(g2);\n\n // CHECK AND BOX TABLE (MAIN TABLE)\n g2.translate((int) verticalTableWidth, 0);\n g2.setClip(printablePageLeft, newPageHeight, (int)printablePageWidth, newPageHeight);\n rjt.paint(g2); //draws check and box table\n\n if (printVerticalCount == 1)\n topPageLeft = topPageLeft + (int)newPageHeight + vjt.getHeight() + tableHeader.getHeight();\n }", "title": "" }, { "docid": "fb1d0b8a2229727f91c7adcbbd7969ce", "score": "0.50189614", "text": "private void customizeResultTable() {\n final int quanOfHeaders = 8;\n int tempPosition = 0;\n Map<Integer, String> map = Stream.of(new AbstractMap.SimpleEntry<>(0, \"k\"),\n new AbstractMap.SimpleEntry<>(1, \"i\"),\n new AbstractMap.SimpleEntry<>(3, \"j\"),\n new AbstractMap.SimpleEntry<>(5, \"Vmin\"),\n new AbstractMap.SimpleEntry<>(6, \"Vmax\"),\n new AbstractMap.SimpleEntry<>(7, \"Vmid\")).collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));\n DecimalFormat df = new DecimalFormat(\"#.##\");\n df.setRoundingMode(RoundingMode.CEILING);\n for (int i = 0; i < quanOfHeaders; i++) {\n if (i == 2 || i == 4) {\n if (i == 2) {\n for (int j = 0; j < strategyMatrix.length; j++) {\n final int index = tempPosition;\n TableColumn<double[], String> columnOfStrOfFP = new TableColumn<>(\"A\" + j);\n columnOfStrOfFP.setCellValueFactory(stringCellDataFeatures -> {\n double[] row = stringCellDataFeatures.getValue();\n return new SimpleStringProperty(String.valueOf(row[index]));\n });\n tempPosition++;\n resultTable.getColumns().add(columnOfStrOfFP);\n }\n }\n if (i == 4) {\n for (int j = 0; j < strategyMatrix.length; j++) {\n final int index = tempPosition;\n TableColumn<double[], String> columnOfStrOfSP = new TableColumn<>(\"B\" + j);\n columnOfStrOfSP.setCellValueFactory(stringCellDataFeatures -> {\n double[] row = stringCellDataFeatures.getValue();\n return new SimpleStringProperty(String.valueOf(row[index]));\n });\n tempPosition++;\n resultTable.getColumns().add(columnOfStrOfSP);\n }\n }\n } else {\n final int index = tempPosition;\n final int tempi = i;\n TableColumn<double[], String> column = new TableColumn<>(map.get(i));\n column.setCellValueFactory(stringCellDataFeatures -> {\n double[] row = stringCellDataFeatures.getValue();\n if (tempi == 0 || tempi == 1 || tempi == 3)\n return new SimpleStringProperty(String.valueOf((int) (row[index])));\n else\n return new SimpleStringProperty(String.valueOf(df.format(row[index])));\n });\n tempPosition++;\n resultTable.getColumns().add(column);\n }\n }\n }", "title": "" }, { "docid": "dfbb13c8945e704684aa5da358577f2d", "score": "0.5018933", "text": "private static void printSch() {\n\t\tSystem.out.println(\"You don't exercise: \" + Math.round(((bmr * 1.2)-amount)));\n\t\tSystem.out.println(\"You engage in light exercise one to three days a week: \" + Math.round(((bmr * 1.375)-amount)));\n\t\tSystem.out.println(\"You exerise moderately three to five times a week: \" + Math.round(((bmr * 1.55)-amount)));\n\t\tSystem.out.println(\"You exercise intensely six to seven days a week: \" + Math.round(((bmr * 1.725)-amount)));\n\t\tSystem.out.println(\"You exercise intensely six to seven days a week and have a physically active job: \" + Math.round(((bmr * 1.9)-amount)));\n\n\t\t\n\t}", "title": "" }, { "docid": "9d1129941f0c263a6dfc1fa73547b416", "score": "0.50085133", "text": "protected static void do_action_table(\n PrintWriter out, \n parse_action_table act_tab,\n boolean compact_reduces)\n throws internal_error\n {\n parse_action_row row;\n parse_action act;\n int red;\n\n long start_time = System.currentTimeMillis();\n\n /* collect values for the action table */\n short[][] action_table = new short[act_tab.num_states()][];\n /* do each state (row) of the action table */\n for (int i = 0; i < act_tab.num_states(); i++)\n\t{\n\t /* get the row */\n\t row = act_tab.under_state[i];\n\n\t /* determine the default for the row */\n\t if (compact_reduces)\n\t row.compute_default();\n\t else\n\t row.default_reduce = -1;\n\n\t /* make temporary table for the row. */\n\t short[] temp_table = new short[2*parse_action_row.size()];\n\t int nentries = 0;\n\n\t /* do each column */\n\t for (int j = 0; j < parse_action_row.size(); j++)\n\t {\n\t /* extract the action from the table */\n\t act = row.under_term[j];\n\n\t /* skip error entries these are all defaulted out */\n\t if (act.kind() != parse_action.ERROR)\n\t\t{\n\t\t /* first put in the symbol index, then the actual entry */\n\n\t\t /* shifts get positive entries of state number + 1 */\n\t\t if (act.kind() == parse_action.SHIFT)\n\t\t {\n\t\t /* make entry */\n\t\t temp_table[nentries++] = (short) j;\n\t\t temp_table[nentries++] = (short)\n\t\t\t(((shift_action)act).shift_to().index() + 1);\n\t\t }\n\n\t\t /* reduce actions get negated entries of production# + 1 */\n\t\t else if (act.kind() == parse_action.REDUCE)\n\t\t {\n\t\t /* if its the default entry let it get defaulted out */\n\t\t red = ((reduce_action)act).reduce_with().index();\n\t\t if (red != row.default_reduce) {\n\t\t\t/* make entry */\n\t\t\ttemp_table[nentries++] = (short) j;\n\t\t\ttemp_table[nentries++] = (short) (-(red+1));\n\t\t }\n\t\t } else if (act.kind() == parse_action.NONASSOC)\n\t\t {\n\t\t\t/* do nothing, since we just want a syntax error */\n\t\t }\n\t\t /* shouldn't be anything else */\n\t\t else\n\t\t throw new internal_error(\"Unrecognized action code \" + \n\t\t\t\t\t act.kind() + \" found in parse table\");\n\t\t}\n\t }\n\n\t /* now we know how big to make the row */\n\t action_table[i] = new short[nentries + 2];\n\t System.arraycopy(temp_table, 0, action_table[i], 0, nentries);\n\n\t /* finish off the row with a default entry */\n\t action_table[i][nentries++] = -1;\n\t if (row.default_reduce != -1)\n\t action_table[i][nentries++] = (short) (-(row.default_reduce+1));\n\t else\n\t action_table[i][nentries++] = 0;\n\t}\n\n /* finish off the init of the table */\n out.println();\n out.println(\" /** Parse-action table. */\");\n out.println(\" protected static final short[][] _action_table = \"); \n out.print (\" unpackFromStrings(\");\n do_table_as_string(out, action_table);\n out.println(\");\");\n\n /* do the public accessor method */\n out.println();\n out.println(\" /** Access to parse-action table. */\");\n out.println(\" public short[][] action_table() {return _action_table;}\");\n\n action_table_time = System.currentTimeMillis() - start_time;\n }", "title": "" }, { "docid": "8966843d60b86bd8c1ed5ea0369565d3", "score": "0.5007651", "text": "private void createCellStyles() {\n style1 = workbook.createCellStyle();\n style1.setFillForegroundColor(IndexedColors.GOLD.getIndex());\n style1.setFillPattern(CellStyle.SOLID_FOREGROUND);\n\n // Orange \"foreground\", foreground being the fill foreground not the font color.\n style2 = workbook.createCellStyle();\n style2.setFillForegroundColor(IndexedColors.LIGHT_YELLOW.getIndex());\n style2.setFillPattern(CellStyle.SOLID_FOREGROUND);\n //END STYLE\n // FORMAT STYLE\n DataFormat format = workbook.createDataFormat();\n style3 = workbook.createCellStyle();\n style3.setDataFormat(format.getFormat(\"0.0\"));\n\n style4 = workbook.createCellStyle();\n style4.setDataFormat(format.getFormat(\"#,##0\"));\n\n dateCellStyle = workbook.createCellStyle();\n short df = workbook.createDataFormat().getFormat(\"dd-MM-yyyy\");\n dateCellStyle.setDataFormat(df);\n\n HSSFFont font = workbook.createFont();\n font.setBold(true);\n font.setItalic(false);\n style5 = workbook.createCellStyle();\n style5.setFont(font);\n //END FORMAT STYLE\n }", "title": "" }, { "docid": "c534f3273088e95ed37822b5e83e44a5", "score": "0.50070286", "text": "public static void main(String[] args){\n\t\tStringAdder sa = new StringAdder();\n\t\tTable<String, String, String, StringAdder> stable = new Table<>(sa);\n\t\tstable.addCol(0,\"apple\");\n\n\t\tstable.addRow(0,\"red\");\n\t\tstable.addRow(1,\"yellow\");\n//\t\tstable.addCol(0,\"apple\");\n\t\t\n\t\tif (stable.getSizeRow() == 2 && stable.getSizeCol() == 1 &&\n\t\t\tstable.getCell(0,0).equals(\"red apple\") && stable.getCell(1,0).equals(\"yellow apple\")) {\n\t\t\t//stable.getCell(0, 0);\n\t\t\tSystem.out.println(\"Yay 1\");\n\t\t}\n\t\tSystem.out.println(stable.toString());\t\t\n\t\t\n\t\tstable.addCol(1,\"banana\");\n\t\tstable.addCol(1,\"kiwi\");\n\t\tstable.addRow(2,\"green\");\n\t\tif (stable.getSizeRow()==3 && stable.getSizeCol()==3 && stable.getRowHead(2).equals(\"green\")\n\t\t\t&& stable.getColHead(2).equals(\"banana\") && stable.getCell(2, 1).equals(\"green kiwi\")){\n\t\t\tSystem.out.println(\"Yay 2\");\t\t\t\n\t\t}\n\t\tSystem.out.println(stable.toString());\n\t\t\n\t\tstable.removeRow(0);\n\t\tstable.setCol(2,\"orange\");\n\t\tif (stable.getSizeRow()==2 && stable.getSizeCol()==3 && stable.getRowHead(0).equals(\"yellow\")\n\t\t\t&& stable.getColHead(2).equals(\"orange\") && stable.getCell(0, 2).equals(\"yellow orange\")){\n\t\t\tSystem.out.println(\"Yay 3\");\t\t\t\n\t\t}\t\t\n\t\tSystem.out.println(stable.toString());\n\n\t\tTable<Integer,Integer, Integer, IntegerComb> itable = new Table<>(new IntegerAdder());\n\t\tfor (int i=0;i<5; i++){\n\t\t\titable.addRow(itable.getSizeRow(),i+1);\n\t\t\titable.addCol(0,(i+1)*10);\n\t\t}\n\t\tif (itable.getSizeRow()==5 && itable.getSizeCol()==5 && itable.getCell(0, 0)==51\n\t\t\t&& itable.getCell(4, 0)==55 && itable.getCell(3, 4)==14 ){\n\t\t\tSystem.out.println(\"Yay 4\");\t\t\t\n\t\t}\n\t\tSystem.out.println(itable.toString());\n\t\t\n\t\titable.setOp(new IntegerTimer());\n\t\tif (itable.getSizeRow()==5 && itable.getSizeCol()==5 && itable.getCell(0, 0)==50\n\t\t\t&& itable.getCell(4, 0)==250 && itable.getCell(3, 4)==40 ){\n\t\t\tSystem.out.println(\"Yay 5\");\t\t\t\n\t\t}\n\t\tSystem.out.println(itable.toString());\n\t\t\t\t\t\n\t}", "title": "" }, { "docid": "74029fa27eca76c113c272118d40eee9", "score": "0.50060636", "text": "public void printTable() {\n int i = 0;\n System.out.println(\"FINGER TABLE\");\n for (NodeInfo nodeInfo : this.fingers) {\n System.out.println(\"finger \" + i + \": \" + nodeInfo.getHash());\n i++;\n }\n }", "title": "" }, { "docid": "ef627d657a9085c68c9d07943b7b5311", "score": "0.500172", "text": "public String createOutputString()\n {\n String output = \" |----|----|----|\\n\";\n\n if(cells.get(0) == 0){\n output = output + \" | \" + cells.get(0) + \" |\";\n } else {\n output = output + \" | \" + cells.get(0) + \" |\";\n }\n\n if(cells.get(1) == 1){\n output = output + \" \" + cells.get(1) + \" |\";\n } else {\n output = output + \" \" + cells.get(1) + \" |\";\n }\n\n if (cells.get(2) == 2){\n output = output + \" \" + cells.get(2) + \" |\\n\" + \" |____|____|____|\\n\";\n } else {\n output = output + \" \" + cells.get(2) + \" |\\n\" + \" |____|____|____|\\n\";\n }\n\n if(cells.get(3) == 3){\n output = output + \" | \" + cells.get(3) + \" |\";\n } else {\n output = output + \" | \" + cells.get(3) + \" |\";\n }\n\n if(cells.get(4) == 4){\n output = output + \" \" + cells.get(4) + \" |\";\n } else {\n output = output + \" \" + cells.get(4) + \" |\";\n }\n\n if (cells.get(5) == 5){\n output = output + \" \" + cells.get(5) + \" |\\n\" + \" |____|____|____|\\n\";\n } else {\n output = output + \" \" + cells.get(5) + \" |\\n\" + \" |____|____|____|\\n\";\n }\n\n if(cells.get(6) == 6){\n output = output + \" | \" + cells.get(6) + \" |\";\n } else {\n output = output + \" | \" + cells.get(6) + \" |\";\n }\n\n if(cells.get(7) == 7){\n output = output + \" \" + cells.get(7) + \" |\";\n } else {\n output = output + \" \" + cells.get(7) + \" |\";\n }\n\n if (cells.get(8) == 8){\n output = output + \" \" + cells.get(8) + \" |\\n\" + \" |____|____|____|\\n\";\n } else {\n output = output + \" \" + cells.get(8) + \" |\\n\" + \" |____|____|____|\\n\";\n }\n return output;\n }", "title": "" }, { "docid": "bf8958345bf6373e0d8c9c83aa36a9ad", "score": "0.4988514", "text": "@Override\n public String speciesDataReport() {\n return \"Species = Butterfly, Wing Color = \" + wingColor + \", Favorite flower = \" + favoriteFlower + \".\";\n }", "title": "" }, { "docid": "ea714d7336c588d82b7a796dced2efb8", "score": "0.49870318", "text": "public String toString()\r\n\t{\n\t\treturn String.format(\"%-20s%-10d%-6b%-10d%-6b%6.2f\", getName(), getId(), getWorkStatus(),\r\n\t hoursWorked, isWorkStudy, payRate);\r\n\t}", "title": "" }, { "docid": "8d65efafa5c8f010eb171eb64a1239ec", "score": "0.4967722", "text": "public void ShiftReport(PrintStream ps)\n\t{\n\t\t\n\t\t\n\t\tps.println(\"Shift Report\");\n\t\tps.println(\"------------\");\n\t\tps.printf(\"%4s %7s %5s %6s %7s\", \"Id\", \"Month\", \"Day\", \"Year\", \"Hours\");\n\t\tps.print(\"\\n\");\n\t\tps.printf(\"%4s %7s %5s %6s %7s\", \"--\", \"-----\", \"---\", \"----\", \"-----\");\n\t\tps.print(\"\\n\");\n\t\t\n\t\tdouble totalHours=0;\n\t\t\n\t\tfor (int i =0 ; i < count ; ++i)\n\t\t{\n\t\t\tps.printf(\"%5d\", newShift[i].getId());\n\t\t\tps.printf(\"%5d\",newShift[i].getDay());\n\t\t\tps.printf(\"%7d\",newShift[i].getMonth());\n\t\t\tps.printf(\"%8d\",newShift[i].getYear());\n\t\t\tps.printf(\"%7.2f\", newShift[i].getHoursWorked());\n\t\t\tps.printf(\"\\n\");\n\t\t\t\n\t\t\ttotalHours += newShift[i].getHoursWorked();\n\t\t}\n\t\t\n\t\tps.printf(\"%4s\", \"--\");\n\t\tps.printf(\"%8s\", \"-----\");\n\t\tps.printf(\"%6s\", \"---\");\n\t\tps.printf(\"%7s\", \"----\");\n\t\tps.printf(\"%8s\", \"-----\");\n\t\tps.print(\"\\n\");\n\t\tps.printf(\"%s\", \"Total\");\n\t\tps.printf(\"%28.2f\", totalHours);\n\t\t\n\t}", "title": "" }, { "docid": "ce5e6661f4fcee5edf55ebbbfaf0078c", "score": "0.49626708", "text": "public void displayTable() {\n\t\t\n\t\tfinalTable.printTable();\n\t}", "title": "" }, { "docid": "ad3fcceab5b862ade72c8a803cf70dbb", "score": "0.4962568", "text": "@Override\r\n public String toString() {\r\n StringBuilder string = new StringBuilder(\" -------- -------- -------- -------- -------- \\n\");\r\n int counter;\r\n for (int i = 0; i < (4 * N_ROWS); i++) {\r\n if ((i - 3) % 4 == 0) {\r\n string.append(\" -------- -------- -------- -------- -------- \\n\");\r\n } else {\r\n for (int j = 0; j < N_COLS; j++) {\r\n for (int r = 0; r < 10; r++) {\r\n counter = i % 4;\r\n switch (r) {\r\n case 1:\r\n if (counter == 0) {\r\n if (grid[i / 4][j].getLevel() == 4) {\r\n string.append(\"\\u001b[31;1m\").append(grid[i / 4][j].getLevel()).append(\"\\u001b[0m\");\r\n } else {\r\n string.append(grid[i / 4][j].getLevel());\r\n }\r\n } else {\r\n string.append(\" \");\r\n }\r\n break;\r\n case 2:\r\n case 3:\r\n case 5:\r\n case 6:\r\n case 7:\r\n case 8:\r\n string.append(\" \");\r\n break;\r\n case 4:\r\n if ((i - 1) % 4 == 0) {\r\n string.append(grid[i / 4][j].toString());\r\n if (grid[i / 4][j].getIsOccupied()) {\r\n r++;\r\n }\r\n } else {\r\n string.append(\" \");\r\n }\r\n break;\r\n default:\r\n string.append(\"|\");\r\n }\r\n }\r\n }\r\n\r\n string.append(\"\\n\");\r\n }\r\n }\r\n return string.toString();\r\n }", "title": "" }, { "docid": "c18bb1720e65ca8bb7a18ac0310c027a", "score": "0.49507543", "text": "private static StringBuilder buildTableDisplay() {\n\t\tStringBuilder sb= new StringBuilder(\"Capacity of knapsack is \");\n\t\tsb.append(weightCapacity);\n\t\tsb.append(\"\\nItems are:\\n\");\n\t\tfor(int i = 0; i < table.length; i++) {\n\t\t\tsb.append(i + 1);\n\t\t\tsb.append(\": \");\n\t\t\tsb.append(table[i][0]);\n\t\t\tsb.append(' ');\n\t\t\tsb.append(table[i][1]);\n\t\t\tsb.append('\\n');\n\t\t}\n\t\treturn sb;\n\t}", "title": "" }, { "docid": "5c54d8b00960f691de78f797ab3523c3", "score": "0.49489683", "text": "public void printBoard() {\n\n for (int i = 0; i < 9; i++) {\n for (int j = 0; j < 9; j++) {\n if (space[i][j].piece == null)\n System.out.print(space[i][j].color);\n else\n System.out.print(space[i][j].piece.toString() + \" \");\n }\n System.out.println();\n }\n System.out.println();\n }", "title": "" }, { "docid": "7f7fdf5ef21af7367f1b6f27ac8342fc", "score": "0.4946427", "text": "public void printDetails()\n {\n /**Get super details*/ \n super.printDetails();\n\n /**Electric tool fields*/\n if(rechargeable == true)\n {\n System.out.printf(\"%-25s %-15s \\n\",\"Is it rechargeable?:\",\"It is\");\n \n }\n else\n {\n System.out.printf(\"%-25s %-15s \\n\",\"Is it rechargeable?:\",\"It isn't\");\n } \n System.out.printf(\"%-25s %-15s \\n\",\"Power:\",power,\"of power\");\n }", "title": "" }, { "docid": "6e5a5cd8be058d1d4a9bd386bca784d0", "score": "0.49387783", "text": "public void printRuleTable() {\n\t\tfor(String s : ruleTable.keySet()) {\n\t\t\tSystem.out.println(\"--------------------------\");\n\t\t\tSystem.out.println(\"Table for \" + s);\n\t\t\tSystem.out.println(\"--------------------------\");\n\t\t\tHashMap<Integer, Integer> rules = ruleTable.get(s);\n\t\t\tfor(Integer ip : rules.keySet()) {\n\t\t\t\tSystem.out.println(fromIPv4Address(ip) + \": eth\" + rules.get(ip));\n\t\t\t}\n\t\t\tSystem.out.println(\"--------------------------\");\n\t\t}\n\t\t//System.out.println(ruleTable);\n\t}", "title": "" }, { "docid": "2b1710efcc1bfc277bbff631fa94de24", "score": "0.49369943", "text": "public static String get_result(){\r\n\t\tString rst = \"\";\r\n\t\tif(Common_Data.get_file_type().equals(\"text\")){\r\n\t\t\trst = _col_styles;\r\n\t\t}\r\n\t\telse if(Common_Data.get_file_type().equals(\"spreadsheet\")){\r\n\t\t\tfor(Iterator<String> it=\r\n\t\t\t\t_col_width_map.keySet().iterator(); it.hasNext();){\r\n\t\t\t\tString id = it.next();\r\n\t\t\t\trst += \"<style:style style:name=\\\"\" + id + \"\\\" style:family=\\\"table-column\\\">\"\r\n\t\t\t\t\t+ \"<style:table-column-properties\" + _col_width_map.get(id) + \"/>\"\r\n\t\t\t\t\t+ \"</style:style>\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn rst;\r\n\t}", "title": "" }, { "docid": "484744c4be49adab81d343bb810fd649", "score": "0.4933571", "text": "private String formatDataCell(boolean error) {\n return error ? \"<td class=\\\"red\\\">\" : \"<td>\";\n }", "title": "" }, { "docid": "24d3904b3dca2acf24207d6465047a03", "score": "0.4932285", "text": "public void print() {\n\t\tSystem.out.println();\n\t\tif(s1.isGreen()){\n\t\t\tSystem.out.print(\"G\");}\n\t\telse{System.out.print(\"R\");}\n\t\tSystem.out.print(r1 + \"|\");\n\t\tSystem.out.println(r0 + \" <-\");\n\t\tif(s2.isGreen()){\n\t\t\tSystem.out.print(\"G\");}\n\t\telse{System.out.print(\"R\");}\n\t\tSystem.out.println(r2 + \"|\" + \" <-\");\n\n\t\t// Skriv ut en grafisk representation av k�situationen\n\t\t// med hj�lp av klassernas toString-metoder\n\t}", "title": "" }, { "docid": "62f90c8ae40233d8af76ba6e0f228044", "score": "0.492954", "text": "public String toString(){\n\t\treturn color=='w' ? \" \":\"##\";\n\t}", "title": "" }, { "docid": "6e571c8415caeaf0aa2912fffd7dc07f", "score": "0.49274683", "text": "private void printTable() {\n for (int i = 0; i < QValues.length; i++){\n for (int j =0; j < QValues[0].length; j++){\n for (int z = 0; z < QValues[0][0].length;z++){\n System.out.println(\"Value for \" + \"x: \" + i + \" y: \" + j + \" action: \" + z + \" : \" + QValues[i][j][z]);\n }\n }\n }\n }", "title": "" }, { "docid": "988b5726d5e484cb4c6f5417e46cda19", "score": "0.49214965", "text": "@Override\n void showGameState() {\n System.out.println(\"-------------\");\n\n for (int i = 7; i >= 0; i--) {\n System.out.print(\"| \");\n for (int j = 0; j < 8; j++) {\n if (board[i][j] == -1) {\n System.out.print(\" \" + \" | \");\n } else if (board[i][j] == 0) {\n System.out.print(\"R | \");\n } else if (board[i][j] == 2) {\n System.out.print(\"R* | \");\n } else if (board[i][j] == 1) {\n System.out.print(\"B | \");\n } else if (board[i][j] == 3) {\n System.out.print(\"B* | \");\n }\n }\n System.out.println();\n System.out.println(\"-------------\");\n }\n }", "title": "" }, { "docid": "c196cf4a71090a1f9ee6b27ffaa6b937", "score": "0.4916752", "text": "public void printUnusable(){\n\t\tSystem.out.println(\"GAME BOARD (Displaying Only Unusable Lines):\");\n\t\tfor(int i = 0; i < board.length; i++){\n\t\t\tfor(int j = 0; j < board[0].length; j++){\n\t\t\t\tif((i+1)%2 == 0 && (j+1)%2 == 0){\n\t\t\t\t\tif(((Square) board[i][j]).getNumber() == -1){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t} else{\n\t\t\t\t\t\tSystem.out.print(\" \" + ((Square) board[i][j]).getNumber() + \" \" );\n\t\t\t\t\t}\n\t\t\t\t} else if((i+1)%2 == 1 && (j+1)%2 == 1){\n\t\t\t\t\tSystem.out.print(\" + \");\n\t\t\t\t} else{\n\t\t\t\t\tif(i%2 == 0){\n\t\t\t\t\t\tif(((Line) board[i][j]).isUsable() == false){\n\t\t\t\t\t\t\tSystem.out.print(\" X \");\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else{\n\t\t\t\t\t\tif(((Line) board[i][j]).isUsable() == false){\n\t\t\t\t\t\t\tSystem.out.print(\" X\");\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\tSystem.out.print(\" \");\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\tSystem.out.println();\n\t\t\tif(i%2 == 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\\n\\n\\n\");\n\t}", "title": "" }, { "docid": "4662954f9512df21397aefde7d2051d9", "score": "0.49155882", "text": "public void printOutput_new() {\n int i, j, k, flag;\r\n for (i = 0; i < c; i++) {\r\n System.out.println(\"For class \" + classes[i] + \" \" + i);\r\n\r\n for (k = 0; k < 20; k++) {\r\n if (k % 4 == 0) {\r\n System.out.print(days[(k / 4)]);\r\n for (int x = days[k / 4].length(); x <= 15; x++) {\r\n System.out.print(\" \");\r\n }\r\n }\r\n\r\n flag = 0;\r\n //System.out.print(out_new[i][k] + \"\\t\");\r\n System.out.print(out_new1[i][k] + \"\\t\");\r\n\r\n// if (k % 4 == 0) {\r\n// System.out.print(lab_new[i][k/4]);\r\n// }\r\n if (flag == 0) {\r\n //System.out.print(\"free\\t\");\r\n }\r\n\r\n if (k % 4 == 3) {\r\n System.out.print(\"\\t\\t\" + lab_new[i][k / 4]);\r\n System.out.println();\r\n }\r\n }\r\n\r\n }\r\n }", "title": "" }, { "docid": "8438a5f729f87db01e7141818ae0659f", "score": "0.49091637", "text": "public String toString() {\n\t\treturn color+\"\\t\"+(on?\"on\":\"off\")+\" \"+(burntOut?\"burnt out\":\"not burnt out\");\n\t}", "title": "" }, { "docid": "abfa2e8354eed5f321f380e741f5ef12", "score": "0.49072102", "text": "void print(CLIGrid CLIGrid, boolean printNames, ArrayList<String> names, ArrayList<Color> colors) {\n int namesLength = names.size();\n int length = CLIGrid.getLength();\n int width = CLIGrid.getWidth();\n ArrayList<StringWrapper> zeroLine = new ArrayList<>();\n ArrayList<StringWrapper> firstLine = new ArrayList<>();\n ArrayList<StringWrapper> secondLine = new ArrayList<>();\n ArrayList<StringWrapper> thirdLine = new ArrayList<>();\n ArrayList<StringWrapper> fourthLine = new ArrayList<>();\n ArrayList<StringWrapper> fifthLine = new ArrayList<>();\n createZeroLine(zeroLine);\n for(StringWrapper s : zeroLine)\n System.out.print(s.getString());\n System.out.println();\n\n for(int y=1; y<=width; y++) {\n\n printHorizontalBorder(CLIGrid, length, y, true, firstLine);\n printBlankLine(CLIGrid, length, y, 1, secondLine);\n\n //Third line\n for(int x=1; x<=length; x++) {\n CLITile cliTile = CLIGrid.getTile(x, y);\n StringWrapper upBorder1 = cliTile.getLeftBorder()[2];\n if(!thirdLine.contains(upBorder1)) thirdLine.add(upBorder1);\n thirdLine.add(new StringWrapper(\" \"));\n Collections.addAll(thirdLine, cliTile.getWords());\n thirdLine.add(new StringWrapper(\" \"));\n StringWrapper rightBorder1 = cliTile.getRightBorder()[2];\n if(!thirdLine.contains(rightBorder1)) thirdLine.add(rightBorder1);\n }\n printBlankLine(CLIGrid, length, y, 3, fourthLine);\n\n printLine(firstLine, y, false);\n if(printNames && namesLength>0 && y==1) printName(names.get(0), colors.get(0));\n System.out.println();\n printLine(secondLine, y, false);\n if(printNames && namesLength>1 && y==1) printName(names.get(1), colors.get(1));\n System.out.println();\n printLine(thirdLine, y, true);\n if(printNames && namesLength>2 && y==1) printName(names.get(2), colors.get(2));\n System.out.println();\n printLine(fourthLine, y, false);\n\n if(y==5) {\n printHorizontalBorder(CLIGrid, 5, y, false, fifthLine);\n System.out.println();\n printLine(fifthLine, y, false);\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "23a0de9c6b133974c56df0611ab5a45a", "score": "0.49070644", "text": "@Override\n\tpublic String toString(){\n\t\tString display = \"\";\n\t\tIterator<Map.Entry<String, Piece>> i = board.entrySet().iterator();\n\t\tint count = 1;\n\t\twhile(i.hasNext()){\n\t\t\tif(count > 8){ display += \"\\n\\n\"; count = 1; }\n\t\t\tMap.Entry<String, Piece> next = (Map.Entry<String, Piece>)i.next();\n\t\t\tif(next.getValue() != null) display += next.getValue() + \"\\t\";\n\t\t\telse display += \"-\\t\";\n\t\t\tcount++;\n\t\t}\n\t\treturn display;\n\t}", "title": "" }, { "docid": "5fcd0f8379b83f91bbf29bddfc8e8095", "score": "0.490319", "text": "public boolean fastSiteSpecificScreenEmail(FastFact factTable) {\r\n\r\n\t\tString facilityName = factTable.getLocationDescription() + \" ( \" + factTable.getLocationName() + \" )\";\r\n\r\n\t\tLinkedHashMap<String, Integer> mapping = new LinkedHashMap<String, Integer>();\r\n\t\tmapping.put(\"Verbal Screened\", factTable.getTotalScreeingForm());\r\n\t\tmapping.put(\"Chest X-Rays\", factTable.getChestXrays());\r\n\t\tmapping.put(\"Verbal Screen Presumptives\", factTable.getVerbalScreenPresumptives());\r\n\t\tmapping.put(\"Chest X-Ray Presumptives\", factTable.getChestXrayPresumptives());\r\n\t\tmapping.put(\"Samples Collected from Verbal Screen Presumptives\",\r\n\t\t\t\tfactTable.getSamplesCollectedVerbalScreenPresumptives());\r\n\t\tmapping.put(\"Samples Collected from CXR Presumptives\", factTable.getSamplesCollectedCXRPresumptives());\r\n\t\tmapping.put(\"GXP Tests Done\", factTable.getGxpTestsDone());\r\n\t\tmapping.put(\"Internal Tests\", factTable.getInternalTests());\r\n\t\tmapping.put(\"External Tests\", factTable.getExternalTests());\r\n\t\tmapping.put(\"MTB+ [Internal]\", factTable.getmTBpveInternal());\r\n\t\tmapping.put(\"MTB+ [External]\", factTable.getmTBpveExternal());\r\n\t\tmapping.put(\"MTB+/RR+ [Internal]\", factTable.getmTBpveRRpveInternal());\r\n\t\tmapping.put(\"MTB+/RR+ [External]\", factTable.getmTBpveRRpveExternal());\r\n\t\tmapping.put(\"Error/Invalid/No Result\", factTable.getErrorNoResultInvalid());\r\n\t\tmapping.put(\"Clinically Diagnosed\", factTable.getClinicallyDiagnosed());\r\n\t\tmapping.put(\"Initiated on Antibiotic\", factTable.getInitiatedOnAntibiotic());\r\n\t\tmapping.put(\"Initiated on TB Tx\", factTable.getInitiatedOnTBTx());\r\n\r\n\t\tString message = HtmlUtil.getInstance().getHtmltableFormat(mapping, facilityName);\r\n\t\tsendEmail(\"shujaat.ali@ihsinformatics.com\", message, props.getProperty(\"mail.subject.title\"));\r\n\t\treturn sendEmail(factTable.getEmailAddress(), message, props.getProperty(\"mail.subject.title\"));\r\n\t}", "title": "" }, { "docid": "3a49c1efcc52516944dde32684ff6dce", "score": "0.49009934", "text": "public void display(PrintStream printStream){\n try {\n printStream.print('\\n');\n printStream.print(\" \");\n for(int k=0;k< getHeight();k++){\n printStream.print(k+\" \");\n }\n printStream.write('\\n');\n for (int i = 0; i < getWidth(); i++) {\n for (int j = 0; j < getHeight(); j++) {\n if (j == 0) {\n printStream.print(i+\" \");\n }\n printStream.print(getCell(i, j).displayHitStatus());\n printStream.print(' ');\n }\n printStream.print('\\n');\n }\n }\n catch (OutOfBoundsException e){\n\n }\n }", "title": "" }, { "docid": "878e016bf77ff904890596dd019b2ae5", "score": "0.4880688", "text": "private static void doEdgeColoring() {\n int res[] = ec.getMinColoring();\n int VPrime = V;\n if (VPrime % 2 != 0)\n VPrime++;\n try {\n FileWriter pw = new FileWriter(new File(OUTPUT_NAME));\n for (int i = 0; i < res.length; i++) {\n System.out.println((i / (VPrime)) + \",\" + (i % (VPrime)) + \",\" + res[i]);\n pw.write(String.valueOf(i / (VPrime)));\n pw.write(\",\");\n pw.write(String.valueOf((i % (VPrime))));\n pw.write(\",\");\n pw.write(String.valueOf(res[i]));\n pw.write(\"\\n\");\n }\n pw.flush();\n pw.close();\n } catch (IOException e) {\n e.printStackTrace();\n System.out.println(\"Error in writing results.\");\n }\n }", "title": "" }, { "docid": "581e037208282a77b064ad96a34659d4", "score": "0.48794356", "text": "public static void print(){\n\t\tint compatibility, jugglerH,jugglerE,jugglerP,circuitH,circuitE,circuitP;\n\t\ttry(PrintStream out = new PrintStream(new FileOutputStream(\"JugglefestAnswer.txt\"))){\n\t\t\tSystem.setOut(out);\n\t\t\t\n\t\t\t//Cycles through all the circuits\n\t\t\tfor(int i=CircuitList.size()-1;i>=0;i--){\n\t\t\t\tout.print(\"C\"+i+\" \");\n\t\t\t\t\n\t\t\t\t//Cycles through all the Jugglers in each circuit\n\t\t\t\tfor(int j=0;j<CircuitList.get(i).size();j++){\n\t\t\t\t\tout.print(CircuitList.get(i).get(j).getName()+\" \");\n\t\t\t\t\t\n\t\t\t\t\t//Cycles through each Juggler's preference array\n\t\t\t\t\tfor(int k=0;k<CircuitList.get(i).get(j).getPreference().length;k++){\n\t\t\t\t\t\tint position = Integer.parseInt(CircuitList.get(i).get(j).getPreference()[k].substring(1));\n\t\t\t\t\t\t\n\t\t\t\t\t\tjugglerH=Integer.parseInt(CircuitList.get(i).get(j).getH().substring(2));\n\t\t\t\t\t\tjugglerE=Integer.parseInt(CircuitList.get(i).get(j).getE().substring(2));\n\t\t\t\t\t\tjugglerP=Integer.parseInt(CircuitList.get(i).get(j).getP().substring(2));\n\t\t\t\t\t\tcircuitH=Integer.parseInt(CircuitTraits.get(position).getH().substring(2));\n\t\t\t\t\t\tcircuitE=Integer.parseInt(CircuitTraits.get(position).getE().substring(2));\n\t\t\t\t\t\tcircuitP=Integer.parseInt(CircuitTraits.get(position).getP().substring(2));\n\t\t\t\t\t\tcompatibility = (jugglerH*circuitH)+(jugglerE*circuitE)+(jugglerP*circuitP);\n\t\t\t\t\t\t\n\n\t\t\t\t\t\tif(k==CircuitList.get(i).get(j).getPreference().length-1 && j<CircuitList.get(i).size()-1)\n\t\t\t\t\t\t\tout.print(CircuitList.get(i).get(j).getPreference()[k]+\":\"+compatibility+\", \");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tout.print(CircuitList.get(i).get(j).getPreference()[k]+\":\"+compatibility+\" \");\n\t\t\t\t\t}//for\n\t\t\t\t}//for\n\t\t\t\tout.println();\n\t\t\t}//for\n\t\t\t\n\t\t\t\n\t\t}\n\t\tcatch(FileNotFoundException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "2de5b87bf958cf1256cada327605347b", "score": "0.4878806", "text": "public void print_board() {\n for (int row = 0; row < 10; row++) {\n System.out.print(\"| \");\n for (int column = 0; column < 10; column++) {\n if (board[row][column] != null) {\n // Print the abbreviation of the ship that is in the index\n System.out.print(board[row][column].abbreviation());\n } else {\n // Print blank is there is not a ship in the index\n System.out.print(\" \");\n }\n System.out.print(\" | \");\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "bbea40d2070b9ac0609e91b29e4a6ae6", "score": "0.48782846", "text": "public void printSeatingPlan() {\r\n\t\t\r\n\t\tboolean first = true;\r\n\t\tfor (List<String> row: this.plan) {\r\n\t\t\t\r\n\t\t\tString boundary = new String();\r\n\t\t\tString seating = new String();\r\n\t\t\tboundary += \"-\";\r\n\t\t\tseating += \"|\";\r\n\t\t\t\r\n\t\t\tfor (String seat: row) {\r\n\t\t\t\tif (seat.compareTo(\"\") == 0) {\r\n\t\t\t\t\tboundary += \" -\";\r\n\t\t\t\t\tseating += \" |\";\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tboundary += \"------\";\r\n\t\t\t\tseating += (\" \" + seat.toUpperCase() + \" |\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (first) {\r\n\t\t\t\t\r\n\t\t\t\tfirst = false;\r\n\t\t\t\t\r\n\t\t\t\tfor (int i = 0; i < boundary.length(); i++) {\r\n\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t}\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t\t\r\n\t\t\t\tint mid = (boundary.length() - 6) / 2;\r\n\t\t\t\tfor (int i = 0; i < mid; i++) {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t}\r\n\t\t\t\tSystem.out.print(\"SCREEN\");\r\n\t\t\t\tfor (int i = 0; i < (boundary.length() - mid - 6); i++) {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t\tSystem.out.println(boundary);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tSystem.out.println(seating);\r\n\t\t\tSystem.out.println(boundary);\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9251a1d30c2f186e0b84c83176f0dd57", "score": "0.48764902", "text": "public void printTableEndBorderForReview() {\n println(\"+-------------------------------+-----------------+-----------------+------------------------+\");\n }", "title": "" }, { "docid": "62fad1827551a5df1ddcf44f5e29c8d6", "score": "0.48762882", "text": "public void display() {\r\n\t\tSystem.out.println(\" 0 | 1 | 2 |\");\r\n\t\tSystem.out.println(\"---------------\");\r\n\t\tfor (int i = 0; i <= 2; i++) {\r\n\t\t\tSystem.out.print(i + \" | \");\r\n\t\t\tfor (int j = 0; j <= 2; j++) {\r\n\t\t\t\tSystem.out.print(getCell(i, j).getSimbol() + \" | \");\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.println(\"---------------\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "422dc9e598b239b4d4818f4e540f6705", "score": "0.48632088", "text": "public void printGame(){\n printBordoAlto();\n\n for(int i=0; i<8;i++) {\n printPezzi(i);\n System.out.println(\"\\t\" + i);\n if(i < 7)\n printBordoCentrale();\n }\n\n printBordoBasso();\n }", "title": "" }, { "docid": "11401cdcb02a452ad63d8a88c1ffefc8", "score": "0.48620284", "text": "@Override\n\tpublic String toString(){ \n\t\tString s = reference + \" - \" + getStatusString() + \" \" + right + \"/\" + attempts;\n\t\tif(streakType == STREAK_TYPE_RIGHT)\n\t\t\ts += \" \" + streak + \" in a row\";\n\t\treturn s;\n\t}", "title": "" }, { "docid": "15d7b99d803ac34425693a21db7f07bd", "score": "0.48594806", "text": "private int printColumn (Graphics2D g, FontRenderContext fRend, Font f, int x, int y, int row, int col, DefaultTableModel m) {\n switch(col) {\n case 0: // type\n g.drawGlyphVector(f.createGlyphVector(fRend, elementType(m.getValueAt(row, col).toString())), x, y);\n return 0;\n \n case 1: // code\n final String cod = m.getValueAt(row, col).toString();\n String longCodeCut = cod;\n int cn = new BigDecimal(cod.length()).divide(new BigDecimal(18), 0, BigDecimal.ROUND_UP).intValue();\n if(cn == 0)\n cn = 1;\n \n if(cn > 2) {\n cn = 2;\n longCodeCut = cod.substring(0, 35).concat(\"...\");\n }\n \n if(cn == 2) {\n g.drawGlyphVector(f.createGlyphVector(fRend, longCodeCut.substring(0, 18)), x + 51, y);\n g.drawGlyphVector(f.createGlyphVector(fRend, longCodeCut.substring(18)), x + 51, y + shortHeightLines(1));\n } else {\n g.drawGlyphVector(f.createGlyphVector(fRend, cod), x + 51, y);\n }\n \n return cn;\n \n case 2: // description\n String desc = m.getValueAt(row, col).toString();\n String[] tokens = desc.split(\"\\\\s+\");\n \n if((Boolean)m.getValueAt(row, 5)) {\n this.esentasse = true;\n tokens[0] = \"*\".concat(tokens[0]);\n }\n \n int i, j = tokens.length, k = 0, n = new BigDecimal(desc.length()).divide(new BigDecimal(44), 0, BigDecimal.ROUND_UP).intValue();\n int lineLength;\n \n if(n == 0) // avoid problems with short text\n n = 1;\n \n if(n > 4) // text limited to four lines\n n = 4;\n \n for(i = 0; i < n; i++) {\n StringBuilder toWrite = new StringBuilder();\n lineLength = 0;\n while(lineLength < 44 && k < j) {\n if(lineLength + tokens[k].length() + 1 <= 44) {\n toWrite.append(tokens[k].concat(\" \"));\n lineLength += tokens[k].length() + 1;\n }\n else if (i == 3) {\n //toWrite.append(\"…\");\n toWrite.append(\"...\");\n lineLength = 44;\n } else {\n break;\n }\n k++;\n }\n g.drawGlyphVector(f.createGlyphVector(fRend, toWrite.toString().toUpperCase()), x + 151, y + shortHeightLines(i));\n }\n return n;\n \n case 3: // quantity\n try {\n Integer val = (Integer)m.getValueAt(row, col);\n g.drawGlyphVector(f.createGlyphVector(fRend, val.toString()), x + 384, y);\n } catch (java.lang.ClassCastException e) {\n g.drawGlyphVector(f.createGlyphVector(fRend, (String)m.getValueAt(row, col)), x + 384, y);\n }\n return 0;\n \n case 4: // price\n g.drawGlyphVector(f.createGlyphVector(fRend, m.getValueAt(row, col).toString()), x + 420, y);\n return 0;\n \n case 6: // total price (price * quantity)\n g.drawGlyphVector(f.createGlyphVector(fRend, m.getValueAt(row, col).toString()), x + 485, y);\n return 0;\n \n default:\n return 0;\n }\n }", "title": "" }, { "docid": "c2ac51d652339be80bfba861f92b6b76", "score": "0.48593435", "text": "private static void print3x5Desc() {\n System.out.println(\"Creating new 3x5 training log based on your 5 rep max...\");\n System.out.println(\"The 5x5 training philosophy is based on 6 key lifts:\" +\n \" bench, squat, deadlift, row, overheadpress, and chinups.\");\n System.out.println(\"Only three lifts are prescribed each training day performed\" +\n \"three days out of the week.\");\n System.out.println(\"Day 1:\\n\" +\n \"\\t3x5 bench press / overhead press (alternating)\\n\" +\n \"\\t3x5 chinups / barbell rows (alternating)\\n\" +\n \"\\t3x5 squats\");\n System.out.println(\"Day 2:\\n\" +\n \"\\t3x5 overhead press / bench press (alternating)\\n\" +\n \"\\t3x5 barbell rows / chinups (alternating)\\n\" +\n \"\\t1x5 deadlifts\");\n System.out.println(\"Day 3:\\n\" +\n \"\\t3x5 bench press / overhead press (alternating)\\n\" +\n \"\\t3x5 chinups / barbell rows (alternating)\\n\" +\n \"\\t3x5 squats\");\n }", "title": "" }, { "docid": "de1272a202426494193cd0e57fef2430", "score": "0.48523092", "text": "public void show(){\n\t\tfor(int r = 0; r < size; r++){\n\t\t\tfor(int c = 0; c < size; c++){\n\t\t\t\t//checks if a | needs to be printed\n\t\t\t\tif(c % subsize == 0 && c != 0){\n\t\t\t\t\tSystem.out.print(\"| \");\n\t\t\t\t}\n\t\t\t\t//checks if the value is 0, if so prints \". \"\n\t\t\t\tif(board[r][c] == 0){\n\t\t\t\t\tSystem.out.print(\". \");\n\t\t\t\t}\n\t\t\t\t//prints out the value if board [r][c] != 0\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.print(board[r][c] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t\t//prints the row divider if needed\n\t\t\tif((r+1) % subsize == 0 && r != size - 1){\n\t\t\t\tfor(int k = 0; k < subsize; k++){\n\t\t\t\t\tif(k == 0 || k == subsize - 1){\n\t\t\t\t\t\tfor(int i = 0; i < subsize; i++){\n\t\t\t\t\t\t\tSystem.out.print(\"--\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tfor(int i = 0; i < subsize; i++){\n\t\t\t\t\t\t\tSystem.out.print(\"--\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.print(\"-\");\n\t\t\t\t\t}\n\t\t\t\t\t//prints the plus sign if needed\n\t\t\t\t\tif(k < subsize-1){\n\t\t\t\t\t\tSystem.out.print(\"+\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "38e39fedd2e6925fc88eb5a0f76d8328", "score": "0.48462647", "text": "public void printBoard() {\n\n // Print the letters at the top\n System.out.print(\" \");\n for(int x=0; x<boardsize; x++)\n System.out.print(\" \" + (char)(x + 'a'));\n System.out.println();\n\n for(int y=0; y<boardsize; y++)\n {\n // Print the numbers on the left side\n System.out.print(8-y);\n\n // Print the actual board fields\n for(int x=0; x<boardsize; x++) {\n System.out.print(\" \");\n char value = board[x][y];\n if(value == FREE) {\n System.out.print(\".\");\n } else if(value >= WHITEKING && value <= BLACKPAWN) {\n System.out.print(value);\n } else {\n System.out.print(\"X\");\n }\n }\n // Print the numbers on the right side\n System.out.println(\" \" + (8-y));\n }\n\n // Print the letters at the bottom\n System.out.print(\" \");\n for(int x=0; x<boardsize; x++)\n System.out.print(\" \" + (char)(x + 'a'));\n System.out.print(\"\\n\\n\");\n }", "title": "" }, { "docid": "b16d22405fd4ca550229d87c48056626", "score": "0.4839264", "text": "private void fillTableLines(boolean fingerprints) {\n\n\t// Get preferences information\n\tboolean onlyMilestones = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_OLD_BUILDS, IPerformancesConstants.DEFAULT_FILTER_OLD_BUILDS);\n\tboolean skipNightlyBuilds = this.preferences.getBoolean(IPerformancesConstants.PRE_FILTER_NIGHTLY_BUILDS, IPerformancesConstants.DEFAULT_FILTER_NIGHTLY_BUILDS);\n\n\t// Get model information\n\tif (this.results == null) return;\n\tList differences = this.results.getConfigNumbers(this.configName, fingerprints);\n\tif (differences == null) return;\n\n\t// Store first information line which are the scenarios full names\n\tIterator lines = differences.iterator();\n\tthis.firstLine = (List) lines.next();\n\n\t// Read each information line (one line per build results)\n\tObject[] scenarios = this.results.getChildren(null);\n\tConfigResultsElement[] configs = new ConfigResultsElement[scenarios.length];\n\tint row = 0;\n\twhile (lines.hasNext()) {\n\t\tList line = (List) lines.next();\n\t\tint size = line.size();\n\n\t\t// The first column is the build name\n\t\tString buildName = (String) line.get(0);\n\t\tString milestoneName = Util.getMilestoneName(buildName);\n\t\tTableItem item = null;\n\n\t\t// Set item if the line is not filtered\n\t\tFont italic;\n\t\tif (milestoneName != null) {\n\t\t\titem = new TableItem (this.table, SWT.NONE);\n\t\t\titem.setText(milestoneName + \" - \" + buildName);\n\t\t\titem.setFont(0, this.boldFont);\n\t\t\tif (!onlyMilestones) item.setBackground(this.blueref);\n\t\t\titalic = this.boldItalicFont;\n\t\t} else {\n\t\t\tif ((onlyMilestones && Util.getNextMilestone(buildName) != null) ||\n\t\t\t\t(skipNightlyBuilds && buildName.charAt(0) == 'N')) {\n\t\t\t\t// skip line\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\titem = new TableItem (this.table, SWT.NONE);\n\t\t\titem.setText(0, buildName);\n\t\t\titalic = this.italicFont;\n\t\t}\n\n\t\t// Read each column value\n\t\tString baselineName = null;\n\t\tfor (int col=1; col<size; col++) {\n\n\t\t\t// Reset tooltip info\n\t\t\tString toolTipText = null;\n\t\t\tString toolTipMessage = null;\n\t\t\tint toolTipStyle = SWT.BALLOON;\n\n\t\t\t// Otherwise get values for a scenario\n\t\t\tFont italic2 = italic;\n\t\t\tScenarioResultsElement scenarioResultsElement = (ScenarioResultsElement) scenarios[col-1];\n\t\t\tif (milestoneName != null || (!fingerprints && scenarioResultsElement.hasSummary())) {\n\t\t\t\titalic2 = this.boldItalicFont;\n\t\t\t\titem.setFont(col, this.boldFont);\n\t\t\t}\n\t\t\t// Otherwise get values for a scenario\n\t\t\tdouble[] values = (double[]) line.get(col);\n\t\t\tif (values == AbstractResults.NO_BUILD_RESULTS) {\n\t\t\t\titem.setText(col, \"Missing\");\n\t\t\t\titem.setForeground(col, GRAY);\n\t\t\t\titem.setFont(col, italic2);\n\t\t\t} else if (values == AbstractResults.INVALID_RESULTS) {\n\t\t\t\titem.setText(col, \"Invalid\");\n\t\t\t\titem.setForeground(col, RED);\n\t\t\t\titem.setFont(col, italic2);\n\t\t\t} else {\n\t\t\t\t// Get values array\n\t\t\t\tdouble buildValue = values[AbstractResults.BUILD_VALUE_INDEX];\n\t\t\t\tdouble baselineValue = values[AbstractResults.BASELINE_VALUE_INDEX];\n\t\t\t\tdouble delta = values[AbstractResults.DELTA_VALUE_INDEX];\n\t\t\t\tdouble error = values[AbstractResults.DELTA_ERROR_INDEX];\n\n\t\t\t\t// Set text with delta value\n\t\t\t\titem.setText(col, Util.PERCENTAGE_FORMAT.format(delta));\n\n\t\t\t\t// Compute the tooltip to display on the cell\n\t\t\t\tif (error > 0.03) {\n\t\t\t\t\t// error is over the 3% threshold\n\t\t\t\t\titem.setImage(col, ResultsElement.WARN_IMAGE);\n\t\t\t\t\titem.setForeground(col, this.darkyellow);\n\t\t\t\t\ttoolTipText = \"May be not reliable\";\n\t\t\t\t\ttoolTipMessage = \"The error on this result is \"+Util.PERCENTAGE_FORMAT.format(error)+\", hence it may be not reliable\";\n\t\t\t\t\ttoolTipStyle |= SWT.ICON_WARNING;\n\t\t\t\t}\n\t\t\t\tif (delta < -0.1) {\n\t\t\t\t\t// delta < -10%: failure shown by an red-cross icon + text in red\n\t\t\t\t\titem.setImage(col, ResultsElement.ERROR_IMAGE);\n\t\t\t\t\titem.setForeground(col, RED);\n\t\t\t\t} else if (delta < -0.05) {\n\t\t\t\t\t// negative delta over 5% shown in red\n\t\t\t\t\titem.setForeground(col, RED);\n\t\t\t\t} else if (delta < 0) {\n\t\t\t\t\t// negative delta shown in magenta\n\t\t\t\t\titem.setForeground(col, MAGENTA);\n\t\t\t\t} else if (delta > 0.2) {\n\t\t\t\t\t// positive delta over 20% shown in green\n\t\t\t\t\titem.setForeground(col, DARK_GREEN);\n\t\t\t\t} else if (delta > 0.1) {\n\t\t\t\t\t// positive delta between 10% and 20% shown in blue\n\t\t\t\t\titem.setForeground(col, BLUE);\n\t\t\t\t}\n\n\t\t\t\t// Moderate the status if the build value or the difference is small\n\t\t\t\tif (delta < 0) {\n\t\t\t\t\tdouble diff = Math.abs(baselineValue - buildValue);\n\t\t\t\t\tif (buildValue < 100 || diff < 100) {\n\t\t\t\t\t\tif (toolTipText == null) {\n\t\t\t\t\t\t\ttoolTipText = \"\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttoolTipText += \", \";\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttoolTipText += \"Small value\";\n\t\t\t\t\t\tif (toolTipMessage == null) {\n\t\t\t\t\t\t\ttoolTipMessage = \"\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttoolTipMessage += \".\\n\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (buildValue < 100) {\n\t\t\t\t\t\t\ttoolTipMessage += \"This test has a small value (\"+buildValue+\"ms)\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttoolTipMessage += \"This test variation has a small value (\"+diff+\"ms)\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttoolTipMessage += \", hence it may not be necessary to spend time on fixing this possible regression\";\n\t\t\t\t\t\t// set the text in italic\n\t\t\t\t\t\titem.setFont(col, italic2);\n\t\t\t\t\t\ttoolTipStyle |= SWT.ICON_INFORMATION;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Add information in tooltip when history shows big variation\n\t\t\t\tConfigResultsElement configResultsElement = configs[col-1];\n\t\t\t\tif (configResultsElement == null) {\n\t\t\t\t\tconfigResultsElement = (ConfigResultsElement) scenarioResultsElement.getResultsElement(this.configName);\n\t\t\t\t\tconfigs[col-1] = configResultsElement;\n\t\t\t\t}\n\t\t\t\tdouble deviation = configResultsElement == null ? 0 : configResultsElement.getStatistics()[3];\n\t\t\t\tif (deviation > 0.2) {\n\t\t\t\t\t// deviation is over 20% over the entire history\n\t\t\t\t\tif (toolTipText == null) {\n\t\t\t\t\t\ttoolTipText = \"\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttoolTipText += \", \";\n\t\t\t\t\t}\n\t\t\t\t\ttoolTipText += \"History shows erratic values\";\n\t\t\t\t\tif (toolTipMessage == null) {\n\t\t\t\t\t\ttoolTipMessage = \"\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttoolTipMessage += \".\\n\";\n\t\t\t\t\t}\n\t\t\t\t\ttoolTipMessage += \"The results history shows that the variation of its delta is over 20% (\"+Util.PERCENTAGE_FORMAT.format(deviation)+\"), hence its result is surely not reliable\";\n\t\t\t\t\t// set the text in italic\n\t\t\t\t\titem.setFont(col, italic2);\n\t\t\t\t\ttoolTipStyle |= SWT.ICON_INFORMATION;\n\t\t\t\t} else if (deviation > 0.1) { // moderate the status when the test\n\t\t\t\t\t// deviation is between 10% and 20% over the entire history\n\t\t\t\t\tif (toolTipText == null) {\n\t\t\t\t\t\ttoolTipText = \"\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttoolTipText += \", \";\n\t\t\t\t\t}\n\t\t\t\t\ttoolTipText += \"History shows unstable values\";\n\t\t\t\t\tif (toolTipMessage == null) {\n\t\t\t\t\t\ttoolTipMessage = \"\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttoolTipMessage += \".\\n\";\n\t\t\t\t\t}\n\t\t\t\t\ttoolTipMessage += \"The results history shows that the variation of its delta is between 10% and 20% (\"+Util.PERCENTAGE_FORMAT.format(deviation)+\"), hence its result may not be really reliable\";\n\t\t\t\t\t// set the text in italic\n\t\t\t\t\titem.setFont(col, italic2);\n\t\t\t\t\tif (toolTipStyle == SWT.BALLOON && delta >= -0.1) {\n\t\t\t\t\t\ttoolTipStyle |= SWT.ICON_INFORMATION;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// reduce icon severity from error to warning\n\t\t\t\t\t\ttoolTipStyle |= SWT.ICON_WARNING;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set tooltip\n\t\t\tif (toolTipText != null) {\n\t\t\t\tcreateToolTip(toolTipText, toolTipMessage, toolTipStyle, new Point(col, row));\n\t\t\t}\n\n\t\t\t// Baseline name\n\t\t\tConfigResultsElement configResultsElement = (ConfigResultsElement) scenarioResultsElement.getResultsElement(this.configName);\n\t\t\tif (configResultsElement != null) {\n\t\t\t\tString configBaselineName = configResultsElement.getBaselineBuildName(buildName);\n\t\t\t\tif (baselineName == null) {\n\t\t\t\t\tbaselineName = configBaselineName;\n\t\t\t\t} else if (baselineName.indexOf(configBaselineName) < 0) {\n\t\t\t\t\tbaselineName += \", \" +configBaselineName;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Set the tooltip over the build name\n\t\tif (baselineName != null) {\n\t\t\tcreateToolTip(buildName, \"Baseline: \"+baselineName, SWT.BALLOON | SWT.ICON_INFORMATION, new Point(0, row));\n\t\t}\n\n\t\t// Increment row counter\n\t\trow++;\n\t}\n\tthis.rowsCount = row;\n}", "title": "" }, { "docid": "2bae18d259d229306eee6181e75c761a", "score": "0.48321328", "text": "public void printGame(){\n\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\"_________________________________________\");\n\t\tint count = 0;\n\t\tint y = 0;\n\t\tchar [] h = {'8','7','6','5','4','3','2','1'};\n\t\tfor (Space s : spaces){\n\t\t\tif (s.p==null){\n\t\t\t\tif(spaces.indexOf(s)<=7 || (spaces.indexOf(s)>=16 && spaces.indexOf(s)<=23)||\n\t\t\t\t\t\t(spaces.indexOf(s)>=32 && spaces.indexOf(s)<=39) || (spaces.indexOf(s)>=48 && spaces.indexOf(s)<=55)){\n\t\t\t\t\tif(spaces.indexOf(s)%2==0){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(spaces.indexOf(s)%2!=0){\n\t\t\t\t\t\t\tSystem.out.print(\"## \");\n\t\t\t\t\t\t}\n\t\t\t\t}else\n\t\t\t\tif((spaces.indexOf(s)>=8 && spaces.indexOf(s)<=15)||\n\t\t\t\t\t\t(spaces.indexOf(s)>=24 && spaces.indexOf(s)<=31) || (spaces.indexOf(s)>=40 && spaces.indexOf(s)<=47) ||\n\t\t\t\t\t\t(spaces.indexOf(s)>=56 && spaces.indexOf(s)<=63)){\n\t\t\t\t\tif(spaces.indexOf(s)%2!=0){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(spaces.indexOf(s)%2==0){\n\t\t\t\t\t\t\tSystem.out.print(\"## \");\n\t\t\t\t\t\t}\n\t\t\t\t}else System.out.print(\"ss \");\n\t\t\t}\n\t\t\telse{\n\t\t\tSystem.out.print(s.p +\" \");\n\t\t\t}\n\t\t\tcount ++;\n\t\t\tif (count>=8){\n\t\t\t\tSystem.out.println(h[y]);\n\t\t\t\ty++;\n\t\t\t\tcount = 0;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\" a b c d e f g h\");\n\n\t\tSystem.out.println(\"_________________________________________\");\n\t}", "title": "" }, { "docid": "362b4e6a299f4ceeda73ee8c6246390d", "score": "0.48289776", "text": "public void paint(Graphics g) {\n\t\t\n\t\t\n\t\tsuper.paint(g);\n\t\tif(this.getCellType().equals(\"b\")) {\n\t\t\t\n\t\t\t\n\t\t\tif(upperNum.equals(\"0\")) {\t\t\t\t\t\t//if a black cell's top corner sum is 0, hides it by painting it the same as the background color.\n\t\t\t\t\n\t\t\t\tg.setColor(Color.WHITE);\n\t\t\t\t\n\t\t\t\tg.drawLine(0, 0, width, height);\n\t\t\t\t\n\t\t\t\tg.setColor(Color.BLACK);\n\t\t\t\t\n\t\t\t\tg.drawString(upperNum, 34, 25); \t\t//top number\n\t\t\t\t\n\t\t\t\tg.setColor(lowerColor);\n\t\t\t\tg.drawString(lowerNum, 10, 50);\t\t//bottom number\n\t\t\t\t\n\t\t\t\tthis.setBackground(Color.BLACK);\n\t\t\t\tthis.setOpaque(true);\n\t\t\t\t\t\t\t\t\n\t\t\t} else if (lowerNum.equals(\"0\")) {\t\t\t\t\t\t\t\t\t//same logic\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tg.setColor(Color.WHITE);\n\t\t\t\t\n\t\t\t\tg.drawLine(0, 0, width, height);\n\t\t\t\t\n\t\t\t\tg.setColor(upperColor);\n\t\t\t\t\n\t\t\t\tg.drawString(upperNum, 34, 25); \t\t//top number\n\t\t\t\t\n\t\t\t\tg.setColor(Color.BLACK);\n\t\t\t\tg.drawString(lowerNum, 10, 50);\t\t//bottom number\n\t\t\t\t\n\t\t\t\tthis.setBackground(Color.BLACK);\n\t\t\t\tthis.setOpaque(true);\n\t\t\t}\n\t\t\t\t\n\t\t\telse {\n\t\t\t\n\t\t\t\n\t\t\tg.setColor(Color.WHITE);\n\t\t\tg.drawLine(0, 0, width, height);\n\t\t\t\n\t\t\tg.setColor(upperColor);\n\t\t\t\n\t\t\tg.drawString(upperNum, 34, 25); \t\t//top number\n\t\t\t\n\t\t\tg.setColor(lowerColor);\n\t\t\tg.drawString(lowerNum, 10, 50);\t\t//bottom number\n\t\t\t\n\t\t\tthis.setBackground(Color.BLACK);\n\t\t\tthis.setOpaque(true);\n\t\t\t\n\t\t\t}\n\t\t\t\n\n\t\t\t\t\n\t\t}\n\t\t\n\n\t\t\n\t\t\n\t\tif(this.getCellType().equals(\"e\")) {\n\t\t\tthis.setBackground(Color.BLACK);\n\t\t\tthis.setOpaque(true);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\n\t\t//this.setBackground(Color.GREEN);\n\t\t\n\t\tthis.setEditable(false);\n\t\t\n\t\tthis.setOpaque(true);\n\t\t\n\t}", "title": "" }, { "docid": "3ae9933d5ed4835235db66e4f10e4ab2", "score": "0.48287395", "text": "public void printSchedule() {\n\t\tSchedule copy = new Schedule(schedule.toJsonString());\n\n\t\tMap<String, String[][]> SCH = new HashMap<String, String[][]>(copy.getSchedule());\n\t\tSystem.out.println(\"|---------------------------------------------------------------------------------------------------------------|\");\n\t\tSystem.out.println(\"| | MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY |\");\n\t\tSystem.out.println(\"|------+--------------------+--------------------+--------------------+--------------------+--------------------|\");\n\t\tboolean after = false;\n\t\tArrayList<Integer> posL = new ArrayList<Integer>();\n\t\tposL.add(20);\n\t\tfor (int i = 0; i < 12; i++) {\n\t\t\tif (after) {\n\t\t\t\ti--;\n\t\t\t\tSystem.out.print(\"| |\");\n\t\t\t} else {\n\t\t\t\tif (i + 8 < 10) System.out.print(\"|0\" + (i + 8) + \":00 |\");\n\t\t\t\telse System.out.print(\"|\" + (i + 8) + \":00 |\");\n\t\t\t}\n\t\t\tafter = false;\n\t\t\tfor (int j = 0; j < 5; j++) {\n\t\t\t\tboolean found = false;\n\t\t\t\tfor (Map.Entry<String, String[][]> entry : SCH.entrySet()) {\n\t\t\t\t\tif (!found) {\n\t\t\t\t\t\tString text = entry.getValue()[j][i];\n\t\t\t\t\t\tif (text!=null && !text.isEmpty()) {\n\t\t\t\t\t\t\tfound = true;\n\t\t\t\t\t\t\tString[] split = text.split(\"-\");\n\t\t\t\t\t\t\tString ntext = split[0]+\" \"+split[1]+split[2].substring(0, 1);\n\t\t\t\t\t\t\tSystem.out.print(\" \" + entry.getKey()+ \": \" + ntext);\n\t\t\t\t\t\t\tfor (int k = (2 + entry.getKey().length() + 2 + ntext.length()); k < 20; ++k) System.out.print(\" \");\n\t\t\t\t\t\t\tSystem.out.print(\"|\");\n\t\t\t\t\t\t\tentry.getValue()[j][i] = null;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (!after) {\n\t\t\t\t\t\t// String room = entry.getKey();\n\t\t\t\t\t\tString lecture = entry.getValue()[j][i];\n\t\t\t\t\t\tif (lecture != null) {\n\t\t\t\t\t\t\tafter = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!found) System.out.print(\" |\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t\tif (!after && i != 11) System.out.println(\"|------+--------------------+--------------------+--------------------+--------------------+--------------------|\");\n\t\t}\n\n\t\t// Imprimir l'11\n\t\tafter = true;\n\t\twhile (after) {\n\t\t\tSystem.out.print(\"| |\");\n\t\t\tafter = false;\n\t\t\tfor (int j = 0; j < 5; j++) {\n\t\t\t\tboolean found = false;\n\t\t\t\tfor (Map.Entry<String, String[][]> entry : SCH.entrySet()) {\n\t\t\t\t\tif (!found) {\n\t\t\t\t\t\tString text = entry.getValue()[j][11];\n\t\t\t\t\t\tif (text!=null && !text.isEmpty()) {\n\t\t\t\t\t\t\tfound = true;\n\t\t\t\t\t\t\t\tString[] split = text.split(\"-\");\n\t\t\t\t\t\t\t\tString ntext = split[0]+\" \"+split[1]+split[2].substring(0, 1);\n\t\t\t\t\t\t\t\tSystem.out.print(\" \" + entry.getKey()+ \": \" + ntext);\n\t\t\t\t\t\t\t\tfor (int k = (2 + entry.getKey().length() + 2 + ntext.length()); k < 20; ++k) System.out.print(\" \");\n\t\t\t\t\t\t\t\tSystem.out.print(\"|\");\n\t\t\t\t\t\t\tentry.getValue()[j][11] = null;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (!after) {\n\t\t\t\t\t\t// String room = entry.getKey();\n\t\t\t\t\t\tString lecture = entry.getValue()[j][11];\n\t\t\t\t\t\tif (lecture != null) {\n\t\t\t\t\t\t\tafter = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!found) System.out.print(\" |\");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tSystem.out.println(\"|---------------------------------------------------------------------------------------------------------------|\");\n\t}", "title": "" }, { "docid": "0d6a652f9f24f8ec19d63ac8b6d90201", "score": "0.48266783", "text": "private void createStatusTable()\r\n {\r\n\r\n List<ColumnPreference> cols = new ArrayList<ColumnPreference>();\r\n\r\n ColumnPreference colStatus = new ColumnPreference(\"Status\", null, propsBean\r\n .getString(\"views.deploymodel.deploymentStatus.column.status\"), \"/plugins/admin-portal/views/model/configurationValidationTableColumns.xhtml\",\r\n true, false);\r\n\r\n colStatus.setColumnAlignment(ColumnAlignment.CENTER);\r\n\r\n ColumnPreference colErrors = new ColumnPreference(\"Errors\", \"errors\", ColumnDataType.NUMBER, propsBean\r\n .getString(\"views.deploymodel.deploymentStatus.column.errors\"));\r\n colErrors.setColumnAlignment(ColumnAlignment.CENTER);\r\n\r\n ColumnPreference colWarnings = new ColumnPreference(\"Warnings\", \"warnings\", ColumnDataType.NUMBER, propsBean\r\n .getString(\"views.deploymodel.deploymentStatus.column.warnings\"));\r\n\r\n colWarnings.setColumnAlignment(ColumnAlignment.CENTER);\r\n\r\n cols.add(colStatus);\r\n cols.add(colErrors);\r\n cols.add(colWarnings);\r\n\r\n List<ColumnPreference> fixedBeforeColumns = new ArrayList<ColumnPreference>();\r\n List<ColumnPreference> fixedAfterColumns = new ArrayList<ColumnPreference>();\r\n\r\n\r\n IColumnModel deploymentStatusColumnModel = new DefaultColumnModel(cols, fixedBeforeColumns, fixedAfterColumns,\r\n UserPreferencesEntries.M_ADMIN, ResourcePaths.V_modelManagementView);\r\n\r\n deploymentStatus = new SortableTable<DeploymentStatusTableEntry>(deploymentStatusColumnModel, null,\r\n new SortableTableComparator<DeploymentStatusTableEntry>(\"errors\", true));\r\n deploymentStatus.initialize();\r\n }", "title": "" }, { "docid": "21287c8e0bc83699992b3172a1b98daf", "score": "0.48243713", "text": "public static void printShift(Calendar[][] shift) {\r\n\t\tfor (int i = 0; i < 7; i++) {\r\n\t\t\tString dayName;\r\n\t\t\tswitch (i) {\r\n\t\t\tcase 0:\r\n\t\t\t\tdayName = \"Monday\";\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\tdayName = \"Tuesday\";\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tdayName = \"Wednesday\";\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tdayName = \"Thursday\";\r\n\t\t\t\tbreak;\r\n\t\t\tcase 4:\r\n\t\t\t\tdayName = \"Friday\";\r\n\t\t\t\tbreak;\r\n\t\t\tcase 5:\r\n\t\t\t\tdayName = \"Saturday\";\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tdayName = \"Sunday\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tSystem.out.println(dayName);\r\n\t\t\tString time;\r\n\t\t\tfor (int j = 0; j < 8; j = j + 2) {\r\n\t\t\t\tif (shift[i][j].get(Calendar.YEAR) != 1990) {\r\n\t\t\t\t\ttime = String.format(\"%02d:%02d\", shift[i][j].get(Calendar.HOUR_OF_DAY),\r\n\t\t\t\t\t\t\tshift[i][j].get(Calendar.MINUTE));\r\n\t\t\t\t\tSystem.out.print(time + \" - \");\r\n\t\t\t\t\tif (shift[i][j + 1].get(Calendar.YEAR) != 1990) {\r\n\t\t\t\t\t\ttime = String.format(\"%02d:%02d\", shift[i][j + 1].get(Calendar.HOUR_OF_DAY),\r\n\t\t\t\t\t\t\t\tshift[i][j + 1].get(Calendar.MINUTE));\r\n\t\t\t\t\t\tSystem.out.println(time);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tSystem.out.println();\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (shift[i][j + 1].get(Calendar.YEAR) != 1990) {\r\n\t\t\t\t\t\ttime = String.format(\"%02d:%02d\", shift[i][j + 1].get(Calendar.HOUR_OF_DAY),\r\n\t\t\t\t\t\t\t\tshift[i][j + 1].get(Calendar.MINUTE));\r\n\t\t\t\t\t\tSystem.out.println(\"- \" + time);\r\n\t\t\t\t\t} else if (j == 0) {// for an empty day\r\n\t\t\t\t\t\tSystem.out.println(\"-\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "e8d787266d4d97085457517a0b3d01ce", "score": "0.48236135", "text": "public void display() {\n int cellID = 0;\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < columns; j++) {\n System.out.print(cells[cellID].getState().getTextualIcon());\n ++cellID;\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "2e5b7eccfe96ff1fc88651539804f025", "score": "0.4820942", "text": "public String prettyTable() {\n\n\t\tDecimalFormat f = new DecimalFormat(\"0.000 \");\n\t\t//DecimalFormat format2 = new DecimalFormat(\"0.000 \");\n\n\t\tStringBuffer tableBuffer = new StringBuffer(\"Table of the Isotopes\\n\\n\");\n\t\ttableBuffer.append(\"Index AtNo Element ID \");\n\t\tfor (int j = 0; j < 3; j++) {\n\t\t\ttableBuffer.append(\" | Iso Mass Abund\");\n\t\t}\n\t\ttableBuffer.append(\" | b\\n\\n\");\n\n\t\t// iterate through eList\n\t\tint i = 0;\n\t\tfor(Element anElement : eList) { // print the table of isotopes\n\t\t\ttableBuffer.append(new String(strPad(String.valueOf(i), 2, 1)) + \" \");\n\t\t\ttableBuffer.append(new String(strPad(String.valueOf(anElement.atNo), 2, 1)) + \" \");\n\t\t\ttableBuffer.append(new String(strPad(anElement.eName, 12, 0)));\n\t\t\ttableBuffer.append(new String(strPad(anElement.symbol, 4, 0)) + \" | \");\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\ttableBuffer.append(new String(strPad(anElement.isotope[j], 5, 1)));\n\t\t\t\tString massOut = f.format(anElement.m[j]);\n\t\t\t\tString abundOut = f.format(anElement.a[j]);\n\t\t\t\ttableBuffer.append(new String(strPad(massOut, 10, 1)) + new String(strPad(abundOut, 8, 1)));\n\t\t\t\ttableBuffer.append(\" | \");\n\t\t\t}\n\t\t\ttableBuffer.append(anElement.b + \"\\n\");\n\t\t\ti++;\n\t\t}\n\t\treturn new String(tableBuffer);\n\t\t\n\t}", "title": "" }, { "docid": "5f3ff0e5491f90d8c4e2463ea7083fd7", "score": "0.4819173", "text": "public void print() {\n\t\t// Declare and initialize string\n\t\tString horizontal_edge = \"\";\n\t\t// Loop over columns and make string of correct length\n\t\tfor (int i = 0; i < column; i++) {\n\t\t\thorizontal_edge += \"+-----\";\n\t\t}\n\t\thorizontal_edge += \"+\";\n\t\t// Print string to be top wall of maze\n\t\tSystem.out.println(horizontal_edge);\n\t\t// Declare string variables\n\t\tString walls2;\n\t\tString walls1;\n\t\tString b_walls;\n\t\t// Loop over lists of Squares in row_list\n\t\tfor (List<Square> row_l : row_list) {\n\t\t\t// Initialize string variables\n\t\t\twalls2 = \"\";\n\t\t\twalls1 = \"\";\n\t\t\tb_walls = \"\";\n\t\t\t// Loop over Square objects in list of Squares\n\t\t\tfor (Square col_l : row_l) {\n\t\t\t\t// If Square has left wall execute if body\n\t\t\t\tif (col_l.hasLeftWall()) {\n\t\t\t\t\t// Add section with left wall to string\n\t\t\t\t\twalls1 += \"| \";\n\t\t\t\t\t// If Square is start add section containing S to string\n\t\t\t\t\tif (col_l.isFirst()) {\n\t\t\t\t\t\twalls2 += \"| S \";\n\t\t\t\t\t// If Square is end add section containing F to string\n\t\t\t\t\t} else if (col_l.isEnd()) {\n\t\t\t\t\t\twalls2 += \"| F \";\n\t\t\t\t\t// If Square is part of path add section containing * to\n\t\t\t\t\t//string\n\t\t\t\t\t} else if (col_l.isPath()) {\n\t\t\t\t\t\twalls2 += \"| * \";\n\t\t\t\t\t// If Square is not start, end, nor part of path add empty\n\t\t\t\t\t//section to string\n\t\t\t\t\t} else {\n\t\t\t\t\t\twalls2 += \"| \";\n\t\t\t\t\t}\n\t\t\t\t// If Square does not have left wall execute else body\n\t\t\t\t} else {\n\t\t\t\t\t// Add empty section to string\n\t\t\t\t\twalls1 += \" \";\n\t\t\t\t\t// If Square is start add section containing S to string\n\t\t\t\t\tif (col_l.isFirst()) {\n\t\t\t\t\t\twalls2 += \" S \";\n\t\t\t\t\t// If Square is end add section containing F to string\n\t\t\t\t\t} else if (col_l.isEnd()) {\n\t\t\t\t\t\twalls2 += \" F \";\n\t\t\t\t\t// If Square is part of path add section containing * to\n\t\t\t\t\t//string\n\t\t\t\t\t} else if (col_l.isPath()) {\n\t\t\t\t\t\twalls2 += \" * \";\n\t\t\t\t\t// If Square is not start, end, nor part of path add empty\n\t\t\t\t\t//section to string\n\t\t\t\t\t} else {\n\t\t\t\t\t\twalls2 += \" \";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// If Square has bottom wall add section containing wall to\n\t\t\t\t//string\n\t\t\t\tif (col_l.hasBottomWall()) {\n\t\t\t\t\tb_walls += \"+-----\";\n\t\t\t\t// If Square does not have bottom wall add empty section to\n\t\t\t\t//string\n\t\t\t\t} else {\n\t\t\t\t\tb_walls += \"+ \";\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Add right wall to strings\n\t\t\twalls1 += \"|\";\n\t\t\twalls2 += \"|\";\n\t\t\tb_walls += \"+\";\n\t\t\t// Print strings to make maze\n\t\t\tSystem.out.println(walls1);\n\t\t\tSystem.out.println(walls2);\n\t\t\tSystem.out.println(walls1);\n\t\t\tSystem.out.println(b_walls);\n\t\t}\n\t}", "title": "" }, { "docid": "c254aba39faf561048ed913c3e3cc298", "score": "0.4816685", "text": "public void printing(int[] Cell, int turn) {\n int y = 8;\n int x = 0;\n int counter = 0;\n System.out.println(\"\\n\\u001B[0m \\u001B[33m____***_______***_______***_______***_______***\" +\n \"_______***_______***_______***_______***_______***_______***_______***___________***\" +\n \"___________***___________***___________***___________***____\");\n System.out.println(\"\\n\\u001B[34m \" + \"\\t\\t\\t Player 1 : \" + getTheScore(1, Cell) +\n \"\\u001B[0m\" + \"\\u001B[31m\" + \"\\t\\t\\t\\tPlayer 2 : \" + getTheScore(-1, Cell));\n System.out.print(\"\\n \\u001B[0m \\u001B[33m A B C D E F G H \");\n System.out.println(\"\\u001B[0m\");\n System.out.println(\"\");\n System.out.print(\" \\u001B[0m \\u001B[33m 1 \\u001B[0m\");\n int I = 1;\n for (int color : Cell) {\n if (color == 1)\n System.out.print(\" \" + \"\\uD83D\\uDD35\" + \" \");\n if (color == 0)\n System.out.print(\" \" + \"\\u26AA\" + \" \");\n if (color == -1)\n System.out.print(\" \" + \"\\uD83D\\uDD34\" + \" \");\n counter++;\n if (counter == 8) {\n I++;\n System.out.println(\"\");\n System.out.println(\"\");\n if (I != 9)\n System.out.print(\" \\u001B[0m \\u001B[33m \" + I + \" \\u001B[0m\");\n counter = 0;\n }\n }\n if (turn % 2 == 1)\n System.out.println(\" \\u001B[31m turn of \\u001B[0m \\uD83D\\uDD34\");\n if (turn % 2 == 0)\n System.out.println(\" \\u001B[34m turn of \\u001B[0m \\uD83D\\uDD35\");\n I = 1;\n }", "title": "" }, { "docid": "9d582b48c1c6b249bd309c5ff38e1697", "score": "0.4816089", "text": "protected void setTableStyle(AttributiveCellTableModel model) {\n displayTable.setIntercellSpacing(new Dimension(0,0));\n AttributiveCellRendererLine[] renderers = new AttributiveCellRendererLine[1];\n Hashtable hh = BothHelpObjs.getTableStyle();\n Color color = (Color)hh.get(\"COLOR\");\n Integer t = (Integer)hh.get(\"INSET_TOP\");\n Integer l = (Integer)hh.get(\"INSET_LEFT\");\n Integer b = (Integer)hh.get(\"INSET_BOTTOM\");\n Integer r = (Integer)hh.get(\"INSET_RIGHT\");\n Integer a = (Integer)hh.get(\"INSET_ALIGN\");\n renderers[0] = ClientHelpObjs.createRendererLine(color, new Insets(t.intValue(),l.intValue(),b.intValue(),r.intValue()),a.intValue());\n\n TableColumnModel m = displayTable.getColumnModel();\n int i = 0;\n for (i = 0; i < displayTable.getColumnCount(); i++) {\n m.getColumn(i).setCellRenderer(renderers[0]);\n }\n\n //font and foreground and background color for columns heading\n String fontName = (String)hh.get(\"FONT_NAME\");\n Integer fontStyle = (Integer)hh.get(\"FONT_STYLE\");\n Integer fontSize = (Integer)hh.get(\"FONT_SIZE\");\n displayTable.setFont(new Font(fontName,fontStyle.intValue(),fontSize.intValue()));\n MultiLineHeaderRenderer renderer = new MultiLineHeaderRenderer((Color)hh.get(\"FOREGROUND\"),(Color)hh.get(\"BACKGROUND\"),renderers[0].getBorder());\n Enumeration enum1 = displayTable.getColumnModel().getColumns();\n while (enum1.hasMoreElements()) {\n ((TableColumn)enum1.nextElement()).setHeaderRenderer(renderer);\n }\n\n // set column widths\n displayTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); //setting this allow us to set the width of table\n for(i=0;i<displayTable.getColumnCount();i++){\n int width = model.getColumnWidth(i);\n displayTable.getColumn(model.getColumnName(i)).setPreferredWidth(width);\n displayTable.getColumn(model.getColumnName(i)).setWidth(width);\n if (width==0){\n displayTable.getColumn(model.getColumnName(i)).setMinWidth(width);\n displayTable.getColumn(model.getColumnName(i)).setMaxWidth(width);\n }\n }\n displayTable.validate();\n }", "title": "" }, { "docid": "cbfcd786702795d0078be538f206b576", "score": "0.4808198", "text": "public void afficherTest() {\n\t\tSystem.out.println(name);\n\t\tSystem.out.println(\"Cette grille a une difficult� de \" + difficulty);\n\t\tint pos;\n\t\tfor (int j = 0 ; j<size[0] ; j++) {\n\t\t\tif (j%2==1) System.out.print(\"\\t\");\n\t\t\tfor (int i = 0 ; i<size[1] ; i++) {\n\t\t\t\tpos = grid.checkPos(i + ((j%2==0)?j/2:(j+1)/2), j);\n\t\t\t\tif (pos!=-1) {\n\t\t\t\t\tSystem.out.print(grid.get(pos).toString());\n\t\t\t\t\tSystem.out.print(\"\\t\" + (grid.get(pos).isLocked()?1:0) + \"\\t\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\"\\t\\t\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\\t\\t \" + j + \"�me ligne\");\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "title": "" }, { "docid": "1edbcc2666d2365f3df2039668f5d9e4", "score": "0.48080012", "text": "public void printBoard() {\n \n for(int x = 0; x < 9; x++) {\n if (x == 0) {\n System.out.println(\" \" + mistakes + \"/5 mistakes\");\n System.out.println(\"----------------------\");\n }\n for(int y = 0; y < 9; y++) {\n if(board[x][y] == 0) {\n System.out.print(\"0 \");\n } else {\n System.out.print(board[x][y] + \" \");\n }\n if((y+1)%3==0 && y+1 != 9) {\n System.out.print(\"| \");\n } else if (y+1 == 9) {\n System.out.print(\"| \" + x); \n }\n }\n System.out.println();\n if((x+1)%3==0 && x+1 != 9 && x+1 != 0) {\n System.out.println(\"----------------------\");\n } else if (x+1 == 9) {\n System.out.println(\"----------------------\");\n for(int i = 0; i < 9; i++) {\n if((i+1)%3 == 0 && i+1 != 9) {\n System.out.print(i + \" \");\n } else {\n System.out.print(i + \" \");\n }\n }\n } \n }\n \n System.out.println(\"\\n\");\n }", "title": "" } ]
e69f22c4faf1b28b6fa0fd1faa290c40
Get The Screen Height
[ { "docid": "79763effc041eff1fe7160de392cc701", "score": "0.0", "text": "public static int getScreentHeight(Activity activity) {\n Display display = activity.getWindowManager().getDefaultDisplay();\n DisplayMetrics dm = new DisplayMetrics();\n display.getMetrics(dm);\n return dm.heightPixels;\n }", "title": "" } ]
[ { "docid": "22fa9b0747ae259420aaafff1746eeb3", "score": "0.8853643", "text": "public static int getHeight ()\n {\n return (int) _screenSize.getHeight();\n }", "title": "" }, { "docid": "7d30d7272e6b1210a1979cd541f28383", "score": "0.80744517", "text": "private void getWindowHeight() {\n Display ss = getWindowManager().getDefaultDisplay();\n Point size = new Point();\n ss.getSize(size);\n height = size.y;\n }", "title": "" }, { "docid": "d0b60057b55f45606316ba48fd67e020", "score": "0.8070864", "text": "public static int getScreenHeight(Context context){\r\n DisplayMetrics dm = context.getResources().getDisplayMetrics();\r\n return dm.heightPixels;\r\n }", "title": "" }, { "docid": "78ba5500eb58d015845551e12291e9d3", "score": "0.80587125", "text": "public int getHeight() {\n\t\treturn Display.getHeight();\n\t}", "title": "" }, { "docid": "b94a58e79539cb0897158a7964e67fda", "score": "0.80469286", "text": "public static int HEIGHT() {\n\t\treturn Application.HEIGHT - 40; \n\t}", "title": "" }, { "docid": "aff5f5bfcbbafbba3567efd76060f75e", "score": "0.8024847", "text": "public static native int gdk_screen_get_height(long screenPointer);", "title": "" }, { "docid": "5b51999ccb9ae18549456c13c631bbf3", "score": "0.7991071", "text": "public int getHeight() {\n\t\tfloat heighttemp = (float) Resolution.height() / Screen.getHeight();\n\t\tfloat Height = (float) (height * heighttemp);\n\t\treturn (int) Height;\n\t}", "title": "" }, { "docid": "f601418a5255eaf6f4090685719349ca", "score": "0.79488295", "text": "public int getHeight() {\n\t\treturn mainWindow.getHeight();\n\t}", "title": "" }, { "docid": "1865f65bf18fe7ed78cb89f1beecbc11", "score": "0.7821356", "text": "public static float getDISPLAY_HEIGHT() {\n return DISPLAY_HEIGHT;\n }", "title": "" }, { "docid": "4157116c830e717674dd30a71db267d9", "score": "0.77631396", "text": "public BigDecimal getSCREEN_HEIGHT() {\r\n return SCREEN_HEIGHT;\r\n }", "title": "" }, { "docid": "5b5b9292ebff9e4ae8dee118456996b9", "score": "0.77430236", "text": "public int getHeight() {\r\n return (int) Math.round(height * scale_y * screen_scale_y);\r\n }", "title": "" }, { "docid": "1d5f2a613508d5b8e82cab63fe8a211b", "score": "0.770847", "text": "public int getHeight() {\n if (mHeight < 0) {\n return mEglManager.querySurface(mEGLSurface, EGL10.EGL_HEIGHT);\n } else {\n return mHeight;\n }\n }", "title": "" }, { "docid": "ddcf76e593617b07f5b0a36373f16d7f", "score": "0.76424026", "text": "public static int getScreenHeight(Context context) {\n\t\tDisplay display = ((WindowManager) context\n\t\t\t\t.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();\n\t\treturn display.getHeight();\n\t}", "title": "" }, { "docid": "5b814ba66b2faa7bbce1d813784ce00f", "score": "0.76331145", "text": "public static int getHeight() {\n\t\treturn HEIGHT;\n\t}", "title": "" }, { "docid": "ae1c5325e1ae29666ca7ce79bfe7921f", "score": "0.7598735", "text": "public static int getHeight() {\r\n\t\treturn height;\r\n\t}", "title": "" }, { "docid": "ae1c5325e1ae29666ca7ce79bfe7921f", "score": "0.7598735", "text": "public static int getHeight() {\r\n\t\treturn height;\r\n\t}", "title": "" }, { "docid": "685f212e32cf24551d2ee6eb21784287", "score": "0.74461764", "text": "private int getWindowHeight(Activity activity) {\n DisplayMetrics displayMetrics = new DisplayMetrics();\n (activity).getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);\n return displayMetrics.heightPixels;\n }", "title": "" }, { "docid": "904b02fb2076c0a5f871c1cf0f495415", "score": "0.7423501", "text": "public int getHeight() {\n return GdkRectangle.getHeight(this);\n }", "title": "" }, { "docid": "e41c219c22bbbbc7dfe44c509dbdc2e0", "score": "0.7388133", "text": "public static int getDisplayHeight(Context context) {\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return displayMetrics.heightPixels;\n }", "title": "" }, { "docid": "4eae6b66f59fa5aca31b4ebe77b05e24", "score": "0.7358195", "text": "public int getHeight() {\r\n\t\treturn canvasHeight;\r\n\t}", "title": "" }, { "docid": "eeb80d90e7be8f262876beee192f3761", "score": "0.7316949", "text": "public int getHeight () {\n\tcheckWidget ();\n\treturn height;\n}", "title": "" }, { "docid": "c5eaec1ef1d4d5c2e2dc45b0b8366cbe", "score": "0.7267538", "text": "protected int getHeight(){\n\t\treturn conf.getBounds().height;\n\t}", "title": "" }, { "docid": "2cae1f10b478ea23cfe2f3682f545355", "score": "0.7244814", "text": "public float getPageHeight() {\n\treturn currentPage.getMediaBox().getHeight();\n }", "title": "" }, { "docid": "f1c88239bdcccdeac62726ead1345073", "score": "0.72131395", "text": "public int getHeight() {\n \t\treturn height;\n \t}", "title": "" }, { "docid": "146663936cb627af21548c9f3e0f0637", "score": "0.7209972", "text": "public int getHeight() {\r\n return height;\r\n }", "title": "" }, { "docid": "546d16e52ee14ec9b9dca62ed19bc111", "score": "0.72088087", "text": "public int getHeight()\n\t{\n\t\treturn height;\n\t}", "title": "" }, { "docid": "dabc72c700c00bfb1af3b83d82b30f8e", "score": "0.72070456", "text": "private Point getScreenDimensions() {\r\n Log.v(\"BoardUI\", \"Getting screen pixel dimensions\");\r\n\r\n Point size = new Point();\r\n getWindowManager().getDefaultDisplay().getSize(size);\r\n return size;\r\n }", "title": "" }, { "docid": "e5085935f14f0339ed6af9386af8876a", "score": "0.7203678", "text": "public int getHeight() {\n\t\treturn(height);\n\t}", "title": "" }, { "docid": "91ae5393ffdcbecab83791bd66d101aa", "score": "0.7202671", "text": "public int getHeight(){\r\n\t\treturn height;\r\n\t}", "title": "" }, { "docid": "91ae5393ffdcbecab83791bd66d101aa", "score": "0.7202671", "text": "public int getHeight(){\r\n\t\treturn height;\r\n\t}", "title": "" }, { "docid": "409e029087ac005ae200aaf0185f8533", "score": "0.7191709", "text": "public int getHeight()\n {\n return height;\n }", "title": "" }, { "docid": "9e35ccbfef07d61945341f4520655226", "score": "0.71835726", "text": "public int getHeight() {\n\t\n\t\treturn frame.getHeight();\n\t\n\t}", "title": "" }, { "docid": "cdaba53cc063124fb21e64d3d6dc5ae8", "score": "0.7181953", "text": "public int getScreenSizeY(){\n\treturn nScreenY;\n }", "title": "" }, { "docid": "2b77e3e24ca5a8fca060902129301df0", "score": "0.71805656", "text": "public int getHeight() {\r\n\t\treturn height;\r\n\t}", "title": "" }, { "docid": "2b77e3e24ca5a8fca060902129301df0", "score": "0.71805656", "text": "public int getHeight() {\r\n\t\treturn height;\r\n\t}", "title": "" }, { "docid": "f19929a99200da6e5280832ad4aea5ba", "score": "0.7179721", "text": "public int getHeight() {\n return mHeight;\n }", "title": "" }, { "docid": "f19929a99200da6e5280832ad4aea5ba", "score": "0.7179721", "text": "public int getHeight() {\n return mHeight;\n }", "title": "" }, { "docid": "d4fc873d9d78db78d6f91c17523d4b8d", "score": "0.7174927", "text": "public final int getHeight()\n {\n return mHeight;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "1a06027eae8474a97eb6c8409ace94b7", "score": "0.7168172", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "216a6ae30aabfea740df8d5ed92ca893", "score": "0.7159002", "text": "public int getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "216a6ae30aabfea740df8d5ed92ca893", "score": "0.7159002", "text": "public int getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "216a6ae30aabfea740df8d5ed92ca893", "score": "0.7159002", "text": "public int getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "216a6ae30aabfea740df8d5ed92ca893", "score": "0.7159002", "text": "public int getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "216a6ae30aabfea740df8d5ed92ca893", "score": "0.7159002", "text": "public int getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "216a6ae30aabfea740df8d5ed92ca893", "score": "0.7159002", "text": "public int getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "216a6ae30aabfea740df8d5ed92ca893", "score": "0.7159002", "text": "public int getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "9dcca67116f7bd8040120325e14f0416", "score": "0.7151332", "text": "public int getHeight() {\r\n \t\treturn height;\r\n \t}", "title": "" }, { "docid": "57edebcb2ab3a63c42a2ddba96545720", "score": "0.7150665", "text": "public int getFullscreenHeight() {\n Insets insets = getRootWindowInsets().getInsets(WindowInsets.Type.systemBars());\n\n return getHeight() + insets.top + insets.bottom;\n }", "title": "" }, { "docid": "71c0cadb443a6a482bc34c2d92187e0e", "score": "0.71488726", "text": "float getHeight();", "title": "" }, { "docid": "71c0cadb443a6a482bc34c2d92187e0e", "score": "0.71488726", "text": "float getHeight();", "title": "" }, { "docid": "256fd6b0b81fd33611205e0870f76307", "score": "0.7123487", "text": "protected final int getHeightPX()\n {\n if ( getHUD() == null )\n throw new Error( \"This widget is not attached to the HUD.\" );\n \n return ( heightPX );\n }", "title": "" }, { "docid": "2ead6bc0efbb9ba3be38ccadca126a15", "score": "0.7123172", "text": "public int getHeight()\n {\n return height;\n }", "title": "" }, { "docid": "c7dc8d47fc676ece0095f5ee48daaeb6", "score": "0.71231276", "text": "public float getHeight() {\n return mHeight;\n }", "title": "" }, { "docid": "5b7c09faaa02b5f485e0a0dbac213c52", "score": "0.71189314", "text": "public int getHeight() {\n return (mHeight & 0xFF);\n }", "title": "" }, { "docid": "37e7753f0ba050aec3865f2755c2b43f", "score": "0.71077204", "text": "public float getHeight() {\n return height;\n }", "title": "" }, { "docid": "fcf5b65d55db3c97403ba3cafe2bf886", "score": "0.7103467", "text": "public int getHeight() {\n\t\treturn charactor.getHeight(null);\n\t}", "title": "" }, { "docid": "a639fc388e9c58447f9b30e44a407a2e", "score": "0.7100537", "text": "double getHeight();", "title": "" }, { "docid": "a639fc388e9c58447f9b30e44a407a2e", "score": "0.7100537", "text": "double getHeight();", "title": "" }, { "docid": "5189aff89d5b1c78ef660f5953f31844", "score": "0.7099013", "text": "public int getHeight();", "title": "" }, { "docid": "5189aff89d5b1c78ef660f5953f31844", "score": "0.7099013", "text": "public int getHeight();", "title": "" }, { "docid": "5189aff89d5b1c78ef660f5953f31844", "score": "0.7099013", "text": "public int getHeight();", "title": "" }, { "docid": "5189aff89d5b1c78ef660f5953f31844", "score": "0.7099013", "text": "public int getHeight();", "title": "" }, { "docid": "5189aff89d5b1c78ef660f5953f31844", "score": "0.7099013", "text": "public int getHeight();", "title": "" }, { "docid": "5189aff89d5b1c78ef660f5953f31844", "score": "0.7099013", "text": "public int getHeight();", "title": "" }, { "docid": "5c99836db36e98d4c7b5785dd7029211", "score": "0.7097682", "text": "public double getHeight() {\r\n\t\tdouble height = RobotMap.upperLifter.getHeight()+RobotMap.lowerLifter.getHeight();\r\n\t\tSmartDashboard.putNumber(\"FourBarLifter Current Height:\", height);\r\n\t\treturn height;\r\n\t}", "title": "" }, { "docid": "0eef18fb7252e65df5a3cb7b317ef22a", "score": "0.70972955", "text": "public int height() {\n\t\treturn heightHelper(getRoot());\n\t}", "title": "" }, { "docid": "2578a416ead7706d07fc0b783af3dd49", "score": "0.7096543", "text": "public float getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "2578a416ead7706d07fc0b783af3dd49", "score": "0.7096543", "text": "public float getHeight() {\n\t\treturn height;\n\t}", "title": "" }, { "docid": "509e301f009511c6a970d89a57335d16", "score": "0.7095169", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "509e301f009511c6a970d89a57335d16", "score": "0.7095169", "text": "public int getHeight() {\n return height;\n }", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "27f33c38ca7dc6c72d6d08283e505673", "score": "0.70818365", "text": "int getHeight();", "title": "" }, { "docid": "556b984d5e70489af641e81841b71da5", "score": "0.70761555", "text": "public double getHeight() {\r\n return height;\r\n }", "title": "" } ]
4c8f6043c0fe34c75d14422ac0153416
Prompts user to enter name and gets user entered name then passes it to the home screen
[ { "docid": "1253110f0dca14bdd3dd15abcb45e642", "score": "0.7142815", "text": "public void onEnter(View view) {\n\n TextView welcomeView = (TextView) findViewById(R.id.welcome);\n EditText nameView = (EditText) findViewById(R.id.enterName);\n String nameText = nameView.getText().toString();\n\n Intent intent = new Intent(this,HomeScreen.class);\n intent.putExtra(HomeScreen.USER_NAME, nameText);\n startActivity(intent);\n }", "title": "" } ]
[ { "docid": "97f9abf4a0355b587452ce6d5901134a", "score": "0.7217772", "text": "public void promptForName() {\n \t\tif (readName() != null) {\n \t\t\tif (!userName.equals(\"unset\")) {\n \t\t\t\tengine.authUser();\n \t\t\t\treturn;\n \t\t\t}\n \t\t} else {\n \t\t\tString localName = \"\";\n \t\t\tString testName = \"\";\n \t\t\ttry {\n \t\t\t\tif (engine.teamSession()) {\n \t\t\t\t\tlocalName = JOptionPane.showInputDialog(null, \"Enter your team name\", \"It's all about identity\", 1);\n \t\t\t\t} else {\n \t\t\t\t\tlocalName = JOptionPane.showInputDialog(null, \"Enter your name\", \"It's all about identity\", 1);\n \t\t\t\t}\n \t\t\t\ttestName = localName.toLowerCase().trim();\n \t\t\t} catch (Exception e) {\n \t\t\t\tif (e instanceof NullPointerException) {\n \t\t\t\t\tSystem.out\n \t\t\t\t\t\t\t.println(\"No input from user, assuming termination is desired. Terminating...\");\n \t\t\t\t\tSystem.exit(0);\n \t\t\t\t}\n \t\t\t\tSystem.err.println(\"Error prompting for user: \" + e.getMessage());\n \t\t\t\tpromptForName();\n \t\t\t\treturn;\n \t\t\t}\n \t\t\t\n\t\t\tif (engine.settings.isApiEnabled()) {\n \t\t\t\tvalidEntry = (engine.teamSession()) ? engine.settings.getVerificationTeams() : engine.settings.getVerificationNames();\n \t\t\t\t\n \t\t\t\tboolean promptForName = true;\n \t\t\t\tfor (String name : validEntry) {\n \t\t\t\t\tif (name.toLowerCase().equals(testName.toLowerCase())) {\n \t\t\t\t\t\tpromptForName = false;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tif (promptForName) {\n \t\t\t\t\tSystem.out.println(\"Invalid entry: \" + localName.trim());\n \t\t\t\t\tpromptForName();\n \t\t\t\t\treturn;\n \t\t\t\t}\n \t\t\t}\n \n \t\t\tsetUserName(localName.trim());\n \t\t\ttry {\n \t\t\t\tif (!writeName()) {\n \t\t\t\t\tpromptForName();\n \t\t\t\t\treturn;\n \t\t\t\t}\n \t\t\t\tengine.authUser();\n \t\t\t} catch (IOException e) {\n \t\t\t\tSystem.err\n \t\t\t\t\t\t.println(\"Error writing name file: \" + e.getMessage());\n \t\t\t\tpromptForName();\n \t\t\t\treturn;\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "2caca5c0ffe8e9fb34acf7e9f559d9ab", "score": "0.68609244", "text": "private String getName() {\r\n System.out.println(\"Enter the name in a valid format\");\r\n String name = scanner.nextLine();\r\n //back to main menu\r\n if ((\"-1\").equals(name)) {\r\n showUserMenu();\r\n return null;\r\n }\r\n if (!isNameValid(name)) {\r\n System.out.println(\"Invalid name\");\r\n name = getName();\r\n }\r\n return name;\r\n }", "title": "" }, { "docid": "bc03242ffee7f14d433edac3447a1213", "score": "0.6846305", "text": "public void chooseName() throws Exception{\n System.out.println(\"What is your name?\");\n name = Welcome.scanner.nextLine();\n\n //if statement to ensure a name is entered\n if(name.isEmpty() ){\n throw new Exception(\"No name entered. Please enter your name.\");\n }else{\n System.out.println(\"Welcome to Wells Fargo, \" + name);\n }\n }", "title": "" }, { "docid": "5f29d24a820eb5b5e34185cb22de6363", "score": "0.6779223", "text": "public void setName() {\n while (true) {\n System.out.print(\"Please enter user name: \");\n String a = ConstantValues.SC.nextLine().toLowerCase();\n if (validateInput(a)) {\n System.out.println(\"User name should be between 4-8 symbols long, having letters or numbers only.\");\n } else {\n ConsoleOperations.clearConsole();\n this.name = a;\n break;\n }\n }\n }", "title": "" }, { "docid": "0ab7096e5f9c07c116b43d4ef0de0f9a", "score": "0.67115295", "text": "public void Name() {\n\t\t\tName.sendKeys(\"Name\");\n\t\t}", "title": "" }, { "docid": "a4aaff322f88b9fd8299cd3259d9cad1", "score": "0.6646535", "text": "private void getUserName() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"User Name\");\n EditText userNameInput = new EditText(this);\n userNameInput.setInputType(InputType.TYPE_CLASS_TEXT);\n builder.setView(userNameInput);\n\n builder.setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n name = userNameInput.getText().toString();\n Log.d(\"User_NAME\", name);\n if (name.equals(\"\")) {\n getUserName();\n } else connect();\n }\n });\n\n builder.show();\n }", "title": "" }, { "docid": "d98ffadec9cc06d29a59fa97290d4021", "score": "0.6626722", "text": "private String getName() {\n return JOptionPane.showInputDialog(\n frame,\n \"Enter username to login or create a new account: \",\n \"Chatty Cathy Login\",\n JOptionPane.QUESTION_MESSAGE);\n }", "title": "" }, { "docid": "4f3cd4164eb2478954cadd498b65d76f", "score": "0.6592278", "text": "public void readName()\n {\n keyboard = new Scanner(System.in);\n System.out.println(\"What is the student's name?\");\n name = keyboard.nextLine();\n }", "title": "" }, { "docid": "e82df8e06962ddf88c6aa1a551e9738d", "score": "0.65324956", "text": "private void setupUserName() {\n this.userName = \"\"; // Initialized as empty string.\n this.nameAppear = \"N/A\"; // Displayed name on info bar initialized as N/A.\n this.alreadyFillName = false; // Initialized as false till user fills\n // his/her name.\n }", "title": "" }, { "docid": "d74f01bc7d6f8c783f457a02b82be2d9", "score": "0.6526453", "text": "@When(\"the ^User enters? name value in (?:'Name'|'NAME') text field of (?:SignUp|Sign Up|Sign up|sign up) page$\")\n public void enter_name_value(String name) {\n signUpPage.fillNameInput(name);\n }", "title": "" }, { "docid": "c180f9167d52a4eaed5cad5ad53e439e", "score": "0.65220094", "text": "public void userFirstName() {\n\t\tSystem.out.println(\"\\nEnter the First Name:\");\n\t\tboolean result = validate.checkName(scanner.nextLine());\n\t\toutput(result);\n\t\tif (result == false) userFirstName();\n\t}", "title": "" }, { "docid": "dc2b0ff02cc003616a3a3e4109a816a6", "score": "0.65142816", "text": "public void inputPlayerName() {\n String y = (String)JOptionPane.showInputDialog(\n this,\n \"Player 1 Name: \",\n \"Customized Dialog\",\n JOptionPane.QUESTION_MESSAGE);\n player1Name = y;\n //To avoid NullPointerException when pressing the X button\n if(player1Name == null) {\n player1Name = \"?\";\n }\n String z = (String)JOptionPane.showInputDialog(\n this,\n \"Player 2 Name: \",\n \"Customized Dialog\",\n JOptionPane.QUESTION_MESSAGE);\n player2Name = z;\n if(player2Name == null) {\n player2Name = \"??\";\n }\n }", "title": "" }, { "docid": "a163f894dbc3b05cc4f71e9a0cc4fad1", "score": "0.6511382", "text": "private String promptUserForName(Player newPlayer) {\n String name;\n do {\n ui.consolePrint(PLAYER_NAME_REQUEST);\n newPlayer.pingAiForName();\n name = ui.getUserInput();\n } while (name.equals(\"\"));\n return name;\n }", "title": "" }, { "docid": "f73899de864959fba371b22cf821423c", "score": "0.65089905", "text": "public static void main (String [ ] args) {\n String fname = \"\";\n String lname = \"\";\n \n //Declare and create new Scanner object\n Scanner keyboard = new Scanner(System.in);\n \n //Prompt user for their full name\n System.out.print( \"What is your full name? \");\n \n //Read first name\n fname = keyboard.next();\n \n //Read last name\n lname = keyboard.nextLine();\n \n //Print final message\n System.out.println(lname + \" have an awesome day!\");\n \n }", "title": "" }, { "docid": "caaf5420c233cdc6ede235ed9b507d16", "score": "0.64733535", "text": "public void submitName(View view) {\n Intent intent = new Intent(this, RequestScreen.class);\n EditText editText = findViewById(R.id.editText);\n String message = editText.getText().toString();\n intent.putExtra(EXTRA_MESSAGE, message);\n startActivity(intent);\n }", "title": "" }, { "docid": "cce9d02d040e2df9ce0fd11b48ee5b43", "score": "0.6466927", "text": "private String requestUserName() {\n\t\tSystem.out.print(\"Please enter your username: \");\n\t\tScanner sc = new Scanner(System.in);\n\t\tString userName = sc.next();\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "87fd6b28a96f5bb4fd9f86372d74b095", "score": "0.6465595", "text": "protected String setName(){\n System.out.println(\"What is your name?\");\n this.name = sc.nextLine();//gets the player's name from input\n return this.getName();\n }", "title": "" }, { "docid": "677e417c2233de89721ced1e3efb13b8", "score": "0.6461443", "text": "public void takeInput() {\n\n\n this.firstName = UserInterface.inputDetails(\"First Name\");\n this.lastName = UserInterface.inputDetails(\"Last Name\");\n\n\n generateUsername();\n generatePassword();\n System.out.println(\"------------------------------------------\");\n System.out.println(\"You have successfully created your admin account. Enjoy working for Kids with Us!\");\n System.out.println(\"Your username is: \" + username + \" and your password is: \" + password);\n System.out.println(\"------------------------------------------\");\n System.out.println(\"!!!! Please Note: Your employeeId will be communicated to you by your boss!!!!\");\n\n// method to override the default toString()\t\n }", "title": "" }, { "docid": "937e2beeb3130f094686abe5e51f3d09", "score": "0.6453034", "text": "public void startScreen() {\r\n\t\tScanner in = new Scanner(System.in);\r\n\t\tSystem.out.println(\"New or Returning Customer: \");\r\n\t\tString answer = in.next();\r\n\t\tif(!(answer.toLowerCase().equals(\"new\") || answer.toLowerCase().equals(\"returning\") || answer.toLowerCase().equals(\"exist\") || answer.toLowerCase().equals(\"existing\"))){\r\n\t\t\tSystem.out.println(\"Invalid command\");\r\n\t\t\tthis.startScreen();\r\n\t\t}\r\n\t\tPerson p = new Person();\r\n\t\tif(answer.toLowerCase().equals(\"new\")) {\r\n\t\t\tp = this.createPerson();\r\n\t\t\tpersonList.add(p);\r\n\t\t} else if (answer.toLowerCase().equals(\"existing\") || answer.toLowerCase().equals(\"exist\") || answer.toLowerCase().equals(\"returning\")){\r\n\t\t\tSystem.out.println(\"Please Enter First Name: \");\r\n\t\t\tString firstName = in.next();\r\n\t\t\tSystem.out.println(\"Please Enter Last Name: \");\r\n\t\t\tString lastName = in.next();\r\n\t\t\tSystem.out.println();\r\n\t\t\tint age = 0;\r\n\t\t\tif(this.personInList(firstName, lastName)) {\r\n\t\t\t\tp = this.getPersonFromList(firstName, lastName);\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Person Not Found, You have been automatically registered\");\r\n\t\t\t\tSystem.out.println(\"For verification purpose please enter your age (number): \");\r\n\t\t\t\ttry{ \r\n\t\t\t\t\tage = in.nextInt();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tSystem.out.println(\"Invalid input\");\r\n\t\t\t\t\tthis.startScreen();\r\n\t\t\t\t}\r\n\t\t\t\tp = new Person(firstName, lastName, age);\r\n\t\t\t}\r\n\t\t}\r\n\t\tscreens.custFunctionController(p, this);\r\n\t}", "title": "" }, { "docid": "cf3ebb9dae626001491362c92b334297", "score": "0.64370376", "text": "private void handleNameChange() {\n settings.edit().putString(\"name\", userName.getText().toString()).apply();\n }", "title": "" }, { "docid": "b305fc3ce7d6aad7c788c2e21b5926af", "score": "0.6426348", "text": "public static void main(String[] args){\n \n Scanner input = new Scanner (System.in);\n \n //Declare a variable\n //Datatype and a name\n String name = \"\";\n \n //prompt the user for their name:\n System.out.println(\"please enter your name:\");\n //Hang and wait for their name\n name = input.next();\n \n //PROCESSING\n String output = \"Hello \"+name;\n \n //OUTPUT \n System.out.println(output);\n \n }", "title": "" }, { "docid": "39e3410c3e915d74f0a7f33b9e6e2ad5", "score": "0.6406874", "text": "public static String getNameInput() {\r\n\t\t\r\n\t\tSystem.out.print(\"Please enter the students name: \");\r\n\t\tString name = null;\r\n\t\ttry {\r\n\t\t\tname = input();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\treturn name;\r\n\t}", "title": "" }, { "docid": "74ccfa02716ea8aee4522b4992322474", "score": "0.6401838", "text": "public static void greetings()\n\t{\n\t\tSystem.out.println(\"Welcome to Vacation Planner!\");\n\t\tSystem.out.print(\"What is your name? \");\n\t\tScanner inputName = new Scanner (System.in);\n\t\tuserName = inputName.nextLine();\n\t\tSystem.out.print(\"Nice to meet you \" +userName + \", where are you travelling to? \");\n\t\tScanner inputCity = new Scanner (System.in);\n\t\tdestCity = inputCity.nextLine();\n\t\tSystem.out.println(\"Great! \" +destCity+ \" sounds like a great trip\");\n\t}", "title": "" }, { "docid": "29d11e39334f2a4d2dc8094902116765", "score": "0.63967746", "text": "public void enter() {\n\t\tSystem.out.println(name + \" entered in the car.\");\n\t}", "title": "" }, { "docid": "af24732937a00f837b057e8c3af30aee", "score": "0.63869554", "text": "private void changePlayerName(){\r\n String nameInput = JOptionPane.showInputDialog( \"Please enter new Player name\");\r\n updatePlayerName(nameInput);\r\n }", "title": "" }, { "docid": "131fda4e123baefa2aa9e19b72e47317", "score": "0.6357823", "text": "public void employee_login(String name) {\r\n\t\t\tLogin.sendKeys(name);\r\n\t\t\t//LOG.info(\"name is entered\");\r\n\t\t}", "title": "" }, { "docid": "14948e7a9bf36905a3fae73faad02598", "score": "0.63564444", "text": "private void askUserName(boolean force)\n {\n final String message = \"Type in a username:\"; \n String result = nameField.getText();\n \n while(force && (result == null || result.equals(\"\")))\n {\n result = JOptionPane.showInputDialog(message);\n } \n \n if(result != null) client.setUserName(result);\n }", "title": "" }, { "docid": "8a384356f231f81e0bfa45cc7c16efa6", "score": "0.63475496", "text": "public static void prompt_name(){\n System.out.println(\"Please enter a Character name :\");\n characterName=sc.next();\n }", "title": "" }, { "docid": "39812914423004894d49871d65526b0c", "score": "0.63335866", "text": "private String enterName(String headLine) {\n UserOutput.printLine(headLine);\n return UserInput.name();\n }", "title": "" }, { "docid": "b0cfb34ef7e00e214d195dc9bf152e93", "score": "0.6327281", "text": "private void ex01(){\n\n final String olympicCity = \"Rio\";\n //firstName = myWindow.readIn();\n\n\n myWindow.readIn();\n myWindow.clearOut();\n myWindow.writeOutLine(\"Howdy \" + myWindow.readIn());\n myWindow.writeOut(\"The Olympic games is currently being hosted in \" + olympicCity);\n //YOUR CODE ABOVE HERE\n }", "title": "" }, { "docid": "a27723df7608ba6db53be45d0aaf1b68", "score": "0.6321278", "text": "public static void main(String[] args)\r\n {\n String input = JOptionPane.showInputDialog(\r\n \"USER PROMPT\");\r\n \r\n //If input is null or empty, then display error message, \"No name entered\".\r\n if (input == null || input.equals (\"\"))\r\n { \r\n JOptionPane.showMessageDialog(null,\r\n \"No name entered\",\r\n \"Inane error\",\r\n JOptionPane.ERROR_MESSAGE);\r\n }\r\n //If input is Dr.Kelly, then display message, \"Look how excellent this code\r\n //is Dr.Kelly!\".\r\n else if (input.equals(\"Dr.Kelly\"))\r\n {\r\n JOptionPane.showMessageDialog(null, \r\n \"Look how excellent this code is Dr. Kelley!\");\r\n }\r\n //If input length is > 60 display error message, \"That is way too long for a\r\n //name\".\r\n else if (input.length()>= 60) \r\n {\r\n JOptionPane.showMessageDialog(null,\r\n \"That is too long to be a name\",\r\n \"Inane error\",\r\n JOptionPane.ERROR_MESSAGE);\r\n System.exit(0);\r\n }\r\n //If pass through all conditions display, \"Hello NAME\".\r\n else \r\n JOptionPane.showMessageDialog(null, \"Hello \" + (input.toUpperCase()));\r\n \r\n \r\n \r\n\r\n }", "title": "" }, { "docid": "6ec761ab202eb55b66824b3aaf789a7f", "score": "0.6299476", "text": "private static String getFirstName(){\n System.out.print(\"Enter the first name: \");\n return input.nextLine();\n }", "title": "" }, { "docid": "6ade8e2fc287f9a12915947415db771b", "score": "0.62962574", "text": "public void enterTheNewTitle(String name) {\n\n\t\tdriver.switchTo().frame(\"utility_main\");\n\t\tdriver.switchTo().frame(\"update\");\n\t\ttitleNameTxtBox.sendKeys(name);\n\t\tsavebtn.click();\n\n\t}", "title": "" }, { "docid": "1d91504bc03c4fbae21de80ba849e17c", "score": "0.6292305", "text": "public void employee_name(String fullname) {\r\n\t\tName.sendKeys(fullname);\r\n\t\t//LOG.info(\"full name is entered\");\r\n }", "title": "" }, { "docid": "7d2bf88180e31d2b28104db5d8744577", "score": "0.62701046", "text": "static void printName(){\r\n String pname=null;\r\n try{\r\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\r\n System.out.print(\"Enter your name:\");\r\n pname=br.readLine();\r\n }catch(IOException e){}\r\n \r\n\tSystem.out.println(\"Hello \"+pname);\r\n\t\r\n\r\n}", "title": "" }, { "docid": "efef16ce824a0d8cd743a4b9d1c709b4", "score": "0.62631375", "text": "private void getUserInfo()\n {\n //Hide the dialoguePanel and replace with userPanel\n openPanel.remove(dialoguePanel);\n\n //Create the userPanel\n userPanel = new JPanel();\n userPanel.setLayout(new FlowLayout());\n\n //Add a JTextField for the name\n userPanel.add(new JLabel(\"What is your name?: \"));\n nameField = new JTextField(20);\n userPanel.add(nameField);\n\n //Create the enterButton that will end user data collection\n enterButton = new JButton(\"Enter\");\n enterButton.addActionListener(this);\n userPanel.add(enterButton);\n\n //Add userPanel to where dialoguePanel was\n openPanel.add(userPanel, BorderLayout.PAGE_END);\n\n }", "title": "" }, { "docid": "48c9194c13448230274662a864001610", "score": "0.62548137", "text": "public String loginUsername() {\n\t\tSystem.out.println(\"Enter username. \\nTo return to the main menu, type main \");\n\t\tString username = scanner.nextLine();\n\t\t//checkMain(username)\n\t\treturn username;\n\t}", "title": "" }, { "docid": "9e9627009447c8bdeb23c9276a9c084c", "score": "0.6252826", "text": "private void logIn() {\n System.out.println(\"Cool! Please enter your name below:\");\n object.nextLine();\n name = object.nextLine();\n\n System.out.println(\"And your username:\");\n String user = object.next();\n\n myAccount = new Account(name, user);\n loadAccount();\n accountMenu();\n }", "title": "" }, { "docid": "2f7407f26910b6c032ef3e6f354c4538", "score": "0.6245498", "text": "public String readName(){\n System.out.print(\"\\nEnter name: \");\n _Name = sc.nextLine();\n return _Name;\n }", "title": "" }, { "docid": "79cacd571679010fef139899d19c5683", "score": "0.6243166", "text": "private void requestUsername() throws IllegalArgumentException, NoSuchElementException {\n String submitNameProtocol = \"SUBMITNAME\";\n while (true) {\n out.println(submitNameProtocol);\n name = in.nextLine();\n if (name == null) {\n userLeave();\n throw new IllegalArgumentException(\"Supplied a null name.\");\n }\n synchronized (users) {\n if (!name.isBlank() && !users.containsKey(name) && !name.contains(\",\") &&\n !name.contains(\":\")) {\n users.put(name, this);\n break;\n }\n }\n submitNameProtocol = \"SUBMITANOTHERNAME\";\n }\n }", "title": "" }, { "docid": "7abf56e9705505c1616a396cb9c80134", "score": "0.6221164", "text": "public void actionPerformed(ActionEvent e) {\n String newUserName = JOptionPane.showInputDialog(\"Please enter a user name. Current user name: \" + userName);\n postMessage(\"ENTER \" + newUserName);\n changeUserName(newUserName); // Ideally, this would be done only once the server accepts and replies back with user name\n }", "title": "" }, { "docid": "5db5e1cefadeb09881d0bffe67495cb6", "score": "0.6216019", "text": "@Test\n public void userMustEnterName() {\n mCreateProfileActivityRule.launchActivity(null);\n //clear name\n onView(withId(R.id.etProfileName)).perform(clearText());\n //check the first app\n onData(anything()).inAdapterView(withId(R.id.appListView)).atPosition(0).onChildView(withId(R.id.cbAppName)).perform(click());\n\n //Click \"create profile\" button\n onView(withId(R.id.createButton)).perform(click());\n String dialogueTitle = \"Invalid Profile\";\n onView(withText(dialogueTitle))\n .inRoot(isDialog())\n .check(matches(isDisplayed()));\n }", "title": "" }, { "docid": "21d43058c06bf000d4d8c29ab3d164a5", "score": "0.62032527", "text": "public void userLastName() {\n\t\tSystem.out.println(\"\\nEnter the Last Name:\");\n\t\tboolean result = validate.checkName(scanner.nextLine());\n\t\toutput(result);\n\t\tif (result == false) userLastName();\n\t}", "title": "" }, { "docid": "a9291cba384c53c676b124e1f2511359", "score": "0.6203247", "text": "public void findCommand()\n{\n System.out.print(\"To Find Enter person full Name without Space : \");\n String listName = myScanner.nextLine();\n Name myName = addressBook.showName(listName);\n if (myName == null)\n {\n System.out.println(\"Person with name \" + listName + \" not found\");\n }\n else\n {\n System.out.println(\"\\n\"+myName.getNameData());\n }\n}", "title": "" }, { "docid": "5367894bb1b8a6c3e0d2e00b267fd996", "score": "0.61938405", "text": "public void nameAndroid() {\r\n System.out.print(\"Name your companion android: \");\r\n Scanner scan = new Scanner(System.in);\r\n androidName = scan.nextLine();\r\n }", "title": "" }, { "docid": "6e2c83b78c50e601d11f9b8bf04c1488", "score": "0.6188814", "text": "public static void main( String[] args )\n {\n String name =\n JOptionPane.showInputDialog( \"What is your name?\" );\n \n // create the message\n String message =\n String.format( \"Welcome, %s, to Java Programming!\", name );\n \n // display the message to welcome the user by name\n JOptionPane.showMessageDialog( null, message );\n }", "title": "" }, { "docid": "a11a26435a1472ccc0b4dc67ca214440", "score": "0.6187243", "text": "private String getName() {\n return JOptionPane.showInputDialog(\n frame,\n \"Choose a screen name:\",\n \"Screen name selection\",\n JOptionPane.PLAIN_MESSAGE);\n }", "title": "" }, { "docid": "a431327fb38031e220678ae672c9abe4", "score": "0.61815256", "text": "public static void main(String[] args) {\n\t\tScanner input=new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter your name\");\n\t\tString name =input.nextLine();\n\t\tSystem.out.println(\"Good morning \" +name);\n\t\t\n\t\tString name1 =input.nextLine();\n\t\tSystem.out.println(\"How are u doing today?\");\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "05ba93fb9e1d779f9f822b061f3e0bdb", "score": "0.6172255", "text": "public void showSignUpPage() \n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\"==============================================\");\n\t\tSystem.out.println(\" Sign Up \");\n\t\tSystem.out.println(\"==============================================\");\n\t\tSystem.out.print(\"Enter your name: \");\n\t\tString name = scan.nextLine();\n\t\tif (!validateName(name)) \n\t\t{\n\t\t\tSystem.out.println(\"Please enter a valid name.\");\n\t\t\tshowSignUpPage();\n\t\t}\n\t\telse \n\t\t{\n\t\t\tSystem.out.print(\"Choose a username: \");\n\t\t\tString username = scan.nextLine();\n\t\t\tif (username.equals(\"\")) \n\t\t\t{\n\t\t\t\tSystem.out.println(\"Please enter a valid username.\");\n\t\t\t\tshowSignUpPage();\n\t\t\t}\n\t\t\telse if (username.contains(\" \")) \n\t\t\t{\n\t\t\t\tSystem.out.println(\"Username cannot contain spaces.\");\n\t\t\t\tshowSignUpPage();\n\t\t\t}\n\t\t\telse if (usernameAlreadyExists(username)) \n\t\t\t{\n\t\t\t\tSystem.out.println(\"Username is already taken.\");\n\t\t\t\tshowSignUpPage();\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\tSystem.out.print(\"Choose a password: \");\n\t\t\t\tString password = scan.nextLine();\n\t\t\t\tif (password.equals(\"\")) \n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"Please enter a valid password.\");\n\t\t\t\t\tshowSignUpPage();\n\t\t\t\t}\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\tUser user = new User(name, username, password, userCount);\n\t\t\t\t\tusers.add(user);\n\t\t\t\t\tuserCount++;\n\t\t\t\t\tSystem.out.println(\"Bank account successfully created.\");\n\t\t\t\t\tshowHomepage(user);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "709f99f2783d97c9cb8d98988a6d3721", "score": "0.61695284", "text": "public void start(View v){\n\n if (getName().isEmpty()) {\n Toast.makeText(this, \"You forgot to enter Your Name\", Toast.LENGTH_LONG).show();\n } else {\n\n Intent i = new Intent(this, Quiz.class);\n i.putExtra(\"name\", getName());\n startActivity(i);\n Log.i(\"Mainactivity\", getName());\n }\n }", "title": "" }, { "docid": "4483811c89c52bee72be57e9269b46d4", "score": "0.6169021", "text": "private void sendNameToServer() {\n\t\t\t\t// First, we validate the input.\n\t\t\t\terrorLabel.setText(\"\");\n\t\t\t\tString textToServer = nameField.getText();\n\t\t\t\tif (!FieldVerifier.isValidName(textToServer)) {\n\t\t\t\t\terrorLabel.setText(\"Please enter at least four characters\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// Then, we send the input to the server.\n\t\t\t\tsendButton.setEnabled(false);\n\t\t\t\ttextToServerLabel.setText(textToServer);\n\t\t\t\tserverResponseLabel.setText(\"\");\n\t\t\t\tgreetingService.greetServer(textToServer, new AsyncCallback<String>() {\n\t\t\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\t\t\t// Show the RPC error message to the user\n\t\t\t\t\t\tdialogBox.setText(\"Remote Procedure Call - Failure\");\n\t\t\t\t\t\tserverResponseLabel.addStyleName(\"serverResponseLabelError\");\n\t\t\t\t\t\tserverResponseLabel.setHTML(SERVER_ERROR);\n\t\t\t\t\t\tdialogBox.center();\n\t\t\t\t\t\tcloseButton.setFocus(true);\n\t\t\t\t\t}\n\n\t\t\t\t\tpublic void onSuccess(String result) {\n\t\t\t\t\t\tdialogBox.setText(\"Remote Procedure Call\");\n\t\t\t\t\t\tserverResponseLabel.removeStyleName(\"serverResponseLabelError\");\n\t\t\t\t\t\tserverResponseLabel.setHTML(result);\n\t\t\t\t\t\tdialogBox.center();\n\t\t\t\t\t\tcloseButton.setFocus(true);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}", "title": "" }, { "docid": "838c09d3cfdd77f1ca5fd466928c2013", "score": "0.61673474", "text": "public static void main(String[] args) {\n\tString Ashay = \"Ashay is a fast worker.\";\r\n\tString Darren = \"Darren is a strong programmer.\";\r\n\tString Devin = \"Devin is an attentive student.\";\r\n\tString Andrew = \"Andrew is very smart\";\r\n\t// 2. Ask the user to enter a name. Store their answer in a variable.\r\n\tString name = JOptionPane.showInputDialog(\"What is your name?\");\r\n\r\n\t\t// 3. In a pop-up, tell the user what is remarkable about that person. \r\n\tif(name.equals(\"Ashay\")) {\r\n\tJOptionPane.showMessageDialog(null, Ashay);\r\n\t}\r\n\tif(name.equals(\"Darren\")) {\r\n\t\tJOptionPane.showMessageDialog(null, Darren);\r\n\t\t}\r\n\tif(name.equals(\"Devin\")) {\r\n\t\tJOptionPane.showMessageDialog(null, Devin);\r\n\t\t}\r\n\tif(name.equals(\"Andrew\")) {\r\n\t\tJOptionPane.showMessageDialog(null, Andrew);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "485569bcf821eccf7beb4e5ac11dcb32", "score": "0.61652887", "text": "@Override\n public void onClick(View v) {\n String username = usernameEditText.getText().toString();\n //save the username to the shared prefreneced to get it later\n if (!username.trim().isEmpty()) {\n username = username.toLowerCase();\n PreferenceUtils.saveUserName(this, username);\n MainActivity.launch(this);\n }\n }", "title": "" }, { "docid": "503fdc7e965ab58841f3ec15add10df7", "score": "0.61578214", "text": "@Override\n public void onClick(View v) {\n stored_userName = userInput.getText().toString();\n goToHome();\n\n }", "title": "" }, { "docid": "cf2cfda4bbbb4aa6b053d62984ba6583", "score": "0.6150946", "text": "public void setGame(){\n System.out.println(\"enter your Name: \");\n this.playerName = sc.nextLine();\n System.out.println(\"enter Computer Name: \");\n this.aiName =sc.nextLine();\n }", "title": "" }, { "docid": "eddb0262fd65c3c52c523951b986aaf7", "score": "0.6148785", "text": "private String inputName() {\n\n return in.nextLine();\n\n }", "title": "" }, { "docid": "1466374b02c698bce7281018ad8707f3", "score": "0.6144836", "text": "private void displayNameForm(String response) {\n response = response.replaceAll(Constants.nameDelimiter, \"\");\n String name = JOptionPane.showInputDialog(response);\n playerName = name;\n socketOut.println(name);\n }", "title": "" }, { "docid": "d016ddb5da69a3e2beb8b140a6e0e379", "score": "0.6137706", "text": "public void enterName() throws Exception {\n boolean nameSuccess = false;\n do {\n try {\n System.out.println(\"Hello welcome to the World Bank!\");\n System.out.println(\"-------------------------------\");\n System.out.println(\"Please enter your name or type EXIT to end: \");\n name = input.nextLine();\n\n if (name.toUpperCase().equals(\"EXIT\")) {\n System.out.println(\"\\nThank you. Please come again!\");\n System.exit(0);\n\n } else if (name.isEmpty()) {\n throw new Exception(\"Please enter a name! Input cannot be blank\\n\");\n\n } else if (bankAccts.containsKey(name)) {\n\n System.out.println(\"Welcome, \" + name + \" your current balance is: \" + bankAccts.get(name));\n nameSuccess = true;\n\n } else {\n nameSuccess = true;\n createAcct();\n\n }\n\n } catch (Exception eName) {\n System.err.println(eName.getLocalizedMessage());\n\n }\n } while (nameSuccess == false);\n }", "title": "" }, { "docid": "6a8ad32b013de78072c43f3facee9b01", "score": "0.6130949", "text": "public void enterPersonalInfo(){\n otherNamesYes.click();\n\n OtherFirstName.type(\"King\");\n OtherLastName.type(\"Jonez\");\n otherNameType.selectOption(\"Professional Name\");\n /* dob.clear();\n dob.type(\"09/09/1990\");*/\n state.selectOption(\"Hawaii\");\n country.selectOption(\"United States\");\n genderRadioBtn.click();\n /* ssnInput.clear();\n ssnInput.type(\"123456789\");*/\n schoolSelection.selectOption(\"BALTIMORE MEDICAL COLLEGE\");\n graduationYear.type(\"2004\");\n }", "title": "" }, { "docid": "c9cdd6ee22a535eab43735ca04f5bb58", "score": "0.6115453", "text": "public void goHome(View v) {\n Log.d(\"QuizApp\", \"go Home\");\n // call quiz activity\n Intent MainIntent = new Intent(this, MainActivity.class);\n // pass user name from the edit text\n startActivity(MainIntent);\n\n }", "title": "" }, { "docid": "5648000d6c5558f10c1dc482302abce9", "score": "0.609451", "text": "protected void declareWinner()\n {\n System.out.print(\"Enter Winner name\");\n winnerName = scan.nextLine();\n }", "title": "" }, { "docid": "2bbadfda6999a2d056dac7763a5c1082", "score": "0.60896796", "text": "public void setNewName() {\r\n\t\tSystem.out.println(\"Insert name here: \");\r\n\t\tName = scanner.nextLine();\r\n\t\tSystem.out.println(\"Welcome to your bank account, \" + Name +\". You already have $100 dollars in this account.\");\r\n\t}", "title": "" }, { "docid": "1a7919d890d0ee05b60e3a8a54bd38b2", "score": "0.60663706", "text": "private String getName(){\n String name = null;\n while (name==null){\n try {\n System.out.println(\"What's your name?\");\n cleanIn();\n name = scanner.next();\n cleanIn();\n }catch (Exception e){\n System.out.println(\"Try to type a normal name.\");\n name=null;\n }\n }\n return name;\n }", "title": "" }, { "docid": "fed65e306ddf0b5f09198cc49c8f7e1f", "score": "0.6040775", "text": "private String getName() {\n EditText usernameInput = findViewById(R.id.usernameInput);\n return usernameInput.getText().toString();\n }", "title": "" }, { "docid": "76ea6ab965f6638d3d4d131441c203a8", "score": "0.6036831", "text": "public void goToHome(){\n //intenting resources file, putting info to Intent\n Intent toHome= new Intent(this, MainActivity.class);\n toHome.putExtra(\"userNamePassed\", stored_userName);\n startActivity(toHome);\n\n\n }", "title": "" }, { "docid": "a7f0397fbcccd8f34648a3e7eca1524b", "score": "0.6035217", "text": "public void setName() {\n\t\t// Create the message for player 1, will ask him to set his name\n\t\tJTextField name1 = new JTextField();\n\t\tObject[] message1 = { \"Chose a name player 1: \", name1 };\n\t\tint option = JOptionPane.showConfirmDialog(null, message1, \"Before it starts...\", 2);\n\t\t\n\t\tif (option == 0) {\n\t\t\t\n\t\t\tif(name1.getText().equals(\"\")){\n\t\t\t\tint optionEmpty = JOptionPane.showConfirmDialog(null, \"This isn't even a name. Try again?\", \"What are you even doing!?\", 2);\n\t\t\t\tif(optionEmpty!=0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t\tsetName();\n\t\t\t}\n\t\t\telse{\n\t\t\tsetSpieler1(name1.getText());\n\t\t\tJOptionPane.showMessageDialog(null, \"Hello \" + getSpieler1() + \", your sign is X!\", \"Before it starts...\",\n\t\t\t\t\tJOptionPane.PLAIN_MESSAGE);\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\t\n\t\t\n\n\t\t// Create the message for player 2, will ask him to set his name\n\t\tboolean exc = true;\n\t\twhile (exc){\n\t\t\texc=true;\n\t\tJTextField name2 = new JTextField();\n\t\tObject[] message2 = { \"Chose a name player 2: \", name2 };\n\t\tint option2 = JOptionPane.showConfirmDialog(null, message2, \"Before it starts...\", 2);\n\t\tif (option2 == 0) {\n\t\t\tif(name2.getText().equals(\"\")){\n\t\t\t\tint optionEmpty = JOptionPane.showConfirmDialog(null, \"This isn't even a name. Try again?\", \"What are you even doing!?\", 2);\n\t\t\t\tif(optionEmpty!=0){\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t\texc = true;\n\t\t\t}\n\t\t\telse{\n\t\t\tsetSpieler2(name2.getText());\n\t\t\tJOptionPane.showMessageDialog(null, \"Hello \" + getSpieler2() + \", your sign is O!\", \"Before it starts...\",\n\t\t\t\t\tJOptionPane.PLAIN_MESSAGE);\n\t\t\texc = false;\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t}\n\n\t\t// if the names are identical, gives the option to continue or to try it\n\t\t// again\n\t\tif (this.getSpieler1().equals(this.getSpieler2())) {\n\t\t\tint option3 = JOptionPane.showConfirmDialog(null, \"Your names are kind of similar...wanna try again?\",\n\t\t\t\t\t\"Hmmm\", 1);\n\t\t\tif (option3 == 0) {\n\t\t\t\tthis.setName();\n\t\t\t}\n\t\t\tif (option3 == 1) {\n\t\t\t} else {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "7fb5c9f5b57499aedc27f5cdbda606f7", "score": "0.602045", "text": "public synchronized void enterCustomerName() \n\t{\n\t\ttry {\n\t\t\tWebActionUtil.waitForElement(customerNameField, \"Customer Name txt field\", 20);\n\n\t\t\tWebActionUtil.typeText(customerNameField, \"TY-MQAS\", \"Unable to enter Customer name\");\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tWebActionUtil.error(e.getMessage());\n\t\t\tWebActionUtil.error(\"-Unable to enter Customer name\");\n\t\t\tAssert.fail(\"Unable to enter Customer name\");\n\t\t}\n\t}", "title": "" }, { "docid": "ad2b45e6fd8e116f96fad8e8b2a73728", "score": "0.60118175", "text": "public static void employeeStartScreen() {\r\n try {\r\n int choice;\r\n // prompting\r\n System.out.println(\"Welcome employee user\");\r\n System.out.println(\"Do you want to 1. Enter your information or 2. Go back to previous option?\");\r\n System.out.println(\"Enter your choice: \");\r\n choice = sc.nextInt();\r\n while (choice != 1 && choice != 2) {\r\n System.out.println(\"invalid option. Please try again!\");\r\n System.out.println(\"Enter your choice: \");\r\n choice = sc.nextInt();\r\n }\r\n \t// Allows user to enter information\r\n \t// - option 1\r\n if (choice == 1) {\r\n jbfy.setEmployeeInfo();\r\n employee = jbfy.getEmployee();\r\n jobSelected = 0;\r\n employeeMenu();\r\n }\r\n \t// Goes back to the main menu\r\n \t// - option 2\r\n if (choice == 2) {\r\n startscreen();\r\n }\r\n } catch (Exception e) {\r\n // catch invalid input\r\n flush = sc.nextLine();\r\n System.out.println(\"Invalid Input (error occured in employee start screen). Please try again!\");\r\n employeeStartScreen();\r\n }\r\n }", "title": "" }, { "docid": "1baf3f4e8000de3eca0eba246f9b2187", "score": "0.60103035", "text": "public void userInfo() {\n\r\n System.out.print(\"Player 1 Name: \");\r\n Player1 = sc.nextLine();\r\n System.out.print(\"Player 2 Name: \");\r\n Player2 = sc.nextLine();\r\n System.out.print(\"Player 3 Name: \");\r\n Player3 = sc.nextLine();\r\n\r\n gamePlay();\r\n }", "title": "" }, { "docid": "80f91568327fe8a57ada702256cf796c", "score": "0.60064006", "text": "public void updateName() {\n String name = enterName(\"Enter new name\");\n db.getUpdateContact().updateName(chosenContactID, name);\n }", "title": "" }, { "docid": "c2d218fc4df732e51e80df2a2dbad0cb", "score": "0.6004582", "text": "void acceptName(Player person){\n\n System.out.println(\"Hello \"+person.turn+\", Please enter your name: \");\n System.out.print(\">\");\n try{\n person.name = scan.nextLine();\n\n } catch (Exception e){\n System.out.println(\"Wrong input\");\n acceptName(person);\n }\n\n }", "title": "" }, { "docid": "ba367e5a760f78681de2715a05ef803e", "score": "0.5992332", "text": "public static void main (String args []){\n\t\tString name = JOptionPane.showInputDialog(\"Nome ?\");\n\t\t\n\t\t//cria a menssagem\n\t\tString menssagem = String.format(\" Welcome, %s dark force side !\", name);\n\t\t\n\t\t//exibe a menssagem\n\t\tJOptionPane.showMessageDialog(null, menssagem);\n\t}", "title": "" }, { "docid": "bc56a4843909c1982280f0912d2f05d0", "score": "0.5977529", "text": "private String getName() {\n EditText whatIsName = (EditText) findViewById(R.id.entername);\n String name = whatIsName.getText().toString();\n\n return name;\n\n\n }", "title": "" }, { "docid": "87c53bb6d06f54a985200a5c7c4d2133", "score": "0.5965917", "text": "@Override\n public void onClick(View v) {\n fname = dialogue_fname.getText().toString().trim();\n lname = dialogue_lname.getText().toString().trim();\n if (Validate_Name())\n {\n inputDialog.dismiss();\n\n Update_Name();\n }\n else\n {\n Toast.makeText(getApplicationContext(), \"Enter Name\", Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "3db82a87d238ea20c507c137a64593a4", "score": "0.5952052", "text": "private static String getLastName(){\n System.out.print(\"Enter the last name: \");\n return input.nextLine();\n }", "title": "" }, { "docid": "cf3cb52e15f26499e2908b9d17d651bd", "score": "0.5951557", "text": "private void newNameKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_newNameKeyPressed\n \n if(evt.getKeyCode()==KeyEvent.VK_ENTER){\n if(!(newName.getText().isEmpty())){\n audioPlayer.setTrack(2);\n audioPlayer.playOnce();\n name = newName.getText();\n user.setName(name);\n confirmationLabel.setText(name+\" you have chosen the way of the \"\n +user.getRole()+\". Is this your path?\");\n rolePanel.setVisible(true);\n submitName.setVisible(false);\n }\n }\n }", "title": "" }, { "docid": "7e7510527dd254a598606511fdc174f9", "score": "0.59488654", "text": "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n String name = scan.nextLine();\n scan.nextLine();\n scan.nextLine();\n scan.nextLine();\n //how you would do it if you needed to save the other info\n //int age = Integer.parseInt(scan.nextLine());\n //String education = scan.nextLine();\n //int years = Integer.parseInt(scan.nextLine());\n String cuisine = scan.nextLine();\n\n System.out.printf(\"The form for %s is completed. We will contact you \"\n + \"if we need a chef that cooks %s dishes.\", name, cuisine);\n\n scan.close();\n }", "title": "" }, { "docid": "036bfbd9d2f42baa4bc56bc76d4e95b5", "score": "0.5946597", "text": "public void addNewUser() {\r\n\t\t// String status is established to main proper flow of input dialog will is\r\n\t\t// explained further down\r\n\t\tString status = \"\";\r\n\t\t// String input store the user name entered by user\r\n\t\tString name = \"\";\r\n\t\t// String code store the user password entered by user\r\n\t\tString password = \"\";\r\n\t\tString type = \"\";\r\n\r\n\t\t// show the dialog to input username and store the value in name string\r\n\t\tname = JOptionPane.showInputDialog(\"Enter Username\");\r\n\r\n\t\t// i have used two While loops here because i wanted the input dialog boxes to\r\n\t\t// run independently, and validating is much easier this way\r\n\t\t// the first while loop displays input code dialog box till it is either\r\n\t\t// \"Cancelled\" or a proper code is entered\r\n\t\t// if the second condition was not there while will show the dialog box again\r\n\t\t// even if a valid input is entered\r\n\t\t// this would have been okay for the main menu but doesn't suit this situation\r\n\t\twhile (name != null && status != \"namepass\") {\r\n\r\n\t\t\t// here i have passed the value of code to searchUser method which will\r\n\t\t\t// return User \"name\" if there is or it will return \"nothing\" otherwise\r\n\t\t\tif (!searchUser(name).trim().equals(\"nothing\")) {\r\n\t\t\t\t// Error message will be displayed if the name matches returned value from the\r\n\t\t\t\t// method matches \"nothing\"\r\n\t\t\t\t// input dialog box is shown again after that to take input again\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"User Name Already Exists\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\tname = JOptionPane.showInputDialog(\"Enter Username\");\r\n\r\n\t\t\t\t// here i check if the entered value is an empty string\r\n\t\t\t} else if (name.trim().equals(\"\")) {\r\n\t\t\t\t// if the string is empty error is displayed and input dialog box is shown again\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Username can not be empty\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\tname = JOptionPane.showInputDialog(\"Enter Username\");\r\n\r\n\t\t\t} else {\r\n\r\n\t\t\t\t// if there are no error meaning nothing is caught above\r\n\t\t\t\t// next input dialog box is shown to get the password\r\n\t\t\t\tpassword = JOptionPane.showInputDialog(\"Enter Password\");\r\n\t\t\t\t// at the same time \"namepass\" value is assigned to status string which will be\r\n\t\t\t\t// useful to stop the while loop\r\n\t\t\t\tstatus = \"namepass\";\r\n\t\t\t}\r\n\t\t}\r\n\t\t// the second while loop is used to show input dialog box for user password\r\n\t\t// this loop will fail if user Cancels the dialog box or\r\n\t\t// value of status is \"passwordpass\" or value of status is not equal to\r\n\t\t// \"namepass\"\r\n\t\t// if the value of status not equal to \"namepass\" means that there is no value\r\n\t\t// for code which mean the above while loop was cancelled\r\n\t\t// and the value of status equal to \"passwordpass\" means correct value is\r\n\t\t// entered as\r\n\t\t// the name\r\n\r\n\t\twhile (password != null && status != \"passwordpass\" && status == \"namepass\") {\r\n\r\n\t\t\t// checking if the name is not empty\r\n\t\t\tif (!password.trim().equals(\"\")) {\r\n\r\n\t\t\t\t// if the name is not empty, status value is changed and input dialog box is\r\n\r\n\t\t\t\tstatus = \"passwordpass\";\r\n\t\t\t\ttype = JOptionPane.showInputDialog(\"Enter User Type (manager or warehousestaff )\");\r\n\r\n\t\t\t} else {\r\n\t\t\t\t// error message will be displayed and input to dialog box to get password again\r\n\t\t\t\t// is\r\n\t\t\t\t// displayed\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Password can not be empty\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\tpassword = JOptionPane.showInputDialog(\"Enter Password\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\twhile (type != null && status != \"typepass\" && status == \"passwordpass\") {\r\n\r\n\t\t\t// checking if the type is not empty\r\n\t\t\tif (type.trim().equals(\"\")) {\r\n\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Type can not be empty\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\ttype = JOptionPane.showInputDialog(\"Enter User Type (manager or warehousestaff )\");\r\n\t\t\t} else if (type.equals(\"manager\") || type.equals(\"warehousestaff\")) {\r\n\r\n\t\t\t\tstatus = \"typepass\";\r\n\r\n\t\t\t} else {\r\n\t\t\t\t// error message will be displayed and input to dialog box to get type again\r\n\t\t\t\t// is\r\n\t\t\t\t// displayed\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Type has to be either manager or warehousestaff\", \"Error\",\r\n\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\r\n\t\t\t\ttype = JOptionPane.showInputDialog(\"Enter User Type (manager or warehousestaff )\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// if the string value of status is passwordpass that means there are valid\r\n\t\t// values\r\n\t\t// for name,password\r\n\t\tif (status.equals(\"typepass\")) {\r\n\t\t\t// adding the new User // to the userList array\r\n\t\t\tif (type.equals(\"manager\")) {\r\n\t\t\t\tuserList[this.currentUserNumber] = new Manager(name, password);\r\n\t\t\t} else if (type.equals(\"warehousestaff\")) {\r\n\t\t\t\tuserList[this.currentUserNumber] = new WarehouseStaff(name, password);\r\n\t\t\t}\r\n\t\t\t// incrementing the current number of the product\r\n\t\t\tthis.currentUserNumber++;\r\n\t\t\t// the method is called where array is re-written to csv file\r\n\t\t\tuserWriteData();\r\n\t\t\t// message is showed to to acknowledge user\r\n\t\t\tJOptionPane.showMessageDialog(null, \"User Successfully Added\", \"Success\", JOptionPane.INFORMATION_MESSAGE);\r\n\r\n\t\t} else {\r\n\r\n\t\t\t// this means user has cancelled at anypoint during the above dialog boxes\r\n\t\t\tJOptionPane.showMessageDialog(null, \"User Not Added, Cancelled by User\", \"Error\",\r\n\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\r\n\r\n\t\t}\r\n\r\n\t\treturn;\r\n\r\n\t}", "title": "" }, { "docid": "331516aae54294e753594fb37cdf0082", "score": "0.5938451", "text": "private String askUserForInput() {\n\n //Ask user for input\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n System.out.print(\"Enter partial name of the station and press <enter> to see the results or enter \\\\q to quit: \");\n\n String userInput;\n try {\n userInput = br.readLine();\n System.out.println(String.format(\"You entered: %s\", userInput));\n } catch (IOException e) {\n throw new RuntimeException(\"Could not read from console\", e);\n }\n\n if (!userInput.endsWith(\"\\\\q\")) {\n return userInput;\n }\n return null;\n }", "title": "" }, { "docid": "7e73e55a3c4faf77dfb60302fd3117b2", "score": "0.59332114", "text": "public void start(Stage primaryStage) {\n\t\t//create new dialog box\n\t\tTextInputDialog inputDialog = new TextInputDialog();\n\t\t//create new alert type\n\t\tAlert output = new Alert(AlertType.INFORMATION);\n\t\t//set title of inputdialog box\n\t\tinputDialog.setTitle(\"Username\");\n\t\t//set content of inputdialog box\n\t\tinputDialog.setContentText(\"Enter Username\");\n\t\t//shows the inputdialog box\n\t\tinputDialog.showAndWait();\n\t\t//create a string named username and have it = to the user input\n\t\tString username = inputDialog.getResult();\n\t\t//if statement to see if username = to william\n\t\tif (username.equals(\"William\")) {\n\t\t\t//if the above is true, prompts the user to enter a password\n\t\t\tinputDialog.setTitle(\"Password\");\n\t\t\tinputDialog.setContentText(\"Enter Password\");\n\t\t\tinputDialog.showAndWait();\n\t\t\tString password = inputDialog.getResult();\n\t\t\t//if statement to see if the password is correct\n\t\t\tif (password.equals(\"PASSWORD\")){\n\t\t\t//if true, output Welcome \"User\"\n\t\t\t\toutput.setContentText(\"Welcome \" + username);\n\t\t\t\toutput.showAndWait();\n\t\t\t//else output wrong username password\n\t\t\t} else{\n\t\t\t\toutput.setContentText(\"Wrong username and/or password\");\n\t\t\t\toutput.showAndWait();\n\t\t\t\t}\n\t\t//if the username is incorrect, it goes to this else statement\n\t\t}else {\n\t\toutput.setContentText(\"Wrong username and/or password\");\n\t\toutput.showAndWait();\n\t\t}\n\n\t}", "title": "" }, { "docid": "1101bd5633e05fac6395e80bc5eb0153", "score": "0.5932522", "text": "public void onAcceptClick(View v) {\n TextView tvGreeting = (TextView) findViewById(R.id.textView_greeting);\n EditText etName = (EditText) findViewById(R.id.editText_name);\n\n if (etName.getText() != null && 0 < etName.getText().length()) {\n Log.i(\"MainActivity\", \"Name read: \" + etName.getText());\n tvGreeting.setText(\"Hello \" + etName.getText());\n }\n else {\n Log.w(\"MainActivity\", \"No name typed, greeting didn't change\");\n }\n }", "title": "" }, { "docid": "fa2537a35b627b88c62f173e1eb1c675", "score": "0.5924414", "text": "public void EnterInLastName(String lastname)\r\n\t{\r\n\t\tLastName.sendKeys(lastname);\r\n\t}", "title": "" }, { "docid": "8dbf076fd7e644f8c2923d3c247b8cce", "score": "0.5923569", "text": "private void showInputDialog() {\n\n // create a dialog with registration code\n String confirmationCode = \"\" + user.getConfirm();\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(R.string.confirmation_code);\n builder.setMessage(confirmationCode);\n\n // move to apartment add page\n builder.setPositiveButton(\"Dismiss\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n Toast.makeText(getBaseContext(), \"Add apartment next\", Toast.LENGTH_SHORT).show();\n Intent needApartment = new Intent(mLoginThis, AddApartment.class);\n needApartment.putExtra(\"com.example.joshua.livetogether.userID\", user.getUID());\n needApartment.putExtra(\"com.example.joshua.livetogether.user\", mUserName);\n startActivity(needApartment);\n finish();\n }\n });\n\n // show the dialog box\n AlertDialog dialog = builder.show();\n TextView messageView = (TextView) dialog.findViewById(android.R.id.message);\n messageView.setGravity(Gravity.CENTER);\n messageView.setTextSize(40);\n }", "title": "" }, { "docid": "1a4fe126b6d81da77e39cb10ae7a2a5d", "score": "0.59187466", "text": "public static void employerStartScreen() {\r\n try {\r\n int choice;\r\n // prompting\r\n System.out.println(\"Welcome to the employer start screen\");\r\n System.out.println(\"Do you want to 1. Sign Up, 2. Sign In or 3. Go back to previous option?\");\r\n choice = sc.nextInt();\r\n while (choice != 1 && choice != 2 && choice != 3) {\r\n System.out.println(\"Invalid Input (error occured in employyerStartScreen). Please try again!\");\r\n System.out.println(\"Enter your choice: \");\r\n choice = sc.nextInt();\r\n }\r\n if (choice == 1) { // Allows employer to create an account in the sign up method\r\n signUp();\r\n }\r\n if (choice == 2) { // Allows employer to sign in with exisiting accoount in the sign in method\r\n signIn();\r\n }\r\n if (choice == 3) { // Goes back to main menu \r\n startscreen();\r\n }\r\n } catch (Exception e) {\r\n flush = sc.nextLine();\r\n // check for invalid input\r\n System.out.println(\"Invalid Input (error occured in employyerStartScreen). Please try again!\");\r\n employerStartScreen();\r\n }\r\n }", "title": "" }, { "docid": "fb20c46438abcfce4295729855927abc", "score": "0.5903537", "text": "public static void main(String[] args) {\nString Answer=JOptionPane.showInputDialog(\"what is your name\");\nJOptionPane.showMessageDialog(null, \"I know what you did last summer, \"+ Answer);\n\t}", "title": "" }, { "docid": "9cdbf58c663a3161c71bf679e7f3ea1c", "score": "0.5902228", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tAlertDialog.Builder alert = new AlertDialog.Builder(SettingsActivity.this);\n\t\t\t\talert.setTitle(\"Enter your name:\");\n\t\t\t\talert.setMessage(\"Please enter or modify your name\");\n\t\t\t\tfinal EditText input = new EditText(SettingsActivity.this);\n\t\t\t\tinput.setText(username);\n\t\t\t\talert.setView(input);\n\t\t\t\talert.setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int whichButton) {\n\t\t\t\t\t\tString value = input.getText().toString();\n\t\t\t\t\t\tif(value.equalsIgnoreCase(\"\")){\n\t\t\t\t\t\t\tToast.makeText(getApplicationContext(), \"You forgot something.\", Toast.LENGTH_SHORT).show();\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t \tsettingEditor =settings.edit();\n\t\t\t\t\t \tsettingEditor.putString(\"username\", value);\n\t\t\t\t settingEditor.commit();\n\t\t\t\t uname.setText(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t }\n\t\t\t\t\t});\n\t\t\t\t\n\t\t\t\talert.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n\t\t\t\t\t public void onClick(DialogInterface dialog, int whichButton) {\n\t\t\t\t\t // Canceled.\n\t\t\t\t\t\t dialog.dismiss();\n\t\t\t\t\t }\n\t\t\t\t\t});\n\n\t\t\t\t\talert.show();\n\n\t\t\t}", "title": "" }, { "docid": "4defbd4a774c112d8626c780b7b682bc", "score": "0.5901199", "text": "private void getPlayerName() {\n final EditText name = new EditText(this);\n new AlertDialog.Builder(this)\n .setTitle(R.string.Congratulations)\n .setMessage(R.string.playerName)\n .setView(name)\n .setPositiveButton(R.string.done, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n String playerName = name.getText().toString();\n Level.getLevel(currLvl).add(countTime, playerName);\n }\n })\n .setNegativeButton(R.string.cancel, null)\n .show();\n }", "title": "" }, { "docid": "ec5f80e37b841772fdde6e99e9ba9a46", "score": "0.58909273", "text": "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tString input = player2Name.getText();\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t//checks whether the name entered contains only alphabet\n\t\t\t\t\t//If Yes, store the name in SecondPlayer.java\n\t\t\t\t\tif(input.matches(\"[a-zA-Z]+\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Valid Name\");\n\t\t\t\t\t\tsecondPlayer.setName(input);\t\t\t\t\t\t\n\t\t\t\t\t\thTF.setCurrentFrame(frame2);\n\t\t\t\t\t\thTF.setSecondPlayerCurrent(secondPlayer);\n\t\t\t\t\t\thTF.buildThirdFrame(hTF);\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Enter Name with only alphabets\");\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}", "title": "" }, { "docid": "4cb2f8d7edf10a4107f11538e976889d", "score": "0.5890594", "text": "private void exit() {\n Intent intent = new Intent(SignUpConfirmActivity.this, LoginActivity.class);\n intent.putExtra(\"name\", userName);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "9c96de606bc35488362b80edeaa4104f", "score": "0.5890272", "text": "public void registerUser(View view){\n\t\tEditText firstNameText = (EditText) findViewById(R.id.firstNameText);\n\t\tEditText lastNameText = (EditText) findViewById(R.id.lastNameText);\n\t\tSystem.out.println(\"firstname: \"+firstNameText.getText().toString());\n\t\tif(firstNameText.getText().toString().equals(\"\") || lastNameText.getText().toString().equals(\"\")){\n\t\t\tAlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(\n\t\t\t\t\tthis);\n\n\t\t\t// set title\n\t\t\talertDialogBuilder.setTitle(\"Enter Credentials\");\n\n\t\t\t// set dialog message\n\t\t\talertDialogBuilder\n\t\t\t.setMessage(\"Please enter first and last name.\")\n\t\t\t.setCancelable(false)\n\t\t\t.setPositiveButton(\"OK\",new DialogInterface.OnClickListener() {\n\t\t\t\tpublic void onClick(DialogInterface dialog,int id) {\n\t\t\t\t\t// if this button is clicked, close\n\t\t\t\t\t// current activity\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// create alert dialog\n\t\t\tAlertDialog alertDialog = alertDialogBuilder.create();\n\n\t\t\t// show it\n\t\t\talertDialog.show();\n\n\t\t\treturn;\n\t\t}\n\n\t\tContact.addContactToDB(new Contact(firstNameText.getText().toString(),lastNameText.getText().toString()));\n\t\t//add name to shared preferences\n\t\tSharedPreferences settings = getApplicationContext().getSharedPreferences(\"runforyourmoney\", 0);\n\t\tSharedPreferences.Editor editor = settings.edit();\n\t\teditor.putString(\"name\", firstNameText.getText().toString() + \" \" + lastNameText.getText().toString());\n\t\teditor.commit();\n\n\t\tsetContentView(R.layout.activity_challenge_list);\n\t\tInputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);\n\t\timm.hideSoftInputFromWindow(lastNameText.getWindowToken(), 0);\n\t\timm.hideSoftInputFromWindow(firstNameText.getWindowToken(), 0);\n\t}", "title": "" }, { "docid": "b16387af0b46bf6340afe8daa3f68a89", "score": "0.5889799", "text": "private void submitNameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_submitNameActionPerformed\n if(!(newName.getText().isEmpty())){\n audioPlayer.setTrack(2);\n audioPlayer.playOnce();\n submitName.setVisible(false);\n name = newName.getText();\n user.setName(name);\n confirmationLabel.setText(name+\" you have chosen the way of the \"\n +user.getRole()+\". Is this your path?\");\n rolePanel.setVisible(true);\n }\n }", "title": "" }, { "docid": "32a677ce94e787d69005bd9984f3885d", "score": "0.5868499", "text": "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n System.out.println(\"Enter your name\");\n String name = sc.nextLine();\n System.out.println(\"Hello \" + name + \" have a great day\");\n }", "title": "" }, { "docid": "7d22c10336a25cf76e5b64993cfc1447", "score": "0.58662856", "text": "public static void getUserInput() {\r\n\t\tSystem.out.println(\"Welcome to the N-Order Markov Baby Name Generator!\");\r\n\t\t\r\n\t\tfinal Scanner scanner = new Scanner(System.in);\r\n\t\tboolean inputValid = false;\r\n\t\tSystem.out.print(\"Generate a Male [M] or Female [F] name? \");\r\n\t\tdo {\r\n\t\t\tString input = scanner.nextLine();\r\n\t\t\tif (!(input.toUpperCase().equals(\"M\") || input.toUpperCase().equals(\"F\"))) { \r\n\t\t\t\tSystem.out.println(\"Invalid input!\");\r\n\t\t\t\tSystem.out.print(\"Enter [M] for a Male name or [F] for a female name: \");\r\n\t\t\t\tcontinue;\r\n\t\t\t} \r\n\t\t\t\r\n\t\t\tinputValid = true;\r\n\t\t\tif (input.toUpperCase().equals(\"M\")) nameGender = NameGender.MALE;\r\n\t\t\telse if (input.toUpperCase().equals(\"F\")) nameGender = NameGender.FEMALE;\r\n\t\t\telse assert false;\r\n\t\t\t\t\r\n\t\t} while (!inputValid);\r\n\t\t\r\n\t\tinputValid = false;\r\n\t\tSystem.out.print(\"Enter a minimum name length: \");\r\n\t\tdo {\r\n\t\t\ttry {\r\n\t\t\t\tint input = Integer.parseInt(scanner.nextLine());\r\n\t\t\t\tif (input <= 0) throw new NumberFormatException();\r\n\t\t\t\tminNameLength = input;\r\n\t\t\t\tinputValid = true;\r\n\t\t\t} catch (NumberFormatException nfe) {\r\n\t\t\t\tSystem.out.println(\"Invalid input!\");\r\n\t\t\t\tSystem.out.print(\"Enter a minimum name length greater than zero: \");\r\n\t\t\t} \t\r\n\t\t} while (!inputValid);\r\n\t\t\r\n\t\tinputValid = false;\r\n\t\tSystem.out.print(\"Enter a maximum name length: \");\r\n\t\tdo {\r\n\t\t\ttry {\r\n\t\t\t\tint input = Integer.parseInt(scanner.nextLine());\r\n\t\t\t\tif (input <= 0) throw new NumberFormatException();\r\n\t\t\t\tmaxNameLength = input;\r\n\t\t\t\tinputValid = true;\r\n\t\t\t} catch (NumberFormatException nfe) {\r\n\t\t\t\tSystem.out.println(\"Invalid input!\");\r\n\t\t\t\tSystem.out.print(\"Enter a maximum name length greater than \" + minNameLength + \": \");\r\n\t\t\t} \t\r\n\t\t} while (!inputValid);\r\n\t\t\r\n\t\tinputValid = false;\r\n\t\tSystem.out.print(\"Specify the number of names to generate: \");\r\n\t\tdo {\r\n\t\t\ttry {\r\n\t\t\t\tint input = Integer.parseInt(scanner.nextLine());\r\n\t\t\t\tif (input <= 0) throw new NumberFormatException();\r\n\t\t\t\tnumNames = input;\r\n\t\t\t\tinputValid = true;\r\n\t\t\t} catch (NumberFormatException nfe) {\r\n\t\t\t\tSystem.out.println(\"Invalid input!\");\r\n\t\t\t\tSystem.out.print(\"Specify the number of names to generate: \");\r\n\t\t\t} \t\r\n\t\t} while (!inputValid);\r\n\t\t\r\n\t\tinputValid = false;\r\n\t\tSystem.out.print(\"Specify the order of the model: \");\r\n\t\tdo {\r\n\t\t\ttry {\r\n\t\t\t\tint input = Integer.parseInt(scanner.nextLine());\r\n\t\t\t\tif (input <= 0) throw new NumberFormatException();\r\n\t\t\t\torderMarkovModel = input;\r\n\t\t\t\tinputValid = true;\r\n\t\t\t} catch (NumberFormatException nfe) {\r\n\t\t\t\tSystem.out.println(\"Invalid input!\");\r\n\t\t\t\tSystem.out.print(\"Specify the order of the model: \");\r\n\t\t\t} \t\r\n\t\t} while (!inputValid);\r\n\t\t\r\n\t\tscanner.close();\r\n\t}", "title": "" }, { "docid": "69cd4aba7fea720bdfca81a8b0b3a2b4", "score": "0.5865593", "text": "public void requestPlayerName() throws IOException, InterruptedException {\n\t\t// Requesting the player's name\n\t\twhile (true) {\n\t\t\toutToClient.writeBytes(YOUR_NAME);\n\t\t\tString inputName = inFromClient.readLine();\n\t\t\tif (game.botEnabled) {\n\t\t\t\tname = inputName;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t// Request for another name if the name has been used by another player\n\t\t\tsynchronized (opponent.name) {\n\t\t\t\tif (inputName.length() > 0 && inputName.equals(opponent.name)) {\n\t\t\t\t\toutToClient.writeBytes(DUPLICATE_NAME);\n\t\t\t\t} else {\n\t\t\t\t\t// Set default name\n\t\t\t\t\tname = inputName;\n\t\t\t\t\tif (name.length() == 0) {\n\t\t\t\t\t\tname = firstPlayer ? \"Player 1\" : \"Player 2\";\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!game.botEnabled) {\n\t\t\t// Wait for opponent to enter his/her name\n\t\t\toutToClient.writeBytes(\"Waiting for opponent to get ready...\\n\");\n\t\t\twhile (opponent.name.equals(\"\")) {\n\t\t\t\tsleep(1000);\n\t\t\t}\n\t\t\toutToClient.writeBytes(\"Your opponent is \" + opponent.name + \"\\n\");\n\t\t}\n\t}", "title": "" }, { "docid": "291adb21edfb388e7db714fd92d5636a", "score": "0.5864812", "text": "public void enterParticipants() {\n String inputName;\n System.out.println(\"Write the name of the participants one at a time; an empty string brings you to the jumping phase\");\n while(true) {\n System.out.print(\" Participant name: \");\n inputName = this.scanner.nextLine();\n if (inputName.isEmpty()) {\n break;\n } else {\n Participant newPar = new Participant(inputName, 0);\n this.participants.addParticipant(newPar);\n }\n }\n System.out.println(\"\");\n System.out.println(\"The tounament begins!\");\n System.out.println(\"\");\n \n }", "title": "" }, { "docid": "d5b2d263f9b280dca3c5c7eb5834a23e", "score": "0.58620447", "text": "public static void main(String[] args) {\n\t\t\t new OrderGUI (JOptionPane.showInputDialog(\"Please \" +\n\t\t\t \t\t\"enter the customer name\"));\n\t\t\t\n\t\t}", "title": "" }, { "docid": "5162c0854ec065791c6806e2df434351", "score": "0.5861008", "text": "private void listenForEnter() {\n // actionListener for EditText field where users put there new user name\n mUserNameCreationInput.setOnEditorActionListener(new TextView.OnEditorActionListener() {\n @Override\n public boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) {\n // detect if the user presses [enter]\n if (keyEvent.getKeyCode() == KeyEvent.KEYCODE_ENTER) {\n setUserNamePref();\n // checks to see if mUserName is empty. If it is not Enter key\n if (!isEmpty(mUserName)) {\n moveToPicFeed();\n return true;\n }\n return true;\n }\n return false;\n }\n });\n }", "title": "" }, { "docid": "72236bb57aabb2f49eb92395f0082185", "score": "0.5859675", "text": "public void enterUserName(String uname) throws POMEventException\n\t{\n\t\t FireEventobject.EnterTextWithoutEnter(txtusername, uname);\n\t}", "title": "" }, { "docid": "b661a26959df674351b79416affbfad8", "score": "0.58477527", "text": "public static void main(String[] args) {\nString Dasha = \"You control fire\";\nString Keith = \"You can stretch like rubber\";\nString Mr_Stephen = \"You can create a door in anything you touch\";\nString Dylan = \"You\";\nString Dylan1 = \"You are a giant cyborg\";\nString Eshaan = \"\";\nString Joanne = \"You can turn people into toys\";\nString David = \"\";\nString Kaylay = \"\";\nString Miller = \"\";\nString Shiva = \"You can multiply your hands and feet\";\n\t\t// 2. Ask the user to enter a name. Store their answer in a variable.\nString answer=JOptionPane.showInputDialog(\"Enter a name. Any name.\");\n\t\t// 3. Show the superpower in a pop-up, depending on the name entered.\nif(answer.equals(\"Dasha\")){\nJOptionPane.showMessageDialog(null, Dasha);\n}\nelse if(answer.equals(\"Keith\")){\nJOptionPane.showMessageDialog(null, Keith);\n}\nelse if(answer.equals(\"Mr_Stephen\")){\nJOptionPane.showMessageDialog(null, Mr_Stephen);\n}\nelse{JOptionPane.showMessageDialog(null, \"You don't have a superpower.\");\n}\n\n\t}", "title": "" }, { "docid": "41c515ade354a607330ad7462b188c11", "score": "0.5839021", "text": "private String setName() throws IOException {\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n System.out.println(\"Input Name.\");\n System.out.println(\">\");\n System.out.flush();\n String line = in.readLine().trim();\n this.name = line;\n this.jchannel_address = \"JChannel-\" + this.name;\n return line;\n }", "title": "" } ]
07730bfc901145f1ee88199cf1943160
Creates a Moshi adapter for this data
[ { "docid": "35e471fbd5c2f2117aa01343eb69089d", "score": "0.6328409", "text": "public static JsonAdapter<News> jsonAdapter(Moshi moshi) {\n return new AutoValue_News.MoshiJsonAdapter(moshi);\n }", "title": "" } ]
[ { "docid": "bc0d3ef3bd843e552f645ec898747ace", "score": "0.5591882", "text": "@Override\n public DataSource<Integer, Movie> create() {\n MovieDataSource movieDataSource = new MovieDataSource(requestInterface, sortType);\n movieDataSourceLiveData.postValue(movieDataSource);\n return movieDataSource;\n }", "title": "" }, { "docid": "ac69460a674700d0d69616eab6c102b2", "score": "0.5554048", "text": "protected Gson createGson() {\n return GsonAdapter.createGson();\n }", "title": "" }, { "docid": "df8a142147b379aed1bcb62ee6ecefaa", "score": "0.53653693", "text": "public static InMemoryStorageAdapter create() {\n return new InMemoryStorageAdapter();\n }", "title": "" }, { "docid": "05b874872b37bdae3847ab62d261c7ca", "score": "0.53092", "text": "IncomeDataAdapter(IncomeData incomeData){ // constructor\n this.data = incomeData;\n }", "title": "" }, { "docid": "e506f346ec1208647852e7980df55867", "score": "0.522456", "text": "public T createData();", "title": "" }, { "docid": "eaf5470c7a820eeff44fa549bda2a932", "score": "0.52042484", "text": "DataManager data();", "title": "" }, { "docid": "180144ae540edd3c3e6e6156703dc67d", "score": "0.52022934", "text": "protected abstract T createData();", "title": "" }, { "docid": "100db202c9c77f90e74aa9ea483f995f", "score": "0.52002835", "text": "@Override\n protected MultiTypeAdapter createAdapter() {\n return new HomeListAdapter(getActivity());\n }", "title": "" }, { "docid": "26a3980209be9e4e907731902fdda551", "score": "0.51982814", "text": "public interface DataModelInterface {\n\n String NAME=\"name\";\n String ARTICLE=\"article\";\n String BARCODE=\"barcode\";\n\n void getInventoryList(Callback callback);\n\n void getDatabaseVersion(Callback callback);\n\n /**\n *\n * @param options Search by: 'name','article','barcode'\n * @param callback\n */\n void getGoodsList(Map<String, String> options, Callback callback);\n\n String createInventory(int id, String num, String datetime, String subdiv, int doc_type );\n}", "title": "" }, { "docid": "28e8c09df91477287fadc655701ff043", "score": "0.5185495", "text": "public JsonConverter()\n //----------------------------------------------------------------\n {\n super(ConverterType.JSON);\n\n CLASS_NAME = this.getClass().getSimpleName();\n _factory = new JsonFactory();\n\n return;\n }", "title": "" }, { "docid": "3a08f7e0bfa1096fc21fa7f77724c2b1", "score": "0.5143355", "text": "DataManager provideDataHelper();", "title": "" }, { "docid": "6f6b7918826af90ccd9d2215c97333d6", "score": "0.5140903", "text": "MyAdapter(JSONArray myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "2b5d00c2308de72009f2502c690ad4ca", "score": "0.5131589", "text": "ACAPEDataModel createACAPEDataModel();", "title": "" }, { "docid": "1f9cbf4a9ad30bd05219ff75ceebbd25", "score": "0.5118112", "text": "public MyoIMUData createFromParcel(Parcel in) {\n return new MyoIMUData(in);\n }", "title": "" }, { "docid": "193af80827f50f70f4923127447cca72", "score": "0.5115413", "text": "public IConnectionAdaptor createAdaptor() {\r\n\t\tIConnectionAdaptor adaptor = new ConnectionAdaptor();\r\n\t\tregisterSimulatable((ISimulatable)adaptor);\r\n\t\treturn adaptor;\r\n\t}", "title": "" }, { "docid": "91e86388976c7b1534ff328259bfe878", "score": "0.51003027", "text": "public AbstractManeuverXMLAdapter() {\n }", "title": "" }, { "docid": "79c42482afee98e92ccbdd4c4619e397", "score": "0.5077497", "text": "public Marshaller createMarshaller() {\n return new Marshaller(this, model);\n }", "title": "" }, { "docid": "8688018e25eee0f17243f41c74080322", "score": "0.50527966", "text": "public SummaryItemJson() {\n }", "title": "" }, { "docid": "5c8185f0cc9826f4430ac423433dd15c", "score": "0.5040238", "text": "AdaptorInterface createAdaptorInterface();", "title": "" }, { "docid": "77d33dc632c38c6b3ad185acd170789f", "score": "0.5032146", "text": "public MyAdapter(Notes myDataset) {\n mDataset = myDataset.ITEMS;\n }", "title": "" }, { "docid": "2623268e588579782f58c0fd9fc95253", "score": "0.50215405", "text": "void setJsonSetAdapter(AnAdapter objectCustomSetConverter);", "title": "" }, { "docid": "27118c27468d4854551a63c8775dcf7f", "score": "0.5015341", "text": "public interface PurchaseData {\n public String toJson();\n public String getOrderId();\n}", "title": "" }, { "docid": "a15af9f5210f0034c779e18f6a6a4afb", "score": "0.50138843", "text": "public void setJsonGetAdapter(AnAdapter objectCustomGetConverter);", "title": "" }, { "docid": "a42f348019ae44e53ca30408ca7f529f", "score": "0.49938658", "text": "DataManager getDataManager();", "title": "" }, { "docid": "3175fbb338c234e774a0a588c4e1ef0d", "score": "0.49920896", "text": "public BuildingAdapter(List<Building> myDataset) {\n buildingDataset = myDataset;\n }", "title": "" }, { "docid": "34be0bb4ee231d60359dca1f9a0655c2", "score": "0.49878287", "text": "public MoshiConverterFactory withNullSerialization() {\n return new MoshiConverterFactory(moshi, lenient, failOnUnknown, true);\n }", "title": "" }, { "docid": "aa0a7a4825e02afec8a3ae8231cfcc03", "score": "0.49848297", "text": "public NewsEntityDataMapper() {\n// this.gson = new Gson();\n }", "title": "" }, { "docid": "f84ec37f500922a8cdf165e980b5424c", "score": "0.49736473", "text": "@Override\r\n\tpublic MspJsonItem getMjiInstance() {\r\n\t\tMspJsonItem mji = null;\r\n\t\tswitch (type) {\r\n\t\tcase ORDER_DELIVER:\r\n\t\tcase ORDER_DONE:\r\n\t\t\tmji = new OrderInfo();\r\n\t\t\tbreak;\r\n\t\tcase ORDER_COURIER:\r\n\t\t\tmji = new OrderInCourier();\r\n\t\t\tbreak;\r\n\t\tcase GOODS:\r\n\t\t\tmji = new Product();\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\treturn mji;\r\n\t}", "title": "" }, { "docid": "246ec8fbb1c0ffb4bf78f6fb9a60d084", "score": "0.4936176", "text": "public MyAdapter(ArrayList<MyPojo> pojos,Context mContext) {\n this.pojos = pojos;\n this.context=mContext;\n }", "title": "" }, { "docid": "6ca498393627f76f8b10fe8d1201fb78", "score": "0.4913539", "text": "public AbstractDataSerDe() {\n\n }", "title": "" }, { "docid": "6a4ff4d717fa3e8c9f871aca1b67efe9", "score": "0.48983446", "text": "public DefaultDataManager() {\r\n\t}", "title": "" }, { "docid": "66eea9f13c11e6fddd53669a427ae849", "score": "0.48906165", "text": "private static JsonFactory createJsonFactory() {\n JsonFactory jsonFactory = new JsonFactory();\n ObjectMapper mapper = new ObjectMapper(jsonFactory);\n mapper.getSerializationConfig().setAnnotationIntrospector(new JacksonAnnotationIntrospector());\n jsonFactory.setCodec(mapper);\n return jsonFactory;\n }", "title": "" }, { "docid": "a010f2b7f2bd2e0427d01a777c868d9d", "score": "0.48857808", "text": "public Backend (Reader r) {\n\t\t// declaring all the instance objects\n\t\tgenreHash = new HashTableMap<String, List<MovieInterface>>();\n\t\trateHash = new HashTableMap<String, List<MovieInterface>>();\n\t\tgenres = new ArrayList<String>();\n\t\tratings = new ArrayList<String>();\n\t\t\n\t\tMovieDataReader movieDataReader = new MovieDataReader(); // instantiating a MovieDataReader to extract movies\n\t\t\n\t\t// Handling exceptions in attempts to declare objList \n\t\ttry {\n\t\t\tobjList = movieDataReader.readDataSet(r);\n\t\t} catch (DataFormatException | IOException e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t\treturn;\n\t\t}\n\t\t//Populating the hash tables with these method calls\n\t\tpopulateGenreHash();\n\t\tpopulateRatingHash();\n\t\n\t}", "title": "" }, { "docid": "0e520ce35d2c562941ce903a82a23af3", "score": "0.48837015", "text": "public MyAdapter(List<EpisodeEntity> myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "a971a5fd1a1c592cb40710bfea7454a8", "score": "0.48816004", "text": "private AppSettingDialogArrayAdapter makeAdapter(){\n // Make a list of AppSettingDialogArrayAdapterRowItem's\n ArrayList<AppSettingDialogArrayAdapterRowItem> rowItems = \n new ArrayList<AppSettingDialogArrayAdapterRowItem>();\n for (int i = 0; i < language.length; i++) {\n AppSettingDialogArrayAdapterRowItem item = \n new AppSettingDialogArrayAdapterRowItem\n (images[i], language[i], local[i]);\n rowItems.add(item);\n }\n \n // Create AppSettingDialogArrayAdapter\n AppSettingDialogArrayAdapter adapter = \n new AppSettingDialogArrayAdapter(context, \n R.layout.dialog_app_settings_spinner_row, rowItems);\n \n // Set viewresource for dropdownmenu of the spinner\n adapter.setDropDownViewResource\n (R.layout.dialog_app_settings_spinner_row);\n \n return adapter;\n }", "title": "" }, { "docid": "385972999e72196e8e755c02875d43d2", "score": "0.48782992", "text": "private Builder() {\n super(tr.com.siparis.sistemi.kafka.model.Masa.SCHEMA$);\n }", "title": "" }, { "docid": "217755bdb97d4c36adc58eda32d3b734", "score": "0.4877323", "text": "public JSONWriterFacade object();", "title": "" }, { "docid": "e92f6ab5d0a90326df1d352574f280b9", "score": "0.4862031", "text": "public MemberDBAdapter() {\n //Empty Constructor\n }", "title": "" }, { "docid": "8c6eb36761f2f0ed922970defc892055", "score": "0.48516792", "text": "public ContactItemBuilder() {\r\n\t\tjson.putString(\"catalog\", \"contacts\");\r\n\t}", "title": "" }, { "docid": "c022c791cafd6fd303827fdfa8be142b", "score": "0.48480657", "text": "public StoreAdapter(Activity activity, ArrayList<Manager_Info> myDataset) {\n mDataset = myDataset;\n this.activity = activity;\n }", "title": "" }, { "docid": "9a4c75cdcfff7cf366dee0a353b0bed3", "score": "0.48469", "text": "public Transaction build() {\n transactionData.data = dataBuilder.build();\n checkArgument(((RpcObject) transactionData.data).getItem(\"contentType\"), \"contentType not found\");\n checkArgument(((RpcObject) transactionData.data).getItem(\"content\"), \"content not found\");\n\n return transactionData.build();\n }", "title": "" }, { "docid": "25a886dd724335af0a1a60136d660e09", "score": "0.48415527", "text": "public T createDataObject(Delegator delegator, Map<String, ?> fields) throws CmsException {\n T dataObj = makeFromFields(delegator, fields);\n dataObj.store();\n return dataObj;\n }", "title": "" }, { "docid": "ffb5bebb1ce8573bfb7e3ca3afdee324", "score": "0.48410317", "text": "public UniverseAdapter(){\n this.gameData = GameData.getInstance();\n }", "title": "" }, { "docid": "44963485a6785cb31bc8189c99b3180e", "score": "0.4830581", "text": "public static IData create() {\n return new CopyOnWriteIDataMap((IData)null);\n }", "title": "" }, { "docid": "63621aa0509aafdf9054bd5ca7030f7a", "score": "0.4826695", "text": "public abstract MessagesAdapter createMessagesAdapter();", "title": "" }, { "docid": "c10832670460aba0fb2cda5872065793", "score": "0.482642", "text": "@Override\n\tprotected BaseJsonItem CreateJsonItems() {\n\t\treturn new addtofavItems();\n\t}", "title": "" }, { "docid": "7ede7e25166b2acbb4dbf19a2ae54677", "score": "0.48175648", "text": "public MetaData() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "01ea4116b224ae434a100d48c51054b3", "score": "0.4816901", "text": "public abstract Builder toBuilder();", "title": "" }, { "docid": "01ea4116b224ae434a100d48c51054b3", "score": "0.4816901", "text": "public abstract Builder toBuilder();", "title": "" }, { "docid": "f1fd13777370c068d7e909c9376c84cf", "score": "0.48108375", "text": "public TodosPojo() {\n }", "title": "" }, { "docid": "447a1020352506b34678ced832497e3d", "score": "0.47934133", "text": "public interface IFeedItemAdapter {\n\t/**\n\t * Returns the content identifier from the response. Can map to an item guid\n\t * that may be included in the response.\n\t * \n\t * @return String - item identifier\n\t */\n\tpublic String getId();\n\n\t/**\n\t * Returns the content's title\n\t * \n\t * @return String - content title\n\t */\n\tpublic String getTitle();\n\n\t/**\n\t * Returns the content type as live or vod.\n\t * \n\t * @return ContentType - see ContentType enum definition above.\n\t */\n\tpublic ContentType getContentType();\n\n\t/**\n\t * Returns the list of ContentRenditionInfo objects for the renditions of\n\t * this content that have the HDS format.\n\t * \n\t * @return List<ContentRenditionInfo> - if one or more content renditions\n\t * with the HDS format exist. null - if none of the content\n\t * renditions use the HDS format.\n\t */\n\tpublic List<ContentRenditionInfo> getHDSContentRenditions();\n\n\t/**\n\t * Returns the list of ContentRenditionInfo objects for the renditions of\n\t * this content that have the HLS format.\n\t * \n\t * @return List<ContentRenditionInfo> - if one or more content renditions\n\t * with the HLS format exist. null - if none of the content\n\t * renditions use the HLS format.\n\t */\n\tpublic List<ContentRenditionInfo> getHLSContentRenditions();\n\n\t/**\n\t * Returns the list of ContentRenditionInfo objects for the renditions of\n\t * this content that have the HLS format.\n\t * \n\t * @return List<ContentRenditionInfo> - if one or more content renditions\n\t * exist. null - if no content renditions exist.\n\t */\n\tpublic List<ContentRenditionInfo> getContentRenditions();\n\n\t/**\n\t * Returns the MetadataNode that contains the key/value pair pointing to a\n\t * specific MetadataNode type like AuditudeMetadata, direct ad breaks in a\n\t * JSON metadata string or custom ad markers metadata which are supported by\n\t * PSDK's corresponding inbuilt AdProvider implementations. The Metadata\n\t * node type can also refer to any custom MetadataNode subclass with a\n\t * custom AdProvider implementation that may be defined and registered by\n\t * the client.\n\t * \n\t * Refer to the PSDK for creating\n\t * com.adobe.mediacore.metadata.AuditudeMetadata. The MetadataNode returned\n\t * should have a node with key set to\n\t * com.adobe.mediacore.metadata.DefaultMetadataKeys.AUDITUDE_METADATA_KEY\n\t * and value set to an instance of AuditudeMetadata.\n\t * \n\t * The JSON Metadata String for direct ad breaks expects data in a certain\n\t * format, see the Reference JSON structure for the JSON for ad breaks. The\n\t * MetadataNode returned should have an entry with key set to\n\t * com.adobe.mediacore.metadata.DefaultMetadataKeys.JSON_METADATA_KEY and\n\t * value set to the json string representing the ad breaks.\n\t * \n\t * Refer to com.adobe.mediacore.utils.TimeRangeCollection for creating\n\t * custom ad markers metadata. The MetadataNode returned should have an\n\t * entry with key set to com.adobe.mediacore.metadata.DefaultMetadataKeys.\n\t * CUSTOM_AD_MARKERS_METADATA_KEY and value set to the object returned by\n\t * TimeRangeCollection.toMetadata().\n\t * \n\t * Refer to the Primetime Reference Implementation for an example on how each\n\t * of these metadata types as well as a custom Metadata type are created\n\t * using the reference JSON structure.\n\t * \n\t * @return com.adobe.mediacore.metadata.MetadataNode - if the content\n\t * includes metadata. Currently this is limited to ad-related\n\t * metadata used by the PSDK for ad serving. null - if the content\n\t * response does not include any metadata\n\t */\n\tpublic MetadataNode getStreamMetadata();\n\n\t/**\n\t * Return overlay ad item list\n\t *\n\t * @return\n\t */\n\tpublic ArrayList<OverlayAdItem> getOverlayAdItems();\n\n\t/**\n\t * Returns a URL to a thumbnail for this item that will be used as the large\n\t * thumbnail in the app.\n\t * \n\t * @return String - containing the URL if the response contains a URL to a\n\t * thumbnail that can be classified as \"large\". null - if the\n\t * response does not include the URL to a thumbnail that the client\n\t * would like to display as the large thumbnail\n\t */\n\tpublic String getStreamThumbnailLarge();\n\n\t/**\n\t * Returns a URL to a thumbnail for this item that will be used as the small\n\t * thumbnail in the app.\n\t * \n\t * @return String - containing the URL if the response contains a URL to a\n\t * thumbnail that can be classified as \"small\". null - if the\n\t * response does not include the URL to a thumbnail that the client\n\t * would like to display as the small thumbnail\n\t */\n\tpublic String getStreamThumbnailSmall();\n\n\t/**\n\t * Returns a list of properties as name value pairs such as content\n\t * categories, keywords etc that can be used by the app to enhance the\n\t * experience.\n\t * \n\t * @return List<SerializableNameValuePair> - the list may be empty if no\n\t * properties need to be set.\n\t */\n\tpublic List<SerializableNameValuePair> getProperties();\n\n}", "title": "" }, { "docid": "b4e23d5c305789de855c728484b10763", "score": "0.47912073", "text": "protected ITopicMapStoreMetaData createMetaDataInstance() {\r\n\t\treturn new TopicMapStoreMetaDataImpl();\r\n\t}", "title": "" }, { "docid": "0b92bd23aa50b30730bc679e16f28bb8", "score": "0.47732174", "text": "public ObjectAdapter getObjectAdapter();", "title": "" }, { "docid": "3b381a1b5601443e2bfc969ae8490377", "score": "0.47724056", "text": "public ConfigurationAdapter(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "64e2deb25bc2832d6105b23d74fdad72", "score": "0.47721985", "text": "public IElevatorAdapter create();", "title": "" }, { "docid": "324d5b11deee739905ac1b2e3e11f39f", "score": "0.47705507", "text": "public ChartsJsDataSet() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "31713d64dc28510282df50a68057aaae", "score": "0.47600308", "text": "public interface DataReportAdapter {\n\n /**\n * 获取准实时报表\n *\n * @param nearRealTimeReportForm\n * @return\n */\n List<Map<String, Object>> getNearRealTimeReport(NearRealTimeReportForm nearRealTimeReportForm);\n\n /**\n * 获取准实时报表\n *\n * @param queryAdvancedRequest\n * @return\n */\n Pagination<Map<String, Object>> getNearRealTimeReportOnePage(OrdWideQueryTo queryAdvancedRequest);\n\n /**\n * 获取售后服务报表信息\n *\n * @param afterSalesServiceReportForm\n * @return\n */\n Pair<Long, List<AfterSalesServiceReportVo>> getAfterSalesServiceReport(\n AfterSalesServiceReportForm afterSalesServiceReportForm);\n\n /**\n * 分页获取售后服务报表信息,每次最多获取500条\n *\n * @param afterSalesServiceReportForm\n * @return\n */\n Pagination<AfterSalesServiceReportVo> getAfterSalesServiceReportByPage(\n AfterSalesServiceReportForm afterSalesServiceReportForm);\n\n /**\n * 获取退款订单报表信息\n *\n * @param refundOrderReportForm\n * @return\n */\n List<RefundOrderReportVo> getRefundOrderReport(RefundOrderReportForm refundOrderReportForm);\n\n /**\n * 获取退款订单报表信息\n *\n * @param refundOrderReportForm\n * @return\n */\n List<SupplyRefundReportVo> getSupplyRefundReport(RefundOrderReportForm refundOrderReportForm);\n\n /**\n * 获取支付方式统计报表信息\n *\n * @param form\n * @return\n */\n Pagination<PaymentModeReportVo> getPaymentModeReportByPage(PaymentModeReportForm form);\n\n /**\n * 分页获取支付方式统计报表信息\n *\n * @param form\n * @return\n */\n Pagination<OrdWideAggregationVo> getOperationReportByPage(OrdWideAggregationForm form);\n\n /**\n * 获取支付方式统计报表信息\n *\n * @param form\n * @return\n */\n List<OrdWideAggregationVo> getOperationReport(OrdWideAggregationForm form);\n\n /**\n * 获取上家商品数量\n *\n * @return\n */\n public Integer getItemCount();\n\n /**\n * 获取在售商品sku数\n *\n * @param skuQueryTo\n * @return\n */\n public List<SKUTo> getItemOnSaleSKU(SKUQueryTo skuQueryTo);\n\n /**\n * 根据商品名称查询商品id\n *\n * @param itemName\n * @return\n */\n public List<Long> getItemIdsByItemName(String itemName);\n\n /**\n * 查询订单宽表数据\n *\n * @param queryOrdWideForm\n * @return\n */\n public List<Map<String, Object>> queryOrdWideList(QueryOrdWideForm queryOrdWideForm);\n\n /**\n * 日报查询接口\n *\n * @param startDate\n * @param endDate\n * @return\n */\n public List<DailyReportVo> queryDailyReport(Date startDate, Date endDate);\n\n /**\n * 查询退款报表\n *\n * @param startDate\n * @param endDate\n * @return\n */\n public List<RefundReportVo> queryRefundList(Date startDate, Date endDate);\n\n /**\n * 查询app数据报表\n *\n * @param startDate\n * @param endDate\n * @return\n */\n public List<AppReportVo> queryAppReportList(Date startDate, Date endDate);\n\n /**\n * 查询支付方式统计报表\n * @param startDate\n * @param endDate\n * @return\n */\n public List<PaymentVo> queryPaymentReportList(Date startDate, Date endDate);\n}", "title": "" }, { "docid": "5252dbc891c4dba8c1c9427ccbb9da85", "score": "0.4733974", "text": "DataType createDataType();", "title": "" }, { "docid": "f8e93c30f116649240df7d288748914e", "score": "0.47255266", "text": "private static void createApiBuilder() {\n Retrofit retrofit = new Retrofit.Builder()\n //URL base de todas sus peticiones. Las demás URL se concatenarán a esta.\n .baseUrl(\"http://www.tutos-android.com/\")\n //Sirve para transformar sus respuestas en objetos de la aplicación (JSON).\n .addConverterFactory(GsonConverterFactory.create())\n .build();\n blogApiInstance = retrofit.create(BlogApi.class);\n }", "title": "" }, { "docid": "055bee0986007ff492552c90b9ecc0c2", "score": "0.47195172", "text": "public ReqDataModel() {\r\n }", "title": "" }, { "docid": "2c744b01b20cb3bc4bd93bcc6d4fc119", "score": "0.47162306", "text": "public DataJsonRecord() {\n\t\tsuper(edu.ysu.msr17.commitloader.data.tables.DataJson.DATA_JSON);\n\t}", "title": "" }, { "docid": "b3c9f53602f6d72a7b0cfbce73d7ee36", "score": "0.47073296", "text": "public QuranClient() {\n OkHttpClient okHttpClient = new OkHttpClient.Builder()\n .readTimeout(30, TimeUnit.SECONDS)\n .connectTimeout(30, TimeUnit.SECONDS)\n .writeTimeout(30, TimeUnit.SECONDS)\n// .interceptors().add(new Interceptor() {\n// @Override\n// public Response intercept(Chain chain) throws IOException {\n// return onOnIntercept(chain);\n// }\n// })\n .build();\n\n\n retrofit = new Retrofit.Builder()\n .baseUrl(BASE_URL)\n .client(okHttpClient)\n .addConverterFactory(GsonConverterFactory.create())\n .addCallAdapterFactory(RxJava2CallAdapterFactory.create())\n .build();\n\n quranInterface = retrofit.create(QuranInterface.class);\n }", "title": "" }, { "docid": "5873127d05040f982ef8f2580fa20560", "score": "0.469889", "text": "public io.envoyproxy.envoy.data.tap.v3.Body.Builder getDataBuilder() {\n \n onChanged();\n return getDataFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "5873127d05040f982ef8f2580fa20560", "score": "0.469889", "text": "public io.envoyproxy.envoy.data.tap.v3.Body.Builder getDataBuilder() {\n \n onChanged();\n return getDataFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "c53e375206b86d2124d0a77d2f5ec119", "score": "0.46964836", "text": "public AdapterTwo(ArrayList<MyData> myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "676dd389bd29fb7646dfe8b3fcb04ca8", "score": "0.46936953", "text": "public Adaptor() throws ClassNotFoundException {\n\t\tadaptee = new Adaptee();\n\t\t\n\t\t}", "title": "" }, { "docid": "6ef169161a6b49fb03f03bb7afe863e0", "score": "0.46919852", "text": "public static Builder create() {\n return new Builder();\n }", "title": "" }, { "docid": "a7568bcc6508141d0f2a96a720f03a40", "score": "0.46909285", "text": "public ItemsAdaptor(ArrayList<Item> myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "aae6b8c6cdfab98835b4f69fe6df3681", "score": "0.46894398", "text": "public MoviesAdapter(List<Movies> data) {\n this.data = data;\n }", "title": "" }, { "docid": "e5a0d2cdc6abbd098f7b144092760650", "score": "0.46854582", "text": "custom_adapter(Context new_context) {\n\n context = new_context;\n // define object of ArrayList<Single_row>\n list = new ArrayList<Single_row>();\n }", "title": "" }, { "docid": "ac12a0651fbb8a0b6b8587c7bc706557", "score": "0.4684652", "text": "public Study createDataset(){\r\n\t\t// First we create a dataset with all fields filled in.\r\n\t\tStudy ds = new Study();\r\n\t\tds.setName(\"someName\");\r\n\t\tds.setDescription(\"someDesc\");\r\n\t\tds.setCreatedBy(\"magic\");\r\n\t\tds.setCreatedOn(new Date(1001));\r\n\t\tds.setAnnotations(\"someAnnoUrl\");\r\n\t\tds.setEtag(\"110\");\r\n\t\tds.setId(\"12\");\r\n\t\tds.setUri(\"someUri\");\r\n\t\treturn ds;\r\n\t}", "title": "" }, { "docid": "90dc7468286ea8bba4904ed69c2ea083", "score": "0.467643", "text": "@Override\n\tpublic Response create() throws YADAResponseException {\n\t\ttry \n\t\t{\n\t\t\tif(hasMultipleResults())\n\t\t\t\tthis.jsonResponse.put(RESULTSETS,new JSONArray());\n\t\t\telse\n\t\t\t\tthis.jsonResponse.put(RESULTSET,new JSONObject());\n\t\t\tthis.jsonResponse.put(VERSION, YADAUtils.getVersion());\n\t\t} \n\t\tcatch (JSONException e) \n\t\t{\n\t\t String msg = \"There was problem creating the JSON reponse object with the 'root key'.\";\n\t\t\tthrow new YADAResponseException(msg);\n\t\t}\n\t\tcatch (YADAResourceException e)\n\t\t{\n\t\t String msg = \"There was a problem obtaining the version information from JNDI.\";\n\t\t throw new YADAResponseException(msg,e);\n\t\t}\n\t\treturn this;\n\t}", "title": "" }, { "docid": "6ee80d8274edecd75d1fec70050c303d", "score": "0.467408", "text": "Demande createDemande();", "title": "" }, { "docid": "2b8a53647d0ce2fd6039ce5b5ce6d970", "score": "0.46724975", "text": "public PaginatedData() {\n }", "title": "" }, { "docid": "5547495a13edee2c8b1e5d8e050c3fdf", "score": "0.46662903", "text": "public ResponseData build() throws IOException {\n return new ResponseData(this);\n }", "title": "" }, { "docid": "6dcb8d31964879929a7c0dd79a9a61ca", "score": "0.4663567", "text": "public interface IAppModelAdapter<TUser, TChatroom> {\n \n /**\n * Set a user name\n * @param username The user name to set\n */\n public void setUsername(String username);\n \n /**\n * Connect to an IP address\n * @param ip The IP address\n */\n public void connectTo(String ip);\n \n /**\n * Create a new chatroom\n */\n public void createNewChatroom();\n \n /**\n * Join a user's chatroom\n * @param user The user to join\n */\n public void join(TUser user);\n \n /**\n * Invite a user to a chatroom\n * @param user The invited user\n * @param chatroom The chat room to join\n */\n public void inviteUserToChatroom(TUser user, TChatroom chatroom);\n \n /**\n * Quit all chatrooms\n */\n public void quitAllChatrooms();\n}", "title": "" }, { "docid": "f0ddbb68af8bbad94f78c1aa433ccb54", "score": "0.46524772", "text": "public Transaction build() {\n transactionData.data = dataBuilder.build();\n checkArgument(((RpcObject) transactionData.data).getItem(\"method\"), \"method not found\");\n\n return transactionData.build();\n }", "title": "" }, { "docid": "cecaf1a18662439e3c59d4d9e7ec61bb", "score": "0.46519646", "text": "public Deserializer build() {\n return new Deserializer();\n }", "title": "" }, { "docid": "f8891d0199c16aa3a9b33c5cba0985c8", "score": "0.46469414", "text": "private SourceManager(Context context) {\n this.context = context;\n\n apiUrl = context.getString(R.string.api_url);\n\n GsonBuilder builder = new GsonBuilder();\n registerTypeAdapter(builder);\n\n Gson gson = builder.create();\n Ion.getDefault(context)\n .configure()\n .setGson(gson);\n }", "title": "" }, { "docid": "d5ed17f46be85acbb3a3eefc891c6390", "score": "0.46448594", "text": "public PhysicalDataModel() {\n // No Op\n }", "title": "" }, { "docid": "34d12bd86224752fd502e3822f1cbb7b", "score": "0.46417716", "text": "public DexData() {}", "title": "" }, { "docid": "6804c048e2304f17de869f220a013fa5", "score": "0.46382645", "text": "private Node constructAdapterInstance(\n Class adapterClass, AdapterNode parent, String propertyName, Object propertyValue )\n {\n // Check to see if the class has a no-args constructor\n try {\n adapterClass.getConstructor( new Class [] { } );\n } catch ( NoSuchMethodException e1 ) {\n throw new WebWorkException( \"Adapter class: \" + adapterClass\n + \" does not have a no-args consructor.\" );\n }\n\n try {\n AdapterNode adapterNode = (AdapterNode)adapterClass.newInstance();\n adapterNode.setAdapterFactory( this );\n adapterNode.setParent( parent );\n adapterNode.setPropertyName( propertyName );\n adapterNode.setPropertyValue( propertyValue );\n\n return adapterNode;\n\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n throw new WebWorkException(\"Cannot adapt \" + propertyValue + \" (\" + propertyName + \") :\" + e.getMessage());\n } catch (InstantiationException e)\n {\n e.printStackTrace();\n throw new WebWorkException(\"Cannot adapt \" + propertyValue + \" (\" + propertyName + \") :\" + e.getMessage());\n }\n }", "title": "" }, { "docid": "56687f66854e42ad8e500adeee167244", "score": "0.46288696", "text": "private static PieDataset createDataset() {\n DefaultPieDataset dataset = new DefaultPieDataset();\n dataset.setValue(\"Samsung\", new Double(27.8));\n dataset.setValue(\"Others\", new Double(55.3));\n dataset.setValue(\"Nokia\", new Double(16.8));\n dataset.setValue(\"Apple\", new Double(17.1));\n return dataset;\n }", "title": "" }, { "docid": "68fc3e3ead51821e93495e618c265005", "score": "0.4627911", "text": "Medication createMedication();", "title": "" }, { "docid": "570a5afa25633d6fb7a8086b8fef6055", "score": "0.46257094", "text": "public final zzyv mo42397a() {\n Bundle bundle = this.f45789m.getBundle(\"com.google.ads.mediation.admob.AdMobAdapter\");\n if (bundle == null) {\n bundle = this.f45779c;\n this.f45789m.putBundle(\"com.google.ads.mediation.admob.AdMobAdapter\", this.f45779c);\n }\n zzyv zzyv = new zzyv(this.f45777a, this.f45778b, bundle, this.f45780d, this.f45781e, this.f45782f, this.f45783g, this.f45784h, this.f45785i, this.f45786j, this.f45787k, this.f45788l, this.f45789m, this.f45790n, this.f45791o, this.f45792p, this.f45793q, this.f45794r, this.f45795s, this.f45796t, this.f45797u);\n return zzyv;\n }", "title": "" }, { "docid": "5e5c2296d3141e9ae2629672581ebabf", "score": "0.4621085", "text": "public Song_Fragment_Custom_Adapter(Context context ,String dataSet) {\n this.localDataSet = dataSet;\n\n// this.mDhyanUrls = dhyanUrls;\n }", "title": "" }, { "docid": "6bf6f6e6244399bad3dae96bf64a2370", "score": "0.4619429", "text": "public interface JSONPopulator {\n void populate(JSONObject receivedData);\n }", "title": "" }, { "docid": "60a6d64962e6d6868b845f14318b5c71", "score": "0.4612248", "text": "public MyAdapter(ArrayList<Campaign> myDataset) {\n mDataset = myDataset;\n }", "title": "" }, { "docid": "f332572c02fc978651fd154d261f85aa", "score": "0.4606857", "text": "public Builder() {\n pack = new Pack();\n }", "title": "" }, { "docid": "7a8f71dc83652b3bd89fc17b35e674d5", "score": "0.46033144", "text": "public interface IElevatorAdapterFactory {\n /**\n * Create a new Instance of an ElevatorAdapter.\n *\n * @return The new Connection Object or null, if the connection failed.\n */\n public IElevatorAdapter create();\n}", "title": "" }, { "docid": "3e4b16ee4f38bd66c8d990a080979bda", "score": "0.4601209", "text": "private MonsterData(Builder builder) {\n super(builder);\n }", "title": "" }, { "docid": "d08b78ac3aa8ee259816e9961d3e5043", "score": "0.45975015", "text": "public BookData(){}", "title": "" }, { "docid": "a2ed4b1957a0ad2d2d0a12d2d571bc80", "score": "0.45959637", "text": "public MyAdapter( ArrayList<Notification> myDataset ) {\n this.mDataset = myDataset;\n }", "title": "" }, { "docid": "179054f5871c303a2158de3b92b5cc25", "score": "0.45888928", "text": "public TransitsampleitemBean createTransitsampleitemBean()\n {\n return new TransitsampleitemBean();\n }", "title": "" }, { "docid": "31b7686ea31a66abab58176f3825ad06", "score": "0.4587325", "text": "public ObjectAdapter getAdapter() {\n return mAdapter;\n }", "title": "" }, { "docid": "4c2661048d8db47843ebb1efdf95ed13", "score": "0.45846096", "text": "private static DefaultPieDataset createDataset() {\r\n DefaultPieDataset dataset = new DefaultPieDataset();\r\n dataset.setValue(\"Section A\", new Double(43.2));\r\n dataset.setValue(\"Section B\", new Double(10.0));\r\n dataset.setValue(\"Section C\", new Double(27.5));\r\n dataset.setValue(\"Section D\", new Double(17.5));\r\n dataset.setValue(\"Section E\", new Double(11.0));\r\n dataset.setValue(\"Section F\", new Double(19.4));\r\n return dataset;\r\n }", "title": "" }, { "docid": "c40b07a4b1f3d08474a3dfeab9c65bef", "score": "0.45826504", "text": "public InMemoryDataSource() {\n this.records = new ArrayList<Record>();\n }", "title": "" }, { "docid": "1e916545e6cc1729e349f76fd175b738", "score": "0.457819", "text": "public BitfinexRecyclerViewAdapter(List<GetSetStream> myData, Context context) {\n values = myData;\n this.context = context;\n }", "title": "" }, { "docid": "2d3672b98830aa0dbb37dd6ee6a0cb8b", "score": "0.4567596", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "d59cbc1a2ec1171adf642d3a392304a8", "score": "0.45639604", "text": "private DataHolder() {}", "title": "" } ]
0ac694ccf1dbf40a97f3846f21f26418
Returns the specified property as a JsonObject
[ { "docid": "bfe673d375279acdcd815e386d16640e", "score": "0.6345717", "text": "private static JsonObject getJsonObject(JsonObject object, String propName) {\n JsonObject obj = null;\n JsonValue val = object.get(propName);\n if (val != null && val.getValueType() == ValueType.OBJECT) {\n obj = val.asJsonObject();\n }\n return obj;\n }", "title": "" } ]
[ { "docid": "54002009c0b2d621b8d381400a2bd656", "score": "0.7026468", "text": "@Override\n public JsonObject encode(Property property) {\n\n // Creating object\n JsonObjectBuilder root = Json.createObjectBuilder();\n\n // Acquiring value\n Value dt = property.getValue();\n\n // Encoding\n if (dt.isArray())\n __encode_array(root, property);\n else\n __encode_obj(root, property);\n\n return root.build();\n }", "title": "" }, { "docid": "25f9dd7138431c333061e9c41ea138d8", "score": "0.62915796", "text": "@GET\n @Produces(\"application/json\")\n public RentPropertyDTO getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "74e659b16a0407a53eb26c929c25f4cc", "score": "0.6274597", "text": "public static String getProperty(String property){\n return JsonParser.getInstance().getValueFromString(property);\n }", "title": "" }, { "docid": "e2bfb6c9ac0d476c688c052bd1ed4cd5", "score": "0.6130778", "text": "@Override\n public void __encode_obj(JsonObjectBuilder obj, Property property) {\n\n // Acquiring value\n Value dt = property.getValue();\n\n // Encoding\n if (dt.isText()) {\n\n obj.add(property.getKey(), dt.asString());\n\n } else if (dt.isNumeric()) {\n\n if (dt.isByte()) {\n obj.add(property.getKey(), dt.asByte());\n } else if (dt.isShort()) {\n obj.add(property.getKey(), dt.asShort());\n } else if (dt.isInteger()) {\n obj.add(property.getKey(), dt.asInt());\n } else if (dt.isLong()) {\n obj.add(property.getKey(), dt.asLong());\n } else if (dt.isFloat()) {\n obj.add(property.getKey(), dt.asFloat());\n } else if (dt.isDouble()) {\n obj.add(property.getKey(), dt.asDouble());\n } else {\n throw new IllegalStateException(\"Unknown datatype\");\n }\n\n } else if (dt.isBoolean()) {\n obj.add(property.getKey(), dt.asBoolean());\n } else {\n throw new IllegalStateException(\"Unknown datatype\");\n }\n\n // Inserting description\n obj.add(\"description\", property.getDescription());\n\n }", "title": "" }, { "docid": "46d6a63464a05849fb277d45d44ac8c6", "score": "0.608603", "text": "public String toJSON()\r\n\t{\r\n\t\tJSONArray json = new JSONArray();\r\n\t\tfor (Object key : properties.keySet())\r\n\t\t{\r\n\t\t\tObject value = properties.get(key);\r\n\t\t\tJSONObject obj = new JSONObject();\r\n\t\t\tobj.put(\"name\", key);\r\n\t\t\tobj.put(\"value\", value);\r\n\t\t\tjson.put(obj);\r\n\t\t}\r\n\t\treturn json.toString();\r\n\t}", "title": "" }, { "docid": "dd03de9810103e6009d7e68bf15946bb", "score": "0.5925746", "text": "@SuppressWarnings(\"unchecked\")\n public JSONObject toJsonObject() {\n JSONObject json = new JSONObject();\n\n json.put(\"unit\", this.unit);\n json.put(\"street\", this.street);\n json.put(\"village\", this.village);\n json.put(\"city\", this.city);\n json.put(\"province\", this.province);\n json.put(\"zip\", this.zip);\n\n return json;\n }", "title": "" }, { "docid": "fb68cc3a12155d03bc13eb805aaba090", "score": "0.58855426", "text": "public JSObject writeToJSON(PropObject anObj)\n {\n return writePropObjectToJSON(anObj);\n }", "title": "" }, { "docid": "d799ce88647876a5f098d2028e742769", "score": "0.5858067", "text": "abstract JsonObject toJsonObject();", "title": "" }, { "docid": "6e9336e4bed116ea5a79021e45872ce2", "score": "0.5842347", "text": "public JsonObject getAsJsonObject(String key) {\n\t\treturn getAsJsonElement(key).getAsJsonObject();\n\t}", "title": "" }, { "docid": "52bf451ad558d50a5d25240d78d05069", "score": "0.57789856", "text": "JSONObject toJson();", "title": "" }, { "docid": "97148f5adedf5cf26ded12bec26657f2", "score": "0.5741234", "text": "public JsonObject getObject() {\n \treturn (JsonObject)jsonEl;\n }", "title": "" }, { "docid": "67add9f0b118048552f541cff57e7a5f", "score": "0.57297564", "text": "@JsonProperty( JSON_PROPERTY_VERSION )\n public String getVersion();", "title": "" }, { "docid": "1edbfb66a7f36a72e5897f1800f32d38", "score": "0.56477565", "text": "public Object getProperty(String property) {\n \treturn properties.get(property);\n }", "title": "" }, { "docid": "059f06cef5b2de79d04605a9b03381e5", "score": "0.5600652", "text": "public JsonObject getInternalJsonObject() {\n return json;\n }", "title": "" }, { "docid": "c4ae6a1c93514e9c8ba5455318e01a4e", "score": "0.55944353", "text": "@Override\n public void __encode_array(JsonObjectBuilder obj, Property property) {\n\n // Creating object\n JsonArrayBuilder values = Json.createArrayBuilder();\n\n // Acquiring value\n Value dt = property.getValue();\n\n if (dt.isNumericArray()) {\n\n if (dt.isByteArray()) {\n\n byte[] tmp = dt.asByteArray();\n\n for (byte e : tmp) {\n values.add(e);\n }\n\n } else if (dt.isShortArray()) {\n\n short[] tmp = dt.asShortArray();\n\n for (short e : tmp) {\n values.add(e);\n }\n\n } else if (dt.isIntegerArray()) {\n\n int[] tmp = dt.asIntArray();\n\n for (int e : tmp) {\n values.add(e);\n }\n\n } else if (dt.isLongArray()) {\n\n long[] tmp = dt.asLongArray();\n\n for (long e : tmp) {\n values.add(e);\n }\n\n } else if (dt.isFloatArray()) {\n\n float[] tmp = dt.asFloatArray();\n\n for (float e : tmp) {\n values.add(e);\n }\n\n } else if (dt.isDoubleArray()) {\n\n double[] tmp = dt.asDoubleArray();\n\n for (double e : tmp) {\n values.add(e);\n }\n\n }\n\n } else if (dt.isTextArray()) {\n\n String[] tmp = dt.asStringArray();\n\n for (String e : tmp) {\n values.add(e);\n }\n\n } else if (dt.isBooleanArray()) {\n\n boolean[] tmp = dt.asBooleanArray();\n\n for (boolean e : tmp) {\n values.add(e);\n }\n\n } else {\n throw new IllegalStateException(\"Unknown datatype\");\n }\n\n obj.add(property.getKey(), values);\n\n // Inserting description\n obj.add(\"description\", property.getDescription());\n\n }", "title": "" }, { "docid": "48d24043ab25be0f671f2697aacf1faf", "score": "0.5587903", "text": "public JSONObject toJSONObject() throws JSONException\n {\n JSONObject propertyObj = new JSONObject();\n\n JSONArray stageObjArr = new JSONArray();\n\n for (int st = 0; st < this.getStageCount(); st++)\n {\n Stage stage = this.getStage(st);\n JSONObject stageObj = stage.toJSONObject();\n stageObjArr.put(stageObj);\n }\n\n propertyObj.put(\"stages\", stageObjArr);\n\n return propertyObj;\n }", "title": "" }, { "docid": "33996a1b5c78e01249b92aaedfb87955", "score": "0.5511606", "text": "private JSONObject toJsonWithValueConversion(Map<String, String> properties) throws JSONException {\n if (properties == null || properties.isEmpty()) {\n return null;\n }\n else {\n JSONObject metadataProps = new JSONObject();\n for (Map.Entry<String, String> entry : properties.entrySet()) {\n metadataProps.putOpt(entry.getKey(), tryConvertJsonString(entry.getValue()));\n }\n return metadataProps;\n }\n }", "title": "" }, { "docid": "c1d22ecac1692ffae732c6780a479c4b", "score": "0.54872733", "text": "@Override\r\n public abstract JSONObject toJson();", "title": "" }, { "docid": "38b2aa72606a427a84f5ead378db5ffa", "score": "0.5485714", "text": "private JsonObject objectToJSON() {\n Post post = new Post();\n Gson gson = new Gson();\n post.setBody(\"Sample and test body\");\n post.setTitle(\"Test Title\");\n post.setUserId(1);\n String jsonString = gson.toJson(post);\n\n JsonObject jsonObject = new JsonParser().parse(jsonString).getAsJsonObject();\n return jsonObject;\n }", "title": "" }, { "docid": "7221ed3e64c9f22c0c5ad4baeaab04e7", "score": "0.54764324", "text": "@JsonProperty(\"properties\")\n @Nullable\n public abstract PropertyBag properties();", "title": "" }, { "docid": "767db0961a32e598d19e0895c3c51d8b", "score": "0.54733926", "text": "@Override\n protected JsonObject createValueJson() {\n JsonObject json = new JsonObject();\n\n json.addProperty(\"id\", this.getPathName());\n json.addProperty(\"model\", this.getModelType().toString());\n\n return json;\n }", "title": "" }, { "docid": "6b9a9286975e9ec105db3aeecc8bdea4", "score": "0.5472502", "text": "@JsonIgnore\n\tpublic String getJson() {\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = mapper.writeValueAsString(this);\n\t\t} catch (JsonProcessingException e) {\t\t\t\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}", "title": "" }, { "docid": "7080955d923a6e2def28976f5484e5c7", "score": "0.54652977", "text": "public IJsonPropertyWriter getPropertyWriter();", "title": "" }, { "docid": "12e4beca0f2232c61e141b9cc5c44896", "score": "0.54529923", "text": "private JSONObject createJSONObject (final String propertyName, final String propertyValue, final int sensorId) throws JSONException {\n\n Date timestamp = new Date();\n\n JSONObject dataPoint = new JSONObject();\n JSONObject dataPoints = new JSONObject();\n JSONObject singleSensor = new JSONObject();\n JSONObject jsonObject = new JSONObject();\n\n dataPoint.put(\"time\", timestamp);\n dataPoint.put(\"value\", propertyValue);\n\n dataPoints.put(\"data_points\", dataPoint);\n\n singleSensor.put(\"data_points\", dataPoint);\n singleSensor.put(\"sensor_name\", propertyName);\n singleSensor.put(\"units\", propertyValue);\n\n jsonObject.put(\"device_id\", sensorId);\n jsonObject.put(\"sensors\", singleSensor);\n\n return jsonObject;\n }", "title": "" }, { "docid": "31eeac31055a581147d6f3f2f83021c1", "score": "0.5449261", "text": "public JsonObject toJson() {\n\t\tJsonObject json = new JsonObject();\n\t\tjson.addProperty(\"name\", this.getName());\n\t\tjson.addProperty(\"description\", this.getDescription());\n\t\tjson.addProperty(\"active\", this.isStatus());\n\t\tjson.addProperty(\"expiration\", this.getExpiration());\n\t\tjson.addProperty(\"id\", this.getId());\n\t\tjson.addProperty(\"procedures\", this.getProcedures());\n\t\treturn json;\n\t}", "title": "" }, { "docid": "e9f3f1dda30ae6be99314edfa75618ce", "score": "0.5429993", "text": "public JsonObject readJson();", "title": "" }, { "docid": "69261f310abd904ffdd4f8491e2aadd1", "score": "0.5423923", "text": "public JSONObject toJSON() throws JSONException {\n JSONObject json = new JSONObject();\n json.put(\"name\", name);\n json.put(\"value\", value.toString());\n\n if (source != null) json.put(\"source\", source.toJSON());\n else json.put(\"source\", new JSONObject());\n\n return json;\n\t}", "title": "" }, { "docid": "0ee8adba2e1cc1025868d849a486517f", "score": "0.5414229", "text": "public static JsonObject objJson(MapObject obj) {\n JsonObject json = new JsonObject();\n json.add(GameAttr.ID, new JsonPrimitive(obj.id));\n json.add(GameAttr.TYPE, new JsonPrimitive(obj.getType()));\n json.add(GameAttr.X, new JsonPrimitive(obj.x));\n json.add(GameAttr.Y, new JsonPrimitive(obj.y));\n json.add(GameAttr.MAP, new JsonPrimitive(obj.map.id));\n\n if (Player.class.isAssignableFrom(obj.getClass())) {\n json.add(GameAttr.FROZEN, new JsonPrimitive(((Player) obj).frozen));\n }\n\n else if (Carrot.class.isAssignableFrom(obj.getClass())) {\n json.add(GameAttr.EATEN, new JsonPrimitive(((Carrot) obj).isEaten));\n }\n\n return json;\n }", "title": "" }, { "docid": "f37b846a2f09fb530bdd52a353710602", "score": "0.54130054", "text": "public JsonEntity createObject(String property) {\n return create(property, WrappedElement.createObject());\n }", "title": "" }, { "docid": "c6b9a3a320f9ad9012fcf2964403c1b7", "score": "0.53848934", "text": "public abstract JsonObject toSettings();", "title": "" }, { "docid": "e3624f5213753b44f54fb7d3266b4c19", "score": "0.5384877", "text": "public JsonArray getProperties() {\r\n return properties;\r\n }", "title": "" }, { "docid": "657e3bb5643ee4197984a11d0583e4f0", "score": "0.53825116", "text": "public Map getAsJSON ()\n {\n\n Map m = super.getAsJSON ();\n\n if (this.langCode != null)\n {\n\n m.put (\":langcode\",\n this.langCode);\n\n }\n\n m.put (\":baseversion\",\n this.baseVersion);\n\n return m;\n\n }", "title": "" }, { "docid": "539cbda1ec1ac9685a6cc50f0dc93826", "score": "0.53556865", "text": "public Object getPropery(String property){\n\t\treturn metaData.get(property);\n\t}", "title": "" }, { "docid": "a922d5cf1ac2be99e62d31fda32a3394", "score": "0.5354101", "text": "public JsonObject toJson() {\n JsonObject obj = new JsonObject();\n obj.put(Schema.ATTR_NAME, name);\n return obj;\n }", "title": "" }, { "docid": "0688adab89dc45f411a178b3556bfbcb", "score": "0.5343324", "text": "public static JsonObject toJsonObj(JsonElement element) {\n return toJsonObj(element, null);\n }", "title": "" }, { "docid": "976f5a9ae6513e07730d957268e5f218", "score": "0.53395367", "text": "public JsonEntity get(String property) {\n try {\n return wrap(property, wrappedElement.get(property));\n } catch (WrappedElementException err) {\n throw new JsonEntityException(this, null, err.getMessage());\n }\n }", "title": "" }, { "docid": "296b6557d95bd3eb10dcef16089f5d53", "score": "0.5336036", "text": "String toJson(Object object);", "title": "" }, { "docid": "84106f8f3eab93a67c1f2665f46a7d59", "score": "0.53149545", "text": "public JsonEntity ensureObject(String property) {\n JsonEntity object = get(property);\n if (object == null) {\n object = create(property, WrappedElement.createObject());\n }\n return object;\n }", "title": "" }, { "docid": "c71270ab470f2eb3b656eade1d166def", "score": "0.53109324", "text": "@JsonAnyGetter\n\tpublic java.util.Map<String,Object> getProperties() {\n\t\tif (this.properties == null) return null;\n\t\tIterator<String> iter = this.properties.keySet().iterator();\n\t\tjava.util.Map<String,Object> resultset = new HashMap<String, Object>();\n\t\twhile (iter.hasNext()) {\n\t\t\tString key = iter.next();\n\t\t\tresultset.put(key,urifyObjects(this.properties.get(key)));\n\t\t}\n\t\treturn resultset ;\n\t}", "title": "" }, { "docid": "c06610eb0e53bee5568c7ec55ba76992", "score": "0.5293788", "text": "public JsonObject toJson() {\n JsonObject json = JsonHelper.fromObject(this);\n return JsonHelper.filterNullElements(json);\n }", "title": "" }, { "docid": "784928058640e101c346b242fe90a64e", "score": "0.5292949", "text": "public Object getProperty(String key) {\r\n try {\r\n if (data.has(key)) {\r\n return data.get(key);\r\n } else {\r\n return \"Not found\";\r\n }\r\n } catch (JSONException exception) {\r\n return \"Not found\";\r\n }\r\n }", "title": "" }, { "docid": "5af8dc99e70be0fbf218cabb0abdc09e", "score": "0.52927047", "text": "public String getJson() {\n return _json;\n }", "title": "" }, { "docid": "1788cf155b07ccc6d95a09a5b8c8ae1a", "score": "0.52796066", "text": "public JsonElement serialize(PropertyMap src, Type typeOfSrc, JsonSerializationContext context)\r\n/* 60: */ {\r\n/* 61:44 */ JsonArray result = new JsonArray();\r\n/* 62:45 */ for (Property property : src.values())\r\n/* 63: */ {\r\n/* 64:46 */ JsonObject object = new JsonObject();\r\n/* 65:47 */ object.addProperty(\"name\", property.getName());\r\n/* 66:48 */ object.addProperty(\"value\", property.getValue());\r\n/* 67:49 */ if (property.hasSignature()) {\r\n/* 68:50 */ object.addProperty(\"signature\", property.getSignature());\r\n/* 69: */ }\r\n/* 70:53 */ result.add(object);\r\n/* 71: */ }\r\n/* 72:56 */ return result;\r\n/* 73: */ }", "title": "" }, { "docid": "a04eb7d9fff8110befbc314e083e2241", "score": "0.5268757", "text": "@Override\n public String getPropertiesAsJson(String namespace) throws IOException {\n Properties properties = new Properties();\n getProperties(namespace).forEach((key, value) -> {\n if (value instanceof String[]) {\n int idx = 1;\n for (String v : (String[]) value) {\n properties.put(String.format(\"%s.%d\", key, idx++), v);\n }\n } else {\n properties.put(key, value);\n }\n });\n return OBJECT_MAPPER.writer()\n .writeValueAsString(PROPERTIES_MAPPER.readPropertiesAs(properties, ObjectNode.class));\n }", "title": "" }, { "docid": "75ff6a3249033c126248b6085605c358", "score": "0.52612025", "text": "public JsonEntity getSafely(String property) {\n JsonEntity entity = get(property);\n return entity != null ? entity : new JsonEntity(NULL);\n }", "title": "" }, { "docid": "7bb6aeb9fbf8ceb8b481cac844ddb1b0", "score": "0.5253177", "text": "public String getJson() {\n return json;\n }", "title": "" }, { "docid": "6fa76d78e2339d642b45fef3eaa7e8be", "score": "0.52522236", "text": "public JSONObject toJSONObject() {\r\n\t\treturn json;\r\n\t}", "title": "" }, { "docid": "bceda009a5b851f5e7f3371c0905474c", "score": "0.5249883", "text": "public JsonElement getAsJsonElement(String key) {\n\t\treturn getObject().get(key);\n\t}", "title": "" }, { "docid": "eb3ae06dbec57a14e80cde59df27807e", "score": "0.5202055", "text": "public String toJson() throws JsonIOException {\n\t\tJsonElement el = gson.toJsonTree(this);\n\t\tJsonObject obj = el.getAsJsonObject();\n\t\tif (obj.has(\"options\")) {\n\t\t\tJsonObject options = obj.getAsJsonObject(\"options\");\n\t\t\tobj.remove(\"options\");\n\t\t\tfor (Map.Entry<String, JsonElement> entry : options.entrySet()) {\n\t\t\t\tobj.add(entry.getKey(), entry.getValue());\n\t\t\t}\n\t\t}\n\t\treturn obj.toString();\n\t}", "title": "" }, { "docid": "cfa4981e31d63f805f3f51e3cf9fdbab", "score": "0.5194136", "text": "private JsonObjectBuilder addProperties( JsonObjectBuilder builder, VarValueDef value)\n {\n JsonArrayBuilder properties = Json.createArrayBuilder();\n propertySeq( value.getProperties()).forEach( property -> properties.add( property));\n JsonArray json = properties.build();\n\n if( !json.isEmpty())\n {\n builder.add( PROPERTIES_KEY, json);\n }\n\n return builder;\n }", "title": "" }, { "docid": "a45887d32df481571a34029efbf2456c", "score": "0.51922655", "text": "@Override\r\n\tpublic JSONObject toJson() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "58835dee9198076594e420f9689dc334", "score": "0.5185583", "text": "public String toJSONString()\n {\n StringBuilder jsonStringBuilder = new StringBuilder();\n jsonStringBuilder.append(\"{\"); // property open\n\n jsonStringBuilder.append(\"\\\"stages\\\":[\");\n for (int st = 0; st < this.getStageCount(); st++)\n {\n if (st != 0) { jsonStringBuilder.append(\",\"); } // stage delimiter\n\n Stage stage = this.getStage(st);\n jsonStringBuilder.append(stage.toJSONString());\n }\n\n jsonStringBuilder.append(\"]\");\n jsonStringBuilder.append(\"}\"); // property close\n\n return jsonStringBuilder.toString();\n }", "title": "" }, { "docid": "b7ed0858823b2e9fc33e09cc06de1ee0", "score": "0.5173338", "text": "public JsonEntity convertToArray(String property) {\n return convertToArray(get(property));\n }", "title": "" }, { "docid": "9d3617c3a2ee6164f5ef314c6e5609ed", "score": "0.51726", "text": "public JSONObject getJsonRepresentation() throws Exception {\n\n JSONObject jsonObj = new JSONObject();\n jsonObj.put(\"name\", getName());\n return jsonObj;\n }", "title": "" }, { "docid": "5ea9029f15a20682a40c2d50768bab32", "score": "0.5168839", "text": "public static HashMap<String, String> getProperties(JSONObject feature) {\n\t\tJSONObject propObj;\n\t\t//Get the properties\n\t\ttry {\n\t\t\tpropObj = feature.getJSONObject(TAG_PROPERTIES);\n\t\t} catch (JSONException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t\tHashMap<String, String> properties = new HashMap<String, String>();\n\t\tIterator<?> keys = propObj.keys();\n\t\t\n\t\twhile (keys.hasNext()) {\n\t\t\tString key = (String) keys.next();\n\t\t\tString value;\n\t\t\ttry {\n\t\t\t\tvalue = propObj.getString(key);\n\t\t\t} catch (JSONException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tproperties.put(key, value);\n\t\t\t\n\t\t}\n\t\t\n\t\treturn properties;\n\t}", "title": "" }, { "docid": "0cc49749b53ef68e434fae7e2ea32f8f", "score": "0.51668715", "text": "public RestProperty GetPropertyDetailsByID(Long PropertyID) throws IOException {\n\n RestProperty property = new RestProperty();\n try {\n\n HttpClient client = HttpClientBuilder.create().build();\n\n String query = StatusEnums.SIMPLYRETS_BASEAPI.toString() + \"/properties/\" + PropertyID + \"?include=association&include=agreement&include=garageSpaces&include=maintenanceExpense&include=parking&include=pool&include=rooms&include=taxAnnualAmount&include=taxYear\";\n\n HttpGet apirequest = new HttpGet(query);\n\n MaRestapiKeys maRestapiKeys = apiKeyService.GetApiKey(StatusEnums.ACTIVE.toString());\n String strcredentials = \"\";\n if (maRestapiKeys != null) {\n strcredentials = maRestapiKeys.getApikey() + \":\" + maRestapiKeys.getApisecret();\n } else {\n strcredentials = \"simplyrets:simplyrets\";\n }\n byte[] credentials = strcredentials.getBytes();\n\n // add request header\n apirequest.addHeader(\"Authorization\", \"Basic \" + Base64.getEncoder().encodeToString(credentials));\n apirequest.addHeader(\"Accept\", \"application/json\");\n\n HttpResponse response = client.execute(apirequest);\n\n BufferedReader rd = new BufferedReader(\n new InputStreamReader(response.getEntity().getContent()));\n\n StringBuilder result = new StringBuilder();\n String line = \"\";\n while ((line = rd.readLine()) != null) {\n result.append(line);\n }\n System.out.println(\"Response : \" + result);\n\n\n Type listType = new TypeToken<RestProperty>() {\n }.getType();\n property = new Gson().fromJson(result.toString(), listType);\n\n return property;\n } catch (Exception ex) {\n property.setIsError(true);\n property.setError(ex.getMessage());\n return property;\n }\n }", "title": "" }, { "docid": "81e1c77223101caf66ef9f3d08a7653c", "score": "0.5157794", "text": "@Override\n public void __decode_obj(Property property, JsonObject obj) throws MalformedConfigurationPropertyException, InvalidConfigurationPropertyException {\n\n Value value = property.getValue();\n\n JsonValue.ValueType type = obj.get(property.getKey()).getValueType();\n\n switch (type) {\n\n case STRING:\n\n String s = obj.getString(property.getKey());\n\n if (value.isString()) {\n property.setValue(s);\n } else if (value.isCharacter()) {\n\n if (s.length() > 1) {\n throw new MalformedConfigurationPropertyException(\"The value cannot be decoded as: \" + value.getClass(), property);\n }\n\n property.setValue(s.charAt(0));\n\n } else {\n throw new MalformedConfigurationPropertyException(\"The value cannot be decoded as: \" + value.getClass(), property);\n }\n\n break;\n case NUMBER:\n\n BigInteger integral = obj.getJsonNumber(property.getKey()).bigIntegerValueExact();\n BigDecimal decimal = obj.getJsonNumber(property.getKey()).bigDecimalValue();\n\n\n if (value.isByte()) {\n\n try {\n property.setValue(integral.byteValueExact());\n } catch (ArithmeticException ex) {\n throw new MalformedConfigurationPropertyException(\"The value is out of byte range\", property);\n }\n\n } else if (value.isShort()) {\n\n try {\n property.setValue(integral.shortValueExact());\n } catch (ArithmeticException ex) {\n throw new MalformedConfigurationPropertyException(\"The value is out of short range\", property);\n }\n\n } else if (value.isInteger()) {\n\n try {\n property.setValue(integral.intValueExact());\n } catch (ArithmeticException ex) {\n throw new MalformedConfigurationPropertyException(\"The value is out of int range\", property);\n }\n\n } else if (value.isLong()) {\n\n try {\n property.setValue(integral.longValueExact());\n } catch (ArithmeticException ex) {\n throw new MalformedConfigurationPropertyException(\"The value is out of long range\", property);\n }\n\n } else if (value.isFloat()) {\n property.setValue(decimal.floatValue());\n } else if (value.isDouble()) {\n property.setValue(decimal.doubleValue());\n } else {\n throw new MalformedConfigurationPropertyException(\"The value cannot be decoded as: \" + value.getClass(), property);\n }\n break;\n case TRUE:\n case FALSE:\n if (value.isBoolean())\n property.setValue(obj.getBoolean(property.getKey()));\n else {\n throw new MalformedConfigurationPropertyException(\"The value cannot be decoded as: \" + value.getClass(), property);\n }\n break;\n case NULL:\n throw new MalformedConfigurationPropertyException(\"The value was NULL\", property);\n default:\n throw new MalformedConfigurationPropertyException(\"Unexpected value: \" + obj.getValueType(), property);\n }\n\n // Final check\n if (!property.isValid()) {\n throw new InvalidConfigurationPropertyException(\"The validation test failed\", property);\n }\n\n }", "title": "" }, { "docid": "06e3e0c0ac0c7c1c188b44ffe24f442b", "score": "0.51464546", "text": "private JsonObject createWebServiceAsAJsonObject(WebService webService) {\n JsonObject WebServiceAsJson = new JsonObject()\n .put(\"url\", webService.getUrl())\n .put(\"name\", webService.getName()).put(\"method\", webService.getMethod());\n if (webService.getId() != null && webService.getId() > 0) {\n WebServiceAsJson.put(\"id\", webService.getId());\n }\n return WebServiceAsJson;\n }", "title": "" }, { "docid": "ebec79e57e95ecb67630cfa8180e7297", "score": "0.5143243", "text": "java.lang.String getPropertyValueString();", "title": "" }, { "docid": "baa127a28246967fd2622e4e04355ab1", "score": "0.5137243", "text": "public static JSONObject convertToJsonObject(Object toConvert) {\n JSONObject r = new JSONObject();\n\n for (Field field : toConvert.getClass().getDeclaredFields()) {\n field.setAccessible(true);\n String name = field.getName();\n Object value = null;\n try {\n value = field.get(toConvert);\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n }\n r.put(name, value);\n }\n\n return r;\n }", "title": "" }, { "docid": "f33eb7b7eccad543c610e6e3076c8d7b", "score": "0.5133997", "text": "public byte[] writeToJSONBytes(PropObject anObj)\n {\n JSObject jsonObj = writeToJSON(anObj);\n String jsonStr = jsonObj.toString();\n return jsonStr.getBytes();\n }", "title": "" }, { "docid": "1797026b69a64e2e280a36c8784a5541", "score": "0.5130398", "text": "public JSONValue toJson() {\n\t\tfinal JSONObject result = new JSONObject();\n\t\tresult.put(\"x\", new JSONNumber(this.x));\n\t\tresult.put(\"y\", new JSONNumber(this.y));\n\t\treturn result;\n\t}", "title": "" }, { "docid": "0f32d9892b6540c788c7d4c1fccb0050", "score": "0.5129687", "text": "public Object getProperty (String key);", "title": "" }, { "docid": "9cca7f807fa197779c2ce3f24a2a2bd0", "score": "0.5127565", "text": "public Object get(String prop);", "title": "" }, { "docid": "3b61eeda6e990fce1fab29f0c115da47", "score": "0.5123319", "text": "@Override\n\tpublic JSONObject toJSON() {\n\t\tJSONObject json = new JSONObject();\n\t\t\n\t\ttry {\n\t\t\tjson.put(\"format\", format);\n\t\t\tjson.put(\"certificate\", bytesToString(certificate));\n\t\t} catch (JSONException e) {\n\n\t\t}\n\t\t\n\t\treturn json;\n\t}", "title": "" }, { "docid": "f0033a87b033913317949db9134fbe69", "score": "0.51172996", "text": "public String getProperty() {\r\n return property;\r\n }", "title": "" }, { "docid": "acd8539b50a0ed504c065b26cd7ccd24", "score": "0.51165164", "text": "public static <T> JsonObject toJson(final T entity) {\n return To.toJObject(entity, \"\");\n }", "title": "" }, { "docid": "ce3eae5c2416ce8044409a583c7be914", "score": "0.5111771", "text": "@Override\n\tpublic JSONObject asJSON() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c57cb05a7f8253b72f89dc787e11ef68", "score": "0.5111582", "text": "public native Object toJSON();", "title": "" }, { "docid": "e0bfa5390b8a9f6c8379a8dba2b6bf09", "score": "0.5109772", "text": "public JSONObject toJsonObject()\n {\n JSONObject jsonObject = new JSONObject();\n try {\n jsonObject.put(\"agreement\", agreement);\n jsonObject.put(\"companyDeviceOptions\", companyDeviceOptions);\n jsonObject.put(\"companyId\", companyId);\n jsonObject.put(\"createdBy\", createdBy);\n jsonObject.put(\"createdTime\", createdTime);\n jsonObject.put(\"groupName\", groupName);\n jsonObject.put(\"id\", id);\n jsonObject.put(\"testType\", testType);\n jsonObject.put(\"updatedBy\", updatedBy);\n jsonObject.put(\"updatedTime\", updatedTime);\n jsonObject.put(\"remark\", remark);\n } catch (JSONException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return jsonObject;\n }", "title": "" }, { "docid": "83403e5d1c3efdb190be03e28806b480", "score": "0.51070535", "text": "public String getProperty() {\n return property;\n }", "title": "" }, { "docid": "83403e5d1c3efdb190be03e28806b480", "score": "0.51070535", "text": "public String getProperty() {\n return property;\n }", "title": "" }, { "docid": "6f64371d265a40ea42e0c8d1fd3fb72e", "score": "0.5105288", "text": "public String toJsonString() throws JSONException;", "title": "" }, { "docid": "604a8aaa9e338da3575c71cd9477fe3f", "score": "0.51022595", "text": "@Override\n public JSONObject toJSON() {\n JSONObject jsonObj = new JSONObject(32, true);\n if(this.specId != null) {jsonObj.put(\"specId\", this.specId);}\n if(this.specCode != null) {jsonObj.put(\"specCode\", this.specCode);}\n if(this.specName != null) {jsonObj.put(\"specName\", this.specName);}\n if(this.specType != null) {jsonObj.put(\"specType\", this.specType);}\n if(this.description != null) {jsonObj.put(\"description\", this.description);}\n if(this.status != null) {jsonObj.put(\"status\", this.status);}\n if(this.lastUpdateTime != null) {jsonObj.put(\"lastUpdateTime\", this.lastUpdateTime);}\n if(this.lastUpdateOper != null) {jsonObj.put(\"lastUpdateOper\", this.lastUpdateOper);}\n if(this.createTime != null) {jsonObj.put(\"createTime\", this.createTime);}\n if(this.createOper != null) {jsonObj.put(\"createOper\", this.createOper);}\n return jsonObj;\n }", "title": "" }, { "docid": "c332a89aa85cae73df7b0627b594f330", "score": "0.509538", "text": "JSONObject get();", "title": "" }, { "docid": "fb08f2a23855d7e07c106b4c924d86fe", "score": "0.50865954", "text": "public String getJson() {\n\t\t\treturn new Gson().toJson(this);\n\t\t}", "title": "" }, { "docid": "229b199dbc1e29ca37b96a511e3e8f3d", "score": "0.50750566", "text": "public String toJson(Object obj) {\n return toJson(obj, false);\n }", "title": "" }, { "docid": "348483f8a30b8f7235c25626fc72c4df", "score": "0.5065691", "text": "@Override\n public JsonObject toObject(Configuration instance) {\n\n JsonObjectBuilder root = Json.createObjectBuilder();\n JsonArrayBuilder nodes = Json.createArrayBuilder();\n\n root.add(\"name\", instance.getName());\n root.add(\"version\", instance.getVersion());\n\n for (Property property : instance.getProperties()) {\n nodes.add(encode(property));\n }\n\n root.add(\"properties\", nodes);\n\n return root.build();\n }", "title": "" }, { "docid": "c3941da4039b4a818210a2f1b57c393b", "score": "0.5065421", "text": "public JsonObject getJsonConfig() {\n return config;\n }", "title": "" }, { "docid": "d3a8737e4fcc5cb80eb67e8baf3cf9ab", "score": "0.5064591", "text": "@GET\r\n @Produces(MediaType.APPLICATION_JSON)\r\n public String getJson() {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }", "title": "" }, { "docid": "f2b15d60cff17eef51b48173c22d7013", "score": "0.50644743", "text": "public String toJsonString ()\n\t{\n\t\tString thisBeanAsJson = null;\n\t\ttry\n\t\t{\n\t\t\tthisBeanAsJson = objectMapper.writeValueAsString (this);\n\t\t}\n\t\tcatch (JsonProcessingException e)\n\t\t{\n\t\t\te.printStackTrace ();\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\treturn thisBeanAsJson;\n\t\t}\n\t}", "title": "" }, { "docid": "057c97dc7ca9139225355ba2892bcaae", "score": "0.506012", "text": "default JSONObject toJSON()\n {\n return new JSONObject()\n .put(\"name\", getName())\n .put(\"description\", getDescription())\n .put(\"module\", getModuleName())\n .put(\"source\", getSource())\n .put(\"events\", getEvents());\n }", "title": "" }, { "docid": "4f8bca5dd4ab7953ca31b8f1e6855456", "score": "0.5052627", "text": "public JSONObject toJsonObject()\n\t{\n\t\tJSONObject jsonObject = new JSONObject();\n\t\ttry {\n\t\t\tjsonObject.put(\"description\", description);\n\t\t\tjsonObject.put(\"id\", id);\n\t\t\tjsonObject.put(\"title\", title);\n\t\t\t\n\t\t} catch (JSONException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn jsonObject;\n\t}", "title": "" }, { "docid": "6316f0bc7b1b6ce588aab488cbbe6e1a", "score": "0.50508076", "text": "private static JsonObject getJsonValueAsObject(JsonValue value) {\n return (value != null && value.getValueType() == ValueType.OBJECT) ? value.asJsonObject() : null;\n }", "title": "" }, { "docid": "c41bfa8a5349e576ca2dea5ca6755726", "score": "0.5039682", "text": "public JsonEntity nullify(String property) {\n return create(property, NULL);\n }", "title": "" }, { "docid": "973b959d035c2996b6749ee3a2653d1b", "score": "0.50372684", "text": "public String getJSON() {\n return new Gson().toJson(this);\n }", "title": "" }, { "docid": "52f65549bc818b8be2e3cd8989bcd6b4", "score": "0.5036221", "text": "JsonNode toJson() {\n if (jsonNode == null) {\n jsonNode = generateJson();\n }\n\n return jsonNode;\n }", "title": "" }, { "docid": "9169fd603ef99f3be87457a9ce3e61bf", "score": "0.50354576", "text": "PropertyList getProperty();", "title": "" }, { "docid": "0e9695134b5199f15d03b984e69525d0", "score": "0.50342405", "text": "public JSONObject getJson() {\n\t\treturn keyMap;\n\t}", "title": "" }, { "docid": "d6aeba737b1f6283487c3e4a4ebe4768", "score": "0.5032565", "text": "public JSONObject getProps() {\n return props;\n }", "title": "" }, { "docid": "6315adff77e3290fb9461b187fbd747e", "score": "0.5026951", "text": "@Override\n public JSONObject toJson() {\n JSONObject json = new JSONObject();\n json.put(\"type\", type);\n json.put(\"pitch\", pitch);\n json.put(\"isStaccato\", isStaccato);\n return json;\n }", "title": "" }, { "docid": "8a38600cf676ed0f992615f8b41e67ad", "score": "0.50262195", "text": "private JSONObject prepareJsonPoiObject(Object postMessage) {\n\n\t \t \n\t\tJSONObject json = new JSONObject();\n\t\tif (postMessage instanceof Poi) {\n\t\t\ttry {\n\t\t\t\tjson.put(\"curLat\", ((Poi) postMessage).getCurLat());\n\t\t\t\tjson.put(\"curLong\", ((Poi) postMessage).getCurLong());\n\t\t\t\tjson.put(\"label\", ((Poi) postMessage).getLabel());\n\t\t\t\tjson.put(\"time2live\", ((Poi) postMessage).getTime2live());\n\t\t\t\tjson.put(\"type\", ((Poi) postMessage).getType());\n\t\t\t\tLog.i(\"TYPE OBJECT ServCall\", \"USER TYPE \");\n\t\t\t\treturn json;\n\t\t\t} catch (JSONException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t} else {\n\t\t\tLog.i(\"TYPE OBJECT ServCall\",\n\t\t\t\t\t\"SORRY can't handle this kind of object\");\n\t\t\treturn null;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "674f7f4087aa466f7b6c143f98686a35", "score": "0.50224596", "text": "public static JSONObject json(long hash) {\n JSONObject obj = new JSONObject();\n try{\n obj.put(HASH, hash);\n }catch(JSONException e){}\n return obj;\n }", "title": "" }, { "docid": "ee807695e8c250d89ac8146aa1a11342", "score": "0.50183845", "text": "private JsonObject getGameInfoJson(){\n JsonObject gameInfoJson = Json.createObjectBuilder()\n .add(\"Level Number\", game.getCurrentLevel().getLevelNumber())\n .add(\"Time Left\", game.getRenderer().getTimeLeft())\n .add(\"Treasure Count\", game.getRenderer().getTreasureCount()).build();\n\n return gameInfoJson;\n }", "title": "" }, { "docid": "d326aaba8fa98e056d7741517add6b34", "score": "0.5017106", "text": "@GET\r\n @Produces(MediaType.APPLICATION_JSON)\r\n public String getJson()\r\n {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }", "title": "" }, { "docid": "e439c74f9aa61d7793cc145a52f9564a", "score": "0.5014744", "text": "@GET\n @Produces(MediaType.APPLICATION_JSON)\n public String getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "e439c74f9aa61d7793cc145a52f9564a", "score": "0.5014744", "text": "@GET\n @Produces(MediaType.APPLICATION_JSON)\n public String getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "8f107b958425d835b12d211010eddcc6", "score": "0.50015044", "text": "@Override\r\n\tpublic Object toJSONObject() throws JSONException {\n\t\tJSONObject o = new JSONObject();\r\n\t\to.put(\"id\", this.getId());\r\n\t\to.put(\"name\", this.getName());\r\n\t\to.put(\"description\", this.getDescription());\r\n\t\to.put(\"parent_id\",this.getParent_id());\r\n\t\treturn o;\r\n\t}", "title": "" }, { "docid": "69e7146d713e39c4be2b87f1f9bcd522", "score": "0.4994796", "text": "java.lang.String getItemJson();", "title": "" }, { "docid": "26e298489892fc424f4f7edff16f86cf", "score": "0.4993765", "text": "public Object get(String key) {\r\n\t\treturn json.get(key);\r\n\t}", "title": "" } ]
f89e48d4f2f250acdd3149eb30b37cb4
SeekBar progress gets initialized here
[ { "docid": "8bbc391361ccb40bdbf447849638f89c", "score": "0.7722976", "text": "private void initSeekBarProgress() {\n handler = new Handler();\n try {\n if (mMediaPlayerObject.isPlaying()) {\n int mediaPos = mMediaPlayerObject.getCurrentPosition(); // gets current song position (in time)\n int mediaMax = mMediaPlayerObject.getDuration(); // gets maximum mDuration of song\n\n mSeekBar.setMax(mediaMax); // seekbar will seek until the mediaMax position\n mSeekBar.setProgress(mediaPos); // set the seekbar progress to mediaPos\n }\n } catch (Exception e) {\n Toast.makeText(MainActivity.this, \" No song selected \", Toast.LENGTH_SHORT).show();\n }\n handler.removeCallbacks(moveSeekBarThread);\n handler.postDelayed(moveSeekBarThread, 100); // total delay before seek\n }", "title": "" } ]
[ { "docid": "f2f8cd92fe74146cdc7d846fe231a79e", "score": "0.7723914", "text": "private void configSeekBar()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "cf9c41b0187a5a2627cfca261fc45ba7", "score": "0.7437278", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress,\n boolean fromUser)\n {\n // sets customPercent to position of the SeekBar's thumb\n customPercent = progress / 100.0;\n updateCustom(); // update the custom tip TextViews\n }", "title": "" }, { "docid": "b80778bf08c5be27f175b30822374c06", "score": "0.7400506", "text": "@Override\r\n public void run() {\n timerSeekBar.setProgress(30);\r\n\r\n }", "title": "" }, { "docid": "2fa515de4fdedb9296299f4bef4a5a26", "score": "0.7388846", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean b) {\n }", "title": "" }, { "docid": "2fa515de4fdedb9296299f4bef4a5a26", "score": "0.7388846", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean b) {\n }", "title": "" }, { "docid": "2fa515de4fdedb9296299f4bef4a5a26", "score": "0.7388846", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean b) {\n }", "title": "" }, { "docid": "e1a38706ecb58b3eb96a076582714c0b", "score": "0.735406", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n\n }", "title": "" }, { "docid": "2670f228ae221e7b889c282025f7f4ec", "score": "0.7352459", "text": "private void volumeSeekBarInit() {\n try {\n volumeSeekBar.setMax(audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC));\n volumeSeekBar.setProgress(audioManager\n .getStreamVolume(AudioManager.STREAM_MUSIC));\n } catch (Exception e) {\n e.printStackTrace();\n }\n volumeSeekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n audioManager.setStreamVolume(AudioManager.STREAM_MUSIC,\n progress, 0);\n tv2.setText(String.valueOf((int) (progress * VOLUME_MUL_VALUE)));\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n }\n });\n }", "title": "" }, { "docid": "15b97fc7bc8a5b2b582523ffee2b2dfb", "score": "0.7348906", "text": "public void OperateSeekbar() {\n\n\n seek_bar = (SeekBar) findViewById(R.id.seekBar);\n seek_Text = (TextView) findViewById(R.id.DistanceText);\n seek_bar.setProgress(1);\n seek_bar.setMax(99);\n seek_Text.setText(seek_bar.getProgress()+\" km\");\n seek_bar.setOnSeekBarChangeListener(\n new SeekBar.OnSeekBarChangeListener() {\n int Progress_value;\n @Override\n public void onProgressChanged(SeekBar seekBar, int i, boolean b) {\n Progress_value =i;\n seek_Text.setText(i+\" km\");\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n seek_Text.setText(Progress_value+\" km\");\n getCurrentLatLong();\n SeekBarAsync seeek = new SeekBarAsync();\n seeek.execute();\n }\n }\n );\n }", "title": "" }, { "docid": "82526ec380c4fe3cc45b3539e7926cd5", "score": "0.73297185", "text": "private void runSeekBar()\n {\n getActivity().runOnUiThread(new Runnable() {\n @Override\n public void run() {\n int currentDuration;\n if(mpintro != null){\n if(seekBar.getProgress()!= mpintro.getDuration()) {\n int mCurrentPosition = mpintro.getCurrentPosition();\n seekBar.setProgress(mCurrentPosition);\n currentDuration = mpintro.getCurrentPosition();\n updatePlayer(currentDuration);\n mHandler.postDelayed(this, 1000);\n }else\n {\n //Set bacground icon Play and reset seekbar\n btnPlay.setBackgroundResource(R.drawable.ic_play_music);\n seekBar.setProgress(0);\n mpintro.seekTo(0);\n flagPlay++;\n }\n }\n }\n });\n\n }", "title": "" }, { "docid": "fa4526d56239d8176acde3fcb4f34c34", "score": "0.72971565", "text": "@AfterViews\n protected void init() {\n // Using the seek bar\n //\n seekBarSlider.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n boolean open = true;\n /**\n * User needs to move the bar at least by 80%\n */\n private static final int MIN_MOVE = 80;\n\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n if (fromUser) {\n if (seekBar.getProgress() >= MIN_MOVE) {\n seekBar.setThumb(ContextCompat.getDrawable(MainActivity.this, R.drawable.slider_locked));\n seekBar.setBackground(ContextCompat.getDrawable(MainActivity.this, R.drawable.seekbar_bg_locked));\n } else if (seekBar.getProgress() <= (100 - MIN_MOVE)) {\n seekBar.setThumb(ContextCompat.getDrawable(MainActivity.this, R.drawable.slider_open));\n seekBar.setBackground(ContextCompat.getDrawable(MainActivity.this, R.drawable.seekbar_bg_open));\n }\n }\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n // closed?\n if (open && seekBar.getProgress() >= MIN_MOVE) {\n open = false;\n // todo event ...\n Toast.makeText(MainActivity.this, \"SeekBar Locked ...\", Toast.LENGTH_SHORT).show();\n } else if (!open && seekBar.getProgress() <= (100 - MIN_MOVE)) {\n // todo event ...\n open = true;\n Toast.makeText(MainActivity.this, \"SeekBar Open ...\", Toast.LENGTH_SHORT).show();\n }\n if (open) {\n seekBar.setProgress(0);\n seekBar.setThumb(ContextCompat.getDrawable(MainActivity.this, R.drawable.slider_open));\n seekBar.setBackground(ContextCompat.getDrawable(MainActivity.this, R.drawable.seekbar_bg_open));\n } else {\n seekBar.setProgress(100);\n seekBar.setThumb(ContextCompat.getDrawable(MainActivity.this, R.drawable.slider_locked));\n seekBar.setBackground(ContextCompat.getDrawable(MainActivity.this, R.drawable.seekbar_bg_locked));\n }\n }\n });\n }", "title": "" }, { "docid": "72af9a819f77bea8d3538ef1308792ae", "score": "0.7263088", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n }", "title": "" }, { "docid": "72af9a819f77bea8d3538ef1308792ae", "score": "0.7263088", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n }", "title": "" }, { "docid": "cc305a0ca3e339d5c4bc61802a1926f8", "score": "0.7238099", "text": "@Override \n\t\t public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n\t\t \tt1.setText(String.valueOf(progress+15)); \n\t\t }", "title": "" }, { "docid": "8956141dae3ca185b67ea3784264b092", "score": "0.7201187", "text": "public ProgressBar() {\n\t\tthis.progress = 0.0f;\n\t}", "title": "" }, { "docid": "5891276e73bae4a923e3b019ad25c363", "score": "0.7196175", "text": "private void activateSeekBar() {\n Runnable mRunnable = () -> {\n while (player != null && player.isPlaying()) {\n Log.d(TAG, \"setListeners: Position: \" + player.getCurrentPosition() / 1000);\n binding.seekBar.setProgress(player.getCurrentPosition() / 1000);\n try {\n sleep(1000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n };\n //Execute SeekBar Update on separate thread\n Thread thread = new Thread(mRunnable);\n thread.start();\n }", "title": "" }, { "docid": "07987cf3c06c0e5232f0da514776c1aa", "score": "0.7191643", "text": "private void primarySeekBarProgressUpdater() {\n seekBarProgress.setProgress((int)(((float)mediaPlayer.getCurrentPosition()/mediaFileLengthInMilliseconds)*100)); // This math construction give a percentage of \"was playing\"/\"song length\"\n if (mediaPlayer.isPlaying()) {\n Runnable notification = new Runnable() {\n public void run() {\n primarySeekBarProgressUpdater();\n }\n };\n handler.postDelayed(notification,1000);\n }\n }", "title": "" }, { "docid": "074a83aa6d392d6efd0186444aac4cba", "score": "0.71736383", "text": "@Override\r\n public void run() {\n seekProg.setProgress(musicPlayer.getCurrentPosition());\r\n }", "title": "" }, { "docid": "fc13acbe04cca7ecc734e82fffc889f1", "score": "0.7157018", "text": "private void primarySeekBarProgressUpdater() {\n seekBarProgress.setProgress((int) (((float) mediaPlayer.getCurrentPosition() / mediaFileLengthInMilliseconds) * 100)); // This math construction give a percentage of \"was playing\"/\"song length\"\n if (mediaPlayer.isPlaying()) {\n Runnable notification = new Runnable() {\n public void run() {\n primarySeekBarProgressUpdater();\n }\n };\n handler.postDelayed(notification, 1000);\n }\n }", "title": "" }, { "docid": "d584ff0a0521df33d8e45629d6133e9e", "score": "0.7124789", "text": "void setSeekbarTo(int progress, int max);", "title": "" }, { "docid": "669be99fe65ff6a56b4783eb9026e5a8", "score": "0.71124727", "text": "void onSeekBarStartedTrackingChanges();", "title": "" }, { "docid": "7d1ae3ac1fb5d747ffa89de3534f93bd", "score": "0.7060975", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress,\n boolean fromUser) {\n }", "title": "" }, { "docid": "3b8d2d3d60927f2185b1bb35b7d4373c", "score": "0.70545214", "text": "private void setProgressValue() {\n\n // set the progress\n progressStatus = mPlayer.getPlaybackState().positionMs;\n bar.setProgress((int) TimeUnit.MILLISECONDS.toSeconds(progressStatus));\n\n // thread is used to change the progress value\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n try\n {\n synchronized (this) {\n wait(1000);\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n current.setText(String.format(\"%d:%02d\",\n TimeUnit.MILLISECONDS.toMinutes(progressStatus),\n TimeUnit.MILLISECONDS.toSeconds(progressStatus) - TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(progressStatus))\n ));\n }\n });\n }\n }\n catch (InterruptedException e)\n {\n e.printStackTrace();\n }\n setProgressValue();\n }\n });\n thread.start();\n }", "title": "" }, { "docid": "3927beab461a649bb0962bf62886176d", "score": "0.70068026", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/10);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyGray(res));//change to 0-100\r\n\t\t\t}", "title": "" }, { "docid": "5f0e41aacadb4fc4c53d8c780782c34c", "score": "0.6966416", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/5-100);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyHighlight(res));//change to -100-100\r\n\t\t\t}", "title": "" }, { "docid": "b854ccb2fd67a85b2ed32a0cb3cec308", "score": "0.69626147", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/5-100);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyShadow(res));//change to -100-100\r\n\t\t\t}", "title": "" }, { "docid": "c8ddc5d855db09e4004d54dc61abaa17", "score": "0.6960072", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/10);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyMoscia(res));//change to 0-100\r\n\t\t\t}", "title": "" }, { "docid": "7f0fc8ba4df4a0c6338327689c68810a", "score": "0.6935179", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n setThickness = (progress * 0.25f) + 0.25f;\n textThickness.setText(setThickness + \"\\\"\");\n\n calculateTimeTemp();\n }", "title": "" }, { "docid": "4b42d26aa686e6b5ba95b6648f2ad8c4", "score": "0.69241834", "text": "@Override\n \t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n \t\t\t\t\n \t\t\t\t preweight= progress;\n \t\t\t\t tv_preweight.setText(String.valueOf(preweight));\n \t\t\t\t\n \t\t\t}", "title": "" }, { "docid": "6f43c0fa3f4b166021f47ba9cc4c5e57", "score": "0.6923728", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/5-100);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyColorTeamperature(res/2));//change to -100-100\r\n\t\t\t}", "title": "" }, { "docid": "34dcfbfa0d08960cf94b60ac9eb1cc61", "score": "0.6886126", "text": "public String getSeekbarProgressValue();", "title": "" }, { "docid": "6d59834e0bed2ce877b65dc976dfd629", "score": "0.6862721", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/10);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res));\r\n\r\n\t\t\t}", "title": "" }, { "docid": "30174bfdef81e68b7a207bf4ff3d3fcb", "score": "0.68537164", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/5 - 100);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyLightness(res));//change to -100-100\r\n\t\t\t}", "title": "" }, { "docid": "8937c3e071e9d56d56fb38488895152b", "score": "0.6844432", "text": "public int setProgress() {\n if (this.mPlayer == null || this.mDragging) {\n return 0;\n }\n int position = this.mPlayer.getCurrentPosition();\n if (position < 0) {\n return position;\n }\n long right = this.mDuration - ((long) position);\n if (this.mSeekBar != null && this.mDuration > 0) {\n this.mSeekBar.setProgress((int) ((100 * ((long) position)) / this.mDuration));\n }\n if (this.textLeft != null) {\n this.textLeft.setText(stringForTime((long) position));\n }\n if (this.textRight == null) {\n return position;\n }\n this.textRight.setText(\"-\" + stringForTime(right));\n return position;\n }", "title": "" }, { "docid": "6194735205bdc7b971e9c185e3b4e319", "score": "0.6823133", "text": "private void initView() {\n buttonPlayPause = (ImageButton)findViewById(R.id.ButtonTestPlayPause);\n buttonPlayPause.setOnClickListener(this);\n\n seekBarProgress = (SeekBar)findViewById(R.id.SeekBarTestPlay);\n seekBarProgress.setMax(99); // It means 100% .0-99\n seekBarProgress.setOnTouchListener(this);\n\n mediaPlayer = new MediaPlayer();\n mediaPlayer.setOnBufferingUpdateListener(this);\n mediaPlayer.setOnCompletionListener(this);\n }", "title": "" }, { "docid": "73e2e8591fda271b324b07206dc42115", "score": "0.681752", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/5);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res-100));//display -100-100\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applySaturation(res*510/200));//change to 0-510\r\n\t\t\t}", "title": "" }, { "docid": "3588b8bb3eb62af7ae9e8f08480f70b2", "score": "0.68140477", "text": "public void onProgressChanged(SeekBar seekBar,\r\n\t\t\t\t\t\t\tint progress, boolean fromUser) {\n\t\t\t\t\t\tsoTinchisehoc = progress + 120;\r\n\t\t\t\t\t}", "title": "" }, { "docid": "723a61d99991b749fe9163f19e4266cf", "score": "0.6813408", "text": "@Override\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n\t\t\t\tseekBarValueText.setText(String.valueOf(progress));\n\t\t\t}", "title": "" }, { "docid": "286fa42867250398381b404143ca0d0d", "score": "0.6800024", "text": "@Override\r\n\t\tpublic void onClick(View v) {\n\t\t\tverticalSpeedSeekBar.setProgress(verticalSpeedSeekBar.getMax()/2);\r\n\t\t\tinitialHeightSeekBar.setProgress(initialHeightSeekBar.getMax()/2);\r\n\t\t\trotationSpeedSeekBar.setProgress(rotationSpeedSeekBar.getMax()/2);\r\n\t\t\tmovingDistanceSeekBar.setProgress(movingDistanceSeekBar.getMax()/2);\r\n\t\t\thorizontalSpeedSeekBar.setProgress(horizontalSpeedSeekBar.getMax()/2);\r\n\t\t}", "title": "" }, { "docid": "b058950c68ca3d88d6fc79610ae9a719", "score": "0.67954487", "text": "private void setSeekBarListener(){\n //seek bar\n sSeekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n mSongLeftTimeTv.setText(SongItem.formateTime(progress));\n updateMainPage();\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {}\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n if(mBaseService.isPlaying()) {\n mBaseService.callPause();\n mBaseService.callSeekTo(seekBar.getProgress());\n mBaseService.callContinueMusic();\n }\n else{\n mBaseService.callPause();\n mBaseService.callSeekTo(seekBar.getProgress());\n }\n }\n });\n }", "title": "" }, { "docid": "b65c4a50f7ef358d6d173614a9e1c1fa", "score": "0.6786922", "text": "@Override\n public void progress(final int progress) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n progressBar.setProgress(progress);\n }\n });\n }", "title": "" }, { "docid": "68ec3df491747c40bba0c57fe37f6d2d", "score": "0.6785776", "text": "private void animateMediaplayerProgressOnSeekbar(){\n final Handler mHandler = new Handler();\n //Make sure you update Seekbar on UI thread\n seekbarAnimationThread = null;\n seekbarAnimationThread = new Thread() {\n @Override\n public void run() {\n //one second has past ... update seekbar and song:lastPositoin\n if(mediaPlayerService.mediaPlayerReady()){\n int mCurrentPosition = mediaPlayerService.getCurrentPosition() / 1000;\n playListActivity.seekBar.setProgress(mCurrentPosition);\n playListActivity.tv_seekbar_progress.setText(Song.getDurationString(mediaPlayerService.getCurrentPosition()));\n }\n mHandler.postDelayed(this, 1000);\n }\n };\n playListActivity.runOnUiThread(seekbarAnimationThread);\n }", "title": "" }, { "docid": "fbbf8dc620d105f76e0c89720f0b0160", "score": "0.67802894", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/5-100);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res * 9 / 5));\r\n\t\t\t}", "title": "" }, { "docid": "8ce9f4361363d62589f3fee15e7f7df1", "score": "0.6779476", "text": "@Override\n public void run() {\n initSeekBar(localMaxVolume, localVolume, remoteMaxVolume, remoteVolume);\n initMuteSwitch(localMuteStatus, remoteMuteStatus);\n }", "title": "" }, { "docid": "7331dd9fba43859e1b859c0cb966578c", "score": "0.6759217", "text": "@Override\n public void onProgress(int arg0) {\n\n }", "title": "" }, { "docid": "71bd1eb62202e8f18d567ebd4e5adc00", "score": "0.6757479", "text": "@Override\n protected void onProgressUpdate(Integer... progress) {\n progressBar.setVisibility(View.VISIBLE);\n\n // updating progress bar value\n progressBar.setProgress(progress[0]);\n\n // updating percentage value\n txtPercentage.setText(String.valueOf(progress[0]) + \"%\");\n }", "title": "" }, { "docid": "76cdad18eff423346e3d26e30c975bad", "score": "0.67574036", "text": "public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) \r\n \t\t\t\t {\n \t\t\t\t \tTextView alertval=(TextView)aview.findViewById(R.id.Seekalertvalue);\r\n \t\t\t\t \talertval.setText(String.valueOf(progress));\r\n \t\t\t\t \t\r\n \t\t\t\t }", "title": "" }, { "docid": "76cdad18eff423346e3d26e30c975bad", "score": "0.67574036", "text": "public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) \r\n \t\t\t\t {\n \t\t\t\t \tTextView alertval=(TextView)aview.findViewById(R.id.Seekalertvalue);\r\n \t\t\t\t \talertval.setText(String.valueOf(progress));\r\n \t\t\t\t \t\r\n \t\t\t\t }", "title": "" }, { "docid": "269f14633f0de32d3e14297457e6e29d", "score": "0.6743469", "text": "private void updateState(SeekBar seekBar) {\n\t Toast.makeText(getApplicationContext(), \"SettingActivity UpdateState\", Toast.LENGTH_SHORT).show();\r\n \tswitch (seekBar.getId()) {\r\n \t/*\r\n \t * case R.id.SeekBarRed: red = seekBar.getProgress(); updateRed();\r\n \t * break;\r\n \t */\r\n \tcase R.id.initialHeightSeekBar:\r\n \t\tinitialHeightMagnitude = seekBar.getProgress();\r\n\r\n \t\tinitialHeightTextView.setText(Integer.toString(initialHeightMagnitude)); // 將power_Val轉型塞到textbox裡面\r\n\r\n \t\tbreak;\r\n \t\t\r\n \tcase R.id.rotationSpeedSeekBar:\r\n \t\trotationSpeedMagnitude = seekBar.getProgress();\r\n\r\n \t\trotationSpeedTextView.setText(Integer.toString(rotationSpeedMagnitude)); // 將power_Val轉型塞到textbox裡面\r\n\r\n \t\tbreak;\r\n\r\n \tcase R.id.horizontalSpeedSeekBar:\r\n \t\thorizontalSpeedMagnitude = seekBar.getProgress();\r\n\r\n \t\thorizontalSpeedTextView.setText(Integer.toString(horizontalSpeedMagnitude)); // 將power_Val轉型塞到textbox裡面\r\n\r\n \t\tbreak;\r\n\r\n \tcase R.id.verticalSpeedSeekBar:\r\n \t\tverticalSpeedMagnitude = seekBar.getProgress();\r\n\r\n \t\tverticalSpeedTextView.setText(Integer.toString(verticalSpeedMagnitude)); // 將power_Val轉型塞到textbox裡面\r\n\r\n \t\tbreak;\r\n\r\n \tcase R.id.movingDistanceSeekBar:\r\n \t\tmovingDistanceMagnitude = seekBar.getProgress();\r\n\r\n \t\tmovingDistanceTextView.setText(Integer.toString(movingDistanceMagnitude)); // 將power_Val轉型塞到textbox裡面\r\n\r\n \t\tbreak;\r\n\r\n \t/*\r\n \t * case R.id.SeekBarBlue: blue = seekBar.getProgress(); updateBlue();\r\n \t * break;\r\n \t */\r\n\t}\r\n }", "title": "" }, { "docid": "9d92d49ae73c64e5f938773267b7e0b9", "score": "0.6739618", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(83)+s*value/1000);\r\n\t\t\t\tparamsStrength.topMargin = ScaleUtils.scale(40);\r\n\t\t\t\tmValueTxt.setLayoutParams(paramsStrength);\r\n\t\t\t\tint res = (value/5-100);\r\n\t\t\t\tmValueTxt.setText(String.valueOf(res));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyExposure(value/10));//change to -100-100\r\n\t\t\t}", "title": "" }, { "docid": "22bd742c89b6990538f8b8984d5346ec", "score": "0.67373794", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(123)+s*value/(aUint*10));\r\n\t\t\t\tmBTextView.setLayoutParams(paramsStrength);\r\n\t\t\t\ts = (value-aUint*5)/10;\r\n\t\t\t\tmBTextView.setText(String.valueOf(s));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyBC(s, (mCSeekBar.getProgress()-bUint*5)/10));\r\n\t\t\t}", "title": "" }, { "docid": "63ecc8f8086a4bfbdd485a45a6b71a6f", "score": "0.673539", "text": "@Override\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\n\t\t\t\t\tboolean fromUser) {\n\t\t\t}", "title": "" }, { "docid": "5a2e836a27d9bd5d3522b321c4640012", "score": "0.6724171", "text": "private void SeekBarProgressUpdater()\n {\n if (mediaPlayer.isPlaying())\n {\n notification = new Runnable()\n {\n public void run()\n {\n SeekBarProgressUpdater();\n int i = mediaPlayer.getCurrentPosition();\n int j = i / 1000 % 60;\n int k = i / 60000 % 60;\n String str = String.valueOf(\"0\" + k + \".\" +j);\n starttime.setText(str);\n }\n };\n seekbar.setProgress(mediaPlayer.getCurrentPosition());\n handler.postDelayed(notification, 100);\n }\n}", "title": "" }, { "docid": "e49c18278b03a6de67d7b29860337169", "score": "0.6707115", "text": "@Override\r\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\t\t\t\t\t\t\t boolean fromUser) {\n\t\t\t\tint value = seekBar.getProgress();\r\n\t\t\t\tLayoutParams paramsStrength = new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);\r\n\t\t\t\tint s = GlobalDefinitions.SCREEN_WIDTH-ScaleUtils.scale(240);\r\n\t\t\t\tparamsStrength.leftMargin = (int) (ScaleUtils.scale(123)+s*value/(bUint*10));\r\n\t\t\t\tmCTextView.setLayoutParams(paramsStrength);\r\n\t\t\t\ts = (value-bUint*5)/10;\r\n\t\t\t\tmCTextView.setText(String.valueOf(s));\r\n\t\t\t\tmImgView.setImageBitmap(null);\r\n\t\t\t\tmImgView.setImageBitmap(mPhotoEdit.applyBC((mBSeekBar.getProgress()-bUint*5)/10,s));\r\n\t\t\t}", "title": "" }, { "docid": "ea9e13c2dd9eb13871eaf382271de6f4", "score": "0.66897416", "text": "void setProgress(double progress);", "title": "" }, { "docid": "2abb4a5188f6831c1f0d7a60a98c66ef", "score": "0.6687835", "text": "private void setupSeekBars() {\n mSeekBarTextSize = (SeekBar) findViewById(R.id.seekBarTextSize);\n mSeekBarWpm = (SeekBar) findViewById(R.id.seekBarWpm);\n if (mSeekBarWpm != null && mSeekBarTextSize != null) {\n mSeekBarWpm.setMax(mSpritzerTextView.getWpm() * 2);\n\n mSeekBarTextSize.setMax((int) mSpritzerTextView.getTextSize() * 2);\n mSeekBarWpm.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n if (progress > 0) {\n mSpritzerTextView.setWpm(progress);\n }\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n }\n });\n mSeekBarTextSize.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n mSpritzerTextView.setTextSize(progress);\n\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n\n }\n });\n\n mSeekBarWpm.setProgress(mSpritzerTextView.getWpm());\n mSeekBarTextSize.setProgress((int) mSpritzerTextView.getTextSize());\n }\n\n }", "title": "" }, { "docid": "e888e81a3d0d52fe39a91443e82d994a", "score": "0.6660665", "text": "private void setProgressBarValues() {\n\n progressBarCircle.setMax((int) timeCountInMilliSeconds / 1000);\n progressBarCircle.setProgress((int) timeCountInMilliSeconds / 1000);\n }", "title": "" }, { "docid": "e888e81a3d0d52fe39a91443e82d994a", "score": "0.6660665", "text": "private void setProgressBarValues() {\n\n progressBarCircle.setMax((int) timeCountInMilliSeconds / 1000);\n progressBarCircle.setProgress((int) timeCountInMilliSeconds / 1000);\n }", "title": "" }, { "docid": "eadce1b5fcbc99ead4f514b5a9888fd8", "score": "0.6660156", "text": "@Override\n public void onBufferingUpdate(MediaPlayer mp, int percent) {\n seekBarProgress.setSecondaryProgress(percent);\n }", "title": "" }, { "docid": "f44fb40b1d99fb1800665df3b4129515", "score": "0.66358244", "text": "@Override\n\t\t\t\t\tpublic void onProgressChanged(SeekBar arg0, int arg1,\n\t\t\t\t\t\t\tboolean arg2) {\n\t\t\t\t\t\taudioManager.setStreamVolume(AudioManager.STREAM_MUSIC,\n\t\t\t\t\t\t\t\targ1, 0);\n\t\t\t\t\t}", "title": "" }, { "docid": "3033baebfc3ca9c86123b26a7318cea3", "score": "0.66345644", "text": "@Override\n\t\tpublic void onProgressChanged(SeekBar arg0, int arg1, boolean arg2) {\n\t\t\t\n\t\t\ttipAmount = (tipSeekBar.getProgress()) * .01;\n\t\t\t\n\t\t\t// Set tipAmountET with the value from the SeekBar\n\t\t\t\n\t\t\ttipAmountET.setText(String.format(\"%.02f\", tipAmount));\n\t\t\t\n\t\t\t// Update all the other EditTexts\n\t\t\t\n\t\t\tupdateTipAndFinalBill();\n\t\t\t\n\t\t}", "title": "" }, { "docid": "5afbd639c880f2832d6585dfb2361b42", "score": "0.6632281", "text": "private void configureProgressBar() {\r\n progressBar = findViewById(R.id.progress_bar);\r\n progressBar.setVisibility(View.GONE);\r\n loadingData = findViewById(R.id.loadingDataText);\r\n loadingData.setVisibility(View.INVISIBLE);\r\n }", "title": "" }, { "docid": "eecb5357e6ab97ff7f50b2368d075d41", "score": "0.6629326", "text": "@Override\n public void onTick(long millisUntilFinished) {\n i++;\n mProgressBar.setProgress((int)i*100/(5000/1000));\n\n }", "title": "" }, { "docid": "40b9576659826c4b1362d843a5a1188b", "score": "0.66009897", "text": "@Override\r\n\t\t\tpublic void onProgress(Integer arg0) {\n\r\n\t\t\t}", "title": "" }, { "docid": "093374071d34a4a2593ae9808d1f8dd0", "score": "0.6599441", "text": "@Override\n\t\tpublic void onProgressChanged(float currentProgress) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8022dca3cbe3b51d8733cdff058ce4f1", "score": "0.65982926", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progresValue, boolean fromUser) {\n\n switch (seekBar.getId()){\n case R.id.seekBar1: {\n progressRed = progresValue;\n break;\n }\n case R.id.seekBar2: {\n progressGreen = progresValue;\n break;\n }\n case R.id.seekBar3: {\n progressBlue = progresValue;\n break;\n }\n }\n\n // Toast.makeText(getApplicationContext(), \"Changing seekbar's progress\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "043b591532cf748920e48abad2b3f26f", "score": "0.65731525", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n\n if (fromUser) {\n double percentage = (double) progress / (double) MAX_PROGRESS_SEEKBAR;\n Log.d(TAG, \"percentage: \" + percentage);\n mCurrentRuntimeInMillis = (int) (percentage * (double) mCurrentFinalRuntimeInMillis);\n mCurrentSeekPercentage = progress;\n changeRuntimeCurrentPlaying();\n\n } else {\n changeRuntimeCurrentPlaying();\n }\n\n Log.d(TAG, \"progress bar:\" + progress + \" max seek bar: \" + MAX_PROGRESS_SEEKBAR + \" currentMilis: \" + mCurrentRuntimeInMillis + \" currentFinalMilis: \" + mCurrentFinalRuntimeInMillis);\n\n }", "title": "" }, { "docid": "b7ebd2e5abe9e5c807729e0d4712945c", "score": "0.6573027", "text": "@Override\n public void onProgress(int i) {\n }", "title": "" }, { "docid": "e40c465c751def7201f73117f0abaa16", "score": "0.6572563", "text": "@Override\r\n public void onProgressChanged(SeekBar seekBar, int progress,\r\n boolean fromUser) {\n if (fromUser) {\r\n int SeekPosition=seekBar.getProgress();\r\n audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, SeekPosition, 0);\r\n }\r\n volumeView.setText(String.valueOf(progress));\r\n }", "title": "" }, { "docid": "b5f11d3156925fbef035b02d81d86848", "score": "0.6563825", "text": "@Override\r\n\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\t\tboolean fromUser) {\n\t\t\tUtils.printLog(TAG, \"SeekBarListener onProgressChanged progress =\"+progress+\" fromUser =\"+fromUser);\r\n\t\t\tif(fromUser ){\r\n\t\t\t\t\r\n\t\t\t\tif(sEndTime>0&&ispreparePlayed){\r\n\t\t\t\t\tfinal long time = progress *(long)sEndTime /Utils.SeekBarLength;\r\n\t\t\t\t\tUtils.printLog(TAG, \"SeekBarListener mseekbariwidth=\"+mPlayerSeekar.getWidth()+\" onProgressChanged sEndTime =\"+sEndTime+\" time =\"+time);\r\n\t\t\t\t\tnew Thread(new Runnable() {\r\n\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\tmVideoContrl.seekTo((int) time);\r\n\t\t\t\t\t\t\tmVideoPlayerHander.sendEmptyMessage(DISMISS_PLAYER_PAUSE_ICON);\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}).start();\r\n\t\t\t\t\tlong xoff = (mPlayerSeekar.getWidth()-Utils.SeekBarThumbLength)*(long)progress/Utils.SeekBarLength;\r\n\t\t\t\t\tseekBarPopWindow.showText(mPlayerSeekar, Utils.getTimeShort((int) time),(int)xoff,-12);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tmPlayerSeekar.setProgress(0);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "15e72eb82c07338fa027b13b484616be", "score": "0.6561548", "text": "private void setUpProgressBar() {\r\n\t\tprogress = new JProgressBar( );\r\n\t\tprogress.setPreferredSize( new Dimension( 100, 20 ) );\r\n\t\tprogress.setBounds( 0, 0, 100, 20 );\t\t\r\n\t}", "title": "" }, { "docid": "28456db6882855331c9dce272474936a", "score": "0.6549857", "text": "private ProgressListener() {\n }", "title": "" }, { "docid": "e32d590125abc83d325a2cdb6342f83a", "score": "0.65475094", "text": "@Override\n public void run() {\n playerSeekbar.setProgress(mediaPlayer.getCurrentPosition());\n\n //Causes the Runnable r to be added to the message queue,\n // to be run after the specified amount of time elapses.\n seekbarHandler.postDelayed(this, 0);//can change the seekbar realtime progress delay\n }", "title": "" }, { "docid": "b03c4d46a2e9fa1b3927e0570f3ff81c", "score": "0.65452445", "text": "@Override\n protected void onProgressUpdate(Integer... values) {\n progressBar.setProgress(values[0]);\n mTextView.setText(values[0] + \"%\");\n super.onProgressUpdate(values);\n }", "title": "" }, { "docid": "9304fe5e32d384b9a4d6acca6723d638", "score": "0.6538785", "text": "@Override\n protected void onProgressUpdate(Integer... values) {\n if (values[0] <= 100) {\n tv_progress.setText(\"Progress: \" + Integer.toString(values[0]) + \"%\");\n pb_progressBar.setProgress(values[0]);\n }\n }", "title": "" }, { "docid": "a69bd89ae96525f95bbff547703b5135", "score": "0.65233356", "text": "public Progress() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\t}", "title": "" }, { "docid": "6e5c0729648cb4677cee4dbb4f633ac5", "score": "0.65204215", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n if (player != null && fromUser) {\n player.seekTo(progress * 1000);\n }\n //Update Progress Text View\n int minutes = (progress % 3600) / 60;\n int seconds = progress % 60;\n String progressTxt = String.format(Locale.ENGLISH, \"%d:%02d\", minutes, seconds);\n binding.progressTV.setText(progressTxt);\n }", "title": "" }, { "docid": "b0b3a100d79fe87afed8aff558650d23", "score": "0.6518479", "text": "@Override\r\n\tpublic void onProgressChanged(SeekBar seekBar, int progress,\r\n\t\t\tboolean fromUser) {\n\t\tif (unit.startsWith(\"m\")) {\r\n\t\t\ttv.setText(StaticMethods.getNiceMeasure(sb.getProgress()*SEEKBAR_STEP, Units.DISTANCE_METER));\r\n\t\t} else {\r\n\t\t\ttv.setText(StaticMethods.getNiceMeasure(sb.getProgress()*SEEKBAR_STEP, Units.DISTANCE_KILOMETER));\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5e21989cb21c650c8fb2d7e0e6482a11", "score": "0.65122193", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress,\n boolean fromUser) {\n bedfilt =String.valueOf(progress);\n bedView.setText( String.valueOf(progress)+ \" bedrooms\");\n }", "title": "" }, { "docid": "1191e044d9a4643db174946df9348b45", "score": "0.6501646", "text": "@Override\n\tpublic void onProgressUpdate() {\n\n\t}", "title": "" }, { "docid": "e640e7cc205775a2716f425705adff86", "score": "0.64917016", "text": "@Override\n public void run() {\n if(mediaPlayerService.mediaPlayerReady()){\n int mCurrentPosition = mediaPlayerService.getCurrentPosition() / 1000;\n playListActivity.seekBar.setProgress(mCurrentPosition);\n playListActivity.tv_seekbar_progress.setText(Song.getDurationString(mediaPlayerService.getCurrentPosition()));\n }\n mHandler.postDelayed(this, 1000);\n }", "title": "" }, { "docid": "8ce2be5f49aecf57529401382d2ad1a7", "score": "0.6487738", "text": "@Override\n protected void onProgressUpdate(Integer... values)\n {\n progressDialog.setProgress(values[0]);\n }", "title": "" }, { "docid": "0415d447411dcd26ed182e6383f77d7f", "score": "0.6469265", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress,\n boolean fromUser) {\n distfilt = String.valueOf(progress);\n\n distView.setText( String.valueOf(progress)+\" km\");\n }", "title": "" }, { "docid": "1af6a0282894f3f3af5233723bb5acd0", "score": "0.64622957", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int i, boolean b) {\n //When progress is changed, update our currentlevel map and adjust the textview to display the value\n currentLevel.put(activityList.get(position),seekBar.getProgress());\n if (activityList.get(position).contains(\"_REP\")) {\n progress.setText(Integer.toString(sb.getProgress()).concat(\" Reps\"));\n } else if (activityList.get(position).contains(\"_TIM\")) {\n String displayString = converter.convertUnit(sb.getProgress(),\"TIM\");\n progress.setText(displayString);\n } else {\n if (activityList.get(position).contains(\"_DTA-T\")) {\n String displayString = converter.convertUnit(sb.getProgress(),\"DTA-T\");\n progress.setText(displayString);\n }else if(activityList.get(position).contains(\"Swimming\")){\n progress.setText(Integer.toString(sb.getProgress()).concat(\" Laps\"));\n } else{\n String displayString = converter.convertUnit(sb.getProgress(),\"DTA-D\");\n progress.setText(displayString);\n }\n }\n }", "title": "" }, { "docid": "ab8ed72199d88e615bcd205c144f0487", "score": "0.6448635", "text": "public MaterialSeekBar(Context context) {\n super(context);\n isTextVisible = false;\n\n mTextPaint = new TextPaint();\n mTextPaint.setColor(getResources().getColor(R.color.pink_800));\n mTextPaint.setTextSize(getResources().getDimensionPixelSize(R.dimen.seekbar_thumb_text));\n mTextPaint.setTypeface(Typeface.DEFAULT_BOLD);\n mTextPaint.setTextAlign(Paint.Align.CENTER);\n\n final SeekBar thisSeekbar = this;\n\n seekBarThumbNotAnimated = VectorDrawableCompat.create(getResources(), R.drawable.seekbar_thumb_vector, null);\n\n seekBarThumb = AnimatedVectorDrawableCompat.create(context, R.drawable.seekbar_thumb_animation);\n seekBarThumb.registerAnimationCallback(new Animatable2Compat.AnimationCallback() {\n @Override\n public void onAnimationEnd(Drawable drawable) {\n super.onAnimationEnd(drawable);\n if (thisSeekbar.getThumb() == seekBarThumb) {\n isTextVisible = true;\n Log.i(\"CATs\", \"AnimationForwards:TRUE\");\n }\n }\n });\n seekBarThumbBackwards = AnimatedVectorDrawableCompat.create(context, R.drawable.seekbar_thumb_animation_backward);\n seekBarThumbBackwards.registerAnimationCallback(new Animatable2Compat.AnimationCallback() {\n @Override\n public void onAnimationStart(Drawable drawable) {\n super.onAnimationStart(drawable);\n isTextVisible = false;\n Log.i(\"CATs\", \"AnimationBackwards:FALSE\");\n }\n @Override\n public void onAnimationEnd (Drawable drawable) {\n super.onAnimationEnd(drawable);\n thisSeekbar.setThumb(seekBarThumbNotAnimated);\n isTextVisible = false;\n Log.i(\"CATs\", \"AnimationBackwards:FALSE\");\n //set height to 20dp\n thisSeekbar.getLayoutParams().height = (int)(20*scale+0.5f);\n //set padding to n 0 n 0\n thisSeekbar.setPadding(thisSeekbar.getPaddingLeft(), 0, thisSeekbar.getPaddingRight(), 0);\n //set margin top to 0\n ViewGroup.MarginLayoutParams params = (ViewGroup.MarginLayoutParams) thisSeekbar.getLayoutParams();\n params.topMargin = 0;\n thisSeekbar.requestLayout();\n }\n });\n\n this.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean b) {\n //here you can change progress if you want (at your own risk :) )\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n thisSeekbar.setThumb(seekBarThumb);\n seekBarThumb.start();\n //set height to 120dp\n thisSeekbar.getLayoutParams().height = (int)(120*scale+0.5f);\n //set padding to n 100dp n 0\n thisSeekbar.setPadding(thisSeekbar.getPaddingLeft(), (int)(100*scale+0.5f), thisSeekbar.getPaddingRight(), 0);\n ViewGroup.MarginLayoutParams params = (ViewGroup.MarginLayoutParams) thisSeekbar.getLayoutParams();\n params.topMargin = -(int)(100*scale+0.5f);\n thisSeekbar.requestLayout();\n //set margin top -100dp: do not bother me, i know it's a bad practice, if you have a\n //suggetion just open an issue, but i do not promise i will reply :)git\n Log.i(\"CATs\", \"StartTrackingTouch:\");\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n thisSeekbar.setThumb(seekBarThumbBackwards);\n seekBarThumbBackwards.start();\n isTextVisible = false;\n Log.i(\"CATs\", \"StopTrackingTouch:FALSE\");\n }\n });\n }", "title": "" }, { "docid": "64746ae499494867a3d01927977af002", "score": "0.64476395", "text": "public void updateProgressBar() {\n this.mProgressBarWidget.updateProgress(getCurrentPosition());\n }", "title": "" }, { "docid": "8fbe9db3e6d29aa156434da0be88afa6", "score": "0.643969", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n NumberFormat nf = NumberFormat.getInstance();\n valueLabel.setText(nf.format(progress));\n\n }", "title": "" }, { "docid": "c9302b9622f2079868964a5d89d46fcb", "score": "0.6437448", "text": "public void setProgress(float progress) {\n ProgressBar progressBar = mToolbarView.findViewById(R.id.progress_bar);\n progressBar.setProgress(Math.round(progress * 100));\n }", "title": "" }, { "docid": "14c6a81bfc88a75ab42c225b9e1f8f12", "score": "0.64307517", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n temp = progress - start;\n discrete = (int) Math.round((((temp * 9.0) / 5.0) + 32)); //convert C to F temp\n textView.setText(\" Celsius at \" + temp + \" degrees\");\n }", "title": "" }, { "docid": "79895f4c853628c41b82612dbf45e4a3", "score": "0.64242923", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n holder.ValueDisplay.setText(String.valueOf(progress));\n sympVal = progress;\n }", "title": "" }, { "docid": "b8ee524a3ecfa0fd9a2858ba8d793e66", "score": "0.64230585", "text": "@Override\r\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n RGBColor(progress,seekbarGreen.getProgress(),seekbarBleu.getProgress());\r\n }", "title": "" }, { "docid": "523b7d39d9fa4eb83a5ba79e3225f19a", "score": "0.64210325", "text": "@Override\n\t\t\tpublic void onProgressChanged(SeekBar arg0, int progress, boolean arg2) {\n\t\t\t\ttextsizetext.setText(String.valueOf(18+progress));\n\t\t\t\tTextSize_Value = 18+progress;\n\t\t\t\tSystem.out.println(\"TEXT_SIZE_GET: \"+TextSize_Value);\n\t\t\t}", "title": "" }, { "docid": "997d31e2f0d7bc676689a15ea5221010", "score": "0.6406574", "text": "@Override\n \t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n \t\t\t\t\n \t\t\t\t prehour= progress;\n \t\t\t\t tv_prehour.setText(String.valueOf(prehour));\n \t\t\t\t\n \t\t\t}", "title": "" }, { "docid": "fe7572b3c128c76704712e876b9f205e", "score": "0.64035666", "text": "protected void onProgressUpdate(Integer... progress){\n // Display the progress on text view\n // mTextView.setText(\"Staženo : \"+progress[0] + \" %\");\n // Update the progress bar\n //mProgressBar.setProgress(progress[0]);\n }", "title": "" }, { "docid": "bb7070f95737b0083cf4460c5cf60e19", "score": "0.6389802", "text": "protected void onProgressUpdate(Integer... progress) {\n\r\n\t\tprogressBar.setProgress(progress[0]);\r\n\r\n\t}", "title": "" }, { "docid": "227b2b078078626f792e793656c66521", "score": "0.6381967", "text": "synchronized private void primarySeekBarProgressUpdater(View view, MediaPlayer mp) {\n SeekBar seekBar;\n TextView mediaTime;\n\n seekBar = view.findViewById(R.id.seekBar);\n mediaTime = view.findViewById(R.id.mediaTime);\n\n int durationInMillis = mp.getDuration();\n int curVolume = mp.getCurrentPosition();\n long HOUR = 60 * 60 * 1000;\n if (mediaTime != null) {\n if (durationInMillis > HOUR) {\n mediaTime.setText(String.format(\"%1$tH:%1$tM:%1$tS\", new Date(curVolume))\n + \" / \" + String.format(\"%1$tH:%1$tM:%1$tS\", new Date(durationInMillis)));\n } else {\n mediaTime.setText(String.format(\"%1$tM:%1$tS\", new Date(curVolume))\n + \" / \" + String.format(\"%1$tM:%1$tS\", new Date(durationInMillis)));\n }\n }\n\n seekBar.setProgress((int) (((float) mp.getCurrentPosition() / mediaFileLengthInMilliseconds) * 100)); // This math construction give a percentage of \"was playing\"/\"song length\"\n if (mp.isPlaying()) {\n Runnable notification = () -> primarySeekBarProgressUpdater(view, mp);\n handler.postDelayed(notification, 1000);\n Log.d(\"handler\", \"delay applied\");\n }\n }", "title": "" }, { "docid": "ad8f1bb9e5f0740c9a84fd788987db6f", "score": "0.6380534", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n //Si existe el mediaPlayer y el progreso de cambio ha sido iniciado por el usuario..\n if(mediaPlayer != null && fromUser){\n mediaPlayer.seekTo(progress); //Cambia la barra de progreso a la nueva posicion\n }\n }", "title": "" }, { "docid": "6716d131c549e94786d51b9fe74db5a0", "score": "0.6379217", "text": "@Override\r\n public void onStartTrackingTouch(SeekBar arg0) {\n\r\n }", "title": "" }, { "docid": "f8bb0432418b7c38c1442a1ac92bd814", "score": "0.6376898", "text": "public void updateSeekBar(Event event) {\n setSeekBarMax(event);\n setSeekBarProgress(event);\n }", "title": "" }, { "docid": "6b5fbdfd2cffa572c36dbb7e4efac35f", "score": "0.6372777", "text": "@Override\n public void onProgressChanged(SeekBar seekBar, int progress,\n boolean fromUser) {\n String tvtext = \"max \" + progress + \"km\";\n dt.setText(tvtext);\n }", "title": "" } ]
9a521494d661a88dabbd44caf923d8fa
/ Checks that a Taint instance created via the zeroargument constructor is considered to be empty.
[ { "docid": "3541a1a817bda4c15a2c7792221fb2ff", "score": "0.8077915", "text": "@Test\n public void testConstructEmptyTaint() {\n Taint t = Taint.emptyTaint();\n assertTrue(t.isEmpty());\n }", "title": "" } ]
[ { "docid": "ee8797e33da537ff51b2209b717222ab", "score": "0.6949645", "text": "@Test\n public void testTaintContainsEmptyTaint() {\n Taint t = Taint.withLabel(2);\n Taint t2 = Taint.emptyTaint();\n assertTrue(t.isSuperset(t2));\n assertFalse(t2.isSuperset(t));\n }", "title": "" }, { "docid": "91eb798df1624182b765d085d4e7a6b7", "score": "0.68656874", "text": "@Test\n public void testConstructTaintFromNullTaint() {\n Taint other = null;\n Taint t = Taint.withLabel(other);\n assertTrue(t.isEmpty());\n }", "title": "" }, { "docid": "44b42e525b9e6b0619681a9729cd3414", "score": "0.67723155", "text": "@Test\n public void testConstructTaintFromNullLabel() {\n Integer label = null;\n Taint t = Taint.withLabel(label);\n assertTrue(t.isEmpty());\n }", "title": "" }, { "docid": "e809b70531dd3a65bc749a06b90ffec7", "score": "0.6682855", "text": "@Test\n public void testEmptyTaintContainsNullTaint() {\n Taint t = Taint.emptyTaint();\n assertTrue(t.containsLabel(null));\n }", "title": "" }, { "docid": "f8935547b7c5e55aadbd09f16539dda9", "score": "0.66726756", "text": "@Test\n public void testEmptyTaintContainsEmptyTaint() {\n Taint t = Taint.emptyTaint();\n Taint t2 = Taint.emptyTaint();\n assertTrue(t.isSuperset(t2));\n }", "title": "" }, { "docid": "02c3ad7a6fe638e7d1cff5d63e277440", "score": "0.6604295", "text": "public void makeEmpty();", "title": "" }, { "docid": "02c3ad7a6fe638e7d1cff5d63e277440", "score": "0.6604295", "text": "public void makeEmpty();", "title": "" }, { "docid": "52467c6180026080345e9b2f8a3520c8", "score": "0.65240717", "text": "public abstract void makeEmpty();", "title": "" }, { "docid": "1716527ba5e691966099fba60a09e643", "score": "0.6415413", "text": "private boolean isEmpty() { return getSize() == 0; }", "title": "" }, { "docid": "6089cbabdcbb342fcaf9c240f060c77a", "score": "0.6415247", "text": "public boolean is_T_EMPTY() {\n return (this.t.get_T().length() == 0) ? true : false;\n }", "title": "" }, { "docid": "21b64e59451a5a2117e611dceb5f760d", "score": "0.6387271", "text": "public boolean isEmpty() { return true; }", "title": "" }, { "docid": "10930852a2219746f458e60292d97180", "score": "0.63785785", "text": "public boolean isEmtpyBySize(){\n\t\treturn size == 0;\n\t}", "title": "" }, { "docid": "f97738f3382244e6f534d4d60a7d06ce", "score": "0.6350664", "text": "@Override\n public boolean isEmpty() { return true; }", "title": "" }, { "docid": "eb2e0f7c719b26338ab8658c7065f4be", "score": "0.6326523", "text": "public boolean isEmptyHuh() {\n return true; \n }", "title": "" }, { "docid": "3b2a4cb6ef25f28375fae7f6835d965a", "score": "0.62775433", "text": "public boolean is_empty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "5ecc22f1132adbadc5695129eda9b1c3", "score": "0.6268065", "text": "private boolean isEmpty(){\n return (numInstances() == 0);\n }", "title": "" }, { "docid": "d6652d462c61d74358f0055820a82c30", "score": "0.6252727", "text": "public boolean isClassEmpty()\r\n {\r\n return(number_of_entries == 0);\r\n }", "title": "" }, { "docid": "caf9677daeaa4e1dc307511a285ed6da", "score": "0.6250523", "text": "@Override\r\n\tpublic boolean isempty() {\n\t\treturn count<=0;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "f96b0752ba9833e26594ab07c17f55c8", "score": "0.6242619", "text": "@Test\n public void testIsEmpty_Not_Empty() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(1);\n instance.add(2);\n instance.add(3);\n\n boolean expResult = false;\n boolean result = instance.isEmpty();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "41e6fec7c77791086e1175e426ea7496", "score": "0.6237894", "text": "private boolean isEmpty() {\n\t\treturn size() == 0;\n\t}", "title": "" }, { "docid": "d2ff781a3ad5b8da88c5ea9df14d9d44", "score": "0.622346", "text": "@Test\n public void testIsEmpty() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(1);\n instance.add(2);\n instance.add(3);\n instance.add(4);\n instance.clear();\n\n boolean expResult = true;\n boolean result = instance.isEmpty();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "32f843405a7f0be1dcb08835f1f461d5", "score": "0.62096834", "text": "@Test\n public final void testConstructorEmpty() {\n Set<String> s = this.constructorTest();\n Set<String> sExpected = this.constructorRef();\n /*\n * Assert that values of variables match expectations\n */\n assertEquals(sExpected, s);\n }", "title": "" }, { "docid": "91fddb26a8f918a8357e55516ac0772a", "score": "0.62076277", "text": "private static void assertEmptyComposite(Composite composite)\n {\n assertEquals(Composites.EMPTY, composite);\n }", "title": "" }, { "docid": "e8151ed4c3070cc5d6dca1e56c551716", "score": "0.6203642", "text": "@Test\r\n public void testIsEmpty() {\r\n Grocery entry1 = new Grocery(\"Mayo\", \"Dressing / Mayo\", 1, 2.99f, 1);\r\n\r\n // Test empty\r\n assertTrue(instance.isEmpty());\r\n\r\n instance.add(entry1);\r\n\r\n // Test not empty\r\n assertFalse(instance.isEmpty());\r\n }", "title": "" }, { "docid": "f9af4ba35573bdfea2de0dc1937736fd", "score": "0.61972296", "text": "public boolean empty();", "title": "" }, { "docid": "d185325d83f83bb9f529730576d3875f", "score": "0.6186928", "text": "@Override\r\n\tpublic boolean isEmpty() {\n\t\treturn (t==1);\r\n\t}", "title": "" }, { "docid": "10e494cda27b170942537f563c802d74", "score": "0.6179889", "text": "@SuppressWarnings(\"serial\")\n\t@Test\n\tpublic void testEmptyContainerSpace(){\n\t\tContainer c = new Container(0,1){\n\t\t\tpublic boolean canAccess(Player player) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tassertTrue(c.hasSpace());\n\t}", "title": "" }, { "docid": "82d190e2bc4b1f2869585d7003a20fc8", "score": "0.61718774", "text": "public abstract boolean canMatchEmpty();", "title": "" }, { "docid": "71f94effb59f0bede0cb77190d7bc9b4", "score": "0.61613715", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn (getSize() == 0);\n\t}", "title": "" }, { "docid": "c6d71f985d5c2a08cd42f7ca8eec14a2", "score": "0.6154319", "text": "public boolean isEmpty() {\n return true;\n }", "title": "" }, { "docid": "c5bcd0005edbe3bc9f2527483fc19ddb", "score": "0.61538786", "text": "AstroArg empty();", "title": "" }, { "docid": "e15ce11aeee3346f5f13f076cb050ba8", "score": "0.6146019", "text": "public boolean isEmpty() ;", "title": "" }, { "docid": "0cc5940874c310c34aa9739d0e49fdee", "score": "0.61447424", "text": "@Override\n public boolean isEmpty() {\n return size() == 0;\n }", "title": "" }, { "docid": "0cc5940874c310c34aa9739d0e49fdee", "score": "0.61447424", "text": "@Override\n public boolean isEmpty() {\n return size() == 0;\n }", "title": "" }, { "docid": "0cc5940874c310c34aa9739d0e49fdee", "score": "0.61447424", "text": "@Override\n public boolean isEmpty() {\n return size() == 0;\n }", "title": "" }, { "docid": "0cc5940874c310c34aa9739d0e49fdee", "score": "0.61447424", "text": "@Override\n public boolean isEmpty() {\n return size() == 0;\n }", "title": "" }, { "docid": "0cc5940874c310c34aa9739d0e49fdee", "score": "0.61447424", "text": "@Override\n public boolean isEmpty() {\n return size() == 0;\n }", "title": "" }, { "docid": "4073ba41018923298cf5543a6d3536ce", "score": "0.61423147", "text": "public abstract boolean IsEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "bebddc2d2eb951f76f76c406c8c44638", "score": "0.6142141", "text": "public boolean isEmpty();", "title": "" }, { "docid": "230bcdf8aedab4ae6444bb6b4470cbbb", "score": "0.6140852", "text": "@Override\r\n\tpublic boolean isEmpty() {\r\n\t\treturn size() == 0;\r\n\t}", "title": "" }, { "docid": "3090e588dfc203c1b710ab4366c35be0", "score": "0.61401474", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3090e588dfc203c1b710ab4366c35be0", "score": "0.61401474", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3090e588dfc203c1b710ab4366c35be0", "score": "0.61401474", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3090e588dfc203c1b710ab4366c35be0", "score": "0.61401474", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3090e588dfc203c1b710ab4366c35be0", "score": "0.61401474", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3090e588dfc203c1b710ab4366c35be0", "score": "0.61401474", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3090e588dfc203c1b710ab4366c35be0", "score": "0.61401474", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4e55a9efa959a24d9fbe4ca070352730", "score": "0.61339897", "text": "public abstract boolean isEmpty();", "title": "" } ]
ea5ed19130bd0e26494f521daeb81b48
updating the movelabel text
[ { "docid": "9371ad5d2111cd0860ca736344e239c5", "score": "0.0", "text": "public void updateMoveCount(int n) {\n\t\tmoveCounter.setText(\"Moves: \"+ n);\n\t}", "title": "" } ]
[ { "docid": "1ceaf92e85037cc73c6b992e09f9ac7c", "score": "0.73093706", "text": "public void updateLabel() {\n\t\tgetGameState().updateCountryLabels();\n\t\tgetGameState().getWindow().country1.setText((String) null);\n\t\tgetGameState().getWindow().country2.setText((String) null);\n\t\tgetGameState().getWindow().troopsLeft = getPlayer().getInitTroop();\n\t\tgetGameState().getWindow().numberOfTroops.setText(\"\" + getGameState().getWindow().troopsLeft);\n\n\t}", "title": "" }, { "docid": "bc3056aff492cca4947c274877b853f4", "score": "0.7244793", "text": "@Override\n\t\t\tpublic void mouseDragged(MouseEvent event) {\n\t\t\t\t\n\t\t\t\tif(isMoveLabel)\n\t\t\t\t{\t\n\t\t\t\t //showMessage(\"moved\");\t\n\t\t\t\t moveLabel.setLocation(0,(int)event.getPoint().getY()-5);\n\t\t\t\t} \n\t\t\t}", "title": "" }, { "docid": "8da7525e2a3bbd4e76307b736dc0f88b", "score": "0.69312835", "text": "@Override\n\t\t\tpublic void mousePressed(MouseEvent event) {\n\t\t\t\tJLabel lb = (JLabel) eventPanel.getComponentAt(event.getPoint());\n\t\t\t\t\n\t\t\t\tint index = station.getLabels().indexOf(lb);\n\t\t\t\t//System.out.println(\"index \"+index+\" \"+station.getLabels().size());\n\t\t\t\t\n\t\t\t\tif(!lb.getName().equals(\"label\") && (index+1)<station.getLabels().size() /*&& !station.getLabels().get(index+1).getName().equals(\"label\")*/)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tisMoveLabel=true;\n\t\t\t\t\tselect_index = station.getLabels().indexOf(lb);\n\t\t\t\t\tselect_pnt = event.getPoint();\n\t\t\t\t\tmoveLabel.setText(lb.getText());\n\t\t\t\t\tmoveLabel.setName(lb.getName());\n\t\t\t\t\tmoveLabel.setOpaque(true);\n\t\t\t\t\tmoveLabel.setBackground(Color.lightGray);\n\t\t\t\t\tmoveLabel.setLocation(lb.getLocation());\n\t\t\t\t\teventPanel.add(moveLabel);\n\t\t\t\t\teventPanel.revalidate();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(!lb.getName().equals(\"label\") && index==station.getLabels().size()-1)\n\t\t\t\t{\n\t\t\t\t\tisMoveLabel=true;\n\t\t\t\t\tselect_index = station.getLabels().indexOf(lb);\n\t\t\t\t\tselect_pnt = event.getPoint();\n\t\t\t\t\tmoveLabel.setText(lb.getText());\n\t\t\t\t\tmoveLabel.setName(lb.getName());\n\t\t\t\t\tmoveLabel.setOpaque(true);\n\t\t\t\t\tmoveLabel.setBackground(Color.lightGray);\n\t\t\t\t\tmoveLabel.setLocation(lb.getLocation());\n\t\t\t\t\teventPanel.add(moveLabel);\n\t\t\t\t\teventPanel.revalidate();\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "04d04781df0cccd85d0f64543804c263", "score": "0.6762688", "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": "65b9150fd65caeea4849435866684c91", "score": "0.67443687", "text": "@Override\n\t\t\tpublic void mouseReleased(MouseEvent event) {\n\t\t\t\t\n\t\t\t\tJLabel lb = (JLabel) eventPanel.getComponentAt(event.getPoint());\n\t\t\t\t\n\t\t\t\tif(lb.getText().isEmpty() && isMoveLabel)\n\t\t\t\t{\t\n\t\t\t\t eventPanel.remove(moveLabel);\n\t\t\t\t moveLabel.setOpaque(false);\n\t\t\t\t moveLabel.setText(\"\");\n\t\t\t\t eventPanel.revalidate();\n\t\t\t\t select_index=-1;\n\t\t\t\t \n\t\t\t\t isMoveLabel=false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(!lb.getText().isEmpty() && isMoveLabel)\n\t\t\t\t{\t\n\t\t\t\t put_index = station.getLabels().indexOf(lb);\n\t\t\t\t //System.out.println(\"index of label \"+put_index);\n\t\t\t\t if(Math.abs(select_index-put_index)==1)\n\t\t\t\t {\t \n\t\t\t\t station.getLabels().get(select_index).setText(lb.getText());\n\t\t\t\t station.getLabels().get(put_index).setText(moveLabel.getText());\n\t\t\t\t JLabel lb1 = (JLabel) eventPanel.getComponentAt(select_pnt);\n\t\t\t\t lb1.setText(station.getLabels().get(select_index).getText());\n\t\t\t\t lb.setText(moveLabel.getText());\n\t\t\t\t \n\t\t\t\t eventPanel.remove(moveLabel);\n\t\t\t\t\t moveLabel.setOpaque(false);\n\t\t\t\t moveLabel.setText(\"\");\n\t\t\t\t\t eventPanel.revalidate();\n\t\t\t\t\t \n\t\t\t\t } \n\t\t\t\t else\n\t\t\t\t {\n\t\t\t\t\t if(select_index>put_index)\n\t\t\t\t\t {\n\t\t\t\t\t\t \n\t\t\t\t\t\t JLabel tempLabel = new JLabel(station.getLabels().get(put_index).getText());\n\t\t\t\t\t\t tempLabel.setName(station.getLabels().get(put_index).getName());\n\t\t\t\t\t\t station.getLabels().get(put_index).setText(moveLabel.getText());\n\t\t\t\t\t\t station.getLabels().get(put_index).setName(moveLabel.getName());\n\t\t\t\t\t\t swapDown(tempLabel,put_index);\n\t\t\t\t\t\t eventPanel.remove(moveLabel);\n\t\t\t\t\t\t moveLabel.setOpaque(false);\n\t\t\t\t\t moveLabel.setText(\"\");\n\t\t\t\t\t\t eventPanel.revalidate();\n\t\t\t\t\t\t \n\t\t\t\t\t\t \t\t\t\t\t\t \n\t\t\t\t\t }\n\t\t\t\t\t \n\t\t\t\t\t if(select_index<put_index)\n\t\t\t\t\t {\n\t\t\t\t\t\t \n\t\t\t\t\t\t JLabel tempLabel = new JLabel(station.getLabels().get(select_index+1).getText());\n\t\t\t\t\t\t tempLabel.setName(station.getLabels().get(select_index+1).getName());\n\t\t\t\t\t\t int index = select_index; \n\t\t\t\t\t\t index++;\n\t\t\t\t\t\t swapUp(tempLabel,index);\n\t\t\t\t\t\t station.getLabels().get(put_index).setText(moveLabel.getText());\n\t\t\t\t\t\t station.getLabels().get(put_index).setName(moveLabel.getName());\n\t\t\t\t\t\t eventPanel.remove(moveLabel);\n\t\t\t\t\t\t moveLabel.setOpaque(false);\n\t\t\t\t\t moveLabel.setText(\"\");\n\t\t\t\t\t\t eventPanel.revalidate();\n\t\t\t\t\t\t \n\t\t\t\t\t }\n\t\t\t\t\t \n\t\t\t\t }\n\t\t\t\t isMoveLabel=false;\n\t\t\t\t isSaved=false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "030105f9702063ed1cb8404bc121f3aa", "score": "0.6726839", "text": "public void updateLabel() {\n String result = \"Simulated Time: \";\n DecimalFormat df = new DecimalFormat(\"0.00\");\n result += df.format((System.currentTimeMillis() - start) / (60 * 1000F));\n result += \" \";\n result += \"Total Aircrafts: \";\n result += Integer.toString(mapPanel.planes.size());\n result += \" \";\n result += \"Total Landed: \";\n result += Integer.toString(mapPanel.landed.get());\n result += \" \";\n result += \"Total Crashes: \";\n result += Integer.toString(mapPanel.crashed.get());\n topLabel.setText(result);\n }", "title": "" }, { "docid": "cde71c9779f9ac1d01e212f90f696d80", "score": "0.6704508", "text": "private void setLineLabel2(){\n lineLabel2 = new DraggableLabel();\n lineLabel2.setX(startX);\n lineLabel2.setY(startY); \n }", "title": "" }, { "docid": "244597898e489bc10e0e89e25ae701ed", "score": "0.6691099", "text": "private void setLineLabel1(){\n lineLabel1 = new DraggableLabel();\n lineLabel1.setX(startX);\n lineLabel1.setY(startY); \n }", "title": "" }, { "docid": "83c9304943308c4fcd669bcb05ff64cb", "score": "0.6678525", "text": "protected void updateSliderLabel() {\n\t\tdouble currentSliderDegree = getCurrentSliderDegree();\n\t\tsliderLblFigure.setText(df.format(currentSliderDegree) + \"°\");\n\t}", "title": "" }, { "docid": "3caefd5f329bc62e53ac23b393eebe89", "score": "0.6662292", "text": "protected String makeCursorLabel()\r\n {\r\n return \"TARGET\\n\"+makePositionLabel(this.targetPos,false);\r\n }", "title": "" }, { "docid": "a7571bd224d322a07f10ddd3191225be", "score": "0.66509944", "text": "private void changePosition(String direction) {\n\t\tint newPosition = 0;\n\t\tif (direction.equals(\"Left\")) {\n\t\t\tnewPosition = currentPosition -1;\t\t\t\t\t\t\n\t\t}\n\t\telse if (direction.equals(\"Right\")) {\n\t\t\tnewPosition = currentPosition + 1;\t\t\t\t\t\t\t\t\t\t\t\n\t\t}\n\t\telse if (direction.equals(\"Forward\")) {\n\t\t\tnewPosition = currentPosition -GRID_SIZE;\t\t\t\t\t\t\t\t\t\t\t\n\t\t}\n\t\telse if (direction.equals(\"Backward\")) {\n\t\t\tnewPosition = currentPosition + GRID_SIZE;\t\t\t\t\t\t\t\t\t\t\t\n\t\t}\n\t\tif (newPosition >= 0 && newPosition < GRID_SIZE*GRID_SIZE) {\n\t\t\t((JLabel)frame.getContentPane().getComponent(currentPosition)).setText(\" \");\t\n\t\t\tcurrentPosition = newPosition;\n\t\t\t((JLabel)frame.getContentPane().getComponent(currentPosition)).setText(\" HERE\");\t\n\t\t}\n\t}", "title": "" }, { "docid": "25c7b7f786d66dc21752e25e00f767e8", "score": "0.65606296", "text": "public void actionPerformed(ActionEvent e) {\n // System.out.println(\"ShowLabelTimer.actionPerformed()+\"ertOffset: \" + vertOffset);\n\n if (vertOffset <= 0) {\n positionLabel(vertOffset);\n } else {\n showTimer.stop();\n }\n\n vertOffset += PIXEL_DELTA;\n }", "title": "" }, { "docid": "449fd6c88db23d771eb445f521f9e095", "score": "0.6553936", "text": "private void updateLabel(CellState currentPlayer, int i, int j) {\r\n\t\tif (currentPlayer == CellState.PLAYER1) {\r\n\t\t\tlabels[i][j].setText(\" X\");\r\n\t\t\tlabels[i][j].setOpaque(true);\r\n\t\t\tlabels[i][j].setBackground(Color.black);\r\n\t\t\tlabels[i][j].setForeground(Color.white);\r\n\t\t} else {\r\n\t\t\tlabels[i][j].setText(\" O\");\r\n\t\t\tlabels[i][j].setOpaque(true);\r\n\t\t\tlabels[i][j].setBackground(Color.white);\r\n\t\t\tlabels[i][j].setForeground(Color.black);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "fc0cd1731ee52e05c51d507de4f021ef", "score": "0.65420777", "text": "private void updateLabel() {\n String number = \"\";\n if (getText().contains(\":\")) {\n number = getText().substring(getText().indexOf(\":\"));\n }\n setText(provider.getString(key) + number);\n }", "title": "" }, { "docid": "c066fd228f8b0b74329ae741a8296b4c", "score": "0.6536565", "text": "@Override\n\tpublic void mouseMoved(MouseEvent e) {\n\t\tlbel.setText(\"Mouse move \" + e.getX() + \",\" + e.getY() +\"!\");\n\t}", "title": "" }, { "docid": "1a7e7ec670adb31d851c5793debf0f0b", "score": "0.65253836", "text": "private void updateLabelDelay() {\r\n labelDelay.setText(MessageFormat.format(LABEL_DELAY, new Object[]{\"\" + DELAYS[delay]}));\r\n }", "title": "" }, { "docid": "458b955d032da87fc3eee5b22488697d", "score": "0.65014404", "text": "@Override\n public void update() {\n setText(new String[] {\n \"Texto 1\", // Linha 3\n \"Texto 2\", // Linha 2\n \"Texto 3\" // Linha 3\n });\n }", "title": "" }, { "docid": "c94365ffa84e3f61d9be0c8289b54f86", "score": "0.6494425", "text": "@Override\r\n\tpublic void mouseMoved(MouseEvent arg0) {\n\t\tint x=arg0.getX();\r\n\t\tposition.setText(Integer.toString(x));\r\n\t\t\r\n\t}", "title": "" }, { "docid": "563ccdfb7e4cdc46c861a23e350d646f", "score": "0.64828795", "text": "public void show (String text, int x, int y)\r\n {\r\n label.setText(text);\r\n \r\n adjustSize();\r\n setLocation(x,y);\r\n\r\n\t\twasMoved = true;\t\t\r\n\t\t\t\r\n super.setVisible(true);\r\n }", "title": "" }, { "docid": "62dca9b054cdd281d9d23f17d477a913", "score": "0.6394412", "text": "private void updateDistanceLabel(String text) {\n if (distanceLabel != null) {\n distanceLabel.setText(text);\n }\n }", "title": "" }, { "docid": "bb356a0e8aa59a4a3a091ccb939439d4", "score": "0.6393603", "text": "public void startMovingText() {\n if (!textIsMoving){\n Thread displayThread = new Thread(displayTask);\n displayThread.start();\n textIsMoving = true;\n displayTask.setIsMoving(textIsMoving);\n gui.displayBtnEnabled(false);\n }\n\n }", "title": "" }, { "docid": "2a2bfd724e213d91471a8adb37ccb859", "score": "0.6359517", "text": "private void updateTitle()\n {\n if (!SwingUtilities.isEventDispatchThread())\n {\n SwingUtilities.invokeLater(new Runnable()\n {\n public void run()\n {\n setText(_leo.toString());\n }\n });\n }\n else\n {\n setText(_leo.toString());\n }\n }", "title": "" }, { "docid": "10a672913a0ceec39ade1e5c40b9ac1d", "score": "0.6342478", "text": "@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tlbel.setText(\"Mouse move \" + e.getX() + \",\" + e.getY() +\"!\");\n\t}", "title": "" }, { "docid": "d156cd708d821786a7211d3a8f41bbc7", "score": "0.63386506", "text": "public void updateText() {\n current.calcScore();\n player.setText(\"Current player: \" + current.toString());\n price.setText(\"Land price: \" + landCost);\n }", "title": "" }, { "docid": "841b717c842041e31ab497d3a7820a35", "score": "0.6314539", "text": "private void updateStepsLabel() {\n this.stepsLabel.setText(\"Number of steps: \" + this.model.getNumberOfSteps());\n }", "title": "" }, { "docid": "ff2e57cafa745c7691c330ed4c0800d1", "score": "0.63136816", "text": "public void move(int x, int y) {\n gui.moveTextTo(x,y);\n }", "title": "" }, { "docid": "84e5386694a57462410b3279115a649b", "score": "0.6308662", "text": "void updateMessageLabel() {\n\t\tStringBuilder message = new StringBuilder();\n\t\tmessage.append(\"<html>\");\n\t\tmessage.append(getDeckSizeMessage());\n\t\tmessage.append(\"<br>\");\n\t\tmessage.append(getTimeToNextReviewMessage());\t\t\n\t\tmessage.append(getUICommands());\n\t\tmessage.append(\"</html>\");\n\t\tm_messageLabel.setText(message.toString());\n\t}", "title": "" }, { "docid": "67bcc448f71be66438107470867e6b67", "score": "0.62965244", "text": "private void updateUI() {\r\n\t\tString nowPlaying = gameOrder[currentPlayer].getName() + \": \"\r\n\t\t\t\t+ gameOrder[currentPlayer].getScore();\r\n\t\tcurrent.setText(nowPlaying);\r\n\t\tnowPlaying = gameOrder[currentPlayer].get3rdLast();\r\n\t\tthirdLast.setText(nowPlaying);\r\n\t\tnowPlaying = gameOrder[currentPlayer].get2ndLast();\r\n\t\tsecondLast.setText(nowPlaying);\r\n\t\tnowPlaying = gameOrder[currentPlayer].getLast();\r\n\t\tlastThrow.setText(nowPlaying);\r\n\t}", "title": "" }, { "docid": "07278e7579c09d974dc9906ac943ce7c", "score": "0.6295805", "text": "public void setText(String text) {\n/* 29 */ this.label.setText(text);\n/* */ }", "title": "" }, { "docid": "befe43215faef777a2add0f09dc51612", "score": "0.62909764", "text": "private void updateMinesLabel(){\n this.minesLabel.setText(\"Number of mines left: \" + this.model.getMinesLeft());\n }", "title": "" }, { "docid": "c2cac536a43c1c66530e087274371fdf", "score": "0.6271151", "text": "public void updateLabels() {\n\t\tswitch (this.currState) {\n\t\t\tcase MAP:\n\t\t\t\t/*Update selected store labels*/\n\t\t\t\tif (this.selectedStore != null) {\n\t\t\t\t\tthis.mapScreen.getSelectedStoreNameField().setText(\"Name: \" + this.selectedStore.getName());\n\t\t\t\t\tthis.mapScreen.getSelectedStoreDistanceField().setText(\"Distance: \" + this.selectedStore.getDistanceTo() + \" ft\");\n\t\t\t\t\tthis.mapScreen.getSelectedStoreCartTotalField().setText(\"Cart Total: \" + this.cartTotal);\n\t\t\t\t\tthis.mapScreen.getSelectedStoreMissingItemsField().setText(\"Missing Items: \" + this.missingItemsString);\n\t\t\t\t} else {\n\t\t\t\t\tthis.mapScreen.getSelectedStoreNameField().setText(\"Name: -\");\n\t\t\t\t\tthis.mapScreen.getSelectedStoreDistanceField().setText(\"Distance: -\");\n\t\t\t\t\tthis.mapScreen.getSelectedStoreCartTotalField().setText(\"Cart Total: -\");\n\t\t\t\t\tthis.mapScreen.getSelectedStoreMissingItemsField().setText(\"Missing Items: -\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t/*Update closest store information and distance labels*/\n\t\t\t\tthis.mapScreen.getClosestStoreInfoField().setText(this.closestStore.getName());\n\t\t\t\tthis.mapScreen.getClosestStoreDistanceField().setText(this.closestStore.getDistanceTo() + \" ft\");\n\t\t\t\t\n\t\t\t\t/*Update selected item info label*/\n\t\t\t\tthis.mapScreen.getItemInfoLabel().setText(this.selectedProductInfo);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "bdbff84b641d7fd73ddb17d8a4746045", "score": "0.62642545", "text": "public void update() {\n bonesLbl.setText(BONES_TXT + game.getNumBonesCaught());\n poopsLbl.setText(POOPS_TXT + game.getNumPoopsDodged());\n repaint();\n }", "title": "" }, { "docid": "efc9e91717d4e56a8c3915d2fef9be00", "score": "0.6249212", "text": "public void setNameLocation(final Integer val)\r\n\t{\r\n\t\t_theLabel.setRelativeLocation(val);\r\n\t\t// and update it relative to the current area\r\n\t\tupdateLabelLocation();\r\n\t}", "title": "" }, { "docid": "ec7d999310ce51740bfa3d4193f107f1", "score": "0.624327", "text": "private void changeLabel( boolean upArrowClicked ) {\n \t\n\t\tint ii = 0;\n \tfor ( Button btn : labelBtns ) {\n \t \t\n \t if ( btn.getSelection() ) {\n \t \n \t \tint next;\n \t \tif ( upArrowClicked ) {\n \t \t next = (ii+1) % labelBtns.size();\n \t \t}\n \t \telse {\n \t \t\tnext = ( (ii-1) + labelBtns.size() ) % labelBtns.size();\n \t \t}\n \t \t\n \t btn.setSelection( false );\n \t \tlabelBtns.get( next ).setSelection( true );\n \tlabelTxt.setText( labelBtns.get( next ).getText() );\n \tbreak;\n \t }\n \t \t\n \t ii++;\n \t}\n \t\n \tif ( labelTemplate != null ) {\n \t\tlabelTemplate.setText( new String[] { getLabel() } );\n \t}\n\n\t}", "title": "" }, { "docid": "1de37504fed9883c0d5ba6d154c91888", "score": "0.62172747", "text": "private void setText() {\n }", "title": "" }, { "docid": "f53d11645bdb484f64c4c34468a868e5", "score": "0.62161225", "text": "public void update() {\n\t\tif (isMouseOver()) {\n\t\t\tprocessing.fill(100);\n\t\t} else {\n\t\t\tprocessing.fill(200);\n\t\t}\n\t\tprocessing.rect((position[0] - WIDTH / 2), (position[1] - HEIGHT / 2), (position[0] + WIDTH / 2),\n\t\t\t\t(position[1] + HEIGHT / 2));\n\n\t\t// text for the button's label\n\t\tprocessing.fill(0);\n\t\tprocessing.text(label, position[0], position[1]);\n\t}", "title": "" }, { "docid": "6b78291cf3dc2e0f3e402c483602627b", "score": "0.6208623", "text": "private void updateDistanceLabel(double distance) {\n if (distanceLabel != null) {\n distanceLabel.setText(String.format(Locale.ENGLISH, \"Distance to destination: %.2fkm\", distance));\n }\n }", "title": "" }, { "docid": "8da4cee22124dea88cd7f7b2b5b3ba18", "score": "0.62065977", "text": "private void updateTimeLbl() {\n \t\tPipeline playslider = new Pipeline();\n \t\tif (app.isRecording()) {\n \t\t\tplayslider = app.getRecorder();\n \t\t} else if (app.isPlaying()) {\n \t\t\tplayslider = app.getPlayer();\n \t\t}\n \t\tlong position = playslider.queryPosition(Format.TIME);\n \t\tposition = position / 1000000000L;\n \t\ttimeLbl.setText(String.format(\"%d:%02d:%02d\", position / 3600,\n \t\t\t\t(position % 3600) / 60, position % 60));\n \n \t}", "title": "" }, { "docid": "bf149e9431a2d90a54cafbd93bc6b579", "score": "0.6202626", "text": "private void writeTextMove(Graphics g) {\n Graphics2D g2d = (Graphics2D) g;\n Font font = new Font(\"Serif\", Font.PLAIN, 24);\n g2d.setColor(new Color(20, 20, 20));\n g2d.setFont(font);\n g2d.drawString(proxyModel.getTurn().getCurrentPlayer().getName() + \" should move the selected worker.\", 15, 640);\n }", "title": "" }, { "docid": "50e0e92fc0d98b5c953afd143001b414", "score": "0.6168035", "text": "public void updateView() {\r\n\t\tif (currentRole == PlayerRole.PERFORMER) {\r\n\t\t\ttextView2.setText(\"Du bist dran - mache eine Geste!\");\r\n\t\t} else {\r\n\t\t\ttextView2.setText(\"Warte auf Geste von Gegner\");\r\n\t\t}\r\n\t\ttextView3.setText(\"Du hast \" + points + \" Punkte\");\r\n\t\ttextView4.setText(\"Runde \" + roundNumber);\r\n\t}", "title": "" }, { "docid": "ed2005a6dc42d9e8ff811a5b789a1127", "score": "0.61636186", "text": "public void setLabelGewonnen() {\n\t\tlblStatus.setText(game.getPlayer() + \" heeft gewonnen!\");\n\t}", "title": "" }, { "docid": "70716ab123984326de1108e679ef3f33", "score": "0.61611456", "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": "f0b0b98eeb421a83e5c3dbcbcba2293a", "score": "0.61494756", "text": "private void addLabels() {\n \n add(new JLabel(\"Move Down:\"));\n add(new JLabel(KeyEvent.getKeyText(KeyEvent.VK_DOWN)));\n add(new JLabel(\"Move Right:\"));\n add(new JLabel(KeyEvent.getKeyText(KeyEvent.VK_RIGHT)));\n add(new JLabel(\"Move Left:\"));\n add(new JLabel(KeyEvent.getKeyText(KeyEvent.VK_LEFT)));\n add(new JLabel(\"Rotate:\"));\n add(new JLabel(KeyEvent.getKeyText(KeyEvent.VK_UP)));\n add(new JLabel(\"Hard Drop:\"));\n add(new JLabel(KeyEvent.getKeyText(KeyEvent.VK_SPACE)));\n add(new JLabel(\"Pause:\"));\n add(new JLabel(KeyEvent.getKeyText(KeyEvent.VK_ENTER)));\n }", "title": "" }, { "docid": "c7e2677c999c1708d3b8b3f09f1cfaef", "score": "0.61262584", "text": "public static String move() {\n\t\treturn \"Koala climbs up the tree and move on the branches\" ; \r\n\t}", "title": "" }, { "docid": "5408dff6a41fffb467a4cebaf24fc515", "score": "0.6124459", "text": "protected void addLabelToSlider() {\n\t\trotationSlider.setLayoutManager(new XYLayout());\n\t\tsliderLblFigure = new Label(\"0°\");\n\t\tsliderLblFigure.setBackgroundColor(ColorConstants.white);\n\t\tsliderLblFigure\n\t\t\t\t.setIcon(TomoClientActivator.getDefault().getImageRegistry().get(ImageConstants.ICON_CTRL_BTN_12x12));\n\t\t//\n\n\t\tint x = getSliderDimension().width / 4 - 10;\n\t\tint y = getSliderDimension().height / 4 - 1;\n\n\t\tif (direction == SWT.UP) {\n\t\t\ty = getSliderDimension().height / 4 - 2;\n\t\t}\n\t\trotationSlider.add(sliderLblFigure, new Rectangle(x, y, -1, -1));\n\t}", "title": "" }, { "docid": "570db604c0bf3fe2c2ac3d2771723544", "score": "0.61069024", "text": "protected void updateLabel(Text label, int value) {\r\n String text = SWTUtil.getPrettyString(value);\r\n label.setText(\" \" + text);\r\n label.setToolTipText(text);\r\n }", "title": "" }, { "docid": "8e396ecaea158987854081d65dae2134", "score": "0.6105797", "text": "private void updateLabelAndDescription() {\n WorkflowStep step = this.getCurrentStep();\n\n stepsLabel.setText(step.getLabel());\n stepDescriptionTextarea.setText(step.getDescription());\n }", "title": "" }, { "docid": "598ed4c1a8d3e8df6b88551da4b5a660", "score": "0.60925823", "text": "@Test\r\n public void test_md_textFiledToLabel() {\r\n System.out.println(\"_md_textFiledToLabel\");\r\n JTextField textField = null;\r\n JLabel lableName = null;\r\n String textFieldText = \"\";\r\n Md_move_text instance = new Md_move_text();\r\n instance._md_textFiledToLabel(textField, lableName, textFieldText);\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": "921760169f37f46111d4f0ca01a95991", "score": "0.6088881", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString str=writebroad.text.getText();\r\n\t\t\t\tJLabel strla=new JLabel(str);\r\n\t\t\t\twritebroad.text.setFont(viewla.getFont());\r\n\t\t\t\twritebroad.text.setForeground(viewla.getForeground());\r\n\t\t\t if(jcb1.isSelected())\r\n\t\t\t { \r\n\t\t\t \thm2.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON); // 定义下划线 \r\n\t\t font = new Font(hm2); \r\n\t\t writebroad.text.setFont(font);\r\n\t\t\t }\r\n\t\t\t else if(jcb2.isSelected())\r\n\t\t\t {\r\n\t\t\t \t\r\n\t\t\t \thm2.put(TextAttribute.STRIKETHROUGH, TextAttribute.STRIKETHROUGH_ON); // 定义删除线 \r\n\t\t font = new Font(hm2); \r\n\t\t writebroad.text.setFont(font);\r\n\t\t\t }\r\n\t\t\t else if(jrb1.isSelected())\r\n\t\t\t {\r\n\t\t\t writebroad.text.setFont(font);\r\n\t\t\t String ss=writebroad.text.getText();\r\n\t\t\t writebroad.text.setText(new letertochange().ChangetoLO(ss));\r\n\t\t\t }\r\n\t\t\t else if(jrb2.isSelected())\r\n\t\t\t {\r\n\t\t\t \t\r\n\t\t\t \twritebroad.text.setFont(font);\r\n\t\t\t\t String ss=writebroad.text.getText();\r\n\t\t\t\t writebroad.text.setText(new letertochange().ChangetoUP(ss));\r\n\t\t\t }\r\n\t\t\t \r\n setVisible(false);\r\n\t\t\t}", "title": "" }, { "docid": "d953886f45d7cba722c557bc332e002c", "score": "0.60771346", "text": "public void drawComponent()\n\t{\n\t\tRenderManager.drawString(this.label, x + (this.width / 2) - (RenderManager.getTextWidth(this.label) / 2), this.y + (this.height / 2) - 4, Theme.WHITE);\n\t}", "title": "" }, { "docid": "d60d7636fe477eb7fc8bf0fcd0c062ba", "score": "0.6068499", "text": "public void actionPerformed(ActionEvent e) {\n// System.out.println(\"HideLabelTimer.actionPerformed()\n//vertOffset: \" + vertOffset);\n\n if (vertOffset >= (-LABEL_HEIGHT)) {\n vertOffset -= PIXEL_DELTA;\n positionLabel(vertOffset);\n } else {\n hideTimer.stop();\n }\n }", "title": "" }, { "docid": "890cd29a248de990c16983fd07c10b3e", "score": "0.60557836", "text": "@Override\n\tpublic void move() {\n\t\tSystem.out.println(this.getName() + \" >> 육상이동\");\n\t}", "title": "" }, { "docid": "f7cdca774fe5c09c8f7dd5071a4dd83f", "score": "0.6050897", "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": "1a0e18f0c020823f86ea1db4b0618ba0", "score": "0.60280573", "text": "public void setLabel(String label) {\n this.label = label;\n layoutParent();\n repaint();\n }", "title": "" }, { "docid": "4eb171efd14037319d054085fcf7cac3", "score": "0.6021245", "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": "495ce35254332754ed010593cf50590c", "score": "0.5998606", "text": "private void addLabelToScene() {\n\t\tmyRoot.getChildren().add(myLabel);\n\t}", "title": "" }, { "docid": "89aa013be69486249cd8f2fd5302743b", "score": "0.59912485", "text": "public void display()\n {\n current.setText(curr);\n }", "title": "" }, { "docid": "efa336d854736b1da0626de3d6cdbf10", "score": "0.5986286", "text": "void updateUI() {\n latitude.setText(lat);\n longitude.setText(lon);\n\n }", "title": "" }, { "docid": "0090777bb2d78a134d631c78b70f8f7f", "score": "0.5979941", "text": "public void setLabel(String newVal) {\n\t\tmd.setText(newVal);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "8c57a43ee0d51051b053c4eec99da3e3", "score": "0.5972059", "text": "public void updateText() {\n updateText(1);\n }", "title": "" }, { "docid": "92871f906e6b87a66a35849811c2260b", "score": "0.5966124", "text": "public void updateTexts(){\n score.setText(\"Score:\\n\" + Integer.toString(finalScore));\n money.setAmount((int)moneyAmount);\n }", "title": "" }, { "docid": "b1e786fb93d29e8d2aa51edb55c0bad9", "score": "0.59597963", "text": "public void stopMovingText(){\n if (textIsMoving){\n textIsMoving = false;\n displayTask.setIsMoving(textIsMoving);\n gui.displayBtnEnabled(true);\n }\n\n }", "title": "" }, { "docid": "677f5142a26e6cbf4f64d1ca3dfce13a", "score": "0.59591186", "text": "void updateRoverCapacityLabel() {\n\t\tMissionType type = getWizard().getMissionData().getMissionType();\n\t\tif (MissionType.BUILDING_CONSTRUCTION == type) {\n\t\t\troverCapacityLabel.setText(\" \");\n\t\t}\n\t\telse if (MissionType.BUILDING_SALVAGE == type) { \n\t\t\troverCapacityLabel.setText(\" \");\n\t\t}\n\t\telse {\n\t\t\troverCapacityLabel.setText(\"Remaining rover capacity: \" + getRemainingRoverCapacity());\n\t\t}\n\t}", "title": "" }, { "docid": "1b2b28603df11cd5d968b3ed0bf6ae9b", "score": "0.5956059", "text": "public void updateProgressLabel(String label){\n fileLabel.append( label + \"\\n\");\n int x = fileLabel.getLineCount() % 1000;\n \n if( x == 0){\n fileLabel.setText(\"\");\n }\n \n //fileLabel.setText(i + \"\");\n scrolling.getVerticalScrollBar().setValue( scrolling.getVerticalScrollBar().getMaximum() );\n }", "title": "" }, { "docid": "a4ad7e0d2eea3f98a16c7a92577497eb", "score": "0.59558207", "text": "public void setCheckLabel()\r\n {\r\n Player currTurn;\r\n Player opponent;\r\n\r\n if (currBoard.currentTurn == currBoard.white)\r\n {\r\n currTurn = currBoard.white;\r\n opponent = currBoard.black;\r\n }\r\n else\r\n {\r\n currTurn = currBoard.black;\r\n opponent = currBoard.white;\r\n }\r\n\r\n if (currBoard.currentTurn.getMyKing().checkIfCheck(currTurn, opponent))\r\n //if (!currBoard.currentTurn.getCausingCheck().isEmpty())\r\n {\r\n checkLabel.setText(currBoard.currentTurn.getName() + \" is in check!!\");\r\n checkLabel.setVisible(true);\r\n\r\n }\r\n else\r\n {\r\n checkLabel.setVisible(false);\r\n }\r\n refreshPlayersPanel();\r\n }", "title": "" }, { "docid": "957b71e147bb0e64a335cc40b92aaf7a", "score": "0.5949669", "text": "public void sayMoved(boolean isGPS) {\n if (isGPS) {\n msgBox(this, \"Обновление точного местоположения\", \"\");\n } else {\n msgBox(this, \"Обновление неточного местоположения\", \"\");\n }\n }", "title": "" }, { "docid": "0c1865c073aaae0a5b5a1eb4df12d4aa", "score": "0.5946365", "text": "@Override\n public void paintComponent(Graphics udx){\n super.paintComponents(udx);\n String writeDown;\n if(CustomMenu.pStyleL2.getText()!=\"ANTICLOCKWISE\"){\n writeDown = \"clockwise\";\n }else{\n writeDown = \"counterclockwise\";\n }\n textLabel.setText(\"<html><p></p><p align = \\\"justify\\\">The object of the game is to collect as many seeds \"\n + \"in your mancala (big pit on your right side) as possible.</p>\"\n + \"<p><font color=\\\"#FF00FF\\\">The following rules also apply:</font></p>\"\n + \"<p align = \\\"justify\\\">1) You can only move the seeds on your side of the board.</p>\"\n + \"<p align = \\\"justify\\\">2) To make a move, you pick up all the seeds in a pit and distibute \"\n + \"them in a \" + writeDown + \" direction to the next pit. In this variant, you start with \"+ seeds + \" seeds</p>\"\n + \"<p align = \\\"justify\\\">3) If the last seed of a move lands on your mancala, you get another \"\n + \"turn to play again.</p>\"\n + \"<p align = \\\"justify\\\">4) If the last seed of a move lands on an empty pit on your side of the board \"\n + \"and there are some seeds in the opposite pit on your opponents side, you capture \"\n + \"all the seeds in the two pits and place them in your mancala.</p>\"\n + \"<p><center><font color=\\\"#FF00FF\\\" \" + \"size=\\\"5\\\">Enjoy the Game!!!</font></center></p></html>\");\n\n repaint();\n }", "title": "" }, { "docid": "7e6b6f7b4e31327d2430f4c2573400c5", "score": "0.5932336", "text": "private void swapButtonText(ActionEvent event) {\r\n Coordinate emptyButtonCoordinate = getEmptyButtonCoordinate();\r\n Coordinate currButtonCoordinate = getCurrentButtonCoordinate(event);\r\n if(!emptyButtonCoordinate.compareCoordinates(currButtonCoordinate)) {\r\n String currButtonText = getButtonTextFromGridCoordinate(currButtonCoordinate);\r\n int currButtonVal = Integer.parseInt(currButtonText);\r\n if(this.myBoard.checkIfPieceCanMove(currButtonVal)) {\r\n this.myBoard.swapPieceInBoard(currButtonVal);\r\n setButtonTextInGridAtCoordinate(emptyButtonCoordinate, currButtonText);\r\n setButtonTextInGridAtCoordinate(currButtonCoordinate, \"\");\r\n }\r\n }\r\n }", "title": "" }, { "docid": "44c4b170c7c815266f513bd3f74e19ff", "score": "0.59222746", "text": "public static void Redmove(){\n\t\terrorMessage.setText(\"Red can move now!\");\n\n\t}", "title": "" }, { "docid": "cdafba7aec33291c0a15937490d011f4", "score": "0.5921443", "text": "public static void MoveCalculator(){\r\n // coords for the cells 1\r\n int xTumor=Integer.parseInt(MainGameFrame.getTfTumorX().getText());\r\n int yTumor=Integer.parseInt(MainGameFrame.getTfTumorY().getText());\r\n int zTumor=Integer.parseInt(MainGameFrame.getTfTumorZ().getText());\r\n // coords for the cells 2\r\n int xNano=Integer.parseInt(MainGameFrame. getT3().getText());\r\n int yNano=Integer.parseInt(MainGameFrame. getT5().getText());\r\n int zNano=Integer.parseInt(MainGameFrame. getT4().getText());\r\n // calculating the distance to next cell\r\n direction =Math.round(Math.sqrt( Math.pow(xNano-xTumor,2)+Math.pow(yNano-yTumor,2)+Math.pow(zNano-zTumor,2)));\r\n //making the direction an integer\r\n int d1= (int)direction;\r\n //making the direction a readable string value\r\n String d= Integer.toString(d1);\r\n //seting the Textfield for direction to the string value \r\n MainGameFrame.getT8().setText(d);\r\n\r\n}", "title": "" }, { "docid": "533b86bed4d11c97e353edd8c3e888c3", "score": "0.5919557", "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": "b045584171e24cf1181681b6960b84b3", "score": "0.59124386", "text": "public void execute() {\n\t\ttextShape.setText(newValue);\n\t}", "title": "" }, { "docid": "8775ce87ca0840a52e1200cacd78c9dc", "score": "0.5907032", "text": "public static void Bluemove(){\n\t\terrorMessage.setText(\"Blue can move now!\");\n\t}", "title": "" }, { "docid": "b2cca506689c2e8fab429157135b0656", "score": "0.5904776", "text": "public void updateText2() throws IOException{\n\n current.calcScore();\n player.setText(\"Current player: \" + current.toString()\n +\"\\nTurn number: \" +turnnumber);\n price.setText(\"Land price: \" + landCost);\n resources.setText(current.resourceString());\n\n }", "title": "" }, { "docid": "ba2c39ddd6717311cf0759b422de7c99", "score": "0.59036726", "text": "public void updateMessages(String label, String confirm_text, String deny_text) {\r\n\t\ttext_label.setText(label);\r\n\t\ttext_label.setAlignmentX(SwingConstants.CENTER);\r\n\t\tconfirm_button.setText(confirm_text);\r\n\t\tdeny_button.setText(deny_text);\r\n\t}", "title": "" }, { "docid": "345a2913c9c0fdccd1ea93401dcb91e6", "score": "0.59006274", "text": "public void UpdateUI()\r\n {\n mHeroAmmoText.setText(String.format(\"Ammo: %d\", heroAmmo));\r\n mHeroHealthText.setText(String.format(\"Health: %d\", heroHealth));\r\n mMoneyText.setText(String.format(\"$%d\", heroMoney));\r\n }", "title": "" }, { "docid": "e427e9358d4b175617e396431984a5b9", "score": "0.5897964", "text": "@Override\n protected void drawTickLabel(Graphics2D g2, int yCenter, String str) {\n if (Singleton.getState().getShowRecombinationRate()) {\n //int xloc = leftDisplay + (rightDisplay - leftDisplay)*xCenter/getWidth();\n FontRenderContext frc = g2.getFontRenderContext();\n Font font = new Font(\"Arial\", Font.PLAIN, 12);\n TextLayout tl = new TextLayout(str, font, frc);\n int leftPadding = Singleton.getState().getLeftPadding();\n int x = 1 + TICK_LENGTH;\n int y = (int) Math.round(yCenter + tl.getBounds().getHeight() / 2);\n tl.draw(g2, x, y);\n }\n }", "title": "" }, { "docid": "d57bfd8224269cb6a63d807e35f4b999", "score": "0.5897916", "text": "private void updateStatus() {\r\n\t\t\tString statusText;\r\n\t\t\tif (game.isTerminal(currState))\r\n\t\t\t\tif (game.getUtility(currState, NimPlayer.PLAYER_1) == 1)\r\n\t\t\t\t\tstatusText = NimPlayer.PLAYER_1+\" has won :-)\";\r\n\t\t\t\telse if (game.getUtility(currState, NimPlayer.PLAYER_2) == 1)\r\n\t\t\t\t\tstatusText = NimPlayer.PLAYER_2+\" has won :-)\";\r\n\t\t\t\telse\r\n\t\t\t\t\tstatusText = \"No winner...\";\r\n\t\t\telse\r\n\t\t\t\tstatusText = \"Next move: \" + game.getPlayer(currState);\r\n\t\t\tif (searchMetrics != null)\r\n\t\t\t\tstatusText += \" \" + searchMetrics;\r\n\t\t\tstatus.setText(statusText);\r\n\t\t}", "title": "" }, { "docid": "7ce2f3e0b7e2d9648fe8fa90db325a0b", "score": "0.58836377", "text": "public void updateNumberOfMoves(int val) {\n numOfMovesText.setText(\" | Moves so far: \" + val);\n }", "title": "" }, { "docid": "8024ef5e9ea4537f0dd2be08f514173e", "score": "0.5864834", "text": "private void updateGUI() {\n if (turn == YELLOW) {\n scoreField1.setText(Integer.toString(player1Score));\n labelTurn.setText(\"Yellow's turn\");\t\t\n } else {\n scoreField2.setText(Integer.toString(player2Score));\n labelTurn.setText(\"Red's turn\");\n }\n }", "title": "" }, { "docid": "3c1fe4c9940f24fbf54325d661da9876", "score": "0.586304", "text": "private void drawMoveFrame() {\n\t\t\n\t}", "title": "" }, { "docid": "dbcd4c697cec6bb5287737b66c98ea9b", "score": "0.5862427", "text": "@Override\n\tpublic void move() {\n\t\tSystem.out.println(\"헤엄치다.\");\n\t}", "title": "" }, { "docid": "c3a95c384bc6d12e429307d76bd9d537", "score": "0.5859981", "text": "private void drawLabel(GL gl, StsViewPreStack view, StsColor stsColor, float x, float y)\n {\n String text = (int)Math.round(time) + \", \" + (int)Math.round(vel*1000);\n stsColor.setGLColor(gl);\n StsGLDraw.fontOutput(gl, x, y, text, com.magician.fonts.GLHelvetica18BitmapFont.getInstance(gl)); //larger text - easier to read\n gl.glDrawBuffer(GL.GL_FRONT_AND_BACK);\n }", "title": "" }, { "docid": "419e26e17c1b1e1b43238eeb1fb556a5", "score": "0.5848201", "text": "public void display() {\n\t\tGenericLabel messageLabel = new GenericLabel();\t\t \n\t\tmessageLabel.setText(message);\n\t\tmessageLabel.setTextColor(new Color(colorR, colorG, colorB, 255));\t\t\n\t\tmessageLabel.setX(60);\n\t\tmessageLabel.setY(120);\n\t\t\n\t\tshort totalFrames = 40;\n\t\tshort fpt = 1;\n\t\t\n\t\tsplayer.getMainScreen().attachWidget(plugin, messageLabel);\n\t\tmessageLabel.animate(WidgetAnim.POS_Y, 60F, totalFrames, fpt, false, false);\n\t\tmessageLabel.animateStart();\t\n\t}", "title": "" }, { "docid": "b769a147d69656229d352718ad3fe1a9", "score": "0.58364296", "text": "private JLabel setText(String text) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "06d7a88c83c8f6a1b09192d55fe9987d", "score": "0.58350176", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t\tJLabel label = new JLabel(\"New Label\");\n\t\t\t\tlabel.setFont(new Font(\"Arial\", Font.PLAIN, 12));\n\t\t\t\tlabel.setBounds(0, 0, 100, 25);\n\t\t\t\tlabel.setVisible(true);\n\t\t\t\tlabel.addMouseListener(setFieldActionListener);\n\t\t\t\tlabel.addMouseMotionListener(motionListener);\n\t\t\t\tsetFields(label);\n\t\t\t\tpanel.add(label, 0);\n\t\t\t\tpanel.repaint();\n\t\t\t\tpanel.revalidate();\n\t\t\t}", "title": "" }, { "docid": "52ec9039454a60b3c0b8eb2fa464f811", "score": "0.58347595", "text": "private static void printLabels(int roiMiddle, int offset, int boundingRectPosition, int tachoCount, float distance) { \t\r\n \tLCD.drawString(\"roiMiddle: \" + roiMiddle, 1, 1); \t\r\n\t\tLCD.drawString(\"Offset: \" + offset, 1,2);\r\n\t\tLCD.drawString(\"Bound Rect: \" + boundingRectPosition, 1, 3);\r\n\t\tLCD.drawString(\"Tacho Count: \" + tachoCount, 1, 4);\r\n\t\tLCD.drawString(\"Distance:\" + distance, 1, 5);\r\n }", "title": "" }, { "docid": "092de3afa7f8d7d2a816971ccb6efba8", "score": "0.58309567", "text": "public void setYLabel (String _label) { currentSegment.setYLabel(inputLabels[1] = _label); }", "title": "" }, { "docid": "2ce9f8a19210ed60e7fe6333fc586e47", "score": "0.5820683", "text": "protected synchronized void updateScore() {\n scoreLabel.setText(\"Score: \" + game.getScore());\n }", "title": "" }, { "docid": "b84abc0bbe301673efe41e55c2c60c16", "score": "0.5820201", "text": "public void MovePlayerGUI() {\n\t}", "title": "" }, { "docid": "12b3414da1f4bf25f10efcadc3313783", "score": "0.5818854", "text": "private void updateStats(){\n \t\tnextLocation.setText(app.getMap().nextLocation()+ \" is \"+app.getMap().distanceToNext() + \" away.\");\n \t}", "title": "" }, { "docid": "6715ae8ff2f4079ae721630bbb65a265", "score": "0.5811568", "text": "public void MOVEON (){\n\t\t\t\n\t\t//if the user wins\n\t\tif (n>=50&&won==false){\n\t\t\tconT.setText(\"for becoming an expert on computer science terms\");//Congratulate them\n\t\t\tcdLayout.show (p_screen, \"4\");//take them to the closing screen\n\t\t\twon=true;//set won to true\n\t\t}\n\t\t//update the last word\n\t\tlastWord = wordChosen;\n\t\t\n\t\t//reset all letters in the panel\n\t\tfor (int z = 0; z<wrongLet.length();z++){\n\t\t\tALPHA[al.indexOf(wrongLet.substring(z,z+1))].setForeground(Color.white);\n\t\t}\n\t\t//reset variables\n\t\tused = false;\n\t\twrongLet=\"\";\n\t\tlives = 6;\n\t\thangM.setIcon(createImageIcon (\"0.png\"));//and pictures\n\t\tprev = 0;\n\t\t\n\t\t//remove all the dashed lines\n\t\tfor (int i =0; i<wordChosen.length();i++)\n\t\t\tANSlB[i].setText (\"\");\n\t\t\n\n\t\tif (n>20){//if score is 20\n\t\t\t//test them on all words\n\t\t\tlv = (int)(Math.random() * CSterms[lv][w].length);\n\t\t\t\n\t\t}\n\t\telse if (n>=15){//if score is 15 or higher\n\t\t\tlv=2;//test them on level 3 words\n\t\t\t\t\n\t\t}\n\t\telse if (n>=10){//if score is 10 or high \n\t\t\tlv=1;//test them on level 2 words\n\t\t\t\t\n\t\t}\n\t\telse{//else\n\t\t\tlv=0;//test them on level 1 words\n\t\t\t\n\t\t}\n\t\trandC();//call the random word choosing method\n\t\t\n\t\tamountGT = 0;//amount of letters guessed\n\n\t\t//draws underscores\n\t\tfor (int i =0; i<wordChosen.length();i++){\n\t\t\tANSlB[i].setText (\"_\");\n\t\t\tANSlB[i].setPreferredSize(new Dimension(49,20));\n\t\t\tANSlB[i].setForeground (Color.black);\n\t\t\tSystem.out.println(\"::\"+i+\" \");\n\t\t}\n\t\t\n\t\t//wastes time (a little)\n\t\tfor (int q = 0; q<wordChosen.length();q++){\n\t\t\tif (ansText.equals(wordChosen.substring(q,q+1))){\n\t\t\t\toccur++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//set values to their orginal state so they can be used again for a new word\n\t\tguess = \"\";\n\t\toccur =0;//for multiple occurrences of one letter in a word//set it to 0\n\t\thasOcc = 0;\t//set to 0\n\t}", "title": "" }, { "docid": "18c18803b14202dd6790ef96bddb4e1c", "score": "0.5803206", "text": "public LJLabel getPosLabel() {\n\t\treturn posLabel;\n\t}", "title": "" }, { "docid": "3efca94078d1241373fdfb8f649ba1a5", "score": "0.5787227", "text": "private void createLabels() {\r\n String text;\r\n\r\n /* Define the fonts. */\r\n setPlainFont(mousePos);\r\n setPlainFont(selectionRangeSize);\r\n setPlainFont(drawingAreaSize);\r\n setPlainFont(status);\r\n\r\n /*\r\n * Define the width of the 3 leftmost JLabels (same size) and 1 height\r\n * to give the StatusBar a minimum height via the PreferredSize.\r\n */\r\n int prefWidth = getPreferredWidthForPixelLabels();\r\n int fontHeight = getMaxFontHeight();\r\n mousePos.setPreferredSize(new Dimension(prefWidth, fontHeight));\r\n selectionRangeSize.setPreferredSize(new Dimension(prefWidth, fontHeight));\r\n drawingAreaSize.setPreferredSize(new Dimension(prefWidth, fontHeight));\r\n status.setPreferredSize(new Dimension(prefWidth, fontHeight));\r\n\r\n /* Define mousePos label. */\r\n text = i18n.getMessage(\"infoCurrentMousePosition\");\r\n mousePos.setToolTipText(text);\r\n mousePos.setPreferredSize(new Dimension(prefWidth, fontHeight));\r\n\r\n /* Define selectionFrameSize label. */\r\n text = i18n.getMessage(\"infoCurrentSizeOfSelectionFrame\");\r\n selectionRangeSize.setToolTipText(text);\r\n selectionRangeSize.setPreferredSize(new Dimension(prefWidth, fontHeight));\r\n\r\n /* Define drawingAreaSize label. */\r\n text = i18n.getMessage(\"infoCurrentSizeOfDrawingArea\");\r\n drawingAreaSize.setToolTipText(text);\r\n drawingAreaSize.setPreferredSize(new Dimension(prefWidth, fontHeight));\r\n\r\n /* Define status label. */\r\n status.setBorder(javax.swing.BorderFactory.createEtchedBorder());\r\n text = i18n.getMessage(\"infoStatusMessages\");\r\n status.setToolTipText(text);\r\n status.setPreferredSize(new Dimension(prefWidth, fontHeight));\r\n\r\n /* Borders (https://stackoverflow.com/a/22384566) */\r\n Border border = javax.swing.BorderFactory.createEtchedBorder();\r\n Border margin = new EmptyBorder(borderOffset, borderOffset, borderOffset, borderOffset);\r\n\r\n mousePos.setBorder(new CompoundBorder(border, margin));\r\n selectionRangeSize.setBorder(new CompoundBorder(border, margin));\r\n drawingAreaSize.setBorder(new CompoundBorder(border, margin));\r\n status.setBorder(new CompoundBorder(border, margin));\r\n\r\n /*\r\n * Add small pictures to the labels with the \"pixel information\" to\r\n * explain their meaning.\r\n */\r\n ImageIcon icon;\r\n icon = ImageIconCreator.getImageIcon(imagesSubFolder, imagesSize.getValue(), \"MousePos.png\");\r\n mousePos.setIcon(icon);\r\n icon = ImageIconCreator.getImageIcon(imagesSubFolder, imagesSize.getValue(), \"SelectionRangeSize.png\");\r\n selectionRangeSize.setIcon(icon);\r\n icon = ImageIconCreator.getImageIcon(imagesSubFolder, imagesSize.getValue(), \"DrawingAreaSize.png\");\r\n drawingAreaSize.setIcon(icon);\r\n }", "title": "" }, { "docid": "e74d4dcfd108bc6712c1da14d548256c", "score": "0.5786396", "text": "@Override\n\t\tpublic void okPressed() {\t\t\t\t\t\t\n\t\t\t\n\t\t\t/*\n\t\t\t * Update the label template first.\n\t\t\t */ \n\t\t\tlabelTemplate = (gov.noaa.nws.ncep.ui.pgen.elements.Text)new DrawableElementFactory().create(DrawableType.TEXT, \n\t\t\t\t\tthis, \"Text\", \"General Text\", (Coordinate)null, null);\n\t\t\t\n\t\t\tlabelTemplate.setText( new String[] { getLabel()} );\n\n\t\t\t/*\n\t\t\t * Update the contours.\n\t\t\t */ \n\t\t\tupdateLabelAttributes();\n\t\t\t\n\t\t}", "title": "" }, { "docid": "352aade6b560a6cbda82b7fc94c6fe0a", "score": "0.57858145", "text": "@FXML\r\n public void hundleTextFieldTurnLeft(MouseEvent m){\r\n \tmoves_left.appendText(String.valueOf(left));\r\n \t\r\n }", "title": "" }, { "docid": "9f5d24baa58effebfe1898d48f4ce965", "score": "0.5780937", "text": "@Override\n public void upDate(Observable o) {\n jLabelHora.setText(relojito.obtenerHora());\n jLabelHora.paintImmediately(jLabelHora.getVisibleRect());\n }", "title": "" }, { "docid": "5592fed5517e97c4f437fdd12ba49364", "score": "0.57796663", "text": "void showText() {\n\t\tif (_label == null) return;\n\t\tif (!_labelPane.getChildren().contains(_label)) _labelPane.getChildren().add(_label);\n\n\t\tFadeTransition fadeInLabel = new FadeTransition(Duration.seconds(Constants.LABEL_ANIMATION), _label);\n\t\tfadeInLabel.setFromValue(0.0);\n\t\tfadeInLabel.setToValue(1.0);\n\t\tfadeInLabel.play();\n\t}", "title": "" }, { "docid": "20b332a86ccb8fb16ffd9f7bb5a60408", "score": "0.57759196", "text": "public void setLabel( String lbl ) {\n labelTxt.setText( lbl );\n updateLabelBtnsSelection( lbl );\n\t}", "title": "" }, { "docid": "cf185495198d2205cb4baa4c38565dad", "score": "0.57757235", "text": "private void setLabelTexts() {\n // Task Side\n String addString = languageManager.getString(\"ui.action.add\");\n String sortByString = languageManager.getString(\"ui.text.sortby\");\n\n // Translate the sorting types to the current language\n String[] sortingTypes = model.getSortingTypes();\n sortByList.removeAllItems();\n for (int i = 0; i < sortingTypes.length; i++) {\n sortByList.addItem(languageManager.getString(\n \"ui.sort.\" + sortingTypes[i].toLowerCase()));\n }\n\n addButton.setText(\"+ \" + addString);\n sortByLabel.setText(sortByString + \": \");\n\n // Menu Bar\n String fileString = languageManager.getString(\"ui.menu.file\");\n String editString = languageManager.getString(\"ui.menu.edit\");\n String helpString = languageManager.getString(\"ui.menu.help\");\n String newTaskString = languageManager.getString(\"ui.menu.newtask\");\n String quitString = languageManager.getString(\"ui.menu.quit\");\n String undoString = languageManager.getString(\"ui.menu.undo\");\n String redoString = languageManager.getString(\"ui.menu.redo\");\n String languageChangeString =\n languageManager.getString(\"ui.menu.languagechange\");\n String aboutString = languageManager.getString(\"ui.menu.about\");\n String themesString = languageManager.getString(\"ui.menu.themes\");\n String systemThemeString =\n languageManager.getString(\"ui.menu.systemTheme\");\n String metalThemeString =\n languageManager.getString(\"ui.menu.metalTheme\");\n String nimbusThemeString =\n languageManager.getString(\"ui.menu.nimbusTheme\");\n fileMenu.setText(fileString);\n newTask.setText(newTaskString);\n quitItem.setText(quitString);\n editMenu.setText(editString);\n undoItem.setText(undoString);\n redoItem.setText(redoString);\n availableLanguages.setText(languageChangeString);\n helpMenu.setText(helpString);\n aboutItem.setText(aboutString);\n themes.setText(themesString);\n systemThemeItem.setText(systemThemeString);\n metalThemeItem.setText(metalThemeString);\n nimbusThemeItem.setText(nimbusThemeString);\n\n // Confirmation and alert windows\n UIManager.put(\"OptionPane.okButtonText\",\n languageManager.getString(\"ui.optionpane.ok\"));\n UIManager.put(\"OptionPane.cancelButtonText\",\n languageManager.getString(\"ui.optionpane.cancel\"));\n UIManager.put(\"OptionPane.yesButtonText\",\n languageManager.getString(\"ui.optionpane.yes\"));\n UIManager.put(\"OptionPane.noButtonText\",\n languageManager.getString(\"ui.optionpane.no\"));\n }", "title": "" }, { "docid": "77729aa4e84eddb4f37f1dab462dadab", "score": "0.5772864", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n this.targetLabel.setText(e.getActionCommand());\n }", "title": "" } ]
d27499d4cdcc6640fb7422a8d9fe7621
Set the permission name.
[ { "docid": "9ffd9245b37f5b35ad13f8decedae63c", "score": "0.7504494", "text": "public void setPermissionName(String permissionName) {\n this.permissionName = permissionName;\n }", "title": "" } ]
[ { "docid": "85a0e3ee194bf0741aad2d065227e2bf", "score": "0.730909", "text": "public void setPermissionName(String permissionName) {\n this.permissionName = permissionName;\n }", "title": "" }, { "docid": "5c00f89faf8154d57d8245ec1899e767", "score": "0.6948943", "text": "public String getPermissionName() {\n return permissionName;\n }", "title": "" }, { "docid": "75e15e9caf294798c258ebed79ef1162", "score": "0.69292223", "text": "public String getPermissionName() {\n return permissionName;\n }", "title": "" }, { "docid": "9de194e20951ec8991bb414b40826f6d", "score": "0.65624076", "text": "protected void setName(String n){\n\t this.name = n;\n\t}", "title": "" }, { "docid": "e1dea4379ca648927e601ead7ab4a4a6", "score": "0.6510281", "text": "public void setName(final String value) {\n this.name = value;\n }", "title": "" }, { "docid": "2fbb96d03a3cfccee7b21d96bf64034c", "score": "0.6509602", "text": "public void setName(String value) {\r\n this.name = value;\r\n }", "title": "" }, { "docid": "60788bdbfb2cc616efac15b70b844d9c", "score": "0.64919984", "text": "@Override\n public final void setName(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "c7cdb09f8702e7cc188ef8f924639879", "score": "0.64916456", "text": "public void setName(String n){\r\n\t\tName = n;\r\n\t}", "title": "" }, { "docid": "28316d1ffb56468477891c7fffbb1763", "score": "0.64858896", "text": "public void setName(String name) {\r\n /*Set the name to the passed value*/\r\n this.name = name;\r\n }", "title": "" }, { "docid": "ad8ec973960af1939f43d5599eaf9404", "score": "0.6476771", "text": "public void setName(java.lang.CharSequence value) {\n this.name = value;\n }", "title": "" }, { "docid": "abaa1884e3c363ddee604b83a2013f71", "score": "0.6474838", "text": "public void setName (String n) {\r\n\t\tthis.name = n;\r\n\t}", "title": "" }, { "docid": "6e40d182435ed6fc71e93afd5b63b70f", "score": "0.6473022", "text": "public void setName(String value) {\n name = value;\n }", "title": "" }, { "docid": "4b4861aad641b81d79231f9b1e16b347", "score": "0.6469074", "text": "public void setName(java.lang.String value) {\n this.name = value;\n }", "title": "" }, { "docid": "4b4861aad641b81d79231f9b1e16b347", "score": "0.6469074", "text": "public void setName(java.lang.String value) {\n this.name = value;\n }", "title": "" }, { "docid": "7f19118754ff7cdd3edfce0927715f28", "score": "0.64605844", "text": "public void setName(String n) {\n\t\tname = n;\n\t}", "title": "" }, { "docid": "9e95f4df714f50c59de943e2f6ea787d", "score": "0.6459776", "text": "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "9e95f4df714f50c59de943e2f6ea787d", "score": "0.6459776", "text": "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "9e95f4df714f50c59de943e2f6ea787d", "score": "0.6459776", "text": "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "1b679a567ad07a0488fc91ef9c90c525", "score": "0.64584976", "text": "public void setName(String name){\n\t\t_name=name;\n\t}", "title": "" }, { "docid": "c53d58c05c52038b43df4c00b05ffb4b", "score": "0.64546645", "text": "public void setName(String n) {\n name = n;\n }", "title": "" }, { "docid": "c53d58c05c52038b43df4c00b05ffb4b", "score": "0.64546645", "text": "public void setName(String n) {\n name = n;\n }", "title": "" }, { "docid": "dd4cef0633bcdba6241431257b190889", "score": "0.6453823", "text": "public void setName(String n)\r\n\t{\r\n\t\tname = n;\r\n\t}", "title": "" }, { "docid": "cb83ba9bf44a0f50d8e38cc6bc000e29", "score": "0.64403856", "text": "public void setName(String name) {\n\t\tif (name.length() > NAME_SIZE) {\n\t\t\tSystem.out.println(\"Name has a \" + NAME_SIZE + \" char max\");\n\t\t}\n\t\tthis.name = name;\n\t\t\n\t}", "title": "" }, { "docid": "ad51dff043d304d6b0cf49cdab8cc424", "score": "0.6435039", "text": "protected void setName(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "ad51dff043d304d6b0cf49cdab8cc424", "score": "0.6435039", "text": "protected void setName(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "ad51dff043d304d6b0cf49cdab8cc424", "score": "0.6435039", "text": "protected void setName(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "368145ae44d9ab74d9325f4f8caefc42", "score": "0.6434387", "text": "public void setName(String n)\r\n {\r\n name=n;\r\n }", "title": "" }, { "docid": "96425ab5985d0c4e61a72d4d5c823193", "score": "0.6426948", "text": "public void setName(String name) {\n NAME = name;\n }", "title": "" }, { "docid": "b2d2be4d6c89905b56209de7a4dcda2a", "score": "0.64249486", "text": "private void setName(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "5ca957d7776faf9f630f5960a318a94d", "score": "0.64243674", "text": "public void setName(String value) {\n\t\tthis.name = value;\n\t}", "title": "" }, { "docid": "b3238ed52bad63fa6ff43b4a76ac1d5a", "score": "0.6423461", "text": "public void setName(String n)\n\t{\n\t\tname = n;\n\t}", "title": "" }, { "docid": "b2437952c8a3cc97b4935aae9a15520a", "score": "0.6422586", "text": "public void setName(String val){\r\n\t\tthis.name = val;\r\n\t}", "title": "" }, { "docid": "cd9f1082823b65214ee5a5e330f63424", "score": "0.64216757", "text": "public void setName(String value_)\n {\n name.setValue(value_);\n }", "title": "" }, { "docid": "82403402368fd862b98a23ea3addcc06", "score": "0.64185834", "text": "public void setName(java.lang.CharSequence value) {\n this.Name = value;\n }", "title": "" }, { "docid": "4d47a2912d7f829a8afe1b3c19598c08", "score": "0.6409945", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "4d47a2912d7f829a8afe1b3c19598c08", "score": "0.6409945", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "3031c3494dac1605d166ba63ce14bb89", "score": "0.64079756", "text": "private void setName(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "3031c3494dac1605d166ba63ce14bb89", "score": "0.64079756", "text": "private void setName(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "ad6848a94efe8474b844bc1dd580f2ce", "score": "0.6406808", "text": "private void setName(String n){\n name = n;\n }", "title": "" }, { "docid": "7ac0bc06bd34f87beeb0e9e1b24ddbbb", "score": "0.6400049", "text": "public void setName(final String name) {\n this.name = name;\n }", "title": "" }, { "docid": "7ac0bc06bd34f87beeb0e9e1b24ddbbb", "score": "0.6400049", "text": "public void setName(final String name) {\n this.name = name;\n }", "title": "" }, { "docid": "7ac0bc06bd34f87beeb0e9e1b24ddbbb", "score": "0.6400049", "text": "public void setName(final String name) {\n this.name = name;\n }", "title": "" }, { "docid": "8accb8f2165da0f980e5902085ac0b5b", "score": "0.63987714", "text": "public void setName(String name)\r\n\t\t{ this.name = name; }", "title": "" }, { "docid": "8eee2862d03e3127c94be102223980e4", "score": "0.6395398", "text": "@Override\r\n\tpublic void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "80ce8e64c11763310af0a669c847bea6", "score": "0.63898593", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "80ce8e64c11763310af0a669c847bea6", "score": "0.63898593", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "8eaa6e4aba774367bd72aff6d2b51edb", "score": "0.6383008", "text": "@SuppressWarnings(\"unused\")\n public void setName(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "69bf5096378e8f9d736321586a1d7eac", "score": "0.63823944", "text": "public final void setName(java.lang.String name)\r\n\t{\r\n\t\tsetName(getContext(), name);\r\n\t}", "title": "" }, { "docid": "a942e35a7ce1600707d22b097125dff9", "score": "0.63794875", "text": "@Override\n\tpublic void setName(String name) {\n\t this.name = name;\n\t}", "title": "" }, { "docid": "e244da8d70109fab7a58d3f9f9b8b1fc", "score": "0.63773245", "text": "@Override\n\tpublic void setName(String name) {\n\t\t// TODO Auto-generated method stub\n\t\tthis.username = name;\n\t\t\n\t}", "title": "" }, { "docid": "7afa3e65191491d6f97126d6ba98165f", "score": "0.63758165", "text": "private void setName(String name)\n {\n this.name = new String(name);\n }", "title": "" }, { "docid": "ed7be801ff0d2b972981a842dbdc1723", "score": "0.63717544", "text": "public void setName(String name) { name_ = name; }", "title": "" }, { "docid": "770117034d2dc48f0c431088e3678cdd", "score": "0.63692194", "text": "public void setName(String name){\r\n this.name = name;\r\n }", "title": "" }, { "docid": "770117034d2dc48f0c431088e3678cdd", "score": "0.63692194", "text": "public void setName(String name){\r\n this.name = name;\r\n }", "title": "" }, { "docid": "770117034d2dc48f0c431088e3678cdd", "score": "0.63692194", "text": "public void setName(String name){\r\n this.name = name;\r\n }", "title": "" }, { "docid": "106816431523ed914bb96ecbdce54e52", "score": "0.6368709", "text": "@Override\n\tpublic void setName(String name) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "816b6d4e3e8629e2514693764bb69b14", "score": "0.6367512", "text": "public void setPermissionLabel(String permissionLabel) {\n this.permissionLabel = permissionLabel;\n }", "title": "" }, { "docid": "42094ffd15d93e9d66a34e6e95567e6c", "score": "0.6366824", "text": "public void setName(final String name) {\n\t\tthis.name = name;\t\t\n\t}", "title": "" }, { "docid": "25aa2c28958e91bd7b65f5dfd35b5e51", "score": "0.63659286", "text": "public void setName(String name) {\r\n \t\tthis.name = name;\r\n \t}", "title": "" }, { "docid": "40d328ff618268020195983341379e33", "score": "0.63619304", "text": "public void setName( String name ) {\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "c7a5bacee8c049ddfd9ec6740658480d", "score": "0.6360031", "text": "public void setName(final String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "c7a5bacee8c049ddfd9ec6740658480d", "score": "0.6360031", "text": "public void setName(final String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "b4fa1b94156af878634591b88552c8e1", "score": "0.63597935", "text": "public void setName(String name)\n\t{\n\t\tthis.name = name; // store the name\n\t}", "title": "" }, { "docid": "321f2fbc4ad63eafd04816b2fe851af8", "score": "0.63597804", "text": "public void setName(String name) {\r\n\t\tthis.Name = name;\r\n\t}", "title": "" }, { "docid": "b7a3f8ca2cb0c0a8511445b0b861e692", "score": "0.63580114", "text": "public void setName(final String name)\r\n {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "e2f86ebb2055f8505213ca67044e2898", "score": "0.63578385", "text": "public void setName(String name) {\n\t\t\tSystem.out.println(\"Changing name...\\n\");\n\t\t\t\tthis.name=name;\n\t\t}", "title": "" }, { "docid": "94d890686c80a70877d994b95619f890", "score": "0.635597", "text": "public void setName(final String name) {\n\t\tthis.name = name;\n \t}", "title": "" }, { "docid": "7189e45f865f5aca51cbf3d46c6729df", "score": "0.6355924", "text": "public void setName( String name ) {\n this.name = name;\n }", "title": "" }, { "docid": "7189e45f865f5aca51cbf3d46c6729df", "score": "0.6355924", "text": "public void setName( String name ) {\n this.name = name;\n }", "title": "" }, { "docid": "27dd37a7d9850ae3665e01ac1fbe49ea", "score": "0.6352263", "text": "public void setName (String name)\n\t{\n\t\t_name = name;\n\t}", "title": "" }, { "docid": "e174b38453a78dec178590db380a1353", "score": "0.6351154", "text": "public void setName( final String name );", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "4d06ac62e6e785786b31708a80b63e14", "score": "0.63495153", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "a09a6855e5510e1df48e184c74edcfa6", "score": "0.63485265", "text": "public void setName(String name) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "e26ff0da97dcc17e03a897c422c9a43b", "score": "0.63479805", "text": "public void setName(String name) {\n\tthis.name = name;\n }", "title": "" }, { "docid": "fdbd589f9ac3c38c58b7bda27d675aec", "score": "0.63474995", "text": "public void setName(String n) { name = n; }", "title": "" }, { "docid": "9c1b5ce413a1c44f83ddbcfe473d4ef2", "score": "0.6346406", "text": "public void setName(String aName) {\r\n name = aName;\r\n }", "title": "" }, { "docid": "97535bd9e6289ce3db72a881bbba9861", "score": "0.634592", "text": "public void setName(String name) \n\t{\n\t\tthis.name = name;\t\n\t}", "title": "" }, { "docid": "38c80e653cc26a90f4710415b90ba4b5", "score": "0.6341091", "text": "public void setName(String name) {\n setProperty(NAME, name);\n }", "title": "" }, { "docid": "e66089c9586fcd9fde7d3029fdf55862", "score": "0.6338128", "text": "public void setName (String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "dd761c94ac8dcc648057ea2bf4d4a130", "score": "0.63377887", "text": "public void setName(String name){\n\t\tthis.name=name;\n\t}", "title": "" }, { "docid": "dd761c94ac8dcc648057ea2bf4d4a130", "score": "0.63377887", "text": "public void setName(String name){\n\t\tthis.name=name;\n\t}", "title": "" }, { "docid": "efff2d4e57c7c96552bf5578deccfa00", "score": "0.633617", "text": "@Override\r\n public void setName(final String pName) {\r\n name = pName;\r\n }", "title": "" }, { "docid": "1c4dcfa8581a236082a24946432b95a4", "score": "0.6335422", "text": "public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "1c4dcfa8581a236082a24946432b95a4", "score": "0.6335422", "text": "public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "1c4dcfa8581a236082a24946432b95a4", "score": "0.6335422", "text": "public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "1c4dcfa8581a236082a24946432b95a4", "score": "0.6335422", "text": "public void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}", "title": "" } ]
c4e95b0bd725690de32315087f76997c
string field_1219 = 1219;
[ { "docid": "7883eded1eabbd74b30177b5f18fdebb", "score": "0.0", "text": "public java.lang.String getField1219() {\n java.lang.Object ref = field1219_;\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 field1219_ = s;\n return s;\n }\n }", "title": "" } ]
[ { "docid": "753fb552341623091c379be25220910b", "score": "0.7553245", "text": "java.lang.String getField1236();", "title": "" }, { "docid": "4c218e4e9596468192dc862f6174448f", "score": "0.75517994", "text": "java.lang.String getField1307();", "title": "" }, { "docid": "3a11da8dd338b26c976434467bfe7c31", "score": "0.7502338", "text": "java.lang.String getField1231();", "title": "" }, { "docid": "150483f33c67824872d3d8fbd00cca36", "score": "0.74960667", "text": "java.lang.String getField1309();", "title": "" }, { "docid": "56df191cda4b681b6eceb71ecd7e08b0", "score": "0.74915284", "text": "java.lang.String getField1209();", "title": "" }, { "docid": "3b21b5c18319d4dfbf5c472a0cbd2228", "score": "0.74625343", "text": "java.lang.String getField1987();", "title": "" }, { "docid": "5492d63cbce79896e1f20a5c876ac944", "score": "0.74398243", "text": "java.lang.String getField1934();", "title": "" }, { "docid": "e0669a83106ca4edf6ce01c8369dd513", "score": "0.7425599", "text": "java.lang.String getField1956();", "title": "" }, { "docid": "277a11da44012ee1f59a0d5c399c17b4", "score": "0.74104655", "text": "java.lang.String getField1936();", "title": "" }, { "docid": "e690cb3fba7fa5056cb149a9b019b56c", "score": "0.7405995", "text": "java.lang.String getField1900();", "title": "" }, { "docid": "691754fee4b50bb042ed2aeda8d8eab3", "score": "0.74021095", "text": "java.lang.String getField1248();", "title": "" }, { "docid": "aa978c32661aaae60ebfa500ac20ef1b", "score": "0.74004704", "text": "java.lang.String getField1976();", "title": "" }, { "docid": "5ca472adb1473fa5bcaed7b63903df67", "score": "0.73961335", "text": "java.lang.String getField1977();", "title": "" }, { "docid": "7c0cf973e8fc05b6e95e6f6ebe6d7e10", "score": "0.73878556", "text": "java.lang.String getField1509();", "title": "" }, { "docid": "71661ef45afc3ebc50e27c81483b298c", "score": "0.7387547", "text": "java.lang.String getField1919();", "title": "" }, { "docid": "af097464f1e660c54daf0964d72740aa", "score": "0.7370406", "text": "java.lang.String getField1297();", "title": "" }, { "docid": "8dc2111b02b19a5a9d23196244557a9f", "score": "0.73629034", "text": "java.lang.String getField1710();", "title": "" }, { "docid": "e6492705e0196e5e23f8094475f3570f", "score": "0.73566437", "text": "java.lang.String getField1260();", "title": "" }, { "docid": "35cb701cc98ee9ac1ba8faefadda3ead", "score": "0.7354167", "text": "java.lang.String getField1958();", "title": "" }, { "docid": "fb8548db41a9727450feb25b0d10a3ad", "score": "0.73535126", "text": "java.lang.String getField1265();", "title": "" }, { "docid": "46c492b647350d76199bbbbffbf3ca16", "score": "0.7352317", "text": "java.lang.String getField1931();", "title": "" }, { "docid": "17a8a4c836178dbe95a339ea56c54510", "score": "0.7351946", "text": "java.lang.String getField1036();", "title": "" }, { "docid": "2f52bcc9ef990f48b8fa427c9fd41351", "score": "0.7346015", "text": "java.lang.String getField1258();", "title": "" }, { "docid": "c10fcc61e73e9269bb9442ce26523935", "score": "0.73445696", "text": "java.lang.String getField1997();", "title": "" }, { "docid": "8317997ad5ef71a53a03e046c950039f", "score": "0.73441833", "text": "java.lang.String getField1978();", "title": "" }, { "docid": "857eefd1449a2f4604fe8a952ed26115", "score": "0.73404294", "text": "java.lang.String getField1224();", "title": "" }, { "docid": "2fbc33ed606a2d4e76e217a44375e057", "score": "0.73360133", "text": "java.lang.String getField1409();", "title": "" }, { "docid": "8e1d8fed8c87b6d3dde8f536c2a73fbe", "score": "0.733592", "text": "java.lang.String getField1999();", "title": "" }, { "docid": "4313116e1520c261428a2775b8731a19", "score": "0.7328772", "text": "java.lang.String getField1201();", "title": "" }, { "docid": "3703ca00c7c2fadb7a2bf4f6c2375fd6", "score": "0.73201597", "text": "java.lang.String getField1972();", "title": "" }, { "docid": "a8948a927aea6bea80da7a184038a52c", "score": "0.7317443", "text": "java.lang.String getField1032();", "title": "" }, { "docid": "2669352520bcdb173fe26b804cc55e0b", "score": "0.73117334", "text": "java.lang.String getField1436();", "title": "" }, { "docid": "b39c3c4a9767f5b6b54a7502dae92b9e", "score": "0.7309019", "text": "java.lang.String getField1239();", "title": "" }, { "docid": "184f91dab4496ad09a5b12e76a5cbe51", "score": "0.73019004", "text": "java.lang.String getField1912();", "title": "" }, { "docid": "bccea17ed2a76477d6a6f8481e85f93a", "score": "0.72995", "text": "java.lang.String getField1809();", "title": "" }, { "docid": "f42614909ae7d906a42ecdbf8d8f1145", "score": "0.7298482", "text": "java.lang.String getField1237();", "title": "" }, { "docid": "0a2d18b906281dab534c64af34bfe783", "score": "0.72984684", "text": "java.lang.String getField1230();", "title": "" }, { "docid": "59945972889fbdc947daee2a4d6bd95a", "score": "0.72981644", "text": "java.lang.String getField1948();", "title": "" }, { "docid": "9467b9343264d0300fecca0fd4aaeaf4", "score": "0.72912765", "text": "java.lang.String getField1329();", "title": "" }, { "docid": "85e0a3679afb4a8c7221c308a64bb152", "score": "0.72884727", "text": "java.lang.String getField1962();", "title": "" }, { "docid": "76e0e28a220529ad77009b9f6cb53230", "score": "0.7288461", "text": "java.lang.String getField1930();", "title": "" }, { "docid": "8f1cd2f2227e896e8420a797d4116042", "score": "0.72873586", "text": "java.lang.String getField1404();", "title": "" }, { "docid": "264ead814a85fc1cb3adf2d83c0c7e56", "score": "0.7286189", "text": "java.lang.String getField1308();", "title": "" }, { "docid": "84a207049faa57f2d1982db6ce095e85", "score": "0.72837853", "text": "java.lang.String getField1328();", "title": "" }, { "docid": "095ce5a868b29a6905668db6c5188aa8", "score": "0.7282808", "text": "java.lang.String getField1202();", "title": "" }, { "docid": "c3e0596ab539553104b2ec85d340486e", "score": "0.72816926", "text": "java.lang.String getField1204();", "title": "" }, { "docid": "bab1f4e144a967daa5f61f19a734e005", "score": "0.7279947", "text": "java.lang.String getField1963();", "title": "" }, { "docid": "79dc26c8e4032e3212baa0fb7cb2f252", "score": "0.7278103", "text": "java.lang.String getField1989();", "title": "" }, { "docid": "3c62e1f2a8dda4b14000afbfbe876045", "score": "0.7274577", "text": "java.lang.String getField1709();", "title": "" }, { "docid": "c9a970cfec4911e10cf0dbc3c12247fe", "score": "0.72701377", "text": "java.lang.String getField1320();", "title": "" }, { "docid": "fdd8d35e2fc5106027433c1a64aba111", "score": "0.726946", "text": "java.lang.String getField1909();", "title": "" }, { "docid": "1820a4a873636270ca05855a731f4263", "score": "0.72642446", "text": "java.lang.String getField1974();", "title": "" }, { "docid": "c787c6faeb2c60db8465192c2aad42e0", "score": "0.7262668", "text": "java.lang.String getField1240();", "title": "" }, { "docid": "96465b2d47ca98b0bbea3f702c260d2a", "score": "0.72626525", "text": "java.lang.String getField1609();", "title": "" }, { "docid": "e768a7055fdc4a94ec83bfbbf32e17cb", "score": "0.72593117", "text": "java.lang.String getField1994();", "title": "" }, { "docid": "58c347ebdd1fa0e794a82b82be820b3f", "score": "0.72576535", "text": "java.lang.String getField1954();", "title": "" }, { "docid": "8c996772a95804b409fe0beb242b9a85", "score": "0.7255795", "text": "java.lang.String getField1923();", "title": "" }, { "docid": "a419f006b9ed50d32cf44af7006471ea", "score": "0.7252824", "text": "java.lang.String getField1034();", "title": "" }, { "docid": "e6a1a5b11b9be28217e486cda83d5e00", "score": "0.72498506", "text": "java.lang.String getField1988();", "title": "" }, { "docid": "f9331c7db24b231917ab95bd55f12e08", "score": "0.72488254", "text": "java.lang.String getField1965();", "title": "" }, { "docid": "9cf199b85d495f92bfb7a83cfe19b72f", "score": "0.7246962", "text": "java.lang.String getField1321();", "title": "" }, { "docid": "ec6a55e18f9e043ecc6b299daa260c50", "score": "0.7244105", "text": "java.lang.String getField1136();", "title": "" }, { "docid": "3a4fcfb0a61e9c0be4485d2298c0e323", "score": "0.7241694", "text": "java.lang.String getField1534();", "title": "" }, { "docid": "c7f063cf1a8f6d6891f57b263be64bb6", "score": "0.7241542", "text": "java.lang.String getField1365();", "title": "" }, { "docid": "fe7de4e57e66c346fc4032ee3859f662", "score": "0.72403145", "text": "java.lang.String getField1414();", "title": "" }, { "docid": "6f2cda718c82bd3b0a547421417e74e7", "score": "0.7238031", "text": "java.lang.String getField1941();", "title": "" }, { "docid": "f76c8a521481fba3ed348bdef1a4eb37", "score": "0.72371656", "text": "java.lang.String getField1123();", "title": "" }, { "docid": "0c12717bda91cff312f3a14eb377cd23", "score": "0.72368467", "text": "java.lang.String getField1326();", "title": "" }, { "docid": "35f3219e9e4fc35448284d1f1835fb10", "score": "0.72360164", "text": "java.lang.String getField1208();", "title": "" }, { "docid": "5e8e979da7922364b4398c63516d390e", "score": "0.72355765", "text": "java.lang.String getField1966();", "title": "" }, { "docid": "1bd59f55d64ee0dfec382eb1140cfb9c", "score": "0.7235569", "text": "java.lang.String getField1434();", "title": "" }, { "docid": "3eea9f35ef8dbae262bc99aa8819843b", "score": "0.7234887", "text": "java.lang.String getField1938();", "title": "" }, { "docid": "8cd70f4728d6438035b21b28c84ae321", "score": "0.7233452", "text": "java.lang.String getField1322();", "title": "" }, { "docid": "fd36db794346872d687212f53f29863c", "score": "0.72322136", "text": "java.lang.String getField1206();", "title": "" }, { "docid": "f8c870714ee72be0bb334a6ddf7f1182", "score": "0.7225694", "text": "java.lang.String getField1296();", "title": "" }, { "docid": "8240d22843462ca6c22d5fe1c818ab41", "score": "0.7225617", "text": "java.lang.String getField1952();", "title": "" }, { "docid": "a2ce1598c1af92ceeede5debf38887be", "score": "0.7224738", "text": "java.lang.String getField1945();", "title": "" }, { "docid": "0084e1d4377ac78fa585fbe80f49c467", "score": "0.722237", "text": "java.lang.String getField1200();", "title": "" }, { "docid": "e8ae067ad6cd2c6d7776a95c3e4d89bb", "score": "0.7221344", "text": "java.lang.String getField1937();", "title": "" }, { "docid": "2936423ad1100bfe4e13ce873d27210d", "score": "0.7215794", "text": "java.lang.String getField1219();", "title": "" }, { "docid": "597246ea26e6023594ddba0fd2a27c63", "score": "0.7212461", "text": "java.lang.String getField1865();", "title": "" }, { "docid": "234907f10ad6d113710ad7bb4ab59324", "score": "0.7210431", "text": "java.lang.String getField1922();", "title": "" }, { "docid": "bc8757cd75612c50a26ea3c763032157", "score": "0.7209452", "text": "java.lang.String getField1836();", "title": "" }, { "docid": "e51e765af58d74b9bdd235b721fb8310", "score": "0.72081953", "text": "java.lang.String getField1924();", "title": "" }, { "docid": "c5d8bde4b1d532f82e7a7cd922e2674f", "score": "0.72075444", "text": "java.lang.String getField1304();", "title": "" }, { "docid": "a864829daa36178cff62958d766b7d00", "score": "0.72062534", "text": "java.lang.String getField1981();", "title": "" }, { "docid": "7e058a2e12bc586eab15ba03d0dbd525", "score": "0.72050065", "text": "java.lang.String getField1984();", "title": "" }, { "docid": "435e6515a08b1c5965baa4687d3d3e7c", "score": "0.72046757", "text": "java.lang.String getField1263();", "title": "" }, { "docid": "d7d1a9a1e5dc1bf1dc61c9e83029cc64", "score": "0.7202955", "text": "java.lang.String getField1960();", "title": "" }, { "docid": "aeaf55a583f5a0d66bdbe72d1c3441bb", "score": "0.72024316", "text": "java.lang.String getField1220();", "title": "" }, { "docid": "e9e801dd9bb321a93294685fea17815c", "score": "0.72020304", "text": "java.lang.String getField1301();", "title": "" }, { "docid": "6b40ca10b5d30d29315e4ad5f2414ff9", "score": "0.7199775", "text": "java.lang.String getField1951();", "title": "" }, { "docid": "f9df7a235dd51458d65bddc58425f9a9", "score": "0.7199579", "text": "java.lang.String getField1971();", "title": "" }, { "docid": "6fe87832b9c4d6bc2a756f847dbd8c1c", "score": "0.7199001", "text": "java.lang.String getField1940();", "title": "" }, { "docid": "3552c1bf71c707806b06ba28de1c6232", "score": "0.7198946", "text": "java.lang.String getField1939();", "title": "" }, { "docid": "1982b0741f578065471935cfc14a32f4", "score": "0.7198819", "text": "java.lang.String getField1928();", "title": "" }, { "docid": "c095a2e4811870f13e1e36358547beb1", "score": "0.71963114", "text": "java.lang.String getField1022();", "title": "" }, { "docid": "de2c43b35368e1ea4f304ff291a3b7ee", "score": "0.71956116", "text": "java.lang.String getField1504();", "title": "" }, { "docid": "faca1b30068bd9bba6b466633b4369e8", "score": "0.7194741", "text": "java.lang.String getField1964();", "title": "" }, { "docid": "13a09285344826d9927c17d2d4579bb3", "score": "0.7194436", "text": "java.lang.String getField1933();", "title": "" }, { "docid": "07bd100fdcfead8d7abc67c0820bd2fc", "score": "0.7191453", "text": "java.lang.String getField1665();", "title": "" } ]
5fb9689d601ae4c62d7d4d258a26d983
$ANTLR end "rule__StatementSequence__Group__0" $ANTLR start "rule__StatementSequence__Group__0__Impl" InternalReflex.g:5294:1: rule__StatementSequence__Group__0__Impl : ( () ) ;
[ { "docid": "aac46906d064394ed841e87f4f8a12db", "score": "0.7915503", "text": "public final void rule__StatementSequence__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5298:1: ( ( () ) )\n // InternalReflex.g:5299:1: ( () )\n {\n // InternalReflex.g:5299:1: ( () )\n // InternalReflex.g:5300:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getStatementSequenceAccess().getStatementSequenceAction_0()); \n }\n // InternalReflex.g:5301:2: ()\n // InternalReflex.g:5301:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getStatementSequenceAccess().getStatementSequenceAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
[ { "docid": "8d2653fc7f1d19dc754ab39204ed0aca", "score": "0.78991944", "text": "public final void rule__StatementSequence__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5286:1: ( rule__StatementSequence__Group__0__Impl rule__StatementSequence__Group__1 )\n // InternalReflex.g:5287:2: rule__StatementSequence__Group__0__Impl rule__StatementSequence__Group__1\n {\n pushFollow(FOLLOW_19);\n rule__StatementSequence__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__StatementSequence__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": "2b26757c38435ff8d5c5bf3aca3ab7be", "score": "0.77117205", "text": "public final void rule__Statement__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5205:1: ( rule__Statement__Group_0__1__Impl )\n // InternalReflex.g:5206:2: rule__Statement__Group_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Statement__Group_0__1__Impl();\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": "e2829de5d0fe7a1aa9b5fc2834392333", "score": "0.76309913", "text": "public final void rule__StatementSequence__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5313:1: ( rule__StatementSequence__Group__1__Impl )\n // InternalReflex.g:5314:2: rule__StatementSequence__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__StatementSequence__Group__1__Impl();\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": "c29d8a163ffdd9cd5d9fadb61f00d18a", "score": "0.76237136", "text": "public final void rule__Statement__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5190:1: ( ( () ) )\n // InternalReflex.g:5191:1: ( () )\n {\n // InternalReflex.g:5191:1: ( () )\n // InternalReflex.g:5192:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getStatementAccess().getStatementAction_0_0()); \n }\n // InternalReflex.g:5193:2: ()\n // InternalReflex.g:5193:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getStatementAccess().getStatementAction_0_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3ab75594482ec85481b1d775e55aa6c4", "score": "0.7610614", "text": "public final void rule__Statement__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5178:1: ( rule__Statement__Group_0__0__Impl rule__Statement__Group_0__1 )\n // InternalReflex.g:5179:2: rule__Statement__Group_0__0__Impl rule__Statement__Group_0__1\n {\n pushFollow(FOLLOW_12);\n rule__Statement__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Statement__Group_0__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": "5c44ba7556ef3273f24f2e1767a38d02", "score": "0.7286017", "text": "public final void ruleStatementSequence() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:559:2: ( ( ( rule__StatementSequence__Group__0 ) ) )\n // InternalReflex.g:560:2: ( ( rule__StatementSequence__Group__0 ) )\n {\n // InternalReflex.g:560:2: ( ( rule__StatementSequence__Group__0 ) )\n // InternalReflex.g:561:3: ( rule__StatementSequence__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getStatementSequenceAccess().getGroup()); \n }\n // InternalReflex.g:562:3: ( rule__StatementSequence__Group__0 )\n // InternalReflex.g:562:4: rule__StatementSequence__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__StatementSequence__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getStatementSequenceAccess().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": "3cbe03be6c58e8e900d35808434d0732", "score": "0.70255494", "text": "public final void rule__ConstraintExpression__Group_1_0__0() 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:3013:1: ( rule__ConstraintExpression__Group_1_0__0__Impl )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3014:2: rule__ConstraintExpression__Group_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__ConstraintExpression__Group_1_0__0__Impl_in_rule__ConstraintExpression__Group_1_0__06182);\n rule__ConstraintExpression__Group_1_0__0__Impl();\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": "81c2e8ec98094810ed3b1827b3fc0c06", "score": "0.6801533", "text": "public final void rule__Statement__Group_10__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5259:1: ( rule__Statement__Group_10__1__Impl )\n // InternalReflex.g:5260:2: rule__Statement__Group_10__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Statement__Group_10__1__Impl();\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": "f2bb747a22bbe94c83912904cac50dbf", "score": "0.6761922", "text": "public final void rule__Statement__Group_10__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5232:1: ( rule__Statement__Group_10__0__Impl rule__Statement__Group_10__1 )\n // InternalReflex.g:5233:2: rule__Statement__Group_10__0__Impl rule__Statement__Group_10__1\n {\n pushFollow(FOLLOW_12);\n rule__Statement__Group_10__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Statement__Group_10__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": "16556101b7daae3b316792ee97937eb1", "score": "0.6693988", "text": "public final void rule__Program__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:2613:1: ( rule__Program__Group_0__2__Impl )\n // InternalReflex.g:2614:2: rule__Program__Group_0__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Program__Group_0__2__Impl();\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": "b0c7722d9cdd347f5f231f15e9394e80", "score": "0.6667793", "text": "public final void rule__Program__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:2382:1: ( ( ( rule__Program__Group_0__0 )* ) )\n // InternalReflex.g:2383:1: ( ( rule__Program__Group_0__0 )* )\n {\n // InternalReflex.g:2383:1: ( ( rule__Program__Group_0__0 )* )\n // InternalReflex.g:2384:2: ( rule__Program__Group_0__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProgramAccess().getGroup_0()); \n }\n // InternalReflex.g:2385:2: ( rule__Program__Group_0__0 )*\n loop27:\n do {\n int alt27=2;\n int LA27_0 = input.LA(1);\n\n if ( (LA27_0==88) ) {\n alt27=1;\n }\n\n\n switch (alt27) {\n \tcase 1 :\n \t // InternalReflex.g:2385:3: rule__Program__Group_0__0\n \t {\n \t pushFollow(FOLLOW_4);\n \t rule__Program__Group_0__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop27;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProgramAccess().getGroup_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": "d531bf4ff4cda72c22fe4162f2f0d410", "score": "0.6602002", "text": "public final void rule__Constraint__Group__0() 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:3202:1: ( rule__Constraint__Group__0__Impl rule__Constraint__Group__1 )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3203:2: rule__Constraint__Group__0__Impl rule__Constraint__Group__1\n {\n pushFollow(FOLLOW_rule__Constraint__Group__0__Impl_in_rule__Constraint__Group__06550);\n rule__Constraint__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__Constraint__Group__1_in_rule__Constraint__Group__06553);\n rule__Constraint__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": "a569c3f4418063b11b90dc8af04ec94b", "score": "0.65652406", "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": "b394fc4be54187954cf0172fc83b0e0d", "score": "0.65644884", "text": "public final void rule__Codes__UnorderedGroup__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:3509:1: ( rule__Codes__UnorderedGroup__Impl ( rule__Codes__UnorderedGroup__1 )? )\n // InternalAst.g:3510:2: rule__Codes__UnorderedGroup__Impl ( rule__Codes__UnorderedGroup__1 )?\n {\n pushFollow(FOLLOW_30);\n rule__Codes__UnorderedGroup__Impl();\n\n state._fsp--;\n\n // InternalAst.g:3511:2: ( rule__Codes__UnorderedGroup__1 )?\n int alt36=2;\n int LA36_0 = input.LA(1);\n\n if ( LA36_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getCodesAccess().getUnorderedGroup(), 0) ) {\n alt36=1;\n }\n else if ( LA36_0 == 43 && getUnorderedGroupHelper().canSelect(grammarAccess.getCodesAccess().getUnorderedGroup(), 1) ) {\n alt36=1;\n }\n else if ( LA36_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getCodesAccess().getUnorderedGroup(), 2) ) {\n alt36=1;\n }\n else if ( LA36_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getCodesAccess().getUnorderedGroup(), 3) ) {\n alt36=1;\n }\n else if ( LA36_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getCodesAccess().getUnorderedGroup(), 4) ) {\n alt36=1;\n }\n else if ( LA36_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getCodesAccess().getUnorderedGroup(), 5) ) {\n alt36=1;\n }\n switch (alt36) {\n case 1 :\n // InternalAst.g:3511:2: rule__Codes__UnorderedGroup__1\n {\n pushFollow(FOLLOW_2);\n rule__Codes__UnorderedGroup__1();\n\n state._fsp--;\n\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 \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b3f3ffe321982da552f33a81ad743b0b", "score": "0.6542467", "text": "public final void rule__ConstraintExpression__Group_1_0_0__1() 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:3074:1: ( rule__ConstraintExpression__Group_1_0_0__1__Impl )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3075:2: rule__ConstraintExpression__Group_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__ConstraintExpression__Group_1_0_0__1__Impl_in_rule__ConstraintExpression__Group_1_0_0__16302);\n rule__ConstraintExpression__Group_1_0_0__1__Impl();\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": "35f13ecedfad7001a752428d235fc874", "score": "0.6537999", "text": "public final void rule__AssignmentExpression__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:9471:1: ( rule__AssignmentExpression__Group_0__1__Impl )\n // InternalReflex.g:9472:2: rule__AssignmentExpression__Group_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__AssignmentExpression__Group_0__1__Impl();\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": "077cf1be1cf28d3ca644b603b2c72715", "score": "0.65363276", "text": "public final void rule__Statement__Group_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5216:1: ( ( ';' ) )\n // InternalReflex.g:5217:1: ( ';' )\n {\n // InternalReflex.g:5217:1: ( ';' )\n // InternalReflex.g:5218:2: ';'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getStatementAccess().getSemicolonKeyword_0_1()); \n }\n match(input,91,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getStatementAccess().getSemicolonKeyword_0_1()); \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": "3b9ad48eaba658e71e3dd6a614f35f84", "score": "0.65187454", "text": "public final void rule__Decl__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:1367:1: ( rule__Decl__Group__0__Impl rule__Decl__Group__1 )\n // InternalMGPL.g:1368:2: rule__Decl__Group__0__Impl rule__Decl__Group__1\n {\n pushFollow(FOLLOW_10);\n rule__Decl__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Decl__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": "4c83f97f085698fd1e8649a4dedfbdbf", "score": "0.65178925", "text": "public final void rule__IfStmt__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:2555:1: ( rule__IfStmt__Group__0__Impl rule__IfStmt__Group__1 )\n // InternalMGPL.g:2556:2: rule__IfStmt__Group__0__Impl rule__IfStmt__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__IfStmt__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__IfStmt__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": "eb0079b14ac51e0fe383fc7739ff81a5", "score": "0.6499795", "text": "public final void rule__ChildNode__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:3039:1: ( rule__ChildNode__Group_0__1__Impl )\n // InternalAst.g:3040:2: rule__ChildNode__Group_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ChildNode__Group_0__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": "4f510f64661b229c8515ae8fe6bac410", "score": "0.6494915", "text": "public final void rule__SwitchOptionStatSequence__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:6204:1: ( rule__SwitchOptionStatSequence__Group__1__Impl )\n // InternalReflex.g:6205:2: rule__SwitchOptionStatSequence__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__SwitchOptionStatSequence__Group__1__Impl();\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": "b06626dbf7eebf2b34a2865060d4e61b", "score": "0.64943534", "text": "public final void rule__Capture__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:846:1: ( ( () ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:847:1: ( () )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:847:1: ( () )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:848:1: ()\n {\n before(grammarAccess.getCaptureAccess().getCaptureAction_0()); \n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:849:1: ()\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:851:1: \n {\n }\n\n after(grammarAccess.getCaptureAccess().getCaptureAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5f304894f8a4954b50496dde965ff23f", "score": "0.6477712", "text": "public final void rule__Domain__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2284:1: ( rule__Domain__Group__0__Impl rule__Domain__Group__1 )\n // InternalMyDsl.g:2285:2: rule__Domain__Group__0__Impl rule__Domain__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__Domain__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Domain__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": "e10261cea466a0f3a58ba8ce4c7a3517", "score": "0.64699894", "text": "public final void rule__Document__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:13185:1: ( rule__Document__Group__0__Impl rule__Document__Group__1 )\n // InternalMyDsl.g:13186:2: rule__Document__Group__0__Impl rule__Document__Group__1\n {\n pushFollow(FOLLOW_8);\n rule__Document__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Document__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": "fba35391ef3920cf5f8ab687b56df295", "score": "0.64688873", "text": "public final void rule__Specification__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:1324:1: ( rule__Specification__Group__0__Impl rule__Specification__Group__1 )\n // InternalAst.g:1325:2: rule__Specification__Group__0__Impl rule__Specification__Group__1\n {\n pushFollow(FOLLOW_11);\n rule__Specification__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Specification__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": "b51ffc74d858ba9b45e9e4a69dce6881", "score": "0.6465879", "text": "public final void rule__ConditionalStatement__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:2290:1: ( rule__ConditionalStatement__Group__0__Impl rule__ConditionalStatement__Group__1 )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:2291:2: rule__ConditionalStatement__Group__0__Impl rule__ConditionalStatement__Group__1\n {\n pushFollow(FOLLOW_rule__ConditionalStatement__Group__0__Impl_in_rule__ConditionalStatement__Group__04651);\n rule__ConditionalStatement__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__ConditionalStatement__Group__1_in_rule__ConditionalStatement__Group__04654);\n rule__ConditionalStatement__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": "962c771c8fd319b2eb40bdd622c88a74", "score": "0.64602196", "text": "public final void rule__CompoundStatement__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5352:1: ( ( () ) )\n // InternalReflex.g:5353:1: ( () )\n {\n // InternalReflex.g:5353:1: ( () )\n // InternalReflex.g:5354:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getCompoundStatementAccess().getCompoundStatementAction_0()); \n }\n // InternalReflex.g:5355:2: ()\n // InternalReflex.g:5355:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getCompoundStatementAccess().getCompoundStatementAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "61dda571a90c5f095ced9f106b00aecc", "score": "0.6455115", "text": "public final void rule__Company__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:900:1: ( rule__Company__Group__0__Impl rule__Company__Group__1 )\n // InternalMyDsl.g:901:2: rule__Company__Group__0__Impl rule__Company__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__Company__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Company__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": "9280021100cdd89266789dfb8d3432be", "score": "0.6447909", "text": "public final void rule__ConstraintExpression__Group_1_0_0__0() 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:3043:1: ( rule__ConstraintExpression__Group_1_0_0__0__Impl rule__ConstraintExpression__Group_1_0_0__1 )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3044:2: rule__ConstraintExpression__Group_1_0_0__0__Impl rule__ConstraintExpression__Group_1_0_0__1\n {\n pushFollow(FOLLOW_rule__ConstraintExpression__Group_1_0_0__0__Impl_in_rule__ConstraintExpression__Group_1_0_0__06241);\n rule__ConstraintExpression__Group_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__ConstraintExpression__Group_1_0_0__1_in_rule__ConstraintExpression__Group_1_0_0__06244);\n rule__ConstraintExpression__Group_1_0_0__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": "37c837165814ba42a2e837ae7b69a4c2", "score": "0.64425963", "text": "public final void rule__DATA_DECLARATION__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:2822:1: ( rule__DATA_DECLARATION__Group__0__Impl rule__DATA_DECLARATION__Group__1 )\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:2823:2: rule__DATA_DECLARATION__Group__0__Impl rule__DATA_DECLARATION__Group__1\r\n {\r\n pushFollow(FOLLOW_rule__DATA_DECLARATION__Group__0__Impl_in_rule__DATA_DECLARATION__Group__05738);\r\n rule__DATA_DECLARATION__Group__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_rule__DATA_DECLARATION__Group__1_in_rule__DATA_DECLARATION__Group__05741);\r\n rule__DATA_DECLARATION__Group__1();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "58251980b0eb088e8c6e61b993ccb37a", "score": "0.644123", "text": "public final void rule__Table__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2277:1: ( rule__Table__Group__0__Impl rule__Table__Group__1 )\n // InternalMyDsl.g:2278:2: rule__Table__Group__0__Impl rule__Table__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Table__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Table__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": "8a102a1cec84f96c74a4aea8c8fdfae4", "score": "0.64402455", "text": "public final void rule__ConstraintExpression__Group_1_0__0__Impl() 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:3024:1: ( ( ( rule__ConstraintExpression__Group_1_0_0__0 ) ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3025:1: ( ( rule__ConstraintExpression__Group_1_0_0__0 ) )\n {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3025:1: ( ( rule__ConstraintExpression__Group_1_0_0__0 ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3026:1: ( rule__ConstraintExpression__Group_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintExpressionAccess().getGroup_1_0_0()); \n }\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3027:1: ( rule__ConstraintExpression__Group_1_0_0__0 )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3027:2: rule__ConstraintExpression__Group_1_0_0__0\n {\n pushFollow(FOLLOW_rule__ConstraintExpression__Group_1_0_0__0_in_rule__ConstraintExpression__Group_1_0__0__Impl6209);\n rule__ConstraintExpression__Group_1_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintExpressionAccess().getGroup_1_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": "ffc72b500eeacddaeb8b0a55c0049fa5", "score": "0.64401585", "text": "public final void rule__ForStmt__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:2771:1: ( rule__ForStmt__Group__0__Impl rule__ForStmt__Group__1 )\n // InternalMGPL.g:2772:2: rule__ForStmt__Group__0__Impl rule__ForStmt__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__ForStmt__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ForStmt__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": "d0cfe1f8f9a909b9ad62795b04a39011", "score": "0.6439257", "text": "public final void rule__Program__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:1151:1: ( rule__Program__Group__0__Impl rule__Program__Group__1 )\n // InternalMGPL.g:1152:2: rule__Program__Group__0__Impl rule__Program__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__Program__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Program__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": "cc9952a2ac2e8a930b938e5457772fe2", "score": "0.643793", "text": "public final void rule__Css__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:10701:1: ( rule__Css__Group__0__Impl rule__Css__Group__1 )\n // InternalMyDsl.g:10702:2: rule__Css__Group__0__Impl rule__Css__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Css__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Css__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": "c2726f9fb244bff55f91a88e9af7f2c2", "score": "0.643516", "text": "public final void rule__ConstraintExpression__Group__0() 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:2891:1: ( rule__ConstraintExpression__Group__0__Impl rule__ConstraintExpression__Group__1 )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2892:2: rule__ConstraintExpression__Group__0__Impl rule__ConstraintExpression__Group__1\n {\n pushFollow(FOLLOW_rule__ConstraintExpression__Group__0__Impl_in_rule__ConstraintExpression__Group__05940);\n rule__ConstraintExpression__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__ConstraintExpression__Group__1_in_rule__ConstraintExpression__Group__05943);\n rule__ConstraintExpression__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": "6a94dabbf4c81a37dba57916b1aa91a8", "score": "0.64243585", "text": "public final void rule__JavaApp__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:5041:1: ( rule__JavaApp__Group__0__Impl rule__JavaApp__Group__1 )\n // InternalMyDsl.g:5042:2: rule__JavaApp__Group__0__Impl rule__JavaApp__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__JavaApp__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__JavaApp__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": "53bef0ee3d2817d4b63ce19fa4516537", "score": "0.6420439", "text": "public final void rule__Js__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:10377:1: ( rule__Js__Group__0__Impl rule__Js__Group__1 )\n // InternalMyDsl.g:10378:2: rule__Js__Group__0__Impl rule__Js__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Js__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Js__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": "e8a4f217b6e4588a5b70de5cddc60522", "score": "0.64182943", "text": "public final void rule__Package__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXModel.g:361:1: ( ( () ) )\n // InternalXModel.g:362:1: ( () )\n {\n // InternalXModel.g:362:1: ( () )\n // InternalXModel.g:363:2: ()\n {\n before(grammarAccess.getPackageAccess().getPackageAction_0()); \n // InternalXModel.g:364:2: ()\n // InternalXModel.g:364:3: \n {\n }\n\n after(grammarAccess.getPackageAccess().getPackageAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8c8ce7dbbf243776fa30056aee9f1ab7", "score": "0.6414302", "text": "public final void rule__FSM__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTextEditor.g:260:1: ( ( () ) )\n // InternalTextEditor.g:261:1: ( () )\n {\n // InternalTextEditor.g:261:1: ( () )\n // InternalTextEditor.g:262:2: ()\n {\n before(grammarAccess.getFSMAccess().getFSMAction_0()); \n // InternalTextEditor.g:263:2: ()\n // InternalTextEditor.g:263:3: \n {\n }\n\n after(grammarAccess.getFSMAccess().getFSMAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a59dfcb9a0a8aa337ed6d591f40422e7", "score": "0.64081895", "text": "public final void rule__State__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:3057:1: ( ( ( rule__State__Group_0__0 )* ) )\n // InternalReflex.g:3058:1: ( ( rule__State__Group_0__0 )* )\n {\n // InternalReflex.g:3058:1: ( ( rule__State__Group_0__0 )* )\n // InternalReflex.g:3059:2: ( rule__State__Group_0__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getStateAccess().getGroup_0()); \n }\n // InternalReflex.g:3060:2: ( rule__State__Group_0__0 )*\n loop32:\n do {\n int alt32=2;\n int LA32_0 = input.LA(1);\n\n if ( (LA32_0==88) ) {\n alt32=1;\n }\n\n\n switch (alt32) {\n \tcase 1 :\n \t // InternalReflex.g:3060:3: rule__State__Group_0__0\n \t {\n \t pushFollow(FOLLOW_4);\n \t rule__State__Group_0__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop32;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getStateAccess().getGroup_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": "51340a383fdafbe5652126f3eed1e384", "score": "0.639842", "text": "public final void rule__Begin__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:2114:1: ( rule__Begin__Group__0__Impl rule__Begin__Group__1 )\n // InternalAst.g:2115:2: rule__Begin__Group__0__Impl rule__Begin__Group__1\n {\n pushFollow(FOLLOW_15);\n rule__Begin__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Begin__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": "9b1282a478aef0a753a7e465d8d76ef8", "score": "0.6376385", "text": "public final void rule__Component__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:4035:1: ( rule__Component__Group__0__Impl rule__Component__Group__1 )\n // InternalMyDsl.g:4036:2: rule__Component__Group__0__Impl rule__Component__Group__1\n {\n pushFollow(FOLLOW_36);\n rule__Component__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Component__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": "80de421d0c1f5fcbded27f34e638fadb", "score": "0.6373353", "text": "public final void rule__Package__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXModel.g:349:1: ( rule__Package__Group__0__Impl rule__Package__Group__1 )\n // InternalXModel.g:350:2: rule__Package__Group__0__Impl rule__Package__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__Package__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Package__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": "908c2b487d3d57b700b3b72560d6e9b3", "score": "0.6359664", "text": "public final void rule__Program__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:2559:1: ( rule__Program__Group_0__0__Impl rule__Program__Group_0__1 )\n // InternalReflex.g:2560:2: rule__Program__Group_0__0__Impl rule__Program__Group_0__1\n {\n pushFollow(FOLLOW_5);\n rule__Program__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Program__Group_0__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": "bbc7ce8ffb08eb55e2ce3e21d97f199f", "score": "0.6357413", "text": "public final void rule__CompoundStatement__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:5340:1: ( rule__CompoundStatement__Group__0__Impl rule__CompoundStatement__Group__1 )\n // InternalReflex.g:5341:2: rule__CompoundStatement__Group__0__Impl rule__CompoundStatement__Group__1\n {\n pushFollow(FOLLOW_6);\n rule__CompoundStatement__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__CompoundStatement__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": "db97b2f4c2fb40f8ccd5efe665281dd5", "score": "0.63528055", "text": "public final void rule__Process__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:2733:1: ( ( ( rule__Process__Group_0__0 )* ) )\n // InternalReflex.g:2734:1: ( ( rule__Process__Group_0__0 )* )\n {\n // InternalReflex.g:2734:1: ( ( rule__Process__Group_0__0 )* )\n // InternalReflex.g:2735:2: ( rule__Process__Group_0__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProcessAccess().getGroup_0()); \n }\n // InternalReflex.g:2736:2: ( rule__Process__Group_0__0 )*\n loop29:\n do {\n int alt29=2;\n int LA29_0 = input.LA(1);\n\n if ( (LA29_0==88) ) {\n alt29=1;\n }\n\n\n switch (alt29) {\n \tcase 1 :\n \t // InternalReflex.g:2736:3: rule__Process__Group_0__0\n \t {\n \t pushFollow(FOLLOW_4);\n \t rule__Process__Group_0__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop29;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProcessAccess().getGroup_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": "838223e2b6f0fa924914520b77dad106", "score": "0.6350252", "text": "public final void rule__Operation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2778:1: ( rule__Operation__Group__0__Impl rule__Operation__Group__1 )\n // InternalMyDsl.g:2779:2: rule__Operation__Group__0__Impl rule__Operation__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__Operation__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Operation__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": "b3a5fc35a42945f5426c1a968150c283", "score": "0.6346411", "text": "public final void rule__Module__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2460:1: ( rule__Module__Group__0__Impl rule__Module__Group__1 )\n // InternalMyDsl.g:2461:2: rule__Module__Group__0__Impl rule__Module__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Module__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Module__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": "ae03c5ff502c123a989e49113787b788", "score": "0.6343683", "text": "public final void rule__Contract__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSymboleoide.g:2901:1: ( rule__Contract__Group__0__Impl rule__Contract__Group__1 )\n // InternalSymboleoide.g:2902:2: rule__Contract__Group__0__Impl rule__Contract__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__Contract__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Contract__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": "979ed7822a90cee7fd6f47771d4ab687", "score": "0.6339655", "text": "public final void rule__AssignmentExpression__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:9402:1: ( ( ( rule__AssignmentExpression__Group_0__0 )? ) )\n // InternalReflex.g:9403:1: ( ( rule__AssignmentExpression__Group_0__0 )? )\n {\n // InternalReflex.g:9403:1: ( ( rule__AssignmentExpression__Group_0__0 )? )\n // InternalReflex.g:9404:2: ( rule__AssignmentExpression__Group_0__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAssignmentExpressionAccess().getGroup_0()); \n }\n // InternalReflex.g:9405:2: ( rule__AssignmentExpression__Group_0__0 )?\n int alt62=2;\n int LA62_0 = input.LA(1);\n\n if ( (LA62_0==RULE_ID) ) {\n int LA62_1 = input.LA(2);\n\n if ( ((LA62_1>=47 && LA62_1<=56)) ) {\n alt62=1;\n }\n }\n switch (alt62) {\n case 1 :\n // InternalReflex.g:9405:3: rule__AssignmentExpression__Group_0__0\n {\n pushFollow(FOLLOW_2);\n rule__AssignmentExpression__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAssignmentExpressionAccess().getGroup_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": "0beb5dac54cc6e2a585d817feaa25fda", "score": "0.633518", "text": "public final void rule__Activity__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalActivityDiagram.g:1126:1: ( ( () ) )\n // InternalActivityDiagram.g:1127:1: ( () )\n {\n // InternalActivityDiagram.g:1127:1: ( () )\n // InternalActivityDiagram.g:1128:1: ()\n {\n before(grammarAccess.getActivityAccess().getActivityAction_0()); \n // InternalActivityDiagram.g:1129:1: ()\n // InternalActivityDiagram.g:1131:1: \n {\n }\n\n after(grammarAccess.getActivityAccess().getActivityAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1533ccb51df6d5898878a0b21556d70d", "score": "0.6331325", "text": "public final void rule__AssStmt__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:3122:1: ( rule__AssStmt__Group__1__Impl )\n // InternalMGPL.g:3123:2: rule__AssStmt__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__AssStmt__Group__1__Impl();\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": "8313f0fc3b489b0d20533298e18efa90", "score": "0.6330147", "text": "public final void rule__Module__Group_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:1581:1: ( ( '#(' ) )\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:1582:1: ( '#(' )\r\n {\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:1582:1: ( '#(' )\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:1583:1: '#('\r\n {\r\n before(grammarAccess.getModuleAccess().getNumberSignLeftParenthesisKeyword_2_0()); \r\n match(input,53,FOLLOW_53_in_rule__Module__Group_2__0__Impl3303); \r\n after(grammarAccess.getModuleAccess().getNumberSignLeftParenthesisKeyword_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "13f2239e5f557277063394bf421c22b4", "score": "0.6326845", "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": "e23f93b35c292ef075dc865bed6a2673", "score": "0.63224673", "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": "e4e3f45e1457dedfab9c44f224d9735c", "score": "0.63209414", "text": "public final void rule__AssStmt__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:3095:1: ( rule__AssStmt__Group__0__Impl rule__AssStmt__Group__1 )\n // InternalMGPL.g:3096:2: rule__AssStmt__Group__0__Impl rule__AssStmt__Group__1\n {\n pushFollow(FOLLOW_10);\n rule__AssStmt__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__AssStmt__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": "5fb9ea9f86c4ef602e5c6bd7720cce61", "score": "0.6320178", "text": "public final void rule__BiImplForm__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:360:1: ( rule__BiImplForm__Group__0__Impl rule__BiImplForm__Group__1 )\n // InternalDSLSAT.g:361:2: rule__BiImplForm__Group__0__Impl rule__BiImplForm__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__BiImplForm__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__BiImplForm__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": "256afb5c5e337b9d1d1cd5ea7763021c", "score": "0.6317161", "text": "public final void rule__JsModule__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:12058:1: ( rule__JsModule__Group__0__Impl rule__JsModule__Group__1 )\n // InternalMyDsl.g:12059:2: rule__JsModule__Group__0__Impl rule__JsModule__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__JsModule__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__JsModule__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": "6884ef9e17d983984b64dbc2951ccc73", "score": "0.63149554", "text": "public final void rule__NET_DECLARATION__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:2289:1: ( rule__NET_DECLARATION__Group__0__Impl rule__NET_DECLARATION__Group__1 )\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:2290:2: rule__NET_DECLARATION__Group__0__Impl rule__NET_DECLARATION__Group__1\r\n {\r\n pushFollow(FOLLOW_rule__NET_DECLARATION__Group__0__Impl_in_rule__NET_DECLARATION__Group__04689);\r\n rule__NET_DECLARATION__Group__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_rule__NET_DECLARATION__Group__1_in_rule__NET_DECLARATION__Group__04692);\r\n rule__NET_DECLARATION__Group__1();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "7e110b98193a3b6125d55deb7a605277", "score": "0.63149357", "text": "public final void rule__Menu__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:3222:1: ( rule__Menu__Group__0__Impl rule__Menu__Group__1 )\n // InternalMyDsl.g:3223:2: rule__Menu__Group__0__Impl rule__Menu__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Menu__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Menu__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": "c2fe76d9e9143008e33a8a3afeb7a41f", "score": "0.63117075", "text": "public final void rule__Library__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7688:1: ( rule__Library__Group__6__Impl )\n // InternalMyDsl.g:7689:2: rule__Library__Group__6__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Library__Group__6__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": "02f077ca43bd9a1ea65cdbc200a0ad63", "score": "0.63108045", "text": "public final void rule__Data__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:10836:1: ( rule__Data__Group__0__Impl rule__Data__Group__1 )\n // InternalMyDsl.g:10837:2: rule__Data__Group__0__Impl rule__Data__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Data__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Data__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": "f566fbbdd71b4ad2b8ae4b06aaadda33", "score": "0.63055164", "text": "public final void rule__SwitchOptionStatSequence__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:6177:1: ( rule__SwitchOptionStatSequence__Group__0__Impl rule__SwitchOptionStatSequence__Group__1 )\n // InternalReflex.g:6178:2: rule__SwitchOptionStatSequence__Group__0__Impl rule__SwitchOptionStatSequence__Group__1\n {\n pushFollow(FOLLOW_45);\n rule__SwitchOptionStatSequence__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__SwitchOptionStatSequence__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": "e260579a0ab8fce68c5e880adb1457b2", "score": "0.63043785", "text": "public final void rule__Action__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:11133:1: ( rule__Action__Group__0__Impl rule__Action__Group__1 )\n // InternalMyDsl.g:11134:2: rule__Action__Group__0__Impl rule__Action__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Action__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\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": "8da6396d302e49d18106d90b97f27b5a", "score": "0.6290637", "text": "public final void rule__Subject__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:1136:1: ( rule__Subject__Group__0__Impl rule__Subject__Group__1 )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:1137:2: rule__Subject__Group__0__Impl rule__Subject__Group__1\n {\n pushFollow(FOLLOW_rule__Subject__Group__0__Impl_in_rule__Subject__Group__02381);\n rule__Subject__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Subject__Group__1_in_rule__Subject__Group__02384);\n rule__Subject__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": "4ff35deab6e6f93a538d348416d4df84", "score": "0.6289514", "text": "public final void rule__Action__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:9432:1: ( rule__Action__Group__0__Impl rule__Action__Group__1 )\n // InternalMyDsl.g:9433:2: rule__Action__Group__0__Impl rule__Action__Group__1\n {\n pushFollow(FOLLOW_8);\n rule__Action__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\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": "cbe591c38df6e09daa6a937f93dc69a7", "score": "0.6285995", "text": "public final void rule__Action__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:9444:1: ( ( () ) )\n // InternalMyDsl.g:9445:1: ( () )\n {\n // InternalMyDsl.g:9445:1: ( () )\n // InternalMyDsl.g:9446:2: ()\n {\n before(grammarAccess.getActionAccess().getActionAction_0()); \n // InternalMyDsl.g:9447:2: ()\n // InternalMyDsl.g:9447:3: \n {\n }\n\n after(grammarAccess.getActionAccess().getActionAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ac9ca77b804ab47123e24ef96e939fe0", "score": "0.628318", "text": "public final void rule__Condition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalScheme.g:389:1: ( rule__Condition__Group__0__Impl rule__Condition__Group__1 )\n // InternalScheme.g:390:2: rule__Condition__Group__0__Impl rule__Condition__Group__1\n {\n pushFollow(FOLLOW_5);\n rule__Condition__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Condition__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": "7c71d1e1d7e569cb6f9e30777b6b9deb", "score": "0.62830734", "text": "public final void rule__AnimTarget__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:2339:1: ( rule__AnimTarget__Group__1__Impl )\n // InternalMGPL.g:2340:2: rule__AnimTarget__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__AnimTarget__Group__1__Impl();\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": "258bd871b2b325fca03bf1d4615c1d76", "score": "0.6279926", "text": "public final void ruleImplForm() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:116:2: ( ( ( rule__ImplForm__Group__0 ) ) )\n // InternalDSLSAT.g:117:2: ( ( rule__ImplForm__Group__0 ) )\n {\n // InternalDSLSAT.g:117:2: ( ( rule__ImplForm__Group__0 ) )\n // InternalDSLSAT.g:118:3: ( rule__ImplForm__Group__0 )\n {\n before(grammarAccess.getImplFormAccess().getGroup()); \n // InternalDSLSAT.g:119:3: ( rule__ImplForm__Group__0 )\n // InternalDSLSAT.g:119:4: rule__ImplForm__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ImplForm__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplFormAccess().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": "e2377b56af7b816e95ae5777cd9ac278", "score": "0.62786436", "text": "public final void rule__Package__Group__0() 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:927:1: ( rule__Package__Group__0__Impl rule__Package__Group__1 )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:928:2: rule__Package__Group__0__Impl rule__Package__Group__1\n {\n pushFollow(FOLLOW_rule__Package__Group__0__Impl_in_rule__Package__Group__01933);\n rule__Package__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Package__Group__1_in_rule__Package__Group__01936);\n rule__Package__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": "3e2dd85048ed328eb883159d62413f3c", "score": "0.62675136", "text": "public final void rule__Port__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:1883:1: ( rule__Port__Group__0__Impl rule__Port__Group__1 )\r\n // ../com.ironglass.hdlforge.ui/src-gen/com/ironglass/hdlforge/ui/contentassist/antlr/internal/InternalSystemVerilog.g:1884:2: rule__Port__Group__0__Impl rule__Port__Group__1\r\n {\r\n pushFollow(FOLLOW_rule__Port__Group__0__Impl_in_rule__Port__Group__03890);\r\n rule__Port__Group__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_rule__Port__Group__1_in_rule__Port__Group__03893);\r\n rule__Port__Group__1();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b1f6a6a6ed41e2e7c504bd649e941b98", "score": "0.6265657", "text": "public final void rule__ConstraintExpression__Group_1__0__Impl() 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:2964:1: ( ( ( rule__ConstraintExpression__Group_1_0__0 ) ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2965:1: ( ( rule__ConstraintExpression__Group_1_0__0 ) )\n {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2965:1: ( ( rule__ConstraintExpression__Group_1_0__0 ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2966:1: ( rule__ConstraintExpression__Group_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintExpressionAccess().getGroup_1_0()); \n }\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2967:1: ( rule__ConstraintExpression__Group_1_0__0 )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2967:2: rule__ConstraintExpression__Group_1_0__0\n {\n pushFollow(FOLLOW_rule__ConstraintExpression__Group_1_0__0_in_rule__ConstraintExpression__Group_1__0__Impl6091);\n rule__ConstraintExpression__Group_1_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintExpressionAccess().getGroup_1_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": "4b6e5e6fca8e15e5d3db4a9b10e7b082", "score": "0.62611586", "text": "public final void rule__Action__Group_4__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:1321:1: ( ( '(' ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1322:1: ( '(' )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1322:1: ( '(' )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1323:1: '('\n {\n before(grammarAccess.getActionAccess().getLeftParenthesisKeyword_4_0()); \n match(input,18,FOLLOW_18_in_rule__Action__Group_4__0__Impl2569); \n after(grammarAccess.getActionAccess().getLeftParenthesisKeyword_4_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": "d068773a0c73442f7193a0497a3c9bec", "score": "0.6260372", "text": "public final void rule__Talk__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.eclipsecon.conference.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalConference.g:491:1: ( rule__Talk__Group__0__Impl rule__Talk__Group__1 )\n // ../org.eclipse.eclipsecon.conference.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalConference.g:492:2: rule__Talk__Group__0__Impl rule__Talk__Group__1\n {\n pushFollow(FOLLOW_rule__Talk__Group__0__Impl_in_rule__Talk__Group__0930);\n rule__Talk__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Talk__Group__1_in_rule__Talk__Group__0933);\n rule__Talk__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": "bcdf4a2bcf5afb0566f4f4ecbecf7cbf", "score": "0.6259227", "text": "public final void rule__ConstraintExpression__Group_1_0_0__0__Impl() 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:3055:1: ( ( () ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3056:1: ( () )\n {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3056:1: ( () )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3057:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintExpressionAccess().getConstraintExpressionLeftAction_1_0_0_0()); \n }\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3058:1: ()\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:3060:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintExpressionAccess().getConstraintExpressionLeftAction_1_0_0_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2680a01c76bff4d31f0490714184690c", "score": "0.625629", "text": "public final void rule__Program__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:2370:1: ( rule__Program__Group__0__Impl rule__Program__Group__1 )\n // InternalReflex.g:2371:2: rule__Program__Group__0__Impl rule__Program__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__Program__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Program__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": "73d4c8179768bd636b470ca0399d1e9d", "score": "0.62522686", "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": "19eddd0b9cfb31d749af89ab0597e35b", "score": "0.6249961", "text": "public final void rule__QualifiedName__Group_0__1() 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:3328:1: ( rule__QualifiedName__Group_0__1__Impl )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:3329:2: rule__QualifiedName__Group_0__1__Impl\n {\n pushFollow(FOLLOW_rule__QualifiedName__Group_0__1__Impl_in_rule__QualifiedName__Group_0__16701);\n rule__QualifiedName__Group_0__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": "2307f9673ca50aa965331505610bcffe", "score": "0.6246469", "text": "public final void rule__Annotation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7337:1: ( rule__Annotation__Group__0__Impl rule__Annotation__Group__1 )\n // InternalMyDsl.g:7338:2: rule__Annotation__Group__0__Impl rule__Annotation__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Annotation__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Annotation__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": "72adcc43727b2f17fc7c7dccf3941462", "score": "0.62456536", "text": "public final void rule__IfStmt__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:2690:1: ( rule__IfStmt__Group__5__Impl )\n // InternalMGPL.g:2691:2: rule__IfStmt__Group__5__Impl\n {\n pushFollow(FOLLOW_2);\n rule__IfStmt__Group__5__Impl();\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": "e6f6ef02848cd5876c20c6252241b094", "score": "0.6244155", "text": "public final void rule__ParameterExpression__Group_0__1() 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:2732:1: ( rule__ParameterExpression__Group_0__1__Impl )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2733:2: rule__ParameterExpression__Group_0__1__Impl\n {\n pushFollow(FOLLOW_rule__ParameterExpression__Group_0__1__Impl_in_rule__ParameterExpression__Group_0__15630);\n rule__ParameterExpression__Group_0__1__Impl();\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": "7e6e2072e55dbb77918f0901bc25dab0", "score": "0.6240634", "text": "public final void rule__Assignment__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:3014:1: ( rule__Assignment__Group__0__Impl rule__Assignment__Group__1 )\n // InternalMGPL.g:3015:2: rule__Assignment__Group__0__Impl rule__Assignment__Group__1\n {\n pushFollow(FOLLOW_11);\n rule__Assignment__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Assignment__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": "6486409d75db6f37c521489b53d0aaa7", "score": "0.62366086", "text": "public final void rule__System__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2122:1: ( rule__System__Group__0__Impl rule__System__Group__1 )\n // InternalMyDsl.g:2123:2: rule__System__Group__0__Impl rule__System__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__System__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__System__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": "03e2f35c1f253c6bc920951c4633a8f7", "score": "0.6231907", "text": "public final void rule__Number__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.iworkz.qon.ui/src-gen/org/iworkz/qon/ui/contentassist/antlr/internal/InternalQonDsl.g:3668:1: ( rule__Number__Group__0__Impl rule__Number__Group__1 )\n // ../org.iworkz.qon.ui/src-gen/org/iworkz/qon/ui/contentassist/antlr/internal/InternalQonDsl.g:3669:2: rule__Number__Group__0__Impl rule__Number__Group__1\n {\n pushFollow(FOLLOW_rule__Number__Group__0__Impl_in_rule__Number__Group__07321);\n rule__Number__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Number__Group__1_in_rule__Number__Group__07324);\n rule__Number__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": "7ae673f3f1762be53c386fa87cac62f0", "score": "0.6228003", "text": "public final void rule__AnimTarget__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:2312:1: ( rule__AnimTarget__Group__0__Impl rule__AnimTarget__Group__1 )\n // InternalMGPL.g:2313:2: rule__AnimTarget__Group__0__Impl rule__AnimTarget__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__AnimTarget__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__AnimTarget__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": "f1e4676413dce6898a1ed22c74fe0d4c", "score": "0.62236506", "text": "public final void rule__XClass__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXModel.g:712:1: ( ( () ) )\n // InternalXModel.g:713:1: ( () )\n {\n // InternalXModel.g:713:1: ( () )\n // InternalXModel.g:714:2: ()\n {\n before(grammarAccess.getXClassAccess().getXClassAction_0()); \n // InternalXModel.g:715:2: ()\n // InternalXModel.g:715:3: \n {\n }\n\n after(grammarAccess.getXClassAccess().getXClassAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "43b7bf39cbf41b4fb5d9ca51dea52c8a", "score": "0.6216273", "text": "public final void rule__Md__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:10215:1: ( rule__Md__Group__0__Impl rule__Md__Group__1 )\n // InternalMyDsl.g:10216:2: rule__Md__Group__0__Impl rule__Md__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Md__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Md__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": "80824076582f93efb3238fc52a347e92", "score": "0.62161523", "text": "public final void rule__Modules__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:1189:1: ( rule__Modules__Group__0__Impl rule__Modules__Group__1 )\n // InternalAst.g:1190:2: rule__Modules__Group__0__Impl rule__Modules__Group__1\n {\n pushFollow(FOLLOW_7);\n rule__Modules__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Modules__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": "550e6561c6248792ce1bc20cdfb56f80", "score": "0.6207832", "text": "public final void rule__ParameterExpression__Group__0__Impl() 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:2654:1: ( ( ( rule__ParameterExpression__Group_0__0 )? ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2655:1: ( ( rule__ParameterExpression__Group_0__0 )? )\n {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2655:1: ( ( rule__ParameterExpression__Group_0__0 )? )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2656:1: ( rule__ParameterExpression__Group_0__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getParameterExpressionAccess().getGroup_0()); \n }\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2657:1: ( rule__ParameterExpression__Group_0__0 )?\n int alt18=2;\n int LA18_0 = input.LA(1);\n\n if ( (LA18_0==RULE_ID) ) {\n int LA18_1 = input.LA(2);\n\n if ( (LA18_1==33) ) {\n alt18=1;\n }\n }\n switch (alt18) {\n case 1 :\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:2657:2: rule__ParameterExpression__Group_0__0\n {\n pushFollow(FOLLOW_rule__ParameterExpression__Group_0__0_in_rule__ParameterExpression__Group__0__Impl5478);\n rule__ParameterExpression__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getParameterExpressionAccess().getGroup_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": "959231981d517587042c1ad578eb767d", "score": "0.6205958", "text": "public final void rule__Module__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2575:1: ( rule__Module__Group__4__Impl )\n // InternalMyDsl.g:2576:2: rule__Module__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Module__Group__4__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": "bfea76e379521109c2e692e4b527751a", "score": "0.6203008", "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": "c59a235f50d124d732b9a90e317ace15", "score": "0.62025636", "text": "public final void rule__Conference__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.eclipsecon.conference.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalConference.g:206:1: ( rule__Conference__Group__0__Impl rule__Conference__Group__1 )\n // ../org.eclipse.eclipsecon.conference.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalConference.g:207:2: rule__Conference__Group__0__Impl rule__Conference__Group__1\n {\n pushFollow(FOLLOW_rule__Conference__Group__0__Impl_in_rule__Conference__Group__0368);\n rule__Conference__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Conference__Group__1_in_rule__Conference__Group__0371);\n rule__Conference__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": "096daf91a365c51a82a98783df700871", "score": "0.62022483", "text": "public final void rule__Operation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXModel.g:1834:1: ( rule__Operation__Group__0__Impl rule__Operation__Group__1 )\n // InternalXModel.g:1835:2: rule__Operation__Group__0__Impl rule__Operation__Group__1\n {\n pushFollow(FOLLOW_12);\n rule__Operation__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Operation__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": "8bf4fa5e36403d89011055faf77f27d7", "score": "0.62011653", "text": "public final void rule__Function__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalScheme.g:470:1: ( rule__Function__Group__0__Impl rule__Function__Group__1 )\n // InternalScheme.g:471:2: rule__Function__Group__0__Impl rule__Function__Group__1\n {\n pushFollow(FOLLOW_7);\n rule__Function__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Function__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": "7d969cc0ebea14c26e4b7f79a00a01cb", "score": "0.6198269", "text": "public final void rule__Stat__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalShowdownGrammar.g:1423:1: ( rule__Stat__Group__0__Impl rule__Stat__Group__1 )\n // InternalShowdownGrammar.g:1424:2: rule__Stat__Group__0__Impl rule__Stat__Group__1\n {\n pushFollow(FOLLOW_17);\n rule__Stat__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Stat__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": "fda1d5c85d2f96991b9f24f9778f3c48", "score": "0.6197487", "text": "public final void rule__Action__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:1163:1: ( ( () ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1164:1: ( () )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1164:1: ( () )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1165:1: ()\n {\n before(grammarAccess.getActionAccess().getActionAction_0()); \n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1166:1: ()\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1168:1: \n {\n }\n\n after(grammarAccess.getActionAccess().getActionAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "570da4e394ae9689eabc2cc79e209822", "score": "0.61870146", "text": "public final void rule__FSM__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTextEditor.g:248:1: ( rule__FSM__Group__0__Impl rule__FSM__Group__1 )\n // InternalTextEditor.g:249:2: rule__FSM__Group__0__Impl rule__FSM__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__FSM__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__FSM__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": "709413074682a2cdad665dc77cd0d62b", "score": "0.61865044", "text": "public final void rule__State__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTextEditor.g:788:1: ( rule__State__Group__0__Impl rule__State__Group__1 )\n // InternalTextEditor.g:789:2: rule__State__Group__0__Impl rule__State__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__State__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__State__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": "" } ]
07554be95d33a8a914bc3d6c8264b047
This method was generated by MyBatis Generator. This method returns the value of the database column c_product.appurl
[ { "docid": "9c05530b88d62b7156fad1f3d451eb23", "score": "0.65465564", "text": "public String getAppurl() {\n return appurl;\n }", "title": "" } ]
[ { "docid": "64ada56b2e6aaf2a8361cd6081f8ed59", "score": "0.6381648", "text": "public String getUrlApp()\r\n/* 69: */ {\r\n/* 70:61 */ return this.urlApp;\r\n/* 71: */ }", "title": "" }, { "docid": "7586a2962d4dff62b37d1f61a640b2ba", "score": "0.6365295", "text": "public String getAppUrl() {\n return this.appUrl;\n }", "title": "" }, { "docid": "f137c8dc2e5803f11316911eed5d5bde", "score": "0.6199321", "text": "public String getAppURL()\n {\n return appURL;\n }", "title": "" }, { "docid": "67ba9b68b6e4976b4e2eedc3eb6df33a", "score": "0.5921216", "text": "public String getProducturl() {\r\n\t\treturn producturl;\r\n\t}", "title": "" }, { "docid": "a9d616f86337152393ab271755e1837c", "score": "0.56051123", "text": "public String getApp_id() {\n return app_id;\n }", "title": "" }, { "docid": "a9d616f86337152393ab271755e1837c", "score": "0.56051123", "text": "public String getApp_id() {\n return app_id;\n }", "title": "" }, { "docid": "41cd1d16d3147adcebe84a8ae5d59342", "score": "0.55956346", "text": "public String getProductUrl() {\n return productUrl;\n }", "title": "" }, { "docid": "215019f654114638745e7abab872ca2e", "score": "0.5571296", "text": "public String getPropertyProductUrl()\n {\n return iPropertyProductUrl.getValue();\n }", "title": "" }, { "docid": "fa0a8d9c1f47826d53edaf0bf7a1075b", "score": "0.5488014", "text": "@ApiModelProperty(value = \"URL provided by the organisation which redirects to the product (on live products only) available on an external website. There might be more than one product at a given URL.\")\n\n@Size(min=1,max=500) \n public String getProductURL() {\n return productURL;\n }", "title": "" }, { "docid": "94db842ade08ac5c0790145496d44627", "score": "0.5446483", "text": "public String getPropertyProductUrl();", "title": "" }, { "docid": "81d49dee3aacabe4181dd4e195b65113", "score": "0.54452556", "text": "public void setAppurl(String appurl) {\n this.appurl = appurl == null ? null : appurl.trim();\n }", "title": "" }, { "docid": "5606c50c0ce6f195a2172a6d7573cc97", "score": "0.5413205", "text": "public String getAppid() {\r\n return appid;\r\n }", "title": "" }, { "docid": "44c442900e4f0564389e5468730abf80", "score": "0.5409613", "text": "public void setAppURL(String appURL)\n {\n this.appURL = appURL;\n }", "title": "" }, { "docid": "ce5204a636780fab1a66441a1f70ee6e", "score": "0.5406205", "text": "protected String getBaseAppUrl ( ) {\n\t\treturn getBaseAppUrl(request); \n\t}", "title": "" }, { "docid": "5a9c97db54d6d42bdad62c2b13c90778", "score": "0.5373113", "text": "@Override\r\n public StringExpression getURL()\r\n {\n if (null == _url && null != getFk())\r\n _url = getFk().getURL(this);\r\n return _url;\r\n }", "title": "" }, { "docid": "337770b1197fd6ddd8fb1573be98168a", "score": "0.53465635", "text": "public String getAppid() {\n return appid;\n }", "title": "" }, { "docid": "d6fdba4547c93807e1507298324d79f9", "score": "0.53052145", "text": "public String getProductPicurl() {\n return productPicurl;\n }", "title": "" }, { "docid": "51a1bfba36f6189c39bb10ef74d8dfc2", "score": "0.5286159", "text": "public void setUrlApp(String urlApp)\r\n/* 74: */ {\r\n/* 75:65 */ this.urlApp = urlApp;\r\n/* 76: */ }", "title": "" }, { "docid": "26a31846fe9b40831184a55a015a46a7", "score": "0.51338476", "text": "String caseListApplicationLinkColumnDescription();", "title": "" }, { "docid": "c2ccd06911ab172ea508fe61899fa633", "score": "0.5121164", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "c2ccd06911ab172ea508fe61899fa633", "score": "0.5121164", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "c2ccd06911ab172ea508fe61899fa633", "score": "0.5121164", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "c2ccd06911ab172ea508fe61899fa633", "score": "0.5121164", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "c2ccd06911ab172ea508fe61899fa633", "score": "0.5121164", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "c2ccd06911ab172ea508fe61899fa633", "score": "0.5121164", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "c2ccd06911ab172ea508fe61899fa633", "score": "0.5121164", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "c2ccd06911ab172ea508fe61899fa633", "score": "0.5119459", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "429d1e81a788af8cb6be2f54b40a40ef", "score": "0.5104344", "text": "String getProductUrlKey();", "title": "" }, { "docid": "6dd15633b00015c2bdf593cb6a5fa0ff", "score": "0.5100767", "text": "public String getProductPageUrl() {\n return driver.getCurrentUrl();\n }", "title": "" }, { "docid": "0349337d65d37ef6c2099ba247dae761", "score": "0.50965303", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "0349337d65d37ef6c2099ba247dae761", "score": "0.50965303", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "0349337d65d37ef6c2099ba247dae761", "score": "0.50965303", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "0349337d65d37ef6c2099ba247dae761", "score": "0.50965303", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "0349337d65d37ef6c2099ba247dae761", "score": "0.50965303", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "0349337d65d37ef6c2099ba247dae761", "score": "0.50965303", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "0349337d65d37ef6c2099ba247dae761", "score": "0.50965303", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "0349337d65d37ef6c2099ba247dae761", "score": "0.50965303", "text": "public int getAppid() {\n return appid_;\n }", "title": "" }, { "docid": "14ec35a205fc4429000d949225f45bef", "score": "0.508073", "text": "@AutoEscape\n\tpublic String getApplicationRefNo();", "title": "" }, { "docid": "6320a98cf26a6b84b94ca4ce344b6e66", "score": "0.50805694", "text": "protected String getEventUrl() throws DaoException {\n StringBuilder sb = new StringBuilder(this.accessor.getCurrentCell().getUrl());\n sb.append(\"__event\");\n return sb.toString();\n }", "title": "" }, { "docid": "38f4abfc42f725356616bdfb788cefdf", "score": "0.50532126", "text": "public String getAppLocation() {\n return appLocation;\n }", "title": "" }, { "docid": "ba01e61005cb227342315bc402ba3a56", "score": "0.5042703", "text": "public String getUrl() {\n return getProperty(URL);\n }", "title": "" }, { "docid": "4e0a70e2d3f7effefc7b21331d1df4a1", "score": "0.5004049", "text": "private String getApplicationUrl(DelegateExecution execution){\n return getHTTPServiceInvoker().getProperties().getProperty(\"api.url\")+\"/application/\"+execution.getVariable(\"applicationId\");\n }", "title": "" }, { "docid": "d216baa58e1ac40c1ab75d433da9cfdd", "score": "0.49941915", "text": "public String getUrl() {\n return getConnector().getUrl(context);\n }", "title": "" }, { "docid": "f15f5fea0cf9f7dd1077f620459b63df", "score": "0.49663404", "text": "public String getApp_num() {\n\t\treturn app_num;\n\t}", "title": "" }, { "docid": "4fc590be389ad1bead40a0e6877a7387", "score": "0.4961949", "text": "public String getUrl()\n {\n return (this.url);\n }", "title": "" }, { "docid": "19240cd3bba1f8df484e753374da9f72", "score": "0.49411327", "text": "public URL getURL(){\n buildURL(); \n return this.url;\n \n }", "title": "" }, { "docid": "2f09ef9c5a800aeeb43fb54b9bef7b1d", "score": "0.49347687", "text": "public static String getURL() {\n\t\tString url = properties.getProperty(\"url\");\n\t\treturn url;\n\t}", "title": "" }, { "docid": "d35365d3cdaee883e50fa6f16130dc99", "score": "0.49114668", "text": "@JsonAttribute(javaString=\"url\", jsonString=\"url\")\n public String getUrl() {\n return this.url;\n }", "title": "" }, { "docid": "490d46d9c5934ea657447e42eb15d2e2", "score": "0.49089918", "text": "protected String getUnderlyingUrl(String url) {\n url = \"jdbc:\" + url.substring(JDBCPREFIX.length() + 1);\n return url;\n }", "title": "" }, { "docid": "5cf3c0dcd5f089d8807ed9810efaedc6", "score": "0.490718", "text": "public String getUrl() {\n\t\tlog.trace(\"Get url, returns [{}]\", url);\n\t\treturn url;\n\t}", "title": "" }, { "docid": "2e6aabc82ddc27c2dbb809c1aa21337d", "score": "0.49049258", "text": "@Override\n public AppInfo getAppInfo(final Long app_id) throws Exception {\n return getHibernateTemplate().execute(new HibernateCallback<AppInfo>() {\n @Override\n public AppInfo doInHibernate(Session session)\n throws HibernateException, SQLException {\n Criteria criteria = session.createCriteria(AppInfo.class,\n \"appInfo\");\n criteria.setProjection(setAppsProList());\n criteria.add(Restrictions.eq(\"appInfo.id\", app_id));\n List<AppInfo> info = criteria.setResultTransformer(\n Transformers.aliasToBean(AppInfo.class)).list();\n if (info != null && info.size() > 0) {\n return info.get(0);\n }\n return new AppInfo();\n }\n });\n }", "title": "" }, { "docid": "377812d80392de4d9623a2038e1b8ee3", "score": "0.49013242", "text": "public String getUrl(){\n\t\t\n\t\treturn PropertyLoader.url;\n\t}", "title": "" }, { "docid": "fd0fb91105f0e79b0d04c574d01f8b64", "score": "0.48954666", "text": "public String getUrl() {\n return (String) comboBox_.getSelectedItem();\n }", "title": "" }, { "docid": "f01c95e4bfb96b05125a7670294be28b", "score": "0.48808336", "text": "public String getPropertyProductImageUri()\n {\n return iPropertyProductImageUri.getValue();\n }", "title": "" }, { "docid": "45e6304934401340980ae4580ac12583", "score": "0.48779523", "text": "private static Map<String, String> getAppContextWithVersion() {\r\n if (log.isDebugEnabled()) {\r\n log.debug(\"Calling getAppContextWithVersion\");\r\n }\r\n try {\r\n APIMgtDBUtil.initialize();\r\n AppMDAO dao = new AppMDAO();\r\n Map<String, String> contextVersion = new HashMap<String, String>();\r\n Iterator listI = dao.getAllWebApps().listIterator();\r\n\r\n while (listI.hasNext()) {\r\n WebApp app = (WebApp) listI.next();\r\n String appVersion = app.isDefaultVersion() ? \"/\" + app.getId().getVersion() : \"\";\r\n contextVersion.put((app.getContext().startsWith(\"/\") ?\r\n app.getContext() :\r\n \"/\" + app.getContext()) + appVersion, app.getUrl());\r\n }\r\n return contextVersion;\r\n } catch (AppManagementException e) {\r\n throw new SynapseException(\r\n \"Error while retrieving context+version list from database\\n\" + \"Error : \" + e\r\n .getMessage());\r\n } catch (Exception e) {\r\n throw new SynapseException(\r\n \"Error while initialize database util\\n\" + \"Error : \" + e.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "71773de0485f32b44d24bff5f56d6dd8", "score": "0.48755476", "text": "public String getUrl() {\n\t\treturn url.toString();\n\t}", "title": "" }, { "docid": "3af598a4797e372e0e92e6931ee0fbf7", "score": "0.48731142", "text": "public String valueUrl() {\n return getString(FhirPropertyNames.PROPERTY_VALUE_URL);\n }", "title": "" }, { "docid": "3af598a4797e372e0e92e6931ee0fbf7", "score": "0.48731142", "text": "public String valueUrl() {\n return getString(FhirPropertyNames.PROPERTY_VALUE_URL);\n }", "title": "" }, { "docid": "dfad70025f337734552bb2813156fddf", "score": "0.48717752", "text": "int getSourceAppId();", "title": "" }, { "docid": "3e698807f263264740eb8a17451c5e97", "score": "0.48684534", "text": "abstract public String getJdbcUrl();", "title": "" }, { "docid": "ee6736f9b9e76e35bcce8b6343613541", "score": "0.48678783", "text": "java.lang.String getAppId();", "title": "" }, { "docid": "ee6736f9b9e76e35bcce8b6343613541", "score": "0.48678783", "text": "java.lang.String getAppId();", "title": "" }, { "docid": "239d46b102d574c96f5101088bb31ab4", "score": "0.48489127", "text": "public static String get(String key)\r\n\t\t {\n\t\t\t String value=null;\r\n\t\t\t// System.out.println(prop.toString());\r\n\t\t\t value=prop.getProperty(key);\r\n\t\t\t //System.out.println(\"----IN GET FUNCTION---prop value=\"+value);\r\n\t\t\t //System.out.println(prop.getProperty(\"AppUrl\")); \r\n\t\t\treturn value;\t\r\n\t\t\t\r\n\t\t\t \r\n\t\t }", "title": "" }, { "docid": "d5a44bbf9371913bc429c51b91cdd14a", "score": "0.48437938", "text": "public String getURL() {\n return url.toString();\n }", "title": "" }, { "docid": "3f7b56a844cbed314f37ef9c75e5b522", "score": "0.4827011", "text": "@Select({\n \"select\",\n \"APPID, TYPE, URL, APPSTATUS\",\n \"from APP_ADDRESS\",\n \"where APPID = #{appid,jdbcType=VARCHAR}\",\n \"and TYPE = #{type,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"APPID\", property=\"appid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TYPE\", property=\"type\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"URL\", property=\"url\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"APPSTATUS\", property=\"appstatus\", jdbcType=JdbcType.VARCHAR)\n })\n AppAddress selectByPrimaryKey(@Param(\"appid\") String appid, @Param(\"type\") String type);", "title": "" }, { "docid": "6a4f58de5433036ea6bed263945a2aef", "score": "0.4815962", "text": "public String getAppId() {\r\n return appId;\r\n }", "title": "" }, { "docid": "00a3e7f968ff51e8cf1cfb4bddf1ba3f", "score": "0.48148093", "text": "public String getPropertyManufacturerUrl()\n {\n return iPropertyManufacturerUrl.getValue();\n }", "title": "" }, { "docid": "da3fa4abe6fc76aecca14bf4c3f63342", "score": "0.4812023", "text": "public String getPropertyManufacturerUrl();", "title": "" }, { "docid": "94535756fcd55476da7f5ff98b1c4ba4", "score": "0.481054", "text": "public Long getAppSourceId() {\n return appSourceId;\n }", "title": "" }, { "docid": "7b5f95bd568bc2b87c977e3ffbe5680c", "score": "0.480558", "text": "public String getUrl()\r\n\t{\r\n\t\treturn getUrl( getSession().getSessionContext() );\r\n\t}", "title": "" }, { "docid": "e9bc7f7d39988cb560f41ba43f3311e3", "score": "0.48033774", "text": "public String getUrl() {\n if (this.itemType.intValue() == ITEM_TYPE.VIDEO.ordinal() || this.itemType.intValue() == ITEM_TYPE.INTERSTITIAL_VIDEO.ordinal()) {\n return getCtaVideoUrl();\n }\n return this.url;\n }", "title": "" }, { "docid": "b2a937673f83cb1f25c1a4d4725912c1", "score": "0.47973135", "text": "private String formJdbcConnectionUrl() {\r\n\r\n\t\tString databaseName = ExternalProperties.getDbConfig(\"app.gc.cloudsql.db\");\r\n\t\tString cloudSqlInstance = ExternalProperties.getDbConfig(\"app.gc.cloudsql.instance\");\r\n\r\n\t\tString jdbcUrl = String.format(\r\n\t\t\t\t\"jdbc:mysql://google/%s?cloudSqlInstance=%s\"\r\n\t\t\t\t\t\t+ \"&socketFactory=com.google.cloud.sql.mysql.SocketFactory&useSSL=false\",\r\n\t\t\t\tdatabaseName, cloudSqlInstance);\r\n\t\treturn jdbcUrl;\r\n\t}", "title": "" }, { "docid": "beb45db97b7dc622f64d20ab9342ccd8", "score": "0.47908762", "text": "public static String retrieveName(int appid, Connection conn){\n String name = null;\n PreparedStatement stmt = null;\n ResultSet rs = null;\n try{\n conn.setAutoCommit(false);\n stmt = conn.prepareStatement(\"select appname from applookup where appid=?;\");\n stmt.setInt(1, appid);\n rs = stmt.executeQuery();\n while(rs.next()){\n name = rs.getString(\"appname\");\n }\n conn.commit();\n stmt.close();\n }catch(SQLException e){\n e.printStackTrace();\n }\n return name;\n }", "title": "" }, { "docid": "f8bb173ee8519d3eacc44eddbc5040ba", "score": "0.47888893", "text": "public String getDatabaseUrl() {\n return databaseUrl;\n }", "title": "" }, { "docid": "595e177f32704572570fe5dbaa8abd29", "score": "0.47880888", "text": "public int getApp() {\n return app;\n }", "title": "" }, { "docid": "19a2bda9373f77fbd580be2b8dff11e9", "score": "0.47865617", "text": "@Nullable\n public String getTargetAppId() {\n return targetAppId;\n }", "title": "" }, { "docid": "1b69458e7b5bee4542d3650fb62fe492", "score": "0.4777582", "text": "public String getDatabaseURL()\n {\n String sURL = super.getDatabaseURL();\n\n if ( sURL == null )\n sURL = \"jdbc:db2:@\";\n\n return( sURL );\n }", "title": "" }, { "docid": "86142c624cae1046546dd5892d66f9f5", "score": "0.47771472", "text": "public String getUrl() {\n return this.url;\n }", "title": "" }, { "docid": "86142c624cae1046546dd5892d66f9f5", "score": "0.47771472", "text": "public String getUrl() {\n return this.url;\n }", "title": "" }, { "docid": "86142c624cae1046546dd5892d66f9f5", "score": "0.47771472", "text": "public String getUrl() {\n return this.url;\n }", "title": "" }, { "docid": "86142c624cae1046546dd5892d66f9f5", "score": "0.47771472", "text": "public String getUrl() {\n return this.url;\n }", "title": "" }, { "docid": "5f40891fb794b04f2e0bdba7c90a78e1", "score": "0.47770873", "text": "public URL getUrl() {\n \treturn this.url;\n }", "title": "" }, { "docid": "0ed5ed93b39bfb30caea1c573e008147", "score": "0.4774014", "text": "private int getAgencyId(int applicationId)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tint agencyId=0;\r\n\t\t\tLOGGER.debug(\"trying to get agency Id for application Id\"+ applicationId);\r\n\t\t\tMap<String,Object> parameters = new HashMap<>();\r\n\t\t\tparameters.put(\"applicationId\", applicationId);\r\n\t\t\tagencyId = getJdbcTemplate().queryForObject(assessmentBodyHomepageConfigSql.getGetAgencyId(), parameters,ROW_MAPPER_AGENCY_ID);\r\n\t\t\tLOGGER.debug(\"Agency Id for applicationId :\"+applicationId+\"is :\"+agencyId);\r\n\t\t\treturn agencyId;\r\n\t\t}\r\n\t\tcatch(EmptyResultDataAccessException e)\r\n\t\t{\r\n\t\t\tLOGGER.debug(\"Could not find any agency Id\");\r\n\t\t\treturn -1;\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tLOGGER.error(\"An exception occured while finding agency Id\");\r\n\t\t\treturn -2;\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "0f9fc4febeb2c5ba10569b5beeacf6f5", "score": "0.47533363", "text": "public String getUrl() {\r\n\t\treturn url;\r\n\t}", "title": "" }, { "docid": "21a84a9422457a5acbe1c652b01e39a4", "score": "0.4751388", "text": "public String getURL() {\n\t\treturn url.getText();\n\t}", "title": "" }, { "docid": "967b441ed8336d054abc4a21434f322e", "score": "0.47494745", "text": "public String getAppId() {\n return appId;\n }", "title": "" }, { "docid": "967b441ed8336d054abc4a21434f322e", "score": "0.47494745", "text": "public String getAppId() {\n return appId;\n }", "title": "" }, { "docid": "cb3b6ea142d5439592e2b0b716d5eae4", "score": "0.47456568", "text": "public void setApp_id(String app_id) {\n this.app_id = app_id;\n }", "title": "" }, { "docid": "6dcbba1d91b74f025a435ac898e18528", "score": "0.47399715", "text": "public String getUrl()\r\n\t{\r\n\t\treturn url;\r\n\t}", "title": "" }, { "docid": "01fe69e80e6bc99089bed614fd30712a", "score": "0.47365364", "text": "public String getUrl()\n {\n \treturn m_baseUrl;\n }", "title": "" }, { "docid": "bf97aedd1278ca2847c0fa47fe13cfa8", "score": "0.4736108", "text": "public String getPropertyProductImageUri();", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "764f46d6aa6682873e8732e8606524b5", "score": "0.473276", "text": "public String getUrl() {\n\t\treturn url;\n\t}", "title": "" } ]
76bbd74af2c67f3f80558397b2fffdb7
upload some file to the buckets
[ { "docid": "d1dc3f8ccf09100998a124257249011e", "score": "0.0", "text": "public void testBatchStat() throws Exception {\n\t\tString key1 = \"batch-stat1\";\n\t\tString key2 = \"batch-stat2\";\n\t\tString entryUri1 = bucketName + \":\" + key1;\n\t\tString entryUri2 = bucketName + \":\" + key2;\n\t\tList<String> entryUris = new ArrayList<String>();\n\t\tentryUris.add(entryUri1);\n\t\tentryUris.add(entryUri2);\n\n\t\tString dir = System.getProperty(\"user.dir\");\n\t\tString absFilePath = dir + \"/testdata/\" + key ;\n\n\t\tPutAuthRet putAuthRet = rs.putAuth();\n\t\tString authorizedUrl = putAuthRet.getUrl();\n\t\ttry {\n\t\t\t// upload file1 with key1\n\t\t\t@SuppressWarnings(\"deprecation\")\n\t\t\tPutFileRet putFileRet = RSClient.putFile(authorizedUrl, bucketName, key1, \"\", absFilePath, \"\", \"\");\n\t\t\tassertTrue(putFileRet.ok() && expectedHash.equals(putFileRet.getHash())) ;\n\n\t\t\t// upload file2 with key2\n\t\t\t@SuppressWarnings(\"deprecation\")\n\t\t\tPutFileRet putFileRet2 = RSClient.putFile(authorizedUrl, bucketName, key2, \"\", absFilePath, \"\", \"\");\n\t\t\tassertTrue(putFileRet2.ok() && expectedHash.equals(putFileRet2.getHash()));\n\t\t\t// -----------------------------------------------------------------------------------------\n\n\t\t\t// stat\t\t\n\t\t\tBatchStatRet statRet = rs.batchStat(entryUris);\n\t\t\tassertTrue(statRet.ok());\n\t\t\tList<StatRet> statRetList = statRet.results;\n\t\t\tfor (StatRet r : statRetList) {\n\t\t\t\tif (!r.ok())\n\t\t\t\t\tSystem.out.println(\"testBatchStat stat:\" + r.statusCode);\n\t\t\t\tassertTrue(r.ok() && r.getHash().equals(expectedHash));\n\t\t\t}\n\t\t} finally {\n\t\t\t// delete use batchDelete\n\t\t\tBatchCallRet deleteRet = rs.batchDelete(entryUris);\n\t\t\tassertTrue(deleteRet.ok());\n\t\t\tList<CallRet> callRetList = deleteRet.results;\n\t\t\tfor (CallRet r : callRetList) {\n\t\t\t\tassert(r.ok());\n\t\t\t}\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "db43f18537c024478ca5578f9b24227a", "score": "0.76253974", "text": "protected void upload() {\n final String key = new StringBuilder().append(getKeyPrefix()).append(getFile()).toString();\n executorService.execute(\n () -> {\n File uploadLogFile = null;\n try {\n uploadLogFile = getUploadLogFile();\n s3Client.putObject(\n PutObjectRequest.builder().bucket(getBucket()).key(key).build(),\n RequestBody.fromFile(uploadLogFile));\n } catch (IOException e) {\n addError(\"Executor did not upload\", e);\n } finally {\n if (Objects.nonNull(uploadLogFile)) {\n uploadLogFile.deleteOnExit();\n }\n }\n });\n }", "title": "" }, { "docid": "0ff7c88c31a4a88d63900144297d9b76", "score": "0.75199825", "text": "private void uploader(final File file) {\n LogUtils.i(file.getAbsolutePath());\n//\t\tIO.putFile(QNApi.getAuthorizer(QNApi.BUCKET_TSLOGS), file.getName(), file, extra, new CallBack() {\n//\n//\t\t\t@Override\n//\t\t\tpublic void onSuccess(UploadCallRet ret) {\n//\t\t\t\t// TODO Auto-generated method stub\n//\t\t\t\tMessage message = handler.obtainMessage();\n//\t\t\t\tmessage.what = FILE_UPLOAD_SUCCESS;\n//\t\t\t\thandler.sendMessage(message);\n//\t\t\t\tfile.delete();\n//\t\t\t\tLogUtils.i(\"IO.putFile upload \" + ret.getResponse());\n//\t\t\t}\n//\n//\t\t\t@Override\n//\t\t\tpublic void onProcess(long current, long total) {\n//\t\t\t\t// TODO Auto-generated method stub\n//\t\t\t\tLogUtils.i(\"IO.putFile upload \" + (current * 1.0 / total));\n//\t\t\t}\n//\n//\t\t\t@Override\n//\t\t\tpublic void onFailure(CallRet ret) {\n//\t\t\t\t// TODO Auto-generated method stub\n//\t\t\t\tLogUtils.i(\"IO.putFile upload \" + ret.getResponse());\n//\t\t\t}\n//\t\t});\n }", "title": "" }, { "docid": "32026637207e78b22fedaa93a477c5f9", "score": "0.7470631", "text": "void uploadToAmazon(File image);", "title": "" }, { "docid": "4eb1bb73b80a1c6912e59c6ddc3c84b9", "score": "0.7279059", "text": "EProcessResult upload(String sourcePath, File file);", "title": "" }, { "docid": "0076cadf9669b9434507088b4663f5bc", "score": "0.71803296", "text": "private void uploadFileTos3bucket(String fileName, File file) {\n\t\ts3client.putObject(\n\t\t\t\tnew PutObjectRequest(bucketName, fileName, file).withCannedAcl(CannedAccessControlList.PublicRead));\n\t}", "title": "" }, { "docid": "7ff794e1a746dcd553be5b4a9e01c5ec", "score": "0.71339846", "text": "void uploadFile(File file, String path);", "title": "" }, { "docid": "c39e34164e451d5b1191f18cd1789b3d", "score": "0.7022479", "text": "Result put(String bucket, String path, String key, File file);", "title": "" }, { "docid": "1a6d0140afab81ad91da6ac57537c3e3", "score": "0.6990358", "text": "String initiateMultipartUpload(String bucket, String key, MultipartUploadRequest request);", "title": "" }, { "docid": "298801c279d0972d61e3098a7d2996d1", "score": "0.69420487", "text": "@Override\n protected Void doInBackground(Void... params) {\n try {\n //Buckets been created once\n // CloudStorage.createBucket(\"intellicastbucket\");\n CloudStorage.uploadFile(\"intellicastbucket\", FilePath);\n }catch(Exception ex){\n ex.printStackTrace();\n exceptionFlag=true;\n }\n return null;\n }", "title": "" }, { "docid": "f5a1a5a4cbb45c6842b99802238d428d", "score": "0.69349694", "text": "public FileBucket fileUpload(FileBucket fileBucket) {\n MultipartFile file = fileBucket.getFile();\n String originalImgPath = \"\";\n String resizedImgPath = \"\";\n //String serverFileName = \"\";\n String gameImage = \"\";\n String itemViewName = \"\";\n String imgLocation = \"\";\n int width = 580;\n int height = 450;\n boolean saved = false;\n String serverFileName = \"\";\n\n FileBucket fb = new FileBucket();\n\n if (file != null && !file.isEmpty()) {\n // for (int i = 0; i < files.length; i++) {\n try {\n\n byte[] bytes = null;\n // Creating the directory to store file\n String rootPath = System.getProperty(\"catalina.home\");\n File dir = new File(rootPath + File.separator + \"tmpFiles\");\n if (!dir.exists()) {\n dir.mkdirs();\n }\n\n FilenameUtils fileUTIL = new FilenameUtils();\n\n imgLocation = dir + File.separator;\n // get files name in the array\n\n gameImage = file.getOriginalFilename();\n bytes = file.getBytes();\n serverFileName = imgLocation + gameImage;\n System.out.println(\"gameImage:: \" + gameImage);\n\n System.out.println(\"serverFileName :: \" + serverFileName);\n\n // resize image\n //utility.resize(originalImgPath, resizedImgPath, width, height);\n //create the file on server\n File serverFile = new File(serverFileName);\n BufferedOutputStream stream = new BufferedOutputStream(\n new FileOutputStream(serverFile));\n stream.write(bytes);\n stream.close();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n // }\n\n fileBucket.setGameImage(gameImage);\n fileBucket.setGameImgLocation(imgLocation);\n\n } else {\n System.out.println(\"File is empty / No image uploaded\");\n }\n\n return fileBucket;\n\n }", "title": "" }, { "docid": "02ea2259928684a7cb9392ffb73362e9", "score": "0.6842495", "text": "void aPut(String bucket, String path, String key, File file, OnResult onResult);", "title": "" }, { "docid": "60f1fb0a568d61483b96492e4b76b697", "score": "0.6789012", "text": "String uploadFile(String username, String targetName, String path) throws DbxException, IOException;", "title": "" }, { "docid": "7d03f45baaafdc2e02cf90cccbc21267", "score": "0.67832226", "text": "@Override\n\tpublic void uploadFile(String bucketName, String keyName, File file) {\n\t\t// Using CannedAcl, Setting the Public Read\n\t\ts3Client.putObject(\n\t\t\t\tnew PutObjectRequest(bucketName, keyName, file).withCannedAcl(CannedAccessControlList.PublicRead));\n\t}", "title": "" }, { "docid": "07e11da98cf78cce049b94db3ed57b2d", "score": "0.6709254", "text": "@Test\n void upload() throws IOException {\n new DBFileUploading(\n token,\n remotePath,\n new ConstSource<>(new ByteArrayInputStream(\"file text\".getBytes()))\n ).fire();\n download(); // can be downloaded normally\n Assertions.assertTrue(true);\n }", "title": "" }, { "docid": "67e4d33bb292d05edf78c6bf20bc112d", "score": "0.66661143", "text": "private void upload(String filename) {\n Path path = Paths.get(filename);\n if (filename.contains(\"/\")) {\n // if the file is in other directory, use only the file name without path.\n filename = filename.substring(filename.lastIndexOf('/') + 1);\n }\n\n if (Files.isDirectory(path)) {\n System.out.println(\"The path indicates a directory, please compress it then try again.\");\n return;\n }\n\n try {\n List<byte[]> chunks = this.dp.breakFile(path);\n List<BigInteger> hashcode = hashChunks(filename, chunks);\n CountDownLatch count = new CountDownLatch(chunks.size());\n\n System.out.println(\"Uploading...\");\n boolean success = upload(filename, chunks, hashcode, count);\n System.out.println(\"Upload process was \" + (success ? \"\" : \"in\") + \"complete.\");\n } catch (NoSuchFileException ignore) {\n System.out.println(\"File [\" + path + \"] does not exist.\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "f3f18691700d5afc4654c4aeabb6202a", "score": "0.66450936", "text": "public void createAndUpload() throws IOException {\n System.out.println(\"Listing buckets\");\n for (Bucket bucket : s3.listBuckets()) {\n System.out.println(\" - \" + bucket.getName());\n }\n System.out.println();\n \n /*\n * Create a new bucket with a name of your choice, but try to think of a name that will be globally unique.\n * To create the bucket, call the createBucket ethod of the s3 client object, providing the bucket name. \n * But If the region is other than us-east-1, we need to specify a regional constraint. \n * Unfortunately, this Region object is different from the one above. \n * The easiest way to create this Region is to use the method:\n * com.amazonaws.services.s3.model.Region.fromValue(region.getName())\n */\n s3.deleteBucket(\"kennyk-class-bucket\");\n Bucket bucket = s3.createBucket(\"kennyk-class-bucket\", \"us-west-2\");\n \n \n /*\n * Now upload an object to your bucket - You can easily upload a file to\n * S3, or upload directly an InputStream if you know the length of\n * the data in the stream. You can also specify your own metadata\n * when uploading to S3, which allows you set a variety of options\n * like content-type and content-encoding, plus additional metadata\n * specific to your applications.\n * \n * For this demo, create a File object that points to a file on your machine, like the sample text file included: \n * File sourceFile = new File(\"sampletext.txt\")\n * \n * Then construct a PutObjectRequest object using the bucket name you \n * created earlier, an object key of your choice, and the File object.\n * \n * Finally, upload the object by submitting the request using the putObject method of the s3 client object.\n * \n * Check that this all worked by updating the list of buckets under the \"Amazon S3\" section of the AWS Explorer\n */\n s3.putObject(bucket.getName(), \"my-awesome-file\", new File(\"/Users/kenkrueger/Documents/spring errata.rtf\"));\n \n System.out.println(\"Objects in the \" + bucket.getName() + \" bucket:\" );\n \n ObjectListing listing = s3.listObjects(bucket.getName()); \n for (S3ObjectSummary summary : listing.getObjectSummaries()) {\n System.out.println(\" - \" + summary.getKey());\n } \n \n \n \n }", "title": "" }, { "docid": "58f644bc93d32f082c49388b1a8ec340", "score": "0.66372216", "text": "public void uploadFileTos3bucketIndv(String fileName, File file) {\n\t\ts3client.putObject(new PutObjectRequest(bucketName + \"/uploads\", fileName, file)\n\t\t\t\t.withCannedAcl(CannedAccessControlList.PublicRead));\n\t}", "title": "" }, { "docid": "c61913f4b0e11ac3fa670cfd685fa624", "score": "0.66298485", "text": "void uploadBook(Author author, Publisher publisher, Book book, String filePath);", "title": "" }, { "docid": "8fff1bb37cf14e305ce5f04df0905eb5", "score": "0.66134644", "text": "@Test\n\tpublic void uploadAmazonStorageFile() throws IOException, StorageException {\n\t\tString bucketFilePath = \"s3://b-product-mock/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207/video/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\";\n\t\tremoveFiles(bucketFilePath);\n\t\tPath localFilePath = Paths\n\t\t\t\t.get(getClass().getClassLoader().getResource(\"a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\").getPath());\n\t\trepository.uploadFile(bucketFilePath, localFilePath);\n\t}", "title": "" }, { "docid": "03814ad1690e5283e678c6c550b5a117", "score": "0.6590627", "text": "String initiateMultipartUploadCopy(String bucket, String key, MultipartUploadCopyRequest request, FileHandle fileHandle);", "title": "" }, { "docid": "c85b8d7944a29f27954c52b66e6634ee", "score": "0.6588863", "text": "public void uploadFile(MultipartFile file) {\r\n\r\n\t if (file.isEmpty()) {\r\n\t throw new StorageException(\"Failed to store empty file\");\r\n\t }\r\n\r\n\t try {\r\n\t String fileName = file.getOriginalFilename();\r\n\t \r\n\t Files.copy(file.getInputStream(), Paths.get(path + fileName),\r\n\t StandardCopyOption.REPLACE_EXISTING);\r\n\t // .REPLACE_EXISTING\r\n\t } catch (IOException e) {\r\n\r\n\t String msg = String.format(\"Failed to store file\", file.getName());\r\n\r\n\t throw new StorageException(msg, e);\r\n\t }\r\n\r\n\t}", "title": "" }, { "docid": "87b698958bf688e162b06c8dce3be659", "score": "0.65745753", "text": "@Test\n\tpublic void uploadGCPStorageFile() throws IOException, StorageException {\n\t\tString bucketFilePath = \"gs://b-ao-product-mock/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207/video/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\";\n\t\tremoveFiles(bucketFilePath);\n\t\tPath localFilePath = Paths\n\t\t\t\t.get(getClass().getClassLoader().getResource(\"a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\").getPath());\n\t\trepository.uploadFile(bucketFilePath, localFilePath);\n\t}", "title": "" }, { "docid": "281f220b0415a4cfd0c0d024cf2680ed", "score": "0.6561303", "text": "JsonResult uploadCbjl(MultipartFile file);", "title": "" }, { "docid": "f1434d333078c8fc713be19e1a4942a7", "score": "0.649228", "text": "private void uploadImageToS3Bucket(String imageName, File file) {\n\n // aws s3 client\n amazonS3Client.putObject(\n new PutObjectRequest(this.bucketName, imageName, file).withCannedAcl(CannedAccessControlList.PublicRead));\n }", "title": "" }, { "docid": "543eb93bf161b779f1004de5af0e7079", "score": "0.6490073", "text": "private String upload(File file) {\n CognitoCachingCredentialsProvider credentialsProvider = new CognitoCachingCredentialsProvider(\n context.getApplicationContext(),\n Constants.IDENTITY_POOL_ID, // Identity Pool ID\n Regions.EU_WEST_1 // Cognito Region\n );\n\n // Use Cognito credentials\n AmazonS3 s3 = new AmazonS3Client(credentialsProvider);\n\n // Set bucket region\n s3.setRegion(Region.getRegion(Regions.EU_WEST_1));\n\n // Instantiate TransferUtility object with S3 object as parameter\n TransferUtility transferUtility = new TransferUtility(s3, context.getApplicationContext());\n\n // Call upload() method\n TransferObserver observer = transferUtility.upload(Constants.BUCKET_NAME, file.getName(), file);\n\n // Set upload listener\n observer.setTransferListener(transferListener);\n\n return generateURL(file);\n }", "title": "" }, { "docid": "79b453a214bb8196927e7b3c52d05ae0", "score": "0.6453273", "text": "void bulkUploadOfGarages(MultipartFile multipart) throws Exception;", "title": "" }, { "docid": "4c2d76e933ac1e5e8b498b71fa8358a3", "score": "0.6445994", "text": "public String upload(String path, InputStream fin) throws Exception {\n\n List<String> refererList = new ArrayList<>();\n refererList.add(\"https://*.console.aliyun.com\");\n refererList.add(\"http://bbear.xyz\");\n refererList.add(\"http://oss-cn-beijing.aliyuncs.com\");\n refererList.add(\"https://oss-cn-beijing.aliyuncs.com\");\n\n OSSClient ossClient = new OSSClient(END_POINT, OSS_KEY, OSS_SECRET);\n BucketReferer br = new BucketReferer(true, refererList);\n ossClient.setBucketReferer(BUCKET_NAME, br);\n\n ossClient.putObject(BUCKET_NAME, path, fin);\n\n ossClient.shutdown();\n log.debug(\"url -> {}\", END_POINT + \"/\" + path);\n return null;\n }", "title": "" }, { "docid": "426e44ae0a3b3eaf48b95f90a158a06e", "score": "0.64437354", "text": "public boolean uploadFile(MultipartFile file, String base, String subdir, String name);", "title": "" }, { "docid": "0a36d1a39fe35b1f6f0c851f719798a7", "score": "0.6359796", "text": "private void uploadFile() throws IOException {\n String path = FacesContext.getCurrentInstance()\n .getExternalContext()\n .getInitParameter(\"com.qltc.uploadPath\")\n + this.hallImageFile.getSubmittedFileName();\n try (InputStream in = this.hallImageFile.getInputStream()) {\n FileOutputStream out = new FileOutputStream(path);\n byte[] b = new byte[1024];\n int byteRead;\n while ((byteRead = in.read(b)) != -1) {\n out.write(b, 0, byteRead);\n }\n }\n }", "title": "" }, { "docid": "988dc86bad41fb89a6cea3b2ae9952cc", "score": "0.63420457", "text": "void uploadOperatorJar(Long id, File jarFile);", "title": "" }, { "docid": "726d9b024f60b56cd2a1706843ae83ba", "score": "0.6330653", "text": "private void handleUpload(AsyncFile file, String address, Handler<AsyncResult<Void>> doneHandler) {\n vertx.eventBus().registerHandler(address, handleUpload(file, address), doneHandler);\n }", "title": "" }, { "docid": "418aa0fc739c77680b64879e772f8bf9", "score": "0.63185453", "text": "public PutObjectResult putObject(String bucketName, String key, File file,Map<String, String> requestHeader)\n throws SCSClientException, SCSServiceException;", "title": "" }, { "docid": "c14e54b9e26d2720348d73fa919fc69e", "score": "0.6305795", "text": "@Override\r\n\tpublic FileLoadResult uploadData(String s3Path, File sourceFile) throws IOException\r\n\t{\r\n\t\treturn uploadData(s3Path, Arrays.asList(sourceFile));\r\n\t}", "title": "" }, { "docid": "d9be527a8a61ee352bc1df2789f053b1", "score": "0.62790036", "text": "public boolean upload(File file);", "title": "" }, { "docid": "045d37b90532a9a762e1d6d5594ba225", "score": "0.6276485", "text": "public void uploadFile(java.io.File file, String type) {\n try {\n String destination = Config.getDestination();\n\n ArrayList<String> typeFolders = new ArrayList<>();\n Collections.addAll(typeFolders, destination.split(java.io.File.separator.replace(\"\\\\\", \"\\\\\\\\\")));\n Collections.addAll(typeFolders, type.split(java.io.File.separator.replace(\"\\\\\", \"\\\\\\\\\")));\n \n File folder = null;\n\n for (String typeFolder : typeFolders) {\n if (typeFolder.equals(\".\") || typeFolder.equals(\"..\")) {\n continue;\n }\n\n if (folder == null) {\n folder = createFolder(typeFolder);\n } else {\n folder = createFolder(typeFolder, folder);\n }\n }\n\n File fileMetadata = new File();\n fileMetadata.setTitle(file.getName());\n fileMetadata.setDescription(\"Uploaded by the DriveBackupV2 Minecraft plugin\");\n fileMetadata.setMimeType(\"application/zip\");\n\n ParentReference fileParent = new ParentReference();\n fileParent.setId(folder.getId());\n fileMetadata.setParents(Collections.singletonList(fileParent));\n\n FileContent fileContent = new FileContent(\"application/zip\", file);\n\n service.files().insert(fileMetadata, fileContent).execute();\n\n deleteFiles(folder);\n } catch(Exception error) {;\n error.printStackTrace();\n MessageUtil.sendConsoleException(error);\n setErrorOccurred(true);\n }\n }", "title": "" }, { "docid": "038898344dab35a14f61469f0b567070", "score": "0.62609553", "text": "void uploadImageForGarage(String garageName, String location, MultipartFile multipart);", "title": "" }, { "docid": "d23d61e6f283de9114e3018923ff582a", "score": "0.62593895", "text": "public void upload() {\n \t\n \tlog.info(\"trying to upload file: \" + file.getFileName().toString());\n \t\n if(file != null) {\n FacesMessage message = new FacesMessage(\"Succesful, \", file.getFileName() + \" is uploaded.\");\n FacesContext.getCurrentInstance().addMessage(null, message);\n }\n }", "title": "" }, { "docid": "6993c80e570b1b6f0cc78610f31c9f6b", "score": "0.6239165", "text": "public static void postFile(SolrClient client, ByteBuffer buffer, String name, String sig)\n throws SolrServerException, IOException {\n String resource = \"/api/cluster/files\" + name;\n ModifiableSolrParams params = new ModifiableSolrParams();\n if (sig != null) {\n params.add(\"sig\", sig);\n }\n GenericSolrRequest request =\n new GenericSolrRequest(SolrRequest.METHOD.PUT, resource, params) {\n @Override\n public RequestWriter.ContentWriter getContentWriter(String expectedType) {\n return new RequestWriter.ContentWriter() {\n public final ByteBuffer payload = buffer;\n\n @Override\n public void write(OutputStream os) throws IOException {\n if (payload == null) return;\n Channels.newChannel(os).write(payload);\n }\n\n @Override\n public String getContentType() {\n return \"application/octet-stream\";\n }\n };\n }\n };\n NamedList<Object> rsp = client.request(request);\n if (!name.equals(rsp.get(CommonParams.FILE))) {\n throw new SolrException(\n ErrorCode.BAD_REQUEST,\n \"Mismatch in file uploaded. Uploaded: \"\n + rsp.get(CommonParams.FILE)\n + \", Original: \"\n + name);\n }\n }", "title": "" }, { "docid": "a29808ebb5dedc8e44d8546bc7cfd05a", "score": "0.6201829", "text": "@Override\n public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException {\n GcsFileOptions instance = GcsFileOptions.getDefaultInstance();\n //System.out.println(req.getRequestURI());\n String[] m=req.getRequestURI().split(\"/\");\n if(m.length!=6) {return;}\n // System.out.println(\"a: \"+m[2]+\", seade: \"+m[3]+\" pealkiri: \"+m[4]+\" fnimi:\"+m[5]);\n // GcsFilename fileName = getFileName(req);\n GcsOutputChannel outputChannel;\n ServletFileUpload sfu=new ServletFileUpload(new DiskFileItemFactory());\n// outputChannel = gcsService.createOrReplace(fileName, instance);\n String laiend=m[5].split(\"\\\\.\")[m[5].split(\"\\\\.\").length-1].toLowerCase();\n if(laiend.contentEquals(\"doc\") ||laiend.contentEquals(\"docx\") ||laiend.contentEquals(\"odt\") ||laiend.contentEquals(\"pdf\") \n \t\t||laiend.contentEquals(\"rtf\") ||laiend.contentEquals(\"xls\")||laiend.contentEquals(\"xlsx\")) {\n \tif(m[4].trim().length()==0) {\n \t\tm[4]=m[5];\n \t}\n } else if(laiend.contentEquals(\"png\") ||laiend.contentEquals(\"gif\") ||laiend.contentEquals(\"jpg\") ) {\n \t laiend=\"jpg\";\n } else {return;}\n String fname=m[3].substring(m[3].length()-10)+\"_\"+((int)(1000000*Math.random()))+\".\"+laiend;\n System.out.println(fname);\n// outputChannel = gcsService.createOrReplace(new GcsFilename(m[2], fname), instance);\n outputChannel = gcsService.createOrReplace(new GcsFilename(\"hes-209307.appspot.com\", fname), instance);\n String title=\"-\";\n if(m.length>4) {title=m[4];}\n // System.out.println(title);\n try {\n List<FileItem> items = sfu.parseRequest(req);\n //System.out.println(\"faile: \"+items.size());\n\tcopy(items.get(0).getInputStream(),Channels.newOutputStream(outputChannel));\n\t//copy(items.get(1).getInputStream(),Channels.newOutputStream(outputChannel));\n\t \tDatastoreService ds = DatastoreServiceFactory.getDatastoreService();\n \t//System.out.println(m[3]);\n \tKey deviceKey = KeyFactory.stringToKey(m[3]);\n\tEntity e = new Entity(\"PictureName\", deviceKey);\n\te.setProperty(\"filename\", fname);\n\te.setProperty(\"title\", title);\n\tds.put(e);\n // items.get(0).getInputStream()\n // byte[] sisu=items.get(0).get();\n // System.out.println(\"Pikkus: \"+sisu.length);\n } catch(Exception ex) {\n \tex.printStackTrace();\n }\n// copy(req.getInputStream(), Channels.newOutputStream(outputChannel));\n }", "title": "" }, { "docid": "8e5d5eb56f301f270ff27ef5daead181", "score": "0.6198649", "text": "@Override\r\n\tpublic FileLoadResult uploadData(String s3Path, String sourceFileName, byte[] data) throws IOException\r\n\t{\r\n\t\tFileLoadResult uploadResult = uploaderInit(s3Path, 1);\r\n\t\tuploadDataStream(s3Path, sourceFileName, sourceFileName, new ByteArrayInputStream(data),\r\n\t\t\t\tdata.length, uploadResult);\r\n\t\tuploadResult.setEndTime(System.currentTimeMillis());\r\n\t\treturn uploadResult;\r\n\t}", "title": "" }, { "docid": "63e0d6b7eb7a13fffd5987c493028328", "score": "0.61878586", "text": "protected Upload(){}", "title": "" }, { "docid": "600608e94e4a7d19ae16533129d512b3", "score": "0.61839426", "text": "private void uploadFiles(String path ,String container, Map<String,String> tags)\n {\n BlobContainerClient containerClient = new BlobContainerClientBuilder()\n .connectionString(connectStr).containerName(container).buildClient();\n System.out.println(\"Uploading files to storage\");\n\n //creates container if not exist\n if (!containerClient.exists()){\n containerClient = createContainer(container);\n }\n\n //parsing path string to obtain document type\n String extension = path.substring(path.lastIndexOf('.') + 1).toLowerCase();\n String fileName = path.substring(path.lastIndexOf('/')+1);\n String truncate = path.substring(0, path.lastIndexOf('/'));\n String docType = truncate.substring(truncate.lastIndexOf('/')+1);\n\n try\n {\n HashMap<String,String> newtags = new HashMap<>();\n newtags.putAll(tags);\n\n //categorising files into docTypes (ie pdf, png, ppt)\n BlobClient blobClient = containerClient.getBlobClient(String.format(\"%s/%s\",extension,fileName));\n blobClient.uploadFromFile(path);\n\n //automatically assign tags if not assigned yet\n if (tags.get(\"DocType\").equals(\"TBA\"))\n {\n newtags.replace(\"DocType\", docType);\n }\n\n if (fileName.contains(\"redacted\"))\n {\n newtags.replace(\"Redacted\",\"True\");\n }\n blobClient.setTags(newtags);\n System.out.println(String.format(\"%s uploaded \",fileName));\n }\n\n catch (Exception e)\n {\n System.out.println(e);\n }\n }", "title": "" }, { "docid": "5e374232804c0307a7d5bea1f1418018", "score": "0.6081321", "text": "@Test\n public void uploadingChunckTest() throws IOException {\n\n U2UFileSharingService fss = new U2UFileSharingService(group, false, false);\n //File f = new File(\"/img.png\");\n File f = new File(\"/home/sergio/Move to the city.mp3\");\n\n U2UContentManagerImpl cm = new U2UContentManagerImpl(fss);\n\n //register the file f in the db of shared files, verifier if the return is not null\n FileContent fc = cm.share(f);\n\n U2UContentAdvertisementImpl adv = (U2UContentAdvertisementImpl) fc.getContentAdvertisement();\n\n group.getDiscoveryService().remotePublish(adv);\n\n }", "title": "" }, { "docid": "94e77f23b4cd3831193bbd6b0de3317c", "score": "0.60809034", "text": "public void uploadFileByAliOSS(final OSSFileBean fileBean, IProgress progress, final IOSSFileCallback callback);", "title": "" }, { "docid": "adc04546d6286ee911a0fa2e1a5dcc3c", "score": "0.6038887", "text": "public String handleFileUpload(HttpServletRequest request, @RequestParam CommonsMultipartFile[] fileupload) throws Exception {\n if (fileupload != null && fileupload.length > 0) {\n // todo: get the user/client data (How to get the user which is ordering?)\n int clientId = 0;\n int accountId = 0;\n for (CommonsMultipartFile file : fileupload) {\n System.out.println(\"Saving File: \" + file.getOriginalFilename());\n\n UploadFile uploadFile = new UploadFile();\n uploadFile.setFileName(file.getOriginalFilename());\n uploadFile.setData(file.getBytes());\n fileUploadService.uploadFile(uploadFile, clientId, accountId);\n\n }\n }\n logger.info(\"Photo has been uploaded successfully\");\n return \"File has been successfully uploaded\";\n }", "title": "" }, { "docid": "a03d3d04c9ea49b550fce72bfb6de2b7", "score": "0.60104007", "text": "public void storeFile(F file) {\n getMemory().store(file, BUCKET_SIZE);\n }", "title": "" }, { "docid": "f7b08b4586ae7328d301b0f35af55143", "score": "0.59915596", "text": "@Override\r\n\tpublic void fileupload() {\n\t\tSystem.out.println(\"FileUplaod\");\r\n\t\tSystem.out.println(\"FileUplaod\");\r\n\t\tSystem.out.println(\"FileUplaod\");\r\n\t\tSystem.out.println(\"FileUplaod\");\r\n\t\tSystem.out.println(\"FileUplaod\");\r\n\t}", "title": "" }, { "docid": "fceef61504afd3e3c160f8e40fc4f62f", "score": "0.59909517", "text": "private void uploadPicToAmazon(int i, PostMedia postMedia) {\n Log.d(\"PROFILE_IMAGE\", \"\"+i);\n UploadAmazonS3 uploadAmazonS3 = UploadAmazonS3.getInstance(getActivity(), Constant.COGNITO_POOL_ID);\n uploadAmazonS3.Upload_data(Constant.BUCKET_NAME, postMedia.getFile_name(), new File(postMedia.getFilePath()), new UploadAmazonS3.Upload_CallBack() {\n @Override\n public void sucess(String sucess) {\n profile_image = Constant.AWS_URL +Constant.BUCKET_NAME +\"/\" + postMedia.getFile_name();\n Log.d(\"PROFILE_IMAGE\", \"\"+profile_image);\n uploadFileCount--;\n postMediaArrayList.get(i).setFile(profile_image);\n\n if (uploadFileCount<=0){\n cancelProgressDialog();\n uploadPost();\n }\n\n\n }\n\n @Override\n public void error(String errormsg) {\n\n Toast.makeText(getActivity(), errormsg, Toast.LENGTH_SHORT).show();\n Log.d(\"AMAZON_ERROR\", \"\"+errormsg);\n }\n });\n }", "title": "" }, { "docid": "73942f8d6840217514489a846e543fab", "score": "0.59835243", "text": "public void sendLocationUpload();", "title": "" }, { "docid": "a420451d82db969d99097a40d910668e", "score": "0.5972167", "text": "@Override\n public boolean uploadFile(Cloud cloud, File localFile, String dropboxPath, String parentId) {\n System.err.println(\"uploadFile\");\n System.err.println(\"dropboxPath: \" + dropboxPath);\n System.err.println(\"localFile getName: \" + localFile.getName());\n System.err.println(\"localFile getPath: \" + localFile.getPath());\n DbxClientV2 client = getClient(cloud.getAccessToken());\n if (localFile.length() <= (2 * CHUNKED_UPLOAD_CHUNK_SIZE)) {\n return uploadSmallFile(client, localFile, dropboxPath);\n } else {\n return chunkedUploadFile(client, localFile, dropboxPath);\n }\n\n }", "title": "" }, { "docid": "33d28439c5139d02ce2a814c64b213e6", "score": "0.5968165", "text": "@Override\n public void upload() throws UploadException {\n \n if(!preUploadCheckDone) {\n if(!preUploadCheckPassed()) {\n UploadException ex = new UploadException(ERROR_CODE.PREUPLOAD_CHECK_FALIED);\n ex.appendErrorMessage(this.getPreUploadCheckMsg());\n ex.appendErrorMessage(\"\\n\\tmzXML FILES WILL NOT BE UPLOADED\\n\");\n throw ex;\n }\n }\n \n // process the files in the sorted order\n Collections.sort(filenames);\n \n for (String filename: filenames) {\n try {\n String filepath = dataDirectory+File.separator+filename;\n \n int runId = uploadMzXmlRun(experimentId, filepath, remoteDirectory);\n // link experiment and run\n linkExperimentAndRun(experimentId, runId);\n numRunsUploaded++;\n }\n catch (UploadException e) {\n deleteLastUploadedRun();\n throw e;\n }\n }\n }", "title": "" }, { "docid": "d95a904b6cd3e8774ddac47305c6e778", "score": "0.59537816", "text": "@Override\n\tpublic S3FileHandle createFileHandle(File file, String contentType) throws SynapseException, IOException{\n\t\tif(file == null) throw new IllegalArgumentException(\"File cannot be null\");\n\t\tif(contentType == null) throw new IllegalArgumentException(\"Content type cannot be null\");\n\t\tCreateChunkedFileTokenRequest ccftr = new CreateChunkedFileTokenRequest();\n\t\tccftr.setContentType(contentType);\n\t\tccftr.setFileName(file.getName());\n\t\t// Calculate the MD5\n\t\tString md5 = MD5ChecksumHelper.getMD5Checksum(file);\n\t\tccftr.setContentMD5(md5);\n\t\t// Start the upload\n\t\tChunkedFileToken token = createChunkedFileUploadToken(ccftr);\n\t\t// Now break the file into part as needed\n\t\tList<File> fileChunks = FileUtils.chunkFile(file, MINIMUM_CHUNK_SIZE_BYTES);\n\t\ttry{\n\t\t\t// Upload all of the parts.\n\t\t\tList<Long> partNumbers = uploadChunks(fileChunks, token);\n\t\t\t// We can now complete the upload\n\t\t\tCompleteAllChunksRequest cacr = new CompleteAllChunksRequest();\n\t\t\tcacr.setChunkedFileToken(token);\n\t\t\tcacr.setChunkNumbers(partNumbers);\n\t\t\t// Start the daemon\n\t\t\tUploadDaemonStatus status = startUploadDeamon(cacr);\n\t\t\t// Wait for it to complete\n\t\t\tlong start = System.currentTimeMillis();\n\t\t\twhile(State.COMPLETED != status.getState()){\n\t\t\t\t// Check for failure\n\t\t\t\tif(State.FAILED == status.getState()){\n\t\t\t\t\tthrow new SynapseException(\"Upload failed: \"+status.getErrorMessage());\n\t\t\t\t}\n\t\t\t\tlog.debug(\"Waiting for upload daemon: \"+status.toString());\n\t\t\t\tThread.sleep(1000);\n\t\t\t\tstatus = getCompleteUploadDaemonStatus(status.getDaemonId());\n\t\t\t\tif(System.currentTimeMillis() -start > MAX_UPLOAD_DAEMON_MS){\n\t\t\t\t\tthrow new SynapseException(\"Timed out waiting for upload daemon: \"+status.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Complete the upload\n\t\t\treturn (S3FileHandle) getRawFileHandle(status.getFileHandleId());\n\t\t} catch (InterruptedException e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}finally{\n\t\t\t// Delete any tmep files created by this method. The original file will not be deleted.\n\t\t\tFileUtils.deleteAllFilesExcludingException(file, fileChunks);\n\t\t}\n\t}", "title": "" }, { "docid": "82993ff9a6aeb52e934531499d689d96", "score": "0.59508795", "text": "void uploadImageForGarage(String garageID, MultipartFile multipart);", "title": "" }, { "docid": "975d160cc72818364e3dbf83c2e80fb1", "score": "0.5940184", "text": "public void uploadMultipart(Uri filePath, String url) {\n\n\n try {\n String uploadId = UUID.randomUUID().toString();\n uploadReceiver.setDelegate(this);\n uploadReceiver.setUploadID(uploadId);\n\n String userToken = SharedPreferencesAdapter.getValueStringSharedPreferences(this, Constants.USER_TOKEN);\n //Creating a multi part request\n String multi = new MultipartUploadRequest(this, uploadId, url)\n .addFileToUpload(filePath.getPath(), \"file\") //Adding file\n .addHeader(\"app-authorization\", Constants.AUTHENTICATION)\n .addHeader(\"authorization\", userToken)\n .setUtf8Charset()\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload();\n constraintProgress.setVisibility(View.VISIBLE);\n Log.i(\"Create Team\", \"init upload\");\n\n multi.toString();\n Log.i(\"Create Team\", multi);\n Log.i(\"Create Team\", \"finish upload\");\n } catch (Exception exc) {\n Toast.makeText(this, exc.getMessage(), Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "4286a0f2ae4a50e83e6c972d4e92a124", "score": "0.59319687", "text": "@Override\r\n\tpublic FileLoadResult uploadData(String s3Path, String sourceFileName, InputStream data, long size)\r\n\t\t\tthrows IOException\r\n\t{\r\n\t\tFileLoadResult uploadResult = uploaderInit(s3Path, 1);\r\n\t\tuploadDataStream(s3Path, sourceFileName, sourceFileName, data, size, uploadResult);\r\n\t\tuploadResult.setEndTime(System.currentTimeMillis());\r\n\t\treturn uploadResult;\r\n\t}", "title": "" }, { "docid": "67f24ec57ac19d9a6d105c8d29d87241", "score": "0.59182614", "text": "public void uploadContinued(UploadTaskJob job);", "title": "" }, { "docid": "5724c4f87f48e268f797d85046675d0d", "score": "0.5897922", "text": "public void sentFile(){\n String random = UUID.randomUUID().toString();\n StorageReference riversRef = store.child(\"images/\"+random);\n\n riversRef.putFile(imagee)\n .addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n // Get a URL to the uploaded content\n // Uri downloadUrl = taskSnapshot.getDownloadUrl();\n Toast.makeText(getApplicationContext(),\"uploaded\",Toast.LENGTH_LONG).show();\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception exception) {\n // Handle unsuccessful uploads\n // ...\n }\n });\n }", "title": "" }, { "docid": "dbc341396c18ae101073a663c867735e", "score": "0.5894392", "text": "public static void main(String[] args) throws IOException {\n client = new OSSClientBuilder().build(endpoint, accessKeyId, accessKeySecret);\n \n try { \n /*\n * Upload an object to your source bucket\n */\n System.out.println(\"Uploading a new object to OSS from a file\\n\");\n client.putObject(new PutObjectRequest(sourceBucketName, sourceKey, createSampleFile()));\n \n /*\n * Claim a new upload id for your target bucket\n */\n InitiateMultipartUploadRequest initiateMultipartUploadRequest = new InitiateMultipartUploadRequest(targetBucketName, targetKey);\n InitiateMultipartUploadResult initiateMultipartUploadResult = client.initiateMultipartUpload(initiateMultipartUploadRequest);\n String uploadId = initiateMultipartUploadResult.getUploadId();\n \n /*\n * Calculate how many parts to be divided\n */\n final long partSize = 5 * 1024 * 1024L; // 5MB\n ObjectMetadata metadata = client.getObjectMetadata(sourceBucketName, sourceKey);\n long objectSize = metadata.getContentLength();\n int partCount = (int) (objectSize / partSize);\n if (objectSize % partSize != 0) {\n partCount++;\n }\n if (partCount > 10000) {\n throw new RuntimeException(\"Total parts count should not exceed 10000\");\n } else { \n System.out.println(\"Total parts count \" + partCount + \"\\n\");\n }\n\n /*\n * Upload multiparts by copy mode\n */\n System.out.println(\"Begin to upload multiparts by copy mode to OSS\\n\");\n List<PartETag> partETags = new ArrayList<PartETag>();\n for (int i = 0; i < partCount; i++) {\n long startPos = i * partSize;\n long curPartSize = (i + 1 == partCount) ? (objectSize - startPos) : partSize;;\n\n UploadPartCopyRequest uploadPartCopyRequest = new UploadPartCopyRequest(\n sourceBucketName, sourceKey, targetBucketName, targetKey);\n uploadPartCopyRequest.setUploadId(uploadId);\n uploadPartCopyRequest.setPartSize(curPartSize);\n uploadPartCopyRequest.setBeginIndex(startPos);\n uploadPartCopyRequest.setPartNumber(i + 1);\n \n UploadPartCopyResult uploadPartCopyResult = client.uploadPartCopy(uploadPartCopyRequest);\n System.out.println(\"\\tPart#\" + uploadPartCopyResult.getPartNumber() + \" done\\n\");\n partETags.add(uploadPartCopyResult.getPartETag());\n }\n \n /*\n * Complete to upload multiparts\n */\n System.out.println(\"Completing to upload multiparts\\n\");\n CompleteMultipartUploadRequest completeMultipartUploadRequest = new CompleteMultipartUploadRequest(\n targetBucketName, targetKey, uploadId, partETags);\n client.completeMultipartUpload(completeMultipartUploadRequest);\n \n /*\n * Fetch the object that newly created at the step below.\n */\n System.out.println(\"Fetching an object\");\n client.getObject(new GetObjectRequest(targetBucketName, targetKey), new File(localFilePath));\n \n } catch (OSSException oe) {\n System.out.println(\"Caught an OSSException, which means your request made it to OSS, \"\n + \"but was rejected with an error response for some reason.\");\n System.out.println(\"Error Message: \" + oe.getErrorMessage());\n System.out.println(\"Error Code: \" + oe.getErrorCode());\n System.out.println(\"Request ID: \" + oe.getRequestId());\n System.out.println(\"Host ID: \" + oe.getHostId());\n } catch (ClientException ce) {\n System.out.println(\"Caught an ClientException, which means the client encountered \"\n + \"a serious internal problem while trying to communicate with OSS, \"\n + \"such as not being able to access the network.\");\n System.out.println(\"Error Message: \" + ce.getMessage());\n } finally {\n /*\n * Do not forget to shut down the client finally to release all allocated resources.\n */\n client.shutdown();\n }\n }", "title": "" }, { "docid": "0930161792a7e046d47134cbaf0a1571", "score": "0.5891452", "text": "void store(UploadPack pack) throws IOException;", "title": "" }, { "docid": "d8548339fa4d7339b6a55194d4e28057", "score": "0.5884701", "text": "@Override\r\n\tpublic FileLoadResult uploadData(String s3Path, List<File> sourceFiles) throws IOException\r\n\t{\r\n\t\tFileLoadResult uploadResult = uploaderInit(s3Path, 0);\r\n\t\tfor (File file : sourceFiles)\r\n\t\t{\r\n\t\t\tif (file.isDirectory())\r\n\t\t\t{\r\n\t\t\t\t// input is a directory\r\n\t\t\t\tuploadFolderData(s3Path, file, false, uploadResult);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\t// input is a file\r\n\t\t\t\tuploadResult.addNumberFilesRequested(1);\r\n\t\t\t\tuploadDataStream(s3Path, convertFileName(file), file.getAbsolutePath(), new FileInputStream(file), file.length(),\r\n\t\t\t\t\t\tuploadResult);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tuploadResult.setEndTime(System.currentTimeMillis());\r\n\r\n\t\treturn uploadResult;\r\n\t}", "title": "" }, { "docid": "1da6e8fadd3f3d20d201f9b0c465503f", "score": "0.5882706", "text": "@Test\n\tpublic void uploadAmazonStorageFileThrowsException() throws IOException, StorageException {\n\t\tString bucketFilePath = \"s3://b-ao-product-moc/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207/video/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\";\n\t\tremoveFiles(bucketFilePath);\n\t\tPath localFilePath = Paths\n\t\t\t\t.get(getClass().getClassLoader().getResource(\"a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\").getPath());\n\t\tassertThrows(StorageException.class, () -> repository.uploadFile(bucketFilePath, localFilePath));\n\t}", "title": "" }, { "docid": "7e43d585075b5ac0b8086dced994732c", "score": "0.5878878", "text": "private void uploadFile(File file,int hcpid) {\n RequestBody requestFile =\n RequestBody.create(MediaType.parse(\"multipart/form-data\"), file);\n\n // MultipartBody.Part is used to send also the actual file name\n MultipartBody.Part body =\n MultipartBody.Part.createFormData(String.valueOf(hcpid), file.getName(), requestFile);\n\n // add another part within the multipart request\n String descriptionString = \"hcpimages\";\n RequestBody description =\n RequestBody.create(\n MediaType.parse(\"multipart/form-data\"), descriptionString);\n\n\n Call<String> call = restUserService.getService().uploadregisters(body,description);\n call.enqueue(new Callback<String>() {\n @Override\n public void onResponse(Call<String> call, Response<String> response) {\n int statusCode = response.code();\n\n String msg = \"here\";\n\n if (statusCode == 200) {\n Log.e(\"success\",\"sucesss\");\n // progress.dismiss();\n }else{\n Log.e(\"dfdf2\", msg);\n msg=\"error again\";\n\n }\n Log.e(\"dfdf1\", msg);\n\n }\n\n @Override\n public void onFailure(Call<String> call, Throwable t) {\n // progress.dismiss();\n Log.e(\"dfdf1\", \"error\");\n // Log.e(\"dfdf\", t.toString());\n }\n });\n\n\n }", "title": "" }, { "docid": "be98a97fa22f070a79fb6049ad7de991", "score": "0.58782154", "text": "public void uploadFileItems() throws RemoteException {\n UploadedFileItem[] uploadServiceTypes = new UploadedFileItem[uploadServiceTypeList.size()];\n uploadServiceTypes = uploadServiceTypeList.toArray(uploadServiceTypes);\n stub.uploadService(uploadServiceTypes);\n }", "title": "" }, { "docid": "d719e5514e9d705a17c2bdb7270f2762", "score": "0.5877528", "text": "public void upload() {\n\n // 1) Upload reachable constructs (per dependency\n if (!this.reachableConstructs.isEmpty()) {\n final StringBuffer upload_succeeded = new StringBuffer(), upload_failed = new StringBuffer();\n Set<NodeMetaInformation> nodes = null;\n JsonArray json_constructs = null;\n\n // Loop dependencies\n for (Map.Entry<String, Set<NodeMetaInformation>> e : this.reachableConstructs.entrySet()) {\n nodes = e.getValue();\n json_constructs = new JsonArray();\n\n // Loop reachable constructs\n String jar_url = null;\n for (NodeMetaInformation nmi : nodes) {\n if (jar_url == null) jar_url = nmi.getJarUrl();\n json_constructs.add(\n new JsonParser()\n .parse(JacksonUtil.asJsonString(nmi.getConstructId()))\n .getAsJsonObject());\n }\n\n // Upload\n try {\n ReachabilityAnalyzer.log.info(\n \"Upload [\"\n + nodes.size()\n + \"] reachable construct IDs for library [sha1=\"\n + e.getKey()\n + \", jar URL=\"\n + jar_url\n + \"]\");\n final boolean success =\n BackendConnector.getInstance()\n .uploadReachableConstructs(\n this.goalContext, this.app_ctx, e.getKey(), json_constructs.toString());\n if (success) this.appendJarName(jar_url, upload_succeeded);\n else this.appendJarName(jar_url, upload_failed);\n } catch (BackendConnectionException bce) {\n ReachabilityAnalyzer.log.error(\n \"Error while uploading reachable constructs for library [sha1=\"\n + e.getKey()\n + \", jar URL=\"\n + jar_url\n + \"]: \"\n + bce.getMessage());\n this.appendJarName(jar_url, upload_failed);\n }\n }\n\n ReachabilityAnalyzer.log.info(\n \"Upload of reachable constructs succeeded for [\" + upload_succeeded + \"]\");\n ReachabilityAnalyzer.log.warn(\n \"Upload of reachable constructs failed for [\" + upload_failed + \"]\");\n }\n\n // 2) Upload touch points per dependency\n if (!this.touchPoints.isEmpty()) {\n final StringBuffer upload_succeeded = new StringBuffer(), upload_failed = new StringBuffer();\n Set<List<NodeMetaInformation>> touch_points = null;\n JsonArray json_tps = null;\n JsonObject json_tp = null;\n NodeMetaInformation from = null, to = null;\n\n // Loop dependencies\n for (Map.Entry<String, Set<List<NodeMetaInformation>>> e : this.touchPoints.entrySet()) {\n touch_points = e.getValue();\n json_tps = new JsonArray();\n\n String jar_url = null;\n\n // Loop touch points\n for (List<NodeMetaInformation> touch_point : touch_points) {\n json_tp = new JsonObject();\n from = touch_point.get(0);\n to = touch_point.get(1);\n json_tp.add(\n \"from\",\n new JsonParser()\n .parse(JacksonUtil.asJsonString(from.getConstructId()))\n .getAsJsonObject());\n json_tp.add(\n \"to\",\n new JsonParser()\n .parse(JacksonUtil.asJsonString(to.getConstructId()))\n .getAsJsonObject());\n json_tp.addProperty(\"source\", this.source.toString());\n if (e.getKey().equals(to.getArchiveId())) {\n json_tp.addProperty(\"direction\", \"A2L\");\n jar_url = to.getJarUrl();\n } else {\n json_tp.addProperty(\"direction\", \"L2A\");\n jar_url = from.getJarUrl();\n }\n\n json_tps.add(json_tp);\n }\n\n // Upload\n try {\n ReachabilityAnalyzer.log.info(\n \"Upload [\"\n + touch_points.size()\n + \"] touch points for library [sha1=\"\n + e.getKey()\n + \", jar URL=\"\n + jar_url\n + \"]\");\n final boolean success =\n BackendConnector.getInstance()\n .uploadTouchPoints(\n this.goalContext, this.app_ctx, e.getKey(), json_tps.toString());\n if (success) this.appendJarName(jar_url, upload_succeeded);\n else this.appendJarName(jar_url, upload_failed);\n } catch (BackendConnectionException bce) {\n ReachabilityAnalyzer.log.error(\n \"Error while uploading touch points for library [sha1=\"\n + e.getKey()\n + \", jar URL=\"\n + jar_url\n + \"]: \"\n + bce.getMessage());\n this.appendJarName(jar_url, upload_failed);\n }\n }\n\n ReachabilityAnalyzer.log.info(\n \"Upload of touch points succeeded for [\" + upload_succeeded + \"]\");\n ReachabilityAnalyzer.log.warn(\"Upload of touch points failed for [\" + upload_failed + \"]\");\n }\n }", "title": "" }, { "docid": "7f52dd57b4e33d21c78ed65c26a4f056", "score": "0.5873522", "text": "@ParameterizedTest\n @MethodSource(pathToCreateFileMethod)\n void fileUpload(File file) throws InterruptedException {\n fileObject.upload(transferManager, file);\n\n // Check that lambda is triggered and there is a database row for uploaded file\n lambda.checkLambdaTriggeredAdd(database, file);\n }", "title": "" }, { "docid": "5985898a83e70beb118d7e720709088f", "score": "0.58548236", "text": "@Test\n public void testUpload2() throws IOException {\n DB zpark = client.getDB(\"zpark\");\n GridFS gridFS=new GridFS(zpark);\n\n GridFSInputFile gridFSFile = gridFS.createFile(new File(\"C:\\\\Users\\\\Administrator\\\\Desktop\\\\aa.png\"));\n gridFSFile.save();\n client.close();\n }", "title": "" }, { "docid": "4dfc4fcac12d17717e4551581ea98818", "score": "0.5839048", "text": "private String initiateMultipartUpload(PutObjectRequest putObjectRequest)\n throws AmazonClientException {\n InitiateMultipartUploadRequest initiateMultipartUploadRequest = null;\n initiateMultipartUploadRequest = new InitiateMultipartUploadRequest(\n putObjectRequest.getBucketName(), putObjectRequest.getKey())\n .withCannedACL(putObjectRequest.getCannedAcl())\n .withObjectMetadata(putObjectRequest.getMetadata());\n TransferUtility\n .appendMultipartTransferServiceUserAgentString(initiateMultipartUploadRequest);\n String uploadId = s3.initiateMultipartUpload(initiateMultipartUploadRequest).getUploadId();\n return uploadId;\n }", "title": "" }, { "docid": "2cedb02235205887ccb86c4e0a91e268", "score": "0.5834222", "text": "@Override\r\n\tpublic FileLoadResult uploadDataFullName(String s3Path, File sourceFile) throws IOException\r\n\t{\r\n\t\treturn uploadDataFullName(s3Path, Arrays.asList(sourceFile));\r\n\t}", "title": "" }, { "docid": "b23fa24785aed721fa8ecc4e07603dfb", "score": "0.5832689", "text": "public UploadedObject uploadFile(URL fileUrl, String bucketName) throws IOException, GeneralSecurityException {\n URLConnection fileUrlConnection = fileUrl.openConnection();\n InputStreamContent contentStream = new InputStreamContent(fileUrlConnection.getContentType(), fileUrl.openStream());\n // Setting the length improves upload performance\n contentStream.setLength(fileUrlConnection.getContentLengthLong());\n StorageObject objectMetadata = new StorageObject()\n // Set the destination object name\n .setName(FilenameUtils.getName(fileUrl.getFile()))\n // Set the access control list to publicly read-only\n .setAcl(Arrays.asList(new ObjectAccessControl().setEntity(\"allUsers\").setRole(\"READER\")));\n\n // Do the insert\n Storage client = GoogleCloudStorageFactory.getService();\n Storage.Objects.Insert insertRequest = client.objects().insert(bucketName, objectMetadata, contentStream);\n\n StorageObject insertedObject = insertRequest.execute();\n\n return new UploadedObject(insertedObject);\n }", "title": "" }, { "docid": "f51ec0a6d427231cce91eb586ef493c0", "score": "0.583261", "text": "@Test\n\tpublic void uploadGCPStorageFileThrowsException() throws IOException, StorageException {\n\t\tString bucketFilePath = \"gs://b-ao-product-moc/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207/video/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207/a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\";\n\t\tremoveFiles(bucketFilePath);\n\t\tPath localFilePath = Paths\n\t\t\t\t.get(getClass().getClassLoader().getResource(\"a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\").getPath());\n\t\tassertThrows(StorageException.class, () -> repository.uploadFile(bucketFilePath, localFilePath));\n\t}", "title": "" }, { "docid": "619ab82ba08deeea8e785708366d2ce5", "score": "0.582589", "text": "public static void uploadFileToWebApp(PublishingProfile profile, String fileName, InputStream file) {\n FTPClient ftpClient = new FTPClient();\n String[] ftpUrlSegments = profile.ftpUrl().split(\"/\", 2);\n String server = ftpUrlSegments[0];\n String path = \"./site/wwwroot/webapps\";\n if (fileName.contains(\"/\")) {\n int lastslash = fileName.lastIndexOf('/');\n path = path + \"/\" + fileName.substring(0, lastslash);\n fileName = fileName.substring(lastslash + 1);\n }\n try {\n ftpClient.connect(server);\n ftpClient.login(profile.ftpUsername(), profile.ftpPassword());\n ftpClient.setFileType(FTP.BINARY_FILE_TYPE);\n for (String segment : path.split(\"/\")) {\n if (!ftpClient.changeWorkingDirectory(segment)) {\n ftpClient.makeDirectory(segment);\n ftpClient.changeWorkingDirectory(segment);\n }\n }\n ftpClient.storeFile(fileName, file);\n ftpClient.disconnect();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "fe52ea2160860cb856e203f9056fbf0f", "score": "0.5816952", "text": "Single<Response<List<MultiFile>>> uploadFile(Map<String, RequestBody> partMap, List<MultipartBody.Part> partFile);", "title": "" }, { "docid": "d6e433d4f3c7dab698e3132b89998f87", "score": "0.5814342", "text": "public void saveImage2AmazonS3(File file, String filename) {\n CognitoCachingCredentialsProvider credentialsProvider = new CognitoCachingCredentialsProvider(\n getApplicationContext(),\n getString(R.string.AmazonIdentityPoolID), // Identity pool ID\n Regions.fromName(getString(R.string.AmazonRegion)) // Region\n );\n\n AmazonS3 s3 = new AmazonS3Client(credentialsProvider);\n TransferUtility transferUtility = new TransferUtility(s3, getApplicationContext());\n final TransferObserver observer = transferUtility.upload(\n \"pothole-detection-production\", //this is the bucket name on S3\n \"photo/\" + filename, //this is the path and name\n file, //path to the file locally\n CannedAccessControlList.Private //to make the file public\n );\n\n observer.setTransferListener(new TransferListener() {\n @Override\n public void onStateChanged(int id, TransferState state) {\n if (state.equals(TransferState.COMPLETED)) {\n //Success\n LOGGER.d(\"Successfully uploaded photo to Amazon S3\");\n } else if (state.equals(TransferState.FAILED)) {\n //Failed\n LOGGER.e(\"Failed to upload photo to Amazon S3\");\n }\n }\n\n @Override\n public void onProgressChanged(int id, long bytesCurrent, long bytesTotal) {\n\n }\n\n @Override\n public void onError(int id, Exception ex) {\n LOGGER.e(ex, \"Error when uploading images to Amazon S3\");\n }\n });\n }", "title": "" }, { "docid": "1c94a328e92bf7082b5f13ca7577da07", "score": "0.58047104", "text": "@RequestMapping(value=INSERT_FILE_URL, method=RequestMethod.POST)\n\tpublic @ResponseBody UploadResponseVO insertFile (@RequestBody File file) {\n\t\tfile.setFileUrl(s3UploadService.getcloudFrontFileURL(file.getFileName()));\n\t\treturn fileService.insertFile(file);\n\t}", "title": "" }, { "docid": "f14a2dcc0726638fd5f1a6a09b679200", "score": "0.58002293", "text": "long completeMultipartUpload(CompleteMultipartRequest request);", "title": "" }, { "docid": "7237bd4d3a778631f052f76ce12982f6", "score": "0.57948244", "text": "public boolean upload(String resource);", "title": "" }, { "docid": "6b3bf671fc3e2d75c4ae2df8a5d1789d", "score": "0.5794113", "text": "private void uploadOneFile(final Context context,File file){\r\n if(file == null){\r\n Log.d(TAG,\" the file is null\");\r\n return;\r\n }\r\n // String picPath = \"sdcard/temp.jpg\";\r\n final BmobFile bmobFile = new BmobFile(file);\r\n bmobFile.uploadblock(new UploadFileListener() {\r\n\r\n @Override\r\n public void done(BmobException e) {\r\n if(e==null){\r\n //bmobFile.getFileUrl()--返回的上传文件的完整地址\r\n Log.d(TAG,\" the picfile upload success :\");\r\n /* try {\r\n mCallback.showSuccess(Utils.IS_BACKPU);\r\n } catch (RemoteException re) {\r\n re.printStackTrace();\r\n }*/\r\n Log.d(TAG,\" the picfile url:\" + bmobFile.getFileUrl());\r\n // Toast.makeText(context,R.string.back_up_success,Toast.LENGTH_SHORT).show();\r\n }else{\r\n // Toast.makeText(context,R.string.back_up_fail,Toast.LENGTH_SHORT).show();\r\n Log.d(TAG,\" the pic file upload fail :\" + e.getMessage());\r\n }\r\n\r\n }\r\n\r\n @Override\r\n public void onProgress(Integer value) {\r\n // 返回的上传进度(百分比)\r\n Log.d(TAG,\" the picfile upload pecent value :\" + value);\r\n /* try {\r\n mCallback.updateNotifaction(value);\r\n if(value == 100){\r\n //insertBombObject(imageInfo);\r\n }\r\n } catch (RemoteException e) {\r\n e.printStackTrace();\r\n }*/\r\n }\r\n });\r\n }", "title": "" }, { "docid": "c3805a2f5b16897a80d4a2e593efeb20", "score": "0.5790456", "text": "public synchronized void uploadToFile(HashMap<Integer, Item> mainItemBase) throws IOException {\n try {\n RefreshFileBase file = new RefreshFileBase(mainItemBase);\n file.run();\n } catch (Exception e) {\n System.out.println(\"File refresh was failed.\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "af88da2add780300db724643b3936854", "score": "0.57833856", "text": "public UploadResponse upload(final String fileName, final File file) throws RestClientException {\n validateFile(file);\n final String finalFileName = fileName == null ? file.getName() : fileName;\n if (logger.isLoggable(Level.FINE)) {\n logger.fine(\"[getDeploymentEvents] - uploading file \" + file.getAbsolutePath() + \" with name \" + finalFileName);\n }\n final String uploadUrl = getFormattedUrl(versionedUploadControllerUrl, UPLOAD_URL_FORMAT, finalFileName);\n\n log(Level.FINE, \"[upload] - sending POST request to REST [\" + uploadUrl + \"]\");\n final UploadResponse response = executor.postFile(uploadUrl, file, CloudifyConstants.UPLOAD_FILE_PARAM_NAME,\n new TypeReference<Response<UploadResponse>>() {\n });\n return response;\n }", "title": "" }, { "docid": "d5b4505c87e026e22c1817a657aa23a3", "score": "0.576837", "text": "private void createTmpUploadFileFromUri() {\n }", "title": "" }, { "docid": "8570ff42c025d0682fb9d30209a40c62", "score": "0.57658136", "text": "private void uploadFile() {\n if (ImageUri != null) {\n storageReference.putFile(ImageUri).continueWithTask(new Continuation<UploadTask.TaskSnapshot, Task<Uri>>() {\n @Override\n public Task<Uri> then(@NonNull Task<UploadTask.TaskSnapshot> task) throws Exception {\n if (!task.isSuccessful()) {\n throw task.getException();\n }\n return storageReference.getDownloadUrl();\n }\n }).addOnCompleteListener(new OnCompleteListener<Uri>() {\n @Override\n public void onComplete(@NonNull Task<Uri> task) {\n if (task.isSuccessful()) {\n Uri downloadUri = task.getResult();\n Animal newAnimal = new Animal(tagNumber.getText().toString(), year.getText().toString(), breed.getSelectedItem().toString(),\n weight.getText().toString(), downloadUri.toString());\n String animalId = databaseReference.push().getKey();\n databaseReference.child(animalId).setValue(newAnimal);\n openLivestockActivity();\n } else {\n Toast.makeText(ScanActivity.this, \"upload failed: \" + task.getException().getMessage(), Toast.LENGTH_SHORT).show();\n }\n }\n });\n } else {\n Toast.makeText(this, \"No file selected\", Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "92167dae6a2d1234c75dbadaef29b6a7", "score": "0.5751733", "text": "private void postToOss(String path, final String fileName, final String brandName, final String phoneNumber, final String agentNumber) {\n\n specificLocationStr = specificLocation.getText().toString().trim();\n final RuntCustomProgressDialog runtDialog = new RuntCustomProgressDialog(mContext);\n runtDialog.setMessage(\"正在上传\");\n runtDialog.show();\n final String OssPath = \"shop/\" + auther + \"/\" + fileName;\n PutObjectRequest put = new PutObjectRequest(HttpsApi.OSS_OSSBUCKET, OssPath, path);\n // 异步上传时可以设置进度回调\n put.setProgressCallback(new OSSProgressCallback<PutObjectRequest>() {\n @Override\n public void onProgress(PutObjectRequest request, long currentSize, long totalSize) {\n if (currentSize == totalSize) {\n LogUtilsxp.e2(\"PutObject\", \"总大小:\" + totalSize);\n }\n\n }\n });\n\n\n OSSAsyncTask task = oss.asyncPutObject(put, new OSSCompletedCallback<PutObjectRequest, PutObjectResult>() {\n @Override\n public void onSuccess(PutObjectRequest request1, PutObjectResult result) {\n LogUtilsxp.e2(TAG, \"UploadSuccess\");\n url = getUrl(OssPath);\n // LogUtilsxp.e2(TAG, \"returnUrl:\" + url);\n\n\n CustomTrust customTrust = new CustomTrust(mContext);\n OkHttpClient okHttpClient = customTrust.client;\n\n LogUtilsxp.e2(TAG, \"shopName:\" + brandName + \"province:\" + provinceAreaId +\n \"city:\" + cityAreaId + \"county:\" + districtAreaId +\n \"address:\" + specificLocationStr + \"header:\" + url +\n \"---mobile:\" + phoneNumber + \"shopId:\" + shopId +\n \"longitude:\" + longitudePutTheBird + \"\" + \"latitude:\" + latitudePutTheBird);\n\n /**\n * 参数名\t是否必须\t类型\t说明\n shopName\t是\tstring\t商名\n province\t是\tint\t省\n city\t是\tint\t市\n county\t是\tint\t区\n address\t是\tstring\t地址\n header\t是\tstring\tlogo图\n shopId\t是\tint\t店Id\n mobile\t是\tint\t电话\n */\n\n\n RequestBody requestBody = new FormBody.Builder()\n .add(\"shopName\", brandName)\n .add(\"province\", provinceAreaId)\n .add(\"city\", cityAreaId)\n .add(\"county\", districtAreaId)\n .add(\"address\", specificLocationStr)\n .add(\"header\", url)//oss路径\n .add(\"mobile\", phoneNumber)\n .add(\"url\", agentNumber)\n .add(\"shopId\", shopId)\n .add(\"longitude\", longitudePutTheBird + \"\")\n .add(\"latitude\", latitudePutTheBird + \"\")\n .build();\n Request request = new Request.Builder()\n .url(HttpsApi.SERVER_URL + HttpsApi.URL_SHOP_UPDATA)\n .post(requestBody)\n .addHeader(\"Authorization\", token)\n .build();\n\n //\n okHttpClient.newCall(request).enqueue(new okhttp3.Callback() {\n @Override\n public void onFailure(Call call, IOException e) {\n LogUtilsxp.e(TAG, \"onFailure: \" + e.getMessage());\n runtDialog.dismiss();\n }\n\n @Override\n public void onResponse(Call call, Response response) throws IOException {\n final String responseString = response.body().string();\n\n LogUtilsxp.e2(TAG, \"URL_CREATE_result:\" + responseString);\n runtDialog.dismiss();\n\n CommonUtil.runOnUIThread(new Runnable() {\n @Override\n public void run() {\n\n\n try {\n JSONObject object = new JSONObject(responseString);\n int resultCode = object.optInt(\"code\");\n String msg = object.optString(\"msg\");\n if (resultCode == 0) {\n ToastUtils.showToast(mContext, msg);\n finish();\n\n } else if (resultCode == 403) {//token失效 重新登录\n ToastUtils.showToast(mContext, msg);\n Intent mIntent = new Intent(mContext, LoginActivity.class);\n mIntent.putExtra(\"title\", \"登录\");\n PrefUtils.writeToken(\"\", mContext);\n mContext.startActivity(mIntent); //重新启动LoginActivity\n\n } else {\n ToastUtils.showToast(mContext, msg);\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n });\n\n }\n });\n\n\n }\n\n @Override\n public void onFailure(PutObjectRequest request, ClientException clientExcepion, ServiceException serviceException) {\n // 请求异常\n if (clientExcepion != null) {\n // 本地异常如网络异常等\n LogUtilsxp.e2(TAG, \"本地异常如网络异常等\");\n LogUtilsxp.e2(TAG, \"本地异常如网络异常等:\" + clientExcepion.getMessage().toString());\n clientExcepion.printStackTrace();\n\n }\n if (serviceException != null) {\n // 服务异常\n LogUtilsxp.e2(TAG, \"服务异常\");\n LogUtilsxp.e2(\"ErrorCode\", serviceException.getErrorCode());\n LogUtilsxp.e2(\"RequestId\", serviceException.getRequestId());\n LogUtilsxp.e2(\"HostId\", serviceException.getHostId());\n LogUtilsxp.e2(\"RawMessage\", serviceException.getRawMessage());\n }\n }\n });\n task.waitUntilFinished();\n\n }", "title": "" }, { "docid": "7529a07f8659e38b1f3299b18c63cf68", "score": "0.57470834", "text": "void uploadDataStream(String s3Path, String sourceFileName, String sourceFileFullPath, InputStream data, long size,\r\n\t\t\tFileLoadResult uploadResult)\r\n\t{\r\n\t\tString s3FullPath = S3FileUtils.appendFileNameToS3Path(s3Path, sourceFileName);\r\n\t\tS3Location s3Location = S3FileUtils.getS3Location(s3FullPath);\r\n\t\t\r\n\t\tif (size > PARTSIZE)\r\n\t\t{\r\n\t\t\tmultiPartUploader(sourceFileFullPath, s3Location, data, uploadResult);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tsinglePartUploader(sourceFileFullPath, s3Location, data, size, uploadResult);\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(\"Upload file: \"\r\n\t\t\t\t+ S3FileUtils.getS3FullPath(s3Location)\r\n\t\t\t\t+ \", number files loaded: \"\r\n\t\t\t\t+ uploadResult.getNumberFilesLoaded());\r\n\t}", "title": "" }, { "docid": "1e60e4ef0f754a98f5b9ff3ed74deec6", "score": "0.5745028", "text": "public void uploadDistributedContent(String url, InputStream content);", "title": "" }, { "docid": "3ea5ca531734a834e1520cac4c3d0dd5", "score": "0.5741091", "text": "public View submit() throws IOException {\r\n if (null == file) return View.upload;\r\n\r\n StoredFile dbFile = new StoredFile(file);\r\n fileEjb.insert(dbFile);\r\n return View.upload;\r\n }", "title": "" }, { "docid": "aea3670699a6f62be40a543100b4ba86", "score": "0.57406384", "text": "void uploadCSV(RoutingContext ctx) throws IOException {\n String table_name = ctx.request().getFormAttribute(\"table_name\");\n // String file = \"\";\n if (table_name == null || ctx.fileUploads().size() == 0) {\n JsonObject response = new JsonObject();\n response.put(\"error\", \"Needed params in body: table_name and a file.\");\n sendReponse(ctx, 422, response);\n return;\n }\n\n String path = \"\";\n for (FileUpload f : ctx.fileUploads()) {\n path = f.uploadedFileName();\n }\n // String base64 = new String(Base64.getEncoder().encode(Files.readString(Path.of(path)).getBytes()));\n // System.out.println(base64);\n\n JsonObject params = new JsonObject();\n params.put(\"table_name\", table_name);\n params.put(\"file_name\", path);\n for (int server = 1; server < 4; ++server) {\n nodeRequest(\"/uploadcsv\", String.valueOf(server), params);\n }\n\n JsonObject response = new JsonObject();\n response.put(\"message\", \"Successfully uploaded data.\");\n sendReponse(ctx, 200, response);\n }", "title": "" }, { "docid": "064198f5c6859a8b107a02209a863967", "score": "0.57373667", "text": "public void testCreateBucketAndBackend(String path) throws IOException, JSONException {\n for (Type t : getTypesHolder().getTypes()) {\n List<File> listOfIInputsForType =\n Utils.listFilesBeginsWithPattern(t.getName(), path);\n Gson gson = new Gson();\n // add the backend specified in each file\n for (File file : listOfIInputsForType) {\n String content = Utils.readFileContentsAsString(file);\n Assertions.assertNotNull(content);\n\n AddBackendInputHolder inputHolder = gson.fromJson(content, AddBackendInputHolder.class);\n int code = getHttpHandler().addBackend(getAuthTokenHolder().getResponseHeaderSubjectToken(),\n getAuthTokenHolder().getToken().getProject().getId(),\n inputHolder);\n assertEquals(200, code);\n\n // backend added, now create buckets\n List<File> listOfIBucketInputs =\n Utils.listFilesBeginsWithPattern(\"bucket\", path);\n SignatureKey signatureKey = getHttpHandler().getAkSkList(getAuthTokenHolder().getResponseHeaderSubjectToken(),\n getAuthTokenHolder().getToken().getProject().getId());\n // create the bucket specified in each file\n for (File bucketFile : listOfIBucketInputs) {\n String bucketContent = Utils.readFileContentsAsString(bucketFile);\n Assertions.assertNotNull(bucketContent);\n CreateBucketFileInput bfi = gson.fromJson(bucketContent, CreateBucketFileInput.class);\n // filename format is \"bucket_<bucketname>.json\", get the bucket name here\n String bName = Utils.getFileNameFromDelim(bucketFile);\n // now create buckets\n int cbCode = getHttpHandler().createBucket(bfi, bName, signatureKey);\n assertEquals(200, cbCode);\n boolean isBucketExist = testGetListBuckets(bName, signatureKey);\n assertTrue(isBucketExist, \"Bucket is not exist: \");\n }\n }\n }\n }", "title": "" }, { "docid": "1f305e773e849fe1ac4a1ae6d20cbbd7", "score": "0.5735396", "text": "@Headers({\n \"Accept:application/json, text/javascript, */*; q=0.01\",\n \"Connection: keep-alive\",\n \"enctype: application/octet-stream\"\n })\n\n @POST(\"upload/file\")\n Call<ApiResponse.FileUploadResponse> uploadFile(\n @Body RequestBody file);", "title": "" }, { "docid": "239852488c72f4a8e9e707fde053def9", "score": "0.57336706", "text": "@Test\n\tpublic void uploadOtherStorageThrowsException() {\n\t\tString bucketPath = \"b2://b-ao-product-mock/963fea17-3c8b-49d3-92fa-c2864d2a205b/video/963fea17-5153c8b-49d3-92fa-c2864d2a545205b/963fea17-3c8b-49d3-92fa-c2864d2a205b.mp4\";\n\t\tPath localFilePath = Paths\n\t\t\t\t.get(getClass().getClassLoader().getResource(\"a66f01d5-8cda-4f7e-8f5e-7b6f3dcd9207.mp4\").getPath());\n\t\tassertThrows(StorageException.class, () -> repository.uploadFile(bucketPath, localFilePath));\n\t}", "title": "" }, { "docid": "be8b5b5dd08e62d9c65c08a72bea57ca", "score": "0.5727386", "text": "@SuppressWarnings({ \"deprecation\", \"unused\" })\n\tpublic void upload(String filename) throws ParserConfigurationException, IOException{\n\t\tString apiKey = \"486fd7d08b3503e4ec352b5d3d7dc12c\";\n\t\tString secretKey = \"09e5dbff193834c4\";\n\t\tFlickr f;\n\t\tf = new Flickr(apiKey, secretKey,\n\t\t\t\tnew REST(\"www.flickr.com\"));\n\t\tFlickr.debugStream = false;\n\t\tUser user = new User();\n\t\tuser.setUsername(\"digicaphack\");\n\t\tSystem.out.println(\"1\");\n\t\tUploader up = new Uploader(apiKey,\n\t\t\t\tsecretKey);\n\t\n\t\tRequestContext requestContext;\n\n\t\tAuthInterface authInterface;\n\n\t\tInputStream in1 = new FileInputStream(filename);\n\t\tByteArrayOutputStream out = new ByteArrayOutputStream();\n\t\tint i;\n\t\tbyte[] buffer = new byte[1024];\n\t\twhile ((i = in1.read(buffer)) != -1) {\n\t\t\tout.write(buffer, 0, i);\n\t\t}\n\t\tin1.close();\n\t\tSystem.out.println(\"2\");\n\n\t\tbyte data[] = out.toByteArray();\n\n\t\tf = new Flickr(apiKey, secretKey, (new Flickr(apiKey)).getTransport());\n\t\tup = f.getUploader();\n\t\tSystem.out.println(\"3\");\n\t\tauthInterface = f.getAuthInterface();\n\t\trequestContext = RequestContext.getRequestContext();\n\t\trequestContext.setSharedSecret(secretKey);\n\t\ttry {\n\t\t\tAuth auth = new Auth();\n\t\t\tauth.setToken(token2);\n\t\t\trequestContext.setAuth(auth);\n\t\t\tSystem.out.println(\"4\");\n\t\t\tf.setAuth(auth);\n\t\t\tUploadMetaData uploadMetaData = new UploadMetaData();\n\t\t\tuploadMetaData.setTitle(\"DigiCap Upload\");\n\t\t\tuploadMetaData.setPublicFlag(true);\n\t\t\tup.upload(data, uploadMetaData);\n\t\t\tSystem.out.println(\"5\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SAXException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (FlickrException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.println(\"Success!\");\n\t}", "title": "" }, { "docid": "79c0b2edee5ed9aa0721b36816cb838c", "score": "0.57251674", "text": "@Override\n public void upload(Resource resource, String targetLocation) throws ResourceReadException, ResourceUploadException {\n String bucketName = S3Utils.getBucketNameFromLocation(targetLocation);\n String keyName = S3Utils.getObjectNameFromLocation(targetLocation);\n\n try (InputStream inputStream = new ByteArrayInputStream(resource.getBytes())) {\n ObjectMetadata objectMetadata = ObjectMetadataUtils.getObjectMetadata(resource);\n PutObjectResult result = amazonS3.putObject(bucketName, keyName, inputStream, objectMetadata);\n /**\n * If you upload the S3 file from another AWS Account which is different from the S3 Owner Account, the S3 Object (S3 File)'s Owner will be different from S3 Bucket's Owner.\n * And that S3 Bucket Owner may not be able to access your S3 File.\n * So, you need to give S3 Bucket Owner Full Control of your S3 File.\n *\n * If you upload S3 from the same Account, then you don't need this ACL.\n */\n amazonS3.setObjectAcl(bucketName, keyName, CannedAccessControlList.BucketOwnerFullControl);\n } catch (AmazonServiceException ex) {\n throw new ResourceUploadException(\"Cannot upload resource. Error at the server side.\" + ex.getErrorMessage(), ex, resource.getSourceLocation(), targetLocation);\n } catch (SdkClientException ex) {\n throw new ResourceUploadException(\"Cannot upload resource. Error at the client side.\" + ex.getMessage(), ex, resource.getSourceLocation(), targetLocation);\n } catch (IOException e) {\n throw new ResourceReadException(\"Cannot read the source data \" + e.getMessage(), e, resource.getSourceLocation());\n }\n }", "title": "" }, { "docid": "946c73cfe5138fa55e650e6e9f8145ac", "score": "0.57164866", "text": "public void uploadMultipart(ArrayList<Uri> paths) {\n try {\n String uploadId = UUID.randomUUID().toString();\n\n //Creating a multi part request\n MultipartUploadRequest multipartUploadRequest = new MultipartUploadRequest(this, uploadId, URL);\n for(int pathId=0;pathId<paths.size();pathId++) {\n multipartUploadRequest.addFileToUpload(getPath(paths.get(pathId)), \"image\"+ pathId); //Adding file\n }\n Logger.setLogLevel(Logger.LogLevel.DEBUG);\n\n // Get Email Address from Shared Preferences\n SharedPreferences settings = getSharedPreferences(PREFS_NAME, MODE_PRIVATE);\n String email = settings.getString(\"email\", \"\");\n\n Log.e(\"token\", mToken);\n multipartUploadRequest\n .addParameter(\"imagecnt\", \"\"+paths.size()) //Adding text parameter to the request\n .addParameter(\"email\", email)\n .addParameter(\"boc_acc_id\", mAccount)\n .addParameter(\"boc_sub_id\", mSubscription)\n .setNotificationConfig(new UploadNotificationConfig())\n .setMaxRetries(2)\n .startUpload(); //Starting the upload*/\n } catch (Exception exc) {\n exc.printStackTrace();\n }\n }", "title": "" }, { "docid": "e41b4f226d829bb9caa512d8f0539bf5", "score": "0.5711395", "text": "public void uploadStarted(UploadTaskJob job);", "title": "" }, { "docid": "5c47570e65fbf1f0fcc23d640e8b8667", "score": "0.57058424", "text": "private void uploadFile() {\n MultipartBody.Part body = prepareFilePart(\"display\", Uri.parse(mTempImageURI.toString())\n , mTempImagePath);\n\n mCompositeDisposable.add(ClickTagitRESTClientSingleton.INSTANCE\n .getRESTClient()\n .multipartUploadFile(createPartFromString(mDetailModel.tags)\n , createPartFromString(mDetailModel.description)\n , createPartFromString(mDetailModel.alarm)\n , createPartFromString(String.valueOf(mDetailModel.time))\n , createPartFromString(mDetailModel.category)\n , createPartFromString(String.valueOf(mDetailModel.latitude))\n , createPartFromString(String.valueOf(mDetailModel.longitude))\n ,createPartFromString(mDetailModel.postalCode)\n ,createPartFromString(mDetailModel.locality)\n ,createPartFromString(mDetailModel.address)\n , body)\n .subscribeOn(Schedulers.io())\n .observeOn(AndroidSchedulers.mainThread())\n .subscribeWith(\n new DisposableObserver<UploadFileResponse>() {\n\n @Override\n public void onNext(@NonNull UploadFileResponse uploadFileResponse) {\n Timber.d(\"onNext() called with: uploadFileResponse = [\"\n + uploadFileResponse + \"]\");\n mMaterialDialog.dismiss();\n finish();\n }\n\n @Override\n public void onError(@NonNull Throwable throwable) {\n Timber.e(throwable, \"onError() called: error\");\n\n mMaterialDialog.dismiss();\n // TODO: need error handling\n if (throwable instanceof HttpException) {\n // We had non-2XX http error\n }\n if (throwable instanceof IOException) {\n // A network or conversion error happened\n }\n }\n\n @Override\n public void onComplete() {\n Timber.d(\"onComplete() called\");\n mMaterialDialog.dismiss();\n finish();\n }\n }));\n }", "title": "" }, { "docid": "7466048c5ce70ca971342d3c44d1a516", "score": "0.57036483", "text": "private void saveUploadedFiles(List<MultipartFile> files) throws IOException {\n\n \tObjectMapper mapper = new ObjectMapper(); \n for (MultipartFile file : files) {\n\n if (file.isEmpty()) {\n continue; //next pls\n }\n \n String fileName = fileUploadService.storeFile(file);\n \n /*byte[] bytes = file.getBytes();\n Path path = Paths.get(UPLOADED_FOLDER + file.getOriginalFilename());\n Files.write(path, bytes);*/\n \n //System.out.println(\"File Path-->\"+fileName);\n \n FileReader fr = new FileReader(fileName);\n List<Weather> objs = mapper.readValue(fr,\n\t\t\t\t\tmapper.getTypeFactory().constructCollectionType(List.class, Weather.class)); \n \n System.out.println(objs);\n \n bulkInsertService.insertMultipleDetails(objs);\n\n }\n\n }", "title": "" }, { "docid": "383ceda76acf78fc0138275e565ad52d", "score": "0.57009953", "text": "@RelatedS3Operations(operations\n = {\"initiateMultipartUpload\", \"uploadPart\", \"completeMultipartUpload\", \"listObjects\"})\n public void createMultipartFileTest() throws IOException {\n String testParent = PathUtils.concatPath(mTestDirectory, \"createParent\");\n String testFile = PathUtils.concatPath(testParent, \"createMultipart\");\n int numCopies;\n try (OutputStream outputStream = mUfs.create(testFile, CreateOptions.defaults(mConfiguration)\n .setCreateParent(true))) {\n numCopies = 6 * Constants.MB / TEST_BYTES.length;\n for (int i = 0; i < numCopies; ++i) {\n outputStream.write(TEST_BYTES);\n }\n }\n // Validate data written successfully and content is correct\n try (InputStream inputStream = mUfs.openExistingFile(testFile)) {\n byte[] buf = new byte[numCopies * TEST_BYTES.length];\n int offset = 0;\n while (offset < buf.length) {\n int bytesRead = inputStream.read(buf, offset, buf.length - offset);\n for (int i = 0; i < bytesRead; ++i) {\n if (TEST_BYTES[(offset + i) % TEST_BYTES.length] != buf[offset + i]) {\n throw new IOException(\"Content of the written file is incorrect\");\n }\n }\n offset += bytesRead;\n }\n }\n\n // These two calls will trigger S3A list objects v1\n if (!mUfs.isDirectory(testParent)) {\n throw new IOException(\"The written directory does not exist or is file\");\n }\n UfsStatus[] statuses = mUfs.listStatus(PathUtils.concatPath(mTestDirectory, \"createParent\"));\n if (statuses.length != 1) {\n throw new IOException(\"List status result is incorrect\");\n }\n }", "title": "" }, { "docid": "9b13e5c80e3b4964a5a9e4745beb7be6", "score": "0.5699016", "text": "public Map<String,Object> uploadToCloudinary(ImageFile imageSent);", "title": "" }, { "docid": "1c2cc16957ee87e5a92eab8b6cd9bd49", "score": "0.56935453", "text": "public String sendBlob(String filename, String key) {\n\n\t\ttry {\n\t\t\tHttpClient httpclient = new DefaultHttpClient();\n\n\t\t\tString first = getHTML(address + \"/upload\");\n\n\t\t\tSystem.err.println(first);\n\n\t\t\t// Delete this before deploying\n\t\t\t//This is because my dev machine has a dns running, shouldn't be needed otherwise\n\t\t\tSystem.out.println(\"Address Pre:\" + first);\n\t\t\tString temp3 = first.replace(\"NKUVETS.org\", \"10.206.2.56\");\n\t\t\tSystem.out.println(\"Address: \" + temp3);\n\t\t\t\n\t\t\t\n\t\t\tHttpPost httppost = new HttpPost(temp3);\n\t\t\t\n\t\t\tSystem.out.println(workingDir); //Working Dir\n\t\t\t\n\t\t\tFile f = new File(workingDir + \"/\" + filename);\n\t\t\t\n\t\t\t/* Remove this if all goes well\n\t\t\tif (!f.exists()){\n\t\t\t\tf.mkdir();\n\t\t\t\t//Populate the new directory with the default template\n\t\t\t\tFileUtils.copyDirectory(new File(workingDir + \"/SMILBlank\"), f);\n\t\t\t}*/\n\t\t\t\n\t\t\t//if unziped\n\t\t\tif (f.isDirectory()){\n\t\t\t\tZipOutputStream zos = new ZipOutputStream(new FileOutputStream(workingDir + \"/\" + filename + \".zip\"));\n\t\t\t\tzip(f, f, zos);\n\t\t\t\tzos.close();\n\t\t\t}\n\t\t\tFile blobFile = new File(workingDir + \"/\" + filename + \".zip\");\n\t\t\t\n\t\t\tSystem.out.println(blobFile.getAbsolutePath());\n\t\t\t\n\t\t\thttppost.setHeader(\"blob-key\", key);\n\t\t\thttppost.setHeader(\"name\", filename);\n\t\t\tMultipartEntity entity = new MultipartEntity(\n\t\t\t\t\tHttpMultipartMode.BROWSER_COMPATIBLE);\n\t\t\tentity.addPart(filename,\n\t\t\t\t\tnew ByteArrayBody(FileUtils.readFileToByteArray(blobFile),\n\t\t\t\t\t\t\t\"application/zip\", filename));\n\t\t\thttppost.setEntity(entity);\n\t\t\tHttpResponse response = httpclient.execute(httppost);\n\t\t\tHeader [] h = response.getHeaders(\"blob-key\");\n\t\t\t\n\t\t\tSystem.out.println(\"Return Headers: \");\n\t\t\tfor(int i=0; i<h.length; i++){\n\t\t\t\tSystem.out.println(h[i].getName() + \" : \" + h[i].getValue());\n\t\t\t\tif(h[i].getName().equals(\"blob-key\"))\n\t\t\t\t\treturn h[i].getValue();\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.err.println(\"Bad URL: \" + address);\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d35ab49c29255610388688890a19bedd", "score": "0.5693185", "text": "public void uploadFolder(String path,String container, Map<String,String> tags,List<String> outputTypes)\n { \n //get all files/folders in path\n List<Path> files = getFiles(path);\n String projectName = path.substring(path.lastIndexOf('/')+ 1);\n List<Path> outputPaths = new ArrayList<>();\n\n //automatically assign Project Name if it is TBA\n if (tags.get(\"Project Name\").equals(\"TBA\"))\n {\n tags.replace(\"Project Name\", projectName);\n }\n for (Path p : files)\n {\n String extension = p.toString().substring(p.toString().lastIndexOf('.') + 1).toLowerCase();\n \n if (outputTypes.contains(extension)){\n outputPaths.add(p);\n continue;\n }\n //if there are unlinked documents within folder, project name is parent folder\n if (Files.isRegularFile(p))\n {\n uploadFiles(p.toFile().toString(), container, tags);\n }\n else\n {\n uploadFolder(p.toFile().getPath(),container,tags,outputTypes);\n System.out.println(\"folder has other folder\");\n } \n }\n\n //copying tags from input file to corresponding output file\n for (Path p : outputPaths){\n //parsing file names\n String fileName = p.toString().substring(0,p.toString().lastIndexOf(\".\"));\n String truncate = fileName.substring(fileName.lastIndexOf(\"/\"));\n String extension = truncate.substring(truncate.lastIndexOf(\".\")+1);\n String inputBlobName = String.format(\"%s%s\",extension,truncate);\n String outputBlobName = p.toString().substring(p.toString().lastIndexOf(\"/\"));\n String outputBlobExtension = outputBlobName.substring(outputBlobName.lastIndexOf(\".\")+1);\n String blobName = String.format(\"%s%s\",outputBlobExtension,outputBlobName);\n\n BlobContainerClient containerClient = blobServiceClient.getBlobContainerClient(container);\n BlobClient inputBlobClient = containerClient.getBlobClient(inputBlobName);\n BlobClient outputBlobClient = containerClient.getBlobClient(blobName);\n outputBlobClient.uploadFromFile(p.toFile().toString());\n outputBlobClient.setTags(inputBlobClient.getTags());\n }\n }", "title": "" }, { "docid": "a7f2248f6df7aa423b2b8b8637538af0", "score": "0.5690835", "text": "public void upload(KidsVO vo) {\n\r\n\t}", "title": "" }, { "docid": "5045fe14088b845a05c20ce8c0d55b1f", "score": "0.56859255", "text": "public void saveToS3(String bucket, String fileObjKeyName, BufferedImage image, String contentType, CannedAccessControlList accessControlList) throws IOException {\n try {\n ByteArrayOutputStream os = new ByteArrayOutputStream();\n ImageIO.write(image, \"jpg\", os);\n\n InputStream byteArrayStream = new ByteArrayInputStream(os.toByteArray());\n int read = byteArrayStream.available();\n logger.info(String.format(\"Read length: %s\", read));\n // Upload a file as a new object with ContentType and title specified.\n ObjectMetadata metadata = new ObjectMetadata();\n metadata.setContentType(contentType);\n metadata.setContentLength(read);\n\n PutObjectRequest request = new PutObjectRequest(bucket, fileObjKeyName, byteArrayStream, metadata);\n request.setCannedAcl(accessControlList);\n PutObjectResult result = s3Client.putObject(request);\n if (result != null){\n logger.info(String.format(\"Object %s successfully persisted on S3 %s\",fileObjKeyName, awsS3Properties.getBucket()));\n }else{\n logger.info(String.format(\"Something went wrong... %s not persisted on S3 %s\",fileObjKeyName, awsS3Properties.getBucket()));\n }\n }\n catch(SdkClientException e) {\n logger.error(String.format(\"An error occured while AWS S3 processing of %s and bucket %s\", fileObjKeyName, awsS3Properties.getBucket()), e);\n }\n\n }", "title": "" } ]
cfe1bc56f8112aa0e4cc4001352199b8
Sets the logging level for all loggers in or a descendant of the package specified, to the level specified.
[ { "docid": "987a40852c25fff82a1f318ea6e62c3b", "score": "0.7376852", "text": "public static void setPackageLoggingLevel(String packageRoot, Level level) {\n Logger appLogger = Logger.getLogger(packageRoot);\n appLogger.setLevel(level);\n Logger rootLogger = Logger.getLogger(\"\");\n for (Handler handler : rootLogger.getHandlers()) {\n handler.setLevel(level);\n }\n\n }", "title": "" } ]
[ { "docid": "49930765fd50d7f640d807d79cb30b40", "score": "0.64609146", "text": "private void setLevel(final org.apache.log4j.Level level) {\r\n if (log.isWarnEnabled()) {\r\n log.warn(\"LogUtil : level changed to : \" + level.toString());\r\n }\r\n\r\n for (final Log l : this.logs.values()) {\r\n setLevel(l, level);\r\n }\r\n }", "title": "" }, { "docid": "b74aaeb6e1992a9fff951ae0d3b0d6f4", "score": "0.6407267", "text": "public static void setLogLevel(int level){\n\t\tswitch(level){\n\t\t\tcase ONE: \n\t\t\t\tLogger.getRootLogger().setLevel(Level.ALL); \n\t\t\t\tLOGGER.info(\"Logging Level set to LEVEL.ALL\"); \n\t\t\t\tbreak;\n\t\t\tcase TWO: \n\t\t\t\tLogger.getRootLogger().setLevel(Level.DEBUG); \n\t\t\t\tLOGGER.info(\"Logging Level set to LEVEL.DEBUG\"); \n\t\t\t\tbreak;\n\t\t\tcase THREE:\n\t\t\t\tLogger.getRootLogger().setLevel(Level.ERROR);\n\t\t\t\tLOGGER.info(\"Logging Level set to LEVEL.ERROR\");\n\t\t\t\tbreak;\n\t\t\tcase FOUR:\n\t\t\t\tLogger.getRootLogger().setLevel(Level.FATAL);\n\t\t\t\tLOGGER.info(\"Logging Level set to LEVEL.FATAL\");\n\t\t\t\tbreak;\n\t\t\tcase FIVE:\n\t\t\t\tLogger.getRootLogger().setLevel(Level.INFO);\n\t\t\t\tLOGGER.info(\"Logging Level set to LEVEL.INFO\");\n\t\t\t\tbreak;\n\t\t\tcase SIX:\n\t\t\t\tLogger.getRootLogger().setLevel(Level.OFF); \n\t\t\t\tLOGGER.info(\"Logging Level set to LEVEL.OFF\");\n\t\t\t\tbreak;\n\t\t\tcase SEVEN:\n\t\t\t\tLogger.getRootLogger().setLevel(Level.WARN);\n\t\t\t\tLOGGER.info(\"Logging Level set to LEVEL.WARN\");\n\t\t\t\tbreak;\n\t\t\tcase EIGHT:\n\t\t\t\tLogger.getRootLogger().setLevel(Level.TRACE);\n\t\t\t\tLOGGER.info(\"Logging Level set to LEVEL.WARN\");\n\t\t\t\tbreak;\n\t\t\tdefault: \n\t\t\t\tLogger.getRootLogger().setLevel(Level.ALL);\n\t\t\t\tLOGGER.info(\"Logging Level defaulted to LEVEL.ALL Please add parameter to properties file for custom logging.\");\n\t\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "96e159ed06fc74ee6c8f25b941f69416", "score": "0.6327559", "text": "public static void setLevel(int level){\n\tlogLevel = level;\n }", "title": "" }, { "docid": "fa68bdf0f0851f9256672188b361e0c1", "score": "0.62010837", "text": "public void setLogLevel(int level) {\n logLevel = level;\n }", "title": "" }, { "docid": "28403d606a6dacf8f68a0eef26890351", "score": "0.6177928", "text": "private static void setLoggingLevel(Level level) {\n ch.qos.logback.classic.Logger root = (ch.qos.logback.classic.Logger) org.slf4j.LoggerFactory.getLogger(ch.qos.logback.classic.Logger.ROOT_LOGGER_NAME);\n root.setLevel(level);\n }", "title": "" }, { "docid": "0175efd8ff1b9380edb1797e8b046f8b", "score": "0.6141491", "text": "protected static void updateLevel(LogLevel lvl){\n //System.out.println(\"updateLevel: \"+lvl);\n Level level;\n \n EZLoggerManager.lvl = lvl;\n //adapted from http://blog.cag.se/?p=835\n Logger logger = Logger.getLogger(\"\");\n \n switch(lvl){\n case error:\n level = Level.SEVERE;\n break;\n case warn:\n level = Level.WARNING;\n break;\n case info:\n level = Level.INFO;\n break;\n case debug:\n default:\n level = Level.CONFIG;\n break;\n }\n logger.setLevel(level);\n Handler[] handlers = logger.getHandlers();\n for(Handler h : handlers){\n h.setLevel(level);\n }\n }", "title": "" }, { "docid": "2a09350759338ac9357a3392344f59d1", "score": "0.6116528", "text": "public void setLoggerLevel(TraceLevel level) {\n\t\t//Topology.STREAMS_LOGGER.setLevel(level);\t\t\n\t\t//Topology.TOPOLOGY_LOGGER.setLevel(level); \n\t\tgetConfig().put(ContextProperties.TRACING_LEVEL, java.util.logging.Level.FINE);\t\t\n\t\tSystem.out.println(\"Streams topology logger level: \" + Topology.TOPOLOGY_LOGGER.getLevel());\n\t\t\n\t}", "title": "" }, { "docid": "90f886c1fee4cd52c027164ea85e5f5c", "score": "0.6102245", "text": "public void setLogLevel(int level) {\n\t\t// only change if a valid level\n\t\tif (isValidLogLevel(level)) this.logLevel = level;\n\t}", "title": "" }, { "docid": "92e1971fc79a59f7be9ed2733abd071e", "score": "0.59057254", "text": "private void changeLogLevel(String level){\n\n }", "title": "" }, { "docid": "81844f301227cf9f612fb55604b03583", "score": "0.5904783", "text": "public static void setJXTALogger(JXTA_LOG_LEVEL logLevel) {\n\t\tswitch (logLevel) {\n\t\tcase FINEST:\n\t\t\tremoveJavaStdLoggerHandlers();\n\t\t\tSystem.setProperty(\"net.jxta.logging.Logging\",\n\t\t\t\t\tJXTA_LOG_LEVEL.FINEST.name());\n\t\t\tSystem.setProperty(\"net.jxta.level\", JXTA_LOG_LEVEL.FINEST.name());\n\t\t\tbreak;\n\t\tcase FINER:\n\t\t\tremoveJavaStdLoggerHandlers();\n\t\t\tSystem.setProperty(\"net.jxta.logging.Logging\",\n\t\t\t\t\tJXTA_LOG_LEVEL.FINER.name());\n\t\t\tSystem.setProperty(\"net.jxta.level\", JXTA_LOG_LEVEL.FINER.name());\n\t\t\tbreak;\n\t\tcase FINE:\n\t\t\tremoveJavaStdLoggerHandlers();\n\t\t\tSystem.setProperty(\"net.jxta.logging.Logging\",\n\t\t\t\t\tJXTA_LOG_LEVEL.FINE.name());\n\t\t\tSystem.setProperty(\"net.jxta.level\", JXTA_LOG_LEVEL.FINE.name());\n\t\t\tbreak;\n\t\tcase INFO:\n\t\t\tremoveJavaStdLoggerHandlers();\n\t\t\tSystem.setProperty(\"net.jxta.logging.Logging\",\n\t\t\t\t\tJXTA_LOG_LEVEL.INFO.name());\n\t\t\tSystem.setProperty(\"net.jxta.level\", JXTA_LOG_LEVEL.INFO.name());\n\t\t\tbreak;\n\t\tcase WARNING:\n\t\t\tremoveJavaStdLoggerHandlers();\n\t\t\tSystem.setProperty(\"net.jxta.logging.Logging\",\n\t\t\t\t\tJXTA_LOG_LEVEL.WARNING.name());\n\t\t\tSystem.setProperty(\"net.jxta.level\", JXTA_LOG_LEVEL.WARNING.name());\n\t\t\tbreak;\n\t\tcase SEVERE:\n\t\t\tremoveJavaStdLoggerHandlers();\n\t\t\tSystem.setProperty(\"net.jxta.logging.Logging\",\n\t\t\t\t\tJXTA_LOG_LEVEL.SEVERE.name());\n\t\t\tSystem.setProperty(\"net.jxta.level\", JXTA_LOG_LEVEL.SEVERE.name());\n\t\t\tbreak;\n\t\tcase OFF:\n\t\t\tremoveJavaStdLoggerHandlers();\n\t\t\tSystem.setProperty(\"net.jxta.logging.Logging\",\n\t\t\t\t\tJXTA_LOG_LEVEL.OFF.name());\n\t\t\tSystem.setProperty(\"net.jxta.level\", JXTA_LOG_LEVEL.OFF.name());\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "7cffebc7b36ac66a1964bd2a1cfae84b", "score": "0.5871829", "text": "public void fireOnLevelChange(Logger logger, Level level) {\n for (LoggerContextListener onLevelChange : this.loggerContextListenerList) {\n// onLevelChange.onLevelChange(logger, level);\n }\n }", "title": "" }, { "docid": "967788da5a3d3d8b273a62b00043f860", "score": "0.58672655", "text": "public static void setLogLevel(int level) {\n mLogLevel = level;\n }", "title": "" }, { "docid": "527432c40a75824f1d4d97b8891d0893", "score": "0.58292496", "text": "public void setAppenderLogLevel(Level value) {\n\t\tfor(Enumeration<?> aen = LogManager.getRootLogger().getAllAppenders(); aen.hasMoreElements(); ) {\n Appender appender = (Appender) aen.nextElement();\n logger.debug(\"log4j appender: {}\", appender.getName());\n\t\t}\n\t\t\n\t\tConsoleAppender consoleAppender = (ConsoleAppender)LogManager.getRootLogger().getAppender(\"STDOUT\");\n\t\tconsoleAppender.setThreshold(value);\n\t\tconsoleAppender.activateOptions();\n\n\t\tRollingFileAppender appender = (RollingFileAppender)LogManager.getRootLogger().getAppender(\"RollingFileAppender\");\n\t\tappender.setThreshold(value);\n\t\tappender.activateOptions();\n\t}", "title": "" }, { "docid": "0f40f3f4601ae843812d8734db19b230", "score": "0.5824116", "text": "final public static void setLogLevel(String logLevel) {\n\t\tlogger.setLogLevelImpl(logLevel);\n\t}", "title": "" }, { "docid": "57ac6b2c768035446e11c48173021d42", "score": "0.58014715", "text": "public void setLogLevel(Level logLevel) {\n\t\tthis.logLevel = logLevel;\n\t}", "title": "" }, { "docid": "2e5156c4ab0b2fb9ff64cb4324093a98", "score": "0.578063", "text": "public void overrideLogLevel(String level) {\n Logger rootLogger = LoggerFactory.getLogger(\"org.mockserver\");\n if (rootLogger instanceof ch.qos.logback.classic.Logger) {\n ((ch.qos.logback.classic.Logger) rootLogger).setLevel(Level.toLevel(level));\n }\n }", "title": "" }, { "docid": "085c0cc8fab335facbca693db1f29f09", "score": "0.5726118", "text": "protected void setLogLevel(int logLevel) \n\t{\n\t\tthis.logLevel = logLevel;\n\t}", "title": "" }, { "docid": "20087763a2a19467b3428b665a090057", "score": "0.5722306", "text": "public void setLogLevel(String logLevel) {\n agentConfig.setLogLevel(logLevel);\n logConfigChanged();\n }", "title": "" }, { "docid": "62fd99e1df7075e1cf6d349b9bb042dd", "score": "0.570828", "text": "public void setLogLevel(int logLevel) {\n\t\tif(logLevel > 5 || logLevel < 0) \n\t\t\tthrow new IllegalArgumentException(\"invalid parameter logLevel, please use Logger's static level constant.\");\n\t\tmLogLevel = logLevel;\n\t}", "title": "" }, { "docid": "ca885b600605321ac936478d5cf7d661", "score": "0.57056075", "text": "public void set_log_level(int level) {\r\n logLevel = Math.max(0,level);\r\n }", "title": "" }, { "docid": "c35d5ae9eb35c289663c4962138d53e5", "score": "0.5690424", "text": "public void setClassLogLevel(String classPath, Level logLevel) {\n\t\tLogger logger = LogManager.getLogger(classPath);\n\t\tlogger.setLevel(logLevel);\t\n\t}", "title": "" }, { "docid": "ab3d45cdeece53e656fd17c43815008e", "score": "0.5608428", "text": "public static final void setLevel(final Logger logger, final org.apache.log4j.Level level) {\r\n logger.setLevel(level);\r\n\r\n // Reset the cachedLevel for the log hierarchy :\r\n CommonsLoggingSessionLog.resetCachedLevels();\r\n }", "title": "" }, { "docid": "00f8540e9c2ec488de75c81b07c1bff2", "score": "0.55584997", "text": "static public void setLogLevel(final Logger.LEVEL desiredLevel) {\n ThreadPoolWorkQueue.execute(new Runnable() {\n @Override\n public void run() {\n setLevelSync(desiredLevel);\n // we do this mostly to enable unit tests to logger.wait(100) instead of\n // Thread.sleep(100) -- it's faster, more stable, and more deterministic that way\n synchronized (WAIT_LOCK) {\n WAIT_LOCK.notifyAll();\n }\n }\n });\n }", "title": "" }, { "docid": "9cb6cbc777aebf95d04961a0ac207d2d", "score": "0.55372405", "text": "public void Setlevels(int lvl)\r\n {\r\n level = lvl;\r\n }", "title": "" }, { "docid": "133c7a5900cdc264a73dfdfe1eab1fd9", "score": "0.5533672", "text": "public static void setLoggingLevel(Level newLevel)\n {\n ErrorLogger.setLevel(newLevel);\n }", "title": "" }, { "docid": "a0411e5563e39bd3bfbbbc1299209490", "score": "0.55242467", "text": "Log set(Level level) {\n\tthis.logging = level.compareTo(this.level) >= 0;\n\treturn this;\n }", "title": "" }, { "docid": "1b06ad4c879b5f0b0ef5ee49e326a313", "score": "0.55080086", "text": "public synchronized void setLevel(final Level level) {\n if (level == getLevel()) {\n return;\n }\n Level actualLevel;\n if (level != null) {\n actualLevel = level;\n } else {\n final Logger parent = getParent();\n actualLevel = parent != null ? parent.getLevel() : privateConfig.loggerConfigLevel;\n }\n privateConfig = new PrivateConfig(privateConfig, actualLevel);\n }", "title": "" }, { "docid": "d29223a810c83aebd9e1989c656014f5", "score": "0.5495867", "text": "public static void setLevel(LogLevel lvl){\n updateLevel(lvl);\n if (txtAreaHandler!=null){\n txtAreaHandler.changeLevel(lvl);\n }\n }", "title": "" }, { "docid": "c78cc5c85605d0b80b27fac254d8293a", "score": "0.54758793", "text": "private void configureLogLevels()\r\n { \r\n String level = properties.getProperty(\"LogLevel\");\r\n \r\n switch(level)\r\n {\r\n case \"INFO\": INFO = Level.INFO; \r\n DEBUG = Level.FINE; \r\n WARNING = Level.FINE;\r\n break;\r\n case \"DEBUG\": INFO = Level.INFO;\r\n DEBUG = Level.INFO; \r\n WARNING = Level.INFO;\r\n break;\r\n case \"WARNING\": INFO = Level.FINE; \r\n DEBUG = Level.FINE; \r\n WARNING = Level.INFO; \r\n break;\r\n default: INFO = Level.INFO; \r\n DEBUG = Level.FINE; \r\n WARNING = Level.WARNING;\r\n break;\r\n }\r\n }", "title": "" }, { "docid": "756bb4df9fefe8ce937be76244369f4c", "score": "0.5405794", "text": "@Test\n public void testCustomLoggingLevels() {\n LogTestLogger customLogger = new LogTestLogger();\n Database.log.setCustom(customLogger);\n\n for(int i = 5; i >= 1; i--) {\n customLogger.getLines().clear();\n customLogger.setLevel(LogLevel.values()[i]);\n Log.v(LogDomain.DATABASE, \"TEST VERBOSE\");\n Log.i(LogDomain.DATABASE, \"TEST INFO\");\n Log.w(LogDomain.DATABASE, \"TEST WARNING\");\n Log.e(LogDomain.DATABASE, \"TEST ERROR\");\n assertEquals(5 - i, customLogger.getLines().size());\n }\n }", "title": "" }, { "docid": "da3be0f30aa4b016ba2b0df1d64f22cc", "score": "0.5385006", "text": "public void setLevel ( int level ) {\n\t\texecute ( handle -> handle.setLevel ( level ) );\n\t}", "title": "" }, { "docid": "5c98584a02a80adc0a9f2653e2ce5ca5", "score": "0.53522974", "text": "public static final void setLevel(final Log log, final org.apache.log4j.Level level) {\r\n setLevel(getLog4JLogger(log), level);\r\n }", "title": "" }, { "docid": "b8545dee2e8a314f5d2130256276e0a1", "score": "0.5348336", "text": "public void setLoggingLevel(String loggingLevel) {\n this.loggingLevel = loggingLevel;\n }", "title": "" }, { "docid": "36b5c79209b6ebc21ae32b7e64711dee", "score": "0.5342395", "text": "private static void normal(List<Logger> loggers)\n {\n for ( Logger logger : loggers ) {\n logger.setLevel(Level.INFO);\n }\n }", "title": "" }, { "docid": "f5371f6a5838fcd820f10b5e6c45dadb", "score": "0.5326691", "text": "public void setLogFilterLevel(int level)\n\t{\n\t\tDf1_Set_Log_Filter_Level(level);\n\t}", "title": "" }, { "docid": "307d418ba5b05d6de77e90321c11a6ad", "score": "0.5315796", "text": "@Override\n public ResetAllResourceLogLevelsResult resetAllResourceLogLevels(ResetAllResourceLogLevelsRequest request) {\n request = beforeClientExecution(request);\n return executeResetAllResourceLogLevels(request);\n }", "title": "" }, { "docid": "e5904670fde3941efcc25770f52c4a72", "score": "0.5310358", "text": "private native void Df1_Set_Log_Filter_Level(int level);", "title": "" }, { "docid": "6c0ad32d2c4bda7bffe2b71f0bbb863f", "score": "0.530887", "text": "public void setLevel(String level);", "title": "" }, { "docid": "02a9a58e9eef84e41ea7aea0f46e5456", "score": "0.5288431", "text": "Update withLogLevel(String logLevel);", "title": "" }, { "docid": "be78556ebf79f6c38d2e1054bde94d63", "score": "0.52827585", "text": "public static void setLevel(final String logLevel) {\r\n\t\tif (logLevel.equalsIgnoreCase(\"FATAL\")) {\r\n\t\t\tServletLoggingOutput.setLevel(LoggingOutput.LEVEL_FATAL);\r\n\t\t} else if (logLevel.equalsIgnoreCase(\"ERROR\")) {\r\n\t\t\tServletLoggingOutput.setLevel(LoggingOutput.LEVEL_ERROR);\r\n\t\t} else if (logLevel.equalsIgnoreCase(\"WARN\")) {\r\n\t\t\tServletLoggingOutput.setLevel(LoggingOutput.LEVEL_WARN);\r\n\t\t} else if (logLevel.equalsIgnoreCase(\"INFO\")) {\r\n\t\t\tServletLoggingOutput.setLevel(LoggingOutput.LEVEL_INFO);\r\n\t\t} else if (logLevel.equalsIgnoreCase(\"DEBUG\")) {\r\n\t\t\tServletLoggingOutput.setLevel(LoggingOutput.LEVEL_DEBUG);\r\n\t\t} else {\r\n\t\t\tthrow new IllegalArgumentException(\"Unknown log level: \" + logLevel);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2b5605b140ccba7524110cc97d9297bc", "score": "0.5240504", "text": "private void initJulLogger() {\n SLF4JBridgeHandler.removeHandlersForRootLogger();\n SLF4JBridgeHandler.install();\n }", "title": "" }, { "docid": "467f7f0a44bbdb2408d1351d40fefcb6", "score": "0.52208346", "text": "private void setupLogging() {\n\t\t// Ensure all JDK log messages are deferred until a target is registered\n\t\tLogger rootLogger = Logger.getLogger(\"\");\n\t\tHandlerUtils.wrapWithDeferredLogHandler(rootLogger, Level.SEVERE);\n\n\t\t// Set a suitable priority level on Spring Framework log messages\n\t\tLogger sfwLogger = Logger.getLogger(\"org.springframework\");\n\t\tsfwLogger.setLevel(Level.WARNING);\n\n\t\t// Set a suitable priority level on Roo log messages\n\t\t// (see ROO-539 and HandlerUtils.getLogger(Class))\n\t\tLogger rooLogger = Logger.getLogger(\"org.springframework.shell\");\n\t\trooLogger.setLevel(Level.FINE);\n\t}", "title": "" }, { "docid": "77851093b73b613eaa6ed6414082b540", "score": "0.52170444", "text": "@SuppressWarnings({ \"unchecked\" })\n public Void run() {\n if (Jvm.isModular()) {\n return null;\n }\n /* This mysterious-looking hack is designed to trick JDK logging into not leaking classloaders and\n so forth when adding levels, by simply shutting down the craptastic level name \"registry\" that it keeps.\n */\n final Class<java.util.logging.Level> lc = java.util.logging.Level.class;\n try {\n synchronized (lc) {\n final Field knownField = lc.getDeclaredField(\"known\");\n knownField.setAccessible(true);\n final List<java.util.logging.Level> old = (List<java.util.logging.Level>) knownField.get(null);\n if (! (old instanceof ReadOnlyArrayList)) {\n knownField.set(null, new ReadOnlyArrayList<java.util.logging.Level>(Arrays.asList(\n Level.TRACE,\n Level.DEBUG,\n Level.INFO,\n Level.WARN,\n Level.ERROR,\n Level.FATAL,\n java.util.logging.Level.ALL,\n java.util.logging.Level.FINEST,\n java.util.logging.Level.FINER,\n java.util.logging.Level.FINE,\n java.util.logging.Level.INFO,\n java.util.logging.Level.CONFIG,\n java.util.logging.Level.WARNING,\n java.util.logging.Level.SEVERE,\n java.util.logging.Level.OFF\n )));\n }\n }\n } catch (Throwable e) {\n // ignore; just don't install\n }\n\n // OpenJDK uses a KnownLevel inner class with two static maps\n try {\n final Class<?> knownLevelClass = Class.forName(\"java.util.logging.Level$KnownLevel\");\n synchronized (knownLevelClass) {\n final Constructor<?> constructor = knownLevelClass.getDeclaredConstructor(java.util.logging.Level.class);\n constructor.setAccessible(true);\n boolean doBuild = false;\n boolean setNameToLevel = false;\n boolean setIntToLevel = false;\n // namesToLevels\n final Field nameToLevels = knownLevelClass.getDeclaredField(\"nameToLevels\");\n nameToLevels.setAccessible(true);\n // Current\n final Map oldNameToLevels = (Map) nameToLevels.get(null);\n if (! (oldNameToLevels instanceof ReadOnlyHashMap)) {\n doBuild = true;\n setNameToLevel = true;\n }\n\n final Field intToLevels = knownLevelClass.getDeclaredField(\"intToLevels\");\n intToLevels.setAccessible(true);\n final Map oldIntToLevels = (Map) intToLevels.get(null);\n if (! (oldIntToLevels instanceof ReadOnlyHashMap)) {\n doBuild = true;\n setIntToLevel = true;\n }\n\n if (doBuild) {\n final KnownLevelBuilder builder = new KnownLevelBuilder(constructor)\n .add(Level.TRACE)\n .add(Level.DEBUG)\n .add(Level.INFO)\n .add(Level.WARN)\n .add(Level.ERROR)\n .add(Level.FATAL)\n .add(java.util.logging.Level.ALL)\n .add(java.util.logging.Level.FINEST)\n .add(java.util.logging.Level.FINER)\n .add(java.util.logging.Level.FINE)\n .add(java.util.logging.Level.INFO)\n .add(java.util.logging.Level.CONFIG)\n .add(java.util.logging.Level.WARNING)\n .add(java.util.logging.Level.SEVERE)\n .add(java.util.logging.Level.OFF);\n\n if (setNameToLevel) {\n nameToLevels.set(null, builder.toNameMap());\n }\n if (setIntToLevel) {\n intToLevels.set(null, builder.toIntMap());\n }\n }\n }\n } catch (Throwable e) {\n // ignore\n }\n\n /* Next hack: the default Sun JMX implementation has a horribly inefficient log implementation which\n kills performance if a custom logmanager is used. We'll just blot that out.\n */\n try {\n final Class<?> traceManagerClass = Class.forName(\"com.sun.jmx.trace.Trace\");\n final Field outField = traceManagerClass.getDeclaredField(\"out\");\n outField.setAccessible(true);\n outField.set(null, null);\n } catch (Throwable e) {\n // ignore; just skip it\n }\n /* Next hack: Replace the crappy MXBean on the system logmanager, if it's there.\n */\n final Class<java.util.logging.LogManager> lmc = java.util.logging.LogManager.class;\n try {\n synchronized (lmc) {\n final Field loggingMXBean = lmc.getDeclaredField(\"loggingMXBean\");\n loggingMXBean.setAccessible(true);\n loggingMXBean.set(null, LogContext.getSystemLogContext().getLoggingMXBean());\n }\n } catch (Throwable e) {\n // ignore; just skip it\n }\n return null;\n }", "title": "" }, { "docid": "445d94192a84b86ce38384d08d5cdc00", "score": "0.518882", "text": "private void setLevel(int level) {\n setStat(level, currentLevel);\n }", "title": "" }, { "docid": "b5f43a0e0f85bcb2522379987f80b5fc", "score": "0.5176683", "text": "protected void setLevel(int level)\n {\n this.level = level;\n }", "title": "" }, { "docid": "c0abe918bece037e59e01a749b83eb34", "score": "0.51707107", "text": "public void setLogLevel(eKVLogLevel outputlevel, eKVLogLevel logLevel){\n kv_out.changeOutputLevel(outputlevel);\n kv_out.changeLogLevel(logLevel);\n for (KVServerInstance instance: aliveInstances\n ) {\n instance.changeLogLevel(outputlevel,logLevel);\n }\n }", "title": "" }, { "docid": "81a0d81d170ee0d7c366404f30d13d3a", "score": "0.5136727", "text": "void setLogLevelsFromSharedPreferences() {\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);\n\n // Set root log level\n String logLevelRoot =\n sharedPreferences.getString(getString(R.string.preferences_key_log_level),\n getString(R.string.preferences_default_log_level));\n Logs.setRootLogLevel(logLevelRoot);\n\n // Set log level for file appender\n String logLevelFile =\n sharedPreferences.getString(getString(R.string.preferences_key_log_level_file),\n getString(R.string.preferences_default_log_level_file));\n Logs.setThresholdFilterLevel(logLevelFile, Constants.FILE_APPENDER_NAME, this);\n\n // Set log level for logcat appender\n String logLevelLogCat =\n sharedPreferences.getString(getString(R.string.preferences_key_log_level_logcat),\n getString(R.string.preferences_default_log_level_logcat));\n Logs.setLogCatLevel(logLevelLogCat, this);\n }", "title": "" }, { "docid": "8b889507924d0de752991e81a1318e03", "score": "0.5114876", "text": "protected void setLevel(int level){\r\n this.level = level;\r\n }", "title": "" }, { "docid": "3f9d101e58bc8e790130f61c9c26722f", "score": "0.50797623", "text": "@Override\n public MultiInvokerConfigurationBuilder withLogLevel(LogLevel logLevel) {\n if (logLevel == null) {\n return this;\n }\n this.log = logFactory.create(logLevel);\n return this;\n }", "title": "" }, { "docid": "ebd20b33134c7baa37fb59a5f28fbf4f", "score": "0.50582653", "text": "public void setLevel(int level) {\n\t\tthis.level = level;\t\n\t}", "title": "" }, { "docid": "2a3ab090c5d1e3cebb758ebd56e7be34", "score": "0.502077", "text": "public void setThreshold(String level) {\n\t\tthis.hierarchy.setThreshold(level);\n\t}", "title": "" }, { "docid": "3af67f1e55226ebe65453a347f0bc137", "score": "0.5016489", "text": "public void setLevel(int level)\r\n {\r\n\tthis.level = level;\r\n }", "title": "" }, { "docid": "fabcde010238cd64fa8d0da3eb6f8449", "score": "0.50126684", "text": "public void setLevelSet(double[][] ls) {\r\n\t\t_levelSet = ls;\r\n\t}", "title": "" }, { "docid": "8fb5b69a657e2113d9503d46e10c3182", "score": "0.50095534", "text": "public void setLevel(int level) { \r\n\t\tthis.level = level; \r\n\t}", "title": "" }, { "docid": "51a7670b2ebb1f8aa5aee39aab3adfda", "score": "0.49989176", "text": "private void initLoggers()\n {\n Logger.getSharedInstance();\n\n for (Logger logger : Logger.getAllLoggers())\n {\n String key = \"Loggers/\" + logger.getNamespace();\n Level desired;\n\n if (!SmartDashboard.containsKey(key))\n {\n // First time this logger has been sent to SmartDashboard\n SmartDashboard.putString(key, logger.getLogLevel().name());\n desired = Level.DEBUG;\n }\n else\n {\n String choice = SmartDashboard.getString(key, \"DEBUG\");\n Level parsed = Level.valueOf(choice);\n if (parsed == null)\n {\n m_logger.error(\"The choice '\" + choice + \"' for logger \" + logger.getNamespace() + \" isn't a valid value.\");\n desired = Level.DEBUG;\n }\n else\n {\n desired = parsed;\n }\n }\n logger.setLogLevel(desired);\n }\n }", "title": "" }, { "docid": "1dfc583a883f0777e15e6c2d46d2dc3c", "score": "0.49798816", "text": "public void setLevel(int level) {\n this.level = level;\n }", "title": "" }, { "docid": "1dfc583a883f0777e15e6c2d46d2dc3c", "score": "0.49798816", "text": "public void setLevel(int level) {\n this.level = level;\n }", "title": "" }, { "docid": "e336983c8488c75d2319d0e261e4bc3c", "score": "0.49780625", "text": "public void setLevel(int level) {\n \t\tthis.level = level;\n \t}", "title": "" }, { "docid": "f8335b15dfc21e0c2b6336a756995173", "score": "0.49689758", "text": "public void setLevel(int level) {\r\n\t\t\r\n\t\tthis.level = level;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2154f42aede7ac202e2864dbc7e7487f", "score": "0.49572647", "text": "protected void initLogger(String logLevel) {\n Logger.setLevel(logLevel);\n }", "title": "" }, { "docid": "8f54c3d223fc55acb15feff77e442e16", "score": "0.49511302", "text": "public void sub() {\n\t\tlog.severe(\"severe level\");// <= (1)\n\t\tlog.warning(\"warning level\");// <= (2)\n\t\tlog.info(\"info level\");// <= (3)\n\t\tlog.config(\"config level\");// <= (4)\n\t\tlog.fine(\"fine level\");// <= (5)\n\t\tlog.finer(\"finer level\");// <= (6)\n\t\tlog.finest(\"finest level\");// <= (7)\n\n\t}", "title": "" }, { "docid": "223fcc58ba48e4206e959974fd4f1b97", "score": "0.4949176", "text": "public void setLevel(int level){\n\t\tthis.level = level;\n\t}", "title": "" }, { "docid": "6cc536067bc28cecf0aac4d2ad9d47a4", "score": "0.49436563", "text": "TreeLogger.Type getLogLevel() {\n return logLevel;\n }", "title": "" }, { "docid": "efa51f6cee9c0b137b234ce94a6ed021", "score": "0.49389473", "text": "public void setLevel(int newlevel)\n {\n level = newlevel; \n }", "title": "" }, { "docid": "de7525e9dda2674570e7bed4d88567f4", "score": "0.49310258", "text": "public void setThreshold(Level level) {\n\t\tthis.hierarchy.setThreshold(level);\n\t}", "title": "" }, { "docid": "e03b61cef486562649f6af4c05ee11da", "score": "0.4926756", "text": "public void setLevel(int level) {\n\t\tthis.level = level;\n\t}", "title": "" }, { "docid": "e03b61cef486562649f6af4c05ee11da", "score": "0.4926756", "text": "public void setLevel(int level) {\n\t\tthis.level = level;\n\t}", "title": "" }, { "docid": "6dd7007ed40224093f1b399589d4771c", "score": "0.49118686", "text": "public final void setLevel(final int level) {\n\t\tthis.level = level;\n\t}", "title": "" }, { "docid": "08ddfa8bc238afe8f450e3b83b842061", "score": "0.49019092", "text": "public void setLevel(int aLevel, Context context){\n this.level = aLevel;\n writeFile(context);\n }", "title": "" }, { "docid": "e458e434d487d2408d11927a38ae4c81", "score": "0.48998505", "text": "public void logIfLevel(Marker ifLevel, String... messages);", "title": "" }, { "docid": "517a597f9b5dbf455be86e7f17c1aeeb", "score": "0.48953307", "text": "public void setLevel(String newLevel) {\n level = newLevel;\n }", "title": "" }, { "docid": "59414655f327cd7bbf61b203a2877f06", "score": "0.48918787", "text": "public void setLevel(Level level) {\r\n\t\tthis.level = level;\r\n\t}", "title": "" }, { "docid": "be158cf6f092a72bfa6715040df955f2", "score": "0.4885777", "text": "@Override\n public Level getLevel() {\n return privateConfig.loggerConfigLevel;\n }", "title": "" }, { "docid": "de1c66cfca99b4bb2b943604d4114d39", "score": "0.48558065", "text": "public void setLevel(Level level) {\n\t\tthis.level = level;\n\t}", "title": "" }, { "docid": "d10555362fb0ae5015ea5005f94cc69c", "score": "0.48441657", "text": "public void disabled_og4j_testSetLogLevel() throws Exception {\n assertEquals(\"Default Level is ERROR\", LOGGER.getLevel(), Level.ERROR);\n Helper.setLog4JLogLevel(Level.DEBUG);\n assertEquals(\"Default Level is DEBUG\", LOGGER.getLevel(), Level.DEBUG);\n }", "title": "" }, { "docid": "37231f9483c409aa763e5b1c7aa0e431", "score": "0.4831953", "text": "@Deprecated\n public void setLogLevelMask(int mask);", "title": "" }, { "docid": "23d3bcd16adc9623ceb3c6230c43a56e", "score": "0.48231608", "text": "private static void setupLogger() {\n\t\tLogManager.getLogManager().reset();\n\t\t// set the level of logging.\n\t\tlogger.setLevel(Level.ALL);\n\t\t// Create a new Handler for console.\n\t\tConsoleHandler consHandler = new ConsoleHandler();\n\t\tconsHandler.setLevel(Level.SEVERE);\n\t\tlogger.addHandler(consHandler);\n\n\t\ttry {\n\t\t\t// Create a new Handler for file.\n\t\t\tFileHandler fHandler = new FileHandler(\"HQlogger.log\");\n\t\t\tfHandler.setFormatter(new SimpleFormatter());\n\t\t\t// set level of logging\n\t\t\tfHandler.setLevel(Level.FINEST);\n\t\t\tlogger.addHandler(fHandler);\n\t\t}catch(IOException e) {\n\t\t\tlogger.log(Level.SEVERE, \"File logger not working! \", e);\n\t\t}\n\t}", "title": "" }, { "docid": "72aeb80fcfacea40b4e534cacd15c2cc", "score": "0.48189473", "text": "private void internalInitializeLogger( final Logger logger ) {\n \n java.security.AccessController.doPrivileged(\n new java.security.PrivilegedAction<Object>() {\n public Object run() {\n // Explicitly remove all handlers.\n for (Handler h : logger.getHandlers()) {\n logger.removeHandler(h);\n }\n\n logger.setUseParentHandlers(false);\n for (Handler handler : handlers) {\n logger.addHandler(handler); \n }\n\n Level logLevel = getConfiguredLogLevel(logger.getName());\n if( logLevel != null ) {\n logger.setLevel( logLevel );\n }\n postInitializeLogger( logger );\n return null;\n }\n }\n );\n }", "title": "" }, { "docid": "ec9ee35427e99b973dba385611089933", "score": "0.4803431", "text": "@GET\n @Path(\"/loglevel/{level}\")\n public Response setLogLevel(@Context HttpServletRequest request,@Context HttpServletResponse response,@Context ServletContext servletContext, @PathParam(\"level\") String level) throws JsonGenerationException, JsonMappingException, IOException{\n LogManager.getRootLogger().setLevel(org.apache.log4j.Level.toLevel(level));\n return Response.status(200).entity(\"{\\\"status\\\":\\\"DONE\\\", \\\"Message\\\":\\\"Changed Log level to: \"+LogManager.getRootLogger().getLevel().toString()+\"\\\"}\").build();\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.48028558", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.48028558", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.48028558", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.48028558", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.48028558", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "97bf4d750aa27237ae7682491b01eec9", "score": "0.47909835", "text": "public static int getLevel(){\n\treturn logLevel;\n }", "title": "" }, { "docid": "10aaeac31716adbbdf557f180f2e79f0", "score": "0.47883192", "text": "private void loggerEinrichten() {\n\t\tlogger.setLevel(Level.INFO);\n//\t\tHandler handler = new FileHandler(\"/home/programmieren/TestFiles/iCalender/temp.log\");\n\t\tHandler handler = new ConsoleHandler();\n\t\thandler.setLevel(Level.FINEST);\n\t\thandler.setFormatter(new Formatter() {\n\t\t\t@Override\n\t\t\tpublic String format(LogRecord record) {\n\t\t\t\treturn record.getSourceClassName() + \".\" + record.getSourceMethodName() + \": \" + record.getMessage()\n\t\t\t\t\t\t+ \"\\n\";\n\t\t\t}\n\t\t});\n\t\tlogger.addHandler(handler);\n\t\tlogger.setUseParentHandlers(false);\n\t\tlogger.finest(\"begonnen\");\n\t}", "title": "" }, { "docid": "0ba6723e7386e36db17dce9c52888df9", "score": "0.47812667", "text": "private void initLogger() {\n\t\ttry {\n\t\t\tjava.util.logging.Logger rootLogger = java.util.logging.Logger.getLogger(\"\");\n\t\t\trootLogger.setUseParentHandlers(false);\n\t\t\tHandler csvFileHandler = new FileHandler(\"logger/log.csv\", 100000, 1, true);\n\t\t\tlogformater = new LogFormatter();\n\t\t\trootLogger.addHandler(csvFileHandler);\n\t\t\tcsvFileHandler.setFormatter(logformater);\n\t\t\tlogger.setLevel(Level.ALL);\n\t\t} catch (IOException ie) {\n\t\t\tSystem.out.println(\"Logger initialization failed\");\n\t\t\tie.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "e6066aad844bb9730b2629aff446cb29", "score": "0.47809756", "text": "public void enableLogging(Logger logger) {\n m_logger = logger;\n }", "title": "" }, { "docid": "a969376de32b2fb650399c78c51c839e", "score": "0.4763929", "text": "public void customLogger() {\n KOOM.getInstance().setLogger(new KLog.KLogger() {\n @Override\n public void i(String TAG, String msg) {\n //get the log of info level\n }\n\n @Override\n public void d(String TAG, String msg) {\n //get the log of debug level\n }\n\n @Override\n public void e(String TAG, String msg) {\n //get the log of error level\n }\n });\n }", "title": "" }, { "docid": "3425d452f503cc492a9e2c8bdfe90518", "score": "0.4751252", "text": "public void setLevel(final String level) {\n setAttribute(ATTRIBUTE_LEVEL, level);\n }", "title": "" }, { "docid": "ea6858b78dbc49fe7384c155e9d4e78a", "score": "0.47446504", "text": "public static void setupLoggers() {\n SLF4JBridgeHandler.removeHandlersForRootLogger();\n\n // add SLF4JBridgeHandler to j.u.l's root logger\n SLF4JBridgeHandler.install();\n }", "title": "" }, { "docid": "3c2de8abadd4bb926d17b536016f4937", "score": "0.47435567", "text": "public void setLevel(String level){\n\t\tthis.level = level;\n\t}", "title": "" }, { "docid": "945856119bdbc4a58cb9fd0e668df808", "score": "0.47228593", "text": "public void setLevel(int level) {\n if (level < 1)\n throw new IllegalArgumentException(\"Cannot be a level less than 0\");\n\n this.level = level;\n }", "title": "" }, { "docid": "09fc3325110d223b16b85e30161092de", "score": "0.47218218", "text": "public void setLevel(int level) {\n if(level > Constant.MAX_LEVEL){\n this.level = Constant.MAX_LEVEL;\n }else {\n this.level = level;\n }\n this.expToLevelUp = this.expValues[this.level];\n }", "title": "" }, { "docid": "560aabe5f3e2d4b45a6861fe56f6387e", "score": "0.47217274", "text": "void log(Level level, String message);", "title": "" }, { "docid": "7ce84af0cd4d6e2ea0076b34730b53fa", "score": "0.47121972", "text": "public static synchronized void setMetricsLevel(String newMetricsLevel) {\n\n if (overrideLogbackLevel) {\n if (\"OFF\".equalsIgnoreCase(newMetricsLevel)) {\n PolicyLogger.metricsLevel = Level.OFF;\n metricsLogger.setLevel(metricsLevel);\n } else {\n // --- set default value\n metricsLogger.setLevel(Level.INFO);\n PolicyLogger.metricsLevel = Level.INFO;\n }\n }\n\n }", "title": "" }, { "docid": "4e4f1bd7d7bbcb4b925be29b5ccb6c25", "score": "0.4703258", "text": "public void setLevel(String level) {\n this.level = level;\n }", "title": "" }, { "docid": "4e4f1bd7d7bbcb4b925be29b5ccb6c25", "score": "0.4703258", "text": "public void setLevel(String level) {\n this.level = level;\n }", "title": "" }, { "docid": "32373f58c0c214d540261734774911ef", "score": "0.47029305", "text": "public void setLogging(boolean logging);", "title": "" }, { "docid": "6b8e413f460c7dd9e3ea13833175c61b", "score": "0.46994796", "text": "@BeforeAll\n public static void configureLogger() {\n new SuperStructure(null, null, null, null, null);\n\n Logger.configure(null);\n Logger.start();\n }", "title": "" } ]
2e39c5974601aa53b723a99526375ac7
w Updates the status box with the SIP address of the current call.
[ { "docid": "77ac2d045c0a1babf971f036f903e1f0", "score": "0.70848745", "text": "public void updateStatus(SipAudioCall call) {\n String useName = call.getPeerProfile().getDisplayName();\n if(useName == null) {\n useName = call.getPeerProfile().getUserName();\n }\n updateStatus(useName + \"@\" + call.getPeerProfile().getSipDomain());\n }", "title": "" } ]
[ { "docid": "e0407a158633ad7b1e265980e7408ff4", "score": "0.6262609", "text": "public void updateStatus(final String status) {\n // Be a good citizen. Make sure UI changes fire on the UI thread.\n this.runOnUiThread(new Runnable() {\n public void run() {\n TextView labelView = (TextView) findViewById(R.id.sip_label);\n labelView.setText(status);\n }\n });\n }", "title": "" }, { "docid": "2fa544540823baeb0973038b544eb61c", "score": "0.60993195", "text": "private void updateCall(Person client, int callId, boolean status) {\n \tCall call = callsCache.get(callId);\n \tcall.setStatus(status);\n \tJSONObject jsonMsg = new JSONObject();\n\t\tjsonMsg.put(\"action\", ACTION.UPDATE);\n \tfor(Pair<Person, Integer> pair: historyCache) {\n \t\tif(pair.getElement1() == callId && pair.getElement0() != client) {\n \t\t\tsendSocket(pair.getElement0().ip, jsonMsg.toString(), clientPort);\n \t\t}\n \t}\n \tPerson from = call.getFrom();\n \tif(from != client) {\n \t\tsendSocket(from.ip, jsonMsg.toString(), clientPort);\n \t}\n }", "title": "" }, { "docid": "9ff74e91f047afd3d0f669c40af465e4", "score": "0.60127306", "text": "public String updateStatus();", "title": "" }, { "docid": "2d3d11e248c75451d0e8dfd29b368bf6", "score": "0.5975582", "text": "void updateUIStatus();", "title": "" }, { "docid": "791a124ca5d0ca95ff44e09a7faf03ea", "score": "0.5974552", "text": "public void updateStatus(){\n\t\t\n\t}", "title": "" }, { "docid": "0426accf53c6f4c2120bdf09ebe7d569", "score": "0.5929519", "text": "public void enterStatusOnSearchCallsWindow(String Status) throws Throwable\n {\n waitForVisibilityOfElement(CRHomePage.txtCallStatus,\"Search Calls Window RAPNumber\");\n type(CRHomePage.txtCallStatus,Status, \"Search Calls Window RAPNumber\");\n }", "title": "" }, { "docid": "1d989b6f0d8a3e4e3102e971ff317039", "score": "0.5808186", "text": "public void update(String status) {\n\t\tlong currentTime = System.currentTimeMillis();\n\t\ttotalTime = currentTime-startTime;\n\t\t//preserving current call state\n\t\tString currentState = callStatus;\n\t\t//getting the current states current time\n\t\tlong stateTime = activeTime.get(currentState);\n\t\t//Determine how many MS since startTime and adding any prior events to running total\n\t\tstateTime = (currentTime - changeTime)+stateTime;\n\t\t//updating startTime to last change and status to new status\n\t\tchangeTime = currentTime;\n\t\tcallStatus = status;\n\t\t//updating time tracker\n\t\tactiveTime.replace(currentState, stateTime);\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "fb9174861c434477cd9eb1b893ee4221", "score": "0.57646614", "text": "public final void callStatusUpdateListener() {\n callStatusUpdateListenerWithStatus(getStatus());\n }", "title": "" }, { "docid": "488fbee0763257f0174143817a973691", "score": "0.5721039", "text": "void updateIdentifyStatusView();", "title": "" }, { "docid": "2489a8993a80fa2a13a07ef72631ad18", "score": "0.5711302", "text": "public void updateStatus() {\n title.setBackground(worker.getStatusColor());\n status.setText(worker.getStatusText());\n info.setText(worker.getInfoText());\n currentAction.setText(worker.getActionText());\n }", "title": "" }, { "docid": "290408827a88f6f6acc9f088ea925653", "score": "0.56988394", "text": "public static void updateInCallWindow(Context context, long duration) {\n String callTimeElapsed = DateUtils.formatElapsedTime(duration / 1000);\n if (!isInCallWindowVisible()) {\n //createNotificationWindow(context);\n return;\n }\n mInCallStatusTextView.setText(context.getResources().getString(R.string.prize_incallwindow_incall) + callTimeElapsed);\n }", "title": "" }, { "docid": "091a4fdc3ebaf074e39625dbf32ab980", "score": "0.5684482", "text": "@Override\n public void updateStatus(PresenceStatus presenceStatus)\n {\n String tooltip = this.getToolTipText();\n\n tooltip = tooltip.substring(0, tooltip.lastIndexOf(\"<br>\"));\n\n ImageIcon statusImage\n = ImageLoader.getAccountStatusImage(protocolProvider);\n JCheckBoxMenuItem menuItem\n = protocolProvider.isRegistered() ? onlineItem : offlineItem;\n menuItem.setSelected(true);\n\n setSelected(new SelectedObject(statusImage, menuItem));\n setToolTipText(tooltip.concat(\"<br>\" + menuItem.getText()));\n }", "title": "" }, { "docid": "7ffccb5697f01bf8f0d43a230e3a12fe", "score": "0.5551311", "text": "ResponseMessage updateActiveStatus(String username);", "title": "" }, { "docid": "6b04ca46a362cacfe9159b8b91bc8d02", "score": "0.54977584", "text": "@Override\r\n\t\tpublic void onCallStateChanged(int state, String incomingNumber) {\n\t\t\tsuper.onCallStateChanged(state, incomingNumber);\r\n\t\t\tLog.i(\"shen\", \"state MonitorPhoneStatusServer = \" + state + \", incomingNumber = \" + incomingNumber);\r\n\t\t\tinitInCallFragment(state, incomingNumber);\r\n\t\t}", "title": "" }, { "docid": "365d74a4dc63a75d14331aecf8b5b906", "score": "0.54860723", "text": "public void showStatus() {\n\t}", "title": "" }, { "docid": "fc7e47579d1dd0bcd53e75cc941f2921", "score": "0.54853183", "text": "void setStatusInfo(String infoPanelKey, String info);", "title": "" }, { "docid": "955aeb567f3590a9fc6a12a46bb56ce9", "score": "0.5482029", "text": "void setStatusInfo(String info);", "title": "" }, { "docid": "872b6727c297bd1c97a6d7b562228442", "score": "0.5469237", "text": "private void editStatus(String status) {\r\n statusLabel.setText(status);\r\n }", "title": "" }, { "docid": "e49213344d5daf0ee4dcce5977f52775", "score": "0.54502696", "text": "public void setLocationStatus(int resid) {\n\t\ttextStatus.setText(resid);\n\t}", "title": "" }, { "docid": "001430505428680840e823ab5ce662f5", "score": "0.5449283", "text": "private void updateState() {\r\n\t\t//update state on title bar\r\n\t\tString pollState = getPollState(manager.getPollState(pollID));\r\n\t\tthis.getShell().setText(\"Poll Statistics - \" + pollState);\r\n\t}", "title": "" }, { "docid": "aeff25f428a1f89f57dc932d1e1b33b8", "score": "0.5433732", "text": "private void showXPhone(GUIStateId id, GUIStateData data) {\n\r\n }", "title": "" }, { "docid": "ba6eb552ae48b0b0dfe0fa84210d2207", "score": "0.54255146", "text": "boolean updateStatus(BindingEntry entry, int companyID);", "title": "" }, { "docid": "8181e5704ad252603dce5885eed5936d", "score": "0.5406668", "text": "private void updateStatus(int linenumber, int columnnumber, int word, String text) {\n // create and add a status bar here\n statusBar.setText(\"Line: \" + linenumber + \" Column: \" + columnnumber +\" Characters: \"+text.length()+\" Words: \"+word);\n }", "title": "" }, { "docid": "8f269f47f00a74a13cb3ef29c79c5b8a", "score": "0.54033554", "text": "public void updateUI() {\n// mCurStatus = States.StatusValue.AWAKE;\n setBgShapeAndColor(mPreStatus, mCurStatus);\n setViewByStatus(mCurStatus);\n }", "title": "" }, { "docid": "5ffd73c668f49eefde93ff472ea51f01", "score": "0.5384672", "text": "public void printStatusUpdate() {\n\t\tif(isInbound) {\n\t\t\tSystem.out.println(this.toString() + \" is at position \" + this.getPosition() + \" heading inbound with \" + this.passengers.size() + \" passengers onboard.\");\n\t\t} else {\n\t\t\tSystem.out.println(this.toString() + \" is at position \" + this.getPosition() + \" heading outbound with \" + this.passengers.size() + \" passengers onboard.\");\n\n\t\t}\n\t}", "title": "" }, { "docid": "b5cd29916406101b2f180897be25e01c", "score": "0.5378648", "text": "public void status(String str) {\n\t\tstatLbl.setText(\"Status: \" + str);\n\t}", "title": "" }, { "docid": "c621aec85ecb1229068e559cf0fd6c6d", "score": "0.53764814", "text": "public void setLocationStatusName(String arg)\n\t{\n\t\twLocationStatusName = arg;\n\t}", "title": "" }, { "docid": "6819bf24a6d41d21631fa3a9030ef387", "score": "0.5372919", "text": "void setStatus(String text)\n {\n statusLabel.setText(text);\n }", "title": "" }, { "docid": "129b54714e3572425433af821f3efe88", "score": "0.5355947", "text": "@Override\n public void updateStatus(Zotero api, String message) {\n\n }", "title": "" }, { "docid": "ad5aa543bc78a92bcca8f814141ed6f7", "score": "0.53529984", "text": "private void broadcastUpdate(final String action,final String address, final int status){\n final Intent intent = new Intent(action);\n intent.putExtra(EXTRA_ADDRESS, address);\n intent.putExtra(EXTRA_STATUS, status);\n sendBroadcast(intent);\n mBusy = false;\n }", "title": "" }, { "docid": "4eb35d689951e409a4ed4391cd9b593e", "score": "0.53507406", "text": "void status(Status status);", "title": "" }, { "docid": "bf7210c2f740ca2cb25bb720dbeaba7e", "score": "0.53476447", "text": "public void setStatusx(String statusx);", "title": "" }, { "docid": "f0e001d385fa68b70a499ceaabc6109b", "score": "0.5338898", "text": "@Override\n public void updateStatus(OAuthServer api, String message) {\n }", "title": "" }, { "docid": "d33f3d4ecfc4e229de24a99e6fde88a2", "score": "0.5329555", "text": "public void updateStatus(final String message)\n {\n UiApplication.getUiApplication().invokeLater(new Runnable()\n {\n /**\n * @see java.lang.Runnable#run()\n */\n public void run()\n {\n _statusField.setText(_statusField.getText() + \"\\n\" + message);\n }\n });\n }", "title": "" }, { "docid": "24c2bc588050aaf558eb283a29a949e1", "score": "0.53189224", "text": "private void updateStatus() {\n\t\tupdateStatus(flabotFileSelectionStatus);\n\t}", "title": "" }, { "docid": "43f231839f23c4f5616d572c70fd84f6", "score": "0.5309702", "text": "@WeemoEventListener\n\tpublic void onCallStatusChanged(final CallStatusChangedEvent event) {\n\t\t// If there's a call whose status is newly to PROCEEDING, this means the user has initiated an outgoing call\n\t\t// and that this call is currently ringing on the remote user's device.\n\t\t// In which case, we show the ContactCallingDialogFragment that will monitor the babysteps of this newborn call\n\t\tif (event.getCallStatus() == CallStatus.PROCEEDING) {\n\t\t\tfinal ContactCallingDialogFragment dialog = ContactCallingDialogFragment.newInstance(event.getCall().getCallId());\n\t\t\tdialog.setCancelable(false);\n\t\t\tdialog.show(getFragmentManager(), null);\n\t\t}\n\n\t\t// If a call has ended and we are in tablet mode, we need to remove the call window fragment.\n\t\tif (event.getCallStatus() == CallStatus.ENDED) {\n\t\t\tremoveCallFragment();\n\t\t}\n\t}", "title": "" }, { "docid": "fdef1e62ab28fc135064ae31cb3b953c", "score": "0.530502", "text": "@Override\n\tpublic void update(String status) {\n\t\t\n\t}", "title": "" }, { "docid": "0e9994ef4153eb0af979d728aea50dd5", "score": "0.5284383", "text": "private void initStatusBar(CallPeer callPeer)\n {\n initSecurityStatusLabel();\n this.setParticipantState(callPeer.getState().getLocalizedStateString());\n\n this.addToStatusBar(holdStatusLabel);\n this.addToStatusBar(muteStatusLabel);\n this.addToStatusBar(dtmfLabel);\n }", "title": "" }, { "docid": "5f647987c83f72b7d0af7fbaa0125265", "score": "0.5279038", "text": "public void notifiyGui(IStatus newStatus);", "title": "" }, { "docid": "f36a51252609df1702abc5eee13d51f6", "score": "0.5241208", "text": "protected void sendCurrentStatus(){\n\t\tif(active){\n\t\t\tif(isBusy()){\n\t\t\t\tsendStatusMessage(CriticStatuses.STAT_AVAILABLE_ACTIVE_BUSY);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsendStatusMessage(CriticStatuses.STAT_AVAILABLE_ACTIVE);\n\t\t\t}\n\t\t}\n\t\tif(!active){\n\t\t\tsendStatusMessage(CriticStatuses.STAT_AVAILABLE_INACTIVE);\n\t\t}\n\t}", "title": "" }, { "docid": "84c305407690bc7886e9db9ae8dfdd76", "score": "0.52362406", "text": "public void update() {\n\n int useColorSystem;\n int useColorOnline;\n\n statusImageSystem = findViewById(R.id.statusImageSystem);\n\n if (isSvLink()) {\n useColorSystem = R.color.color_statusbar_statusimage_active;\n } else {\n useColorSystem = R.color.color_statusbar_statusimage_inactive;\n }\n\n Drawable imageSystemDrawable = statusImageSystem.getDrawable();\n DrawableCompat.setTint(imageSystemDrawable, ContextCompat.getColor(getContext(), useColorSystem));\n\n statusImageOnline = findViewById(R.id.statusImageOnline);\n\n if (isUplink()) {\n useColorOnline = R.color.color_statusbar_statusimage_active;\n } else {\n useColorOnline = R.color.color_statusbar_statusimage_inactive;\n }\n\n Drawable imageOnlineDrawable = statusImageOnline.getDrawable();\n DrawableCompat.setTint(imageOnlineDrawable, ContextCompat.getColor(getContext(), useColorOnline));\n\n profileInfoView = findViewById(R.id.statusProfileInfo);\n profileInfoView.setText(getProfileInfo());\n }", "title": "" }, { "docid": "cf28e9fa17b6507ece2e6fbef0bab3c6", "score": "0.5234557", "text": "public void updateStatus() {\n Optional<Activity> activity = api.getActivity();\n ObjectNode updateStatus = JsonNodeFactory.instance.objectNode()\n .put(\"op\", GatewayOpcode.STATUS_UPDATE.getCode());\n ObjectNode data = updateStatus.putObject(\"d\")\n .put(\"status\", api.getStatus().getStatusString())\n .put(\"afk\", false)\n .putNull(\"since\");\n\n ObjectNode activityJson = data.putObject(\"game\");\n activityJson.put(\"name\", activity.map(Nameable::getName).orElse(null));\n activityJson.put(\"type\", activity.flatMap(g -> {\n int type = g.getType().getId();\n if (type == 4) {\n logger.warn(\"Can't set the activity to ActivityType.CUSTOM\"\n + \", using ActivityType.PLAYING instead\");\n return Optional.empty();\n } else {\n return Optional.of(type);\n }\n }).orElse(0));\n activity.flatMap(Activity::getStreamingUrl).ifPresent(url -> activityJson.put(\"url\", url));\n logger.debug(\"Updating status (content: {})\", updateStatus);\n sendTextFrame(updateStatus.toString());\n }", "title": "" }, { "docid": "941a38a82a7a6155a0cde9adf844f347", "score": "0.5224623", "text": "public void updateStatus(final String message) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n //mStatusText[active-1].setText(message);\n }\n });\n }", "title": "" }, { "docid": "7ca7b088e5b50563c74023921fdc17dd", "score": "0.522132", "text": "private void displayStatus(String status, String name) {\n\t\tif (status.equals(\"\")) {\n\t\t\tstatus = \"No current status\";\n\t\t} else {\n\t\t\tstatus = name + \" is \" + status;\n\t\t}\n\t\tGLabel statusLab = new GLabel(status);\n\t\tstatusLab.setFont(PROFILE_STATUS_FONT);\n\t\t/* Compute the Y coordinate of the image. */\n\t\tdouble imageY = profileNameLab.getY() + IMAGE_MARGIN;\n\t\t/* Set the status label's Y coordinate to be below the image, with a\n\t\t * margin given by the STATUS_MARGIN constant. */\n\t\tdouble y = imageY + IMAGE_HEIGHT + STATUS_MARGIN + statusLab.getAscent();\n\t\tadd(statusLab,LEFT_MARGIN,y);\t\t\n\t}", "title": "" }, { "docid": "9d1b02c0ab823f55f140ec2a2dd0fc6d", "score": "0.5219478", "text": "private void showCurrentValues(String speed, String longitude, String latitude, String status, String SyncCount, String checkpointdesc) {\n Intent intent = new Intent(NOTIFICATION);\n intent.putExtra(SPEED, speed);\n intent.putExtra(LONGITUDE, longitude);\n intent.putExtra(LATITUDE, latitude);\n intent.putExtra(STATUS, status);\n intent.putExtra(SYNCCOUNT,SyncCount);\n intent.putExtra(CHECKPOINT,checkpointdesc);\n sendBroadcast(intent);\n }", "title": "" }, { "docid": "d56a77d01b3af52e4ed738957db9f580", "score": "0.52189934", "text": "public void addStatusOnWorkspace(Workspace theWorkspace, String status);", "title": "" }, { "docid": "34a2f22da40f8cfa23c759daad8bf2b8", "score": "0.51847845", "text": "@Override\n protected void updateSpnDisplay() {\n String plmn = mSS.getOperatorAlphaLong();\n if (!TextUtils.equals(plmn, mCurPlmn)) {\n // Allow A blank plmn, \"\" to set showPlmn to true. Previously, we\n // would set showPlmn to true only if plmn was not empty, i.e. was not\n // null and not blank. But this would cause us to incorrectly display\n // \"No Service\". Now showPlmn is set to true for any non null string.\n boolean showPlmn = plmn != null;\n if (DBG) {\n log(String.format(\"updateSpnDisplay: changed sending intent\" +\n \" showPlmn='%b' plmn='%s'\", showPlmn, plmn));\n }\n Intent intent = new Intent(TelephonyIntents.SPN_STRINGS_UPDATED_ACTION);\n intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);\n intent.putExtra(TelephonyIntents.EXTRA_SHOW_SPN, false);\n intent.putExtra(TelephonyIntents.EXTRA_SPN, \"\");\n intent.putExtra(TelephonyIntents.EXTRA_SHOW_PLMN, showPlmn);\n intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn);\n intent.putExtra(MSimConstants.SUBSCRIPTION_KEY, mPhone.getSubscription());\n mPhone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL);\n }\n\n mCurPlmn = plmn;\n }", "title": "" }, { "docid": "a650de3808ca3ec76bc711f043ee99a0", "score": "0.5180095", "text": "public void updateUeberwachung() {\r\n \t\tString s = (float) Math.round(this.simulation\r\n \t\t\t\t.calcUeberwachungsstatusInStreet() * 100) / 100 + \"%\";\r\n \t\tthis.anzeigeStatusUeberwachung.setText(s);\r\n \t}", "title": "" }, { "docid": "29852945356a34e3369e38538d1d8825", "score": "0.51789415", "text": "public void update(){\n System.out.println(\"Le chef a ete notifier\");\n }", "title": "" }, { "docid": "5fe6b8e68ca372865af7cfa8bbf573ca", "score": "0.5156721", "text": "public abstract void onShowUpdateUI(final UpdateInfo info);", "title": "" }, { "docid": "5eb0a10edd0b83330929e2bee899adcb", "score": "0.5152411", "text": "static private void syncDial() {\n try {\n String dialOptions = \"\";\n\n PBX pbx = PBXFactory.getActivePBX();\n\n // The trunk MUST match the section header (e.g. [default]) that\n // appears\n // in your /etc/asterisk/sip.d file (assuming you are using a SIP\n // trunk).\n // The trunk is used to select which SIP trunk to dial through.\n Trunk trunk = pbx.buildTrunk(\"default\");\n\n // We are going to dial from extension 100\n EndPoint from = pbx.buildEndPoint(TechType.SIP, \"100\");\n // The caller ID to show on extension 100.\n CallerID fromCallerID = pbx.buildCallerID(\"100\", \"My Phone\");\n\n // The caller ID to display on the called parties phone\n CallerID toCallerID = pbx.buildCallerID(\"83208100\", \"Asterisk Java is calling\");\n // The party we are going to call.\n EndPoint to = pbx.buildEndPoint(TechType.SIP, trunk, \"5551234\");\n\n // Trunk is currently ignored so set to null\n // The call is dialed and only returns when the call comes up (it\n // doesn't wait for the remote end to answer).\n DialActivity dial = pbx.dial(from, fromCallerID, to, toCallerID, dialOptions);\n\n Call call = dial.getNewCall();\n\n Thread.sleep(20000);\n\n logger.warn(\"Hanging up\");\n pbx.hangup(call);\n } catch (PBXException | InterruptedException e) {\n System.out.println(e);\n }\n }", "title": "" }, { "docid": "bda68e08ef86c91785a54993a297b662", "score": "0.5144526", "text": "public void updateNumber()\r\n\t{\r\n\t\tString s = \" survival count: \" + lnum ;\r\n\t\trecord.setForeground(Color.BLACK);\r\n\t\trecord.setText(s);\r\n\t}", "title": "" }, { "docid": "7a635351e62a3b1eb8fd505f037d664f", "score": "0.5129923", "text": "private void updateStatus() {\n setStatus(String.format(\"Fingerprint samples needed: %1$s\",\r\n enroller.getFeaturesNeeded()));\r\n }", "title": "" }, { "docid": "616754c634f98a765cf477f66f51e72d", "score": "0.5120009", "text": "private void availabilityUpdate() {\n if (checkShoeInList() != -1) {\n JSONObject jsonrequest = new JSONObject();\n try {\n System.out.println(\"==========================================\");\n System.out.println(\"There's an available shoe to request!!!\");\n System.out.println(\"==========================================\");\n jsonrequest.put(\"Request\", \"AvailabilityUpdate\");\n jsonrequest.put(\"Barcode\", currentBarcode);\n SocketConnection.writeToSocket(jsonrequest.toString());\n String availability = SocketConnection.messageBuffer.take();\n // Forget receiving JSON for this function, just straight up return the number of available shoes.\n System.out.println(\"Availability: \" + availability);\n availabilityText.setText(availability);\n } catch (JSONException e) {\n System.out.println(\"JSONException: Error building AvailabilityUpdate JSON.\");\n e.printStackTrace();\n } catch (InterruptedException e) {\n System.out.println(\"InterruptedException: Error getting availability update.\");\n e.printStackTrace();\n }\n } else {\n availabilityText.setText(String.valueOf(0));\n }\n }", "title": "" }, { "docid": "6cb2e5061557f55471e27355d47757a7", "score": "0.51171136", "text": "@Override\n\tpublic void CallstateChanged() {\n\t\t\n\t}", "title": "" }, { "docid": "7562634dae1d6c3251a1fb133d70bfac", "score": "0.5115336", "text": "public void status();", "title": "" }, { "docid": "7b4d07748a0cb1a65f288871644b8efc", "score": "0.51137114", "text": "public void updateStatusBar(String s, Color c) {\n \tstatusBar.setText(s);\n \tstatusBar.setForeground(c);\n }", "title": "" }, { "docid": "5df3d0b26b09637f8196b58f29591ce7", "score": "0.51089895", "text": "void updateStatus(final TextField field, final String text) {\r\n synchronized (Application.getEventLock()) {\r\n field.setText(text);\r\n }\r\n }", "title": "" }, { "docid": "8949d293d90c4a681d1f635a04cb466c", "score": "0.51016337", "text": "@FXML\n\tpublic void updateStatus(MouseEvent event) {\n\n\t\tif (this.srv != null) {\n\t\t\t// In the hosting client (client 1)\n\t\t\tif (this.srv.getState()==PokeArenaServerState.WAITING_FOR_CLIENT_1_TEAM) {\n\t\t\t\tj2Connected.setImage(new Image(\"Resources/Buttons/Others/connectedRed.png\"));\n\t\t\t\tthis.cli.sendTeam(team);\n\t\t\t\tSystem.out.println(\"team sent pour j1\");\n\n\t\t\t\tstatusLabel.setText(\"STATUS : JOUEUR 2 CONNECTE\");\n\t\t\t}\n\t\t\t\n\t\t\tif (this.srv.getState()==PokeArenaServerState.WAITING_FOR_START) {\n\t\t\t\tstatusLabel.setText(\"STATUS : CLIQUER SUR COMMENCER\");\n\t\t\t\tstartButton.setStyle(\"-fx-background-color: #8f0500; \\n\t-fx-text-fill: #fff;\");\n\t\t\t}\n\n\t\t} else {\n\t\t\t// In the joining client (client 2)\n\t\t\tthis.cli.sendTeam(team);\n\t\t\t\n\t\t\tif ((this.cli.getState() == PokeArenaClientState.WAITING_FOR_START)\n\t\t\t\t\t|| (this.cli.getState() == PokeArenaClientState.NEED_TO_SEND_ACTION)) {\n\t\t\t\tstatusLabel.setText(\"STATUS : CLIQUER SUR COMMENCER\");\n\t\t\t\tstartButton.setStyle(\"-fx-background-color: #8f0500; \\n\t-fx-text-fill: #fff;\");\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "d0606ede3fc7272aa3989737236918de", "score": "0.50930357", "text": "@Override\n\tpublic void broadcastStatusUpdate()\n\t{\n\t\t// TODO We mustn't send these informations to other players\n\t\t// Send the Server->Client packet StatusUpdate with current HP and MP to\n\t\t// all L2PcInstance that must be informed of HP/MP updates of this\n\t\t// L2PcInstance\n\t\t// super.broadcastStatusUpdate();\n\t\t\n\t\t// Send the Server->Client packet StatusUpdate with current HP, MP and\n\t\t// CP to this L2PcInstance\n\t\tStatusUpdate su = new StatusUpdate(getObjectId());\n\t\tsu.addAttribute(StatusUpdate.CUR_HP, (int) getCurrentHp());\n\t\tsu.addAttribute(StatusUpdate.CUR_MP, (int) getCurrentMp());\n\t\tsu.addAttribute(StatusUpdate.CUR_CP, (int) getCurrentCp());\n\t\tsu.addAttribute(StatusUpdate.MAX_CP, getMaxCp());\n\t\tsendPacket(su);\n\t\t\n\t\tfinal boolean needCpUpdate = needCpUpdate(352);\n\t\tfinal boolean needHpUpdate = needHpUpdate(352);\n\t\t\n\t\t// Check if a party is in progress and party window update is usefull\n\t\tif (isInParty() && (needCpUpdate || needHpUpdate || needMpUpdate(352)))\n\t\t{\n\t\t\tif (Config.DEBUG)\n\t\t\t{\n\t\t\t\t_log.fine(\"Send status for party window of \" + getObjectId() + \"(\" + getName() + \") to his party. CP: \" + getCurrentCp() + \" HP: \" + getCurrentHp() + \" MP: \" + getCurrentMp());\n\t\t\t}\n\t\t\t// Send the Server->Client packet PartySmallWindowUpdate with\n\t\t\t// current HP, MP and Level to all other L2PcInstance of the Party\n\t\t\tPartySmallWindowUpdate update = new PartySmallWindowUpdate(this);\n\t\t\tgetParty().broadcastToPartyMembers(this, update);\n\t\t}\n\t\t\n\t\tif (isInOlympiadMode() && isOlympiadStart() && (needCpUpdate || needHpUpdate))\n\t\t{\n\t\t\tExOlympiadUserInfo olyInfo = new ExOlympiadUserInfo(this,1);\n\t\t\t\n\t\t\t// TODO: implement new OlympiadUserInfo\n\t\t\tCollection<L2PcInstance> plrs = getKnownList().getKnownPlayers().values();\n\t\t\t// synchronized (getKnownList().getKnownPlayers())\n\t\t\t{\n\t\t\t\tfor (L2PcInstance player : plrs)\n\t\t\t\t{\n\t\t\t\t\tif (player.getOlympiadGameId() == getOlympiadGameId() && player.isOlympiadStart())\n\t\t\t\t\t{\n\t\t\t\t\t\tif (Config.DEBUG)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t_log.fine(\"Send status for Olympia window of \" + getObjectId() + \"(\" + getName() + \") to \" + player.getObjectId() + \"(\" + player.getName() + \"). CP: \" + getCurrentCp() + \" HP: \" + getCurrentHp() + \" MP: \" + getCurrentMp());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tplayer.sendPacket(olyInfo);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (isInOlympiadMode() && isOlympiadStart() && (needCpUpdate || needHpUpdate))\n\t\t\t{\n\t\t\t\tfinal OlympiadGameTask game = OlympiadGameManager.getInstance().getOlympiadTask(getOlympiadGameId());\n\t\t\t\tif (game != null && game.isBattleStarted())\n\t\t\t\t\tgame.getZone().broadcastStatusUpdate(this);\n\t\t\t}\n\t\t}\n\t\tif (isInDuel())\n\t\t{\n\t\t\tExDuelUpdateUserInfo update = new ExDuelUpdateUserInfo(this);\n\t\t\tDuelManager.getInstance().broadcastToOppositeTeam(this, update);\n\t\t}\n\t}", "title": "" }, { "docid": "30a28b6136d2383b4d4a81b3829cf7ba", "score": "0.50910676", "text": "public void setStatus(int s) {\r\n\t status=s;\r\n }", "title": "" }, { "docid": "499561ea9872117bb8eaf04dd9fb8722", "score": "0.5088382", "text": "public void setStatus(java.lang.String param){\n \n this.localStatus=param;\n \n\n }", "title": "" }, { "docid": "67d0b52ae2bed2afd7e4d9e987a2b7d2", "score": "0.5084059", "text": "@Override\n\t\tpublic void onCallStateChanged(int state, String incomingNumber) {\n\t\t\tsuper.onCallStateChanged(state, incomingNumber);\n\t\t\tswitch (state) {\n\t\t\tcase TelephonyManager.CALL_STATE_IDLE:\n\t\t\t\t//当电话空闲的时候的状态\n\t\t\t\t//当处于空闲状态的时候,没有任何的操作,就需要把这个吐司给关闭\n\t\t\t\tLog.i(tag, \"当电话空闲的时候的状态\");\n\t\t\t\tif(mWM!=null&&toast_view!=null){\n\t\t\t\t\t//当view不为空的时候, 就移除\n\t\t\t\t\tmWM.removeView(toast_view);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\tcase TelephonyManager.CALL_STATE_RINGING:\n\t\t\t\t//当电话处于响铃的时候的状态,就出现一个自定义的吐司\n\t\t\t\tLog.i(tag, \"当电话处于响铃的时候的状态\");\n\t\t\t\t//展示自定义的控件\n\t\t\t\tshowToast(incomingNumber);\n\t\t\t\tbreak;\n\t\t\tcase TelephonyManager.CALL_STATE_OFFHOOK:\n\t\t\t\t//当电话处于摘机的时候的状态\n\t\t\t\tLog.i(tag, \"当电话处于摘机的时候的状态\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "06d1ef39f8ebdb06bf6620c14f6c1397", "score": "0.5079685", "text": "public void updateMisstrauen() {\r\n \t\tString s = (float) Math.round(this.simulation\r\n \t\t\t\t.calcMisstrauenInStreet() * 100) / 100 + \"%\";\r\n \t\tthis.anzeigeStatusMisstrauen.setText(s);\r\n \t}", "title": "" }, { "docid": "6be03e584d59d2f1796df3a47d4d8efc", "score": "0.5075929", "text": "@Override\n\t\tpublic void onStatusUpdate(String name, int status, String desc) {\n\t\t}", "title": "" }, { "docid": "5c17298ec98ebcb4a865fd68c341208e", "score": "0.5059087", "text": "public void status(Object status);", "title": "" }, { "docid": "a485d2938eb00f04538cbc68d6de3cc0", "score": "0.50572646", "text": "@Override\n public void onCallStateChanged(int state, String incomingNumber) { //Verifica el estado de la llamada\n super.onCallStateChanged(state, incomingNumber);\n\n numLlamada = incomingNumber;\n\n switch (state) {\n case TelephonyManager.CALL_STATE_IDLE: //Llamada Terminada/Finalizada/Colgada\n break;\n case TelephonyManager.CALL_STATE_RINGING: //Llamada entrante (sonando)\n send();\n break;\n case TelephonyManager.CALL_STATE_OFFHOOK: //Llamada contestada\n break;\n }\n }", "title": "" }, { "docid": "f9942dc9a20627626fa529a58327e825", "score": "0.50502825", "text": "public void updateStatus (String message)\n {\n setStatus(message, -1, -1L, true);\n }", "title": "" }, { "docid": "5d2380fb538a371fa1328faffa4067d0", "score": "0.5049912", "text": "private void updateCallDuration() {\n if (mCallStart > 0) {\n if (tvCallDuration != null)\n tvCallDuration.setText(formatTimespan(System.currentTimeMillis() - mCallStart));\n }\n }", "title": "" }, { "docid": "8153e12bd04ebff0366a9054d7059d32", "score": "0.50290823", "text": "public void setStatus(String status)\n/* 141: */ {\n/* 142:142 */ this.status = status;\n/* 143: */ }", "title": "" }, { "docid": "e798a6c9886b8b6ff32bc3f011902931", "score": "0.5028969", "text": "public void getStatus(LocationUpdateCallback callback)\n {\n serviceHandler.post(() ->\n mainHandler.post(() -> callback.onLocationUpdate(resolutionStatus))\n );\n }", "title": "" }, { "docid": "eaa149feb252db58335194b960e37cfc", "score": "0.50203615", "text": "private void displayCurrentStatus() {\n\n // let the user know where they stand\n this.communicate(\"The word or phrase to guess is \" + game.getMaskedWord() + \".\\n\");\n\n // announce which letters have been guessed\n if (game.getLettersGuessed().length() > 0) {\n this.communicate(\"So far, you've guessed : \" + game.getLettersGuessed() + \"\\n\");\n }\n\n this.communicate(\"You have \" + game.getNumberOfIncorrectGuessesRemaining() + \" guesses remaining. \\n\");\n\n }", "title": "" }, { "docid": "9f27bcc8c232d2805b5143681d92f38d", "score": "0.50181407", "text": "public void setStatus(String text) {\n status.setText(text);\n }", "title": "" }, { "docid": "5bf0f027f144a6098c44cc90f24e0a13", "score": "0.50071883", "text": "boolean btSetStatus(boolean stat);", "title": "" }, { "docid": "98759a6aacee38f4625b041b64fca69b", "score": "0.5005162", "text": "public void update(Status e) {\n\t\t\n\t}", "title": "" }, { "docid": "34507db2c1473601398e85abf8299df9", "score": "0.49975148", "text": "public void setStatus (String status){\r\n\t\tthis.statusLabel.setText(status);\r\n\t}", "title": "" }, { "docid": "401db927456234e70f2a2352d830adbe", "score": "0.4996688", "text": "@Override \n public void onStatus(Status status) {\n System.out.println(\"OnStatus() called\");\n System.out.println(status.getText());\n notifyObservers(status.getText());\n }", "title": "" }, { "docid": "5a9aa7301b02445eb97e1a8860a495e3", "score": "0.4990402", "text": "void onStatusChanged(int oldStatus, int newStatus);", "title": "" }, { "docid": "4cb83a26e87d3d0d8352a559e435032a", "score": "0.49891314", "text": "protected void setStatus(IStatus status) {\n fStatus = status;\n }", "title": "" }, { "docid": "d7eb6ef07409039ec3ed2edea9b8663e", "score": "0.49857548", "text": "void setStatus(int status);", "title": "" }, { "docid": "d7eb6ef07409039ec3ed2edea9b8663e", "score": "0.49857548", "text": "void setStatus(int status);", "title": "" }, { "docid": "333251c48e6a2fe1a5f46c94c9582503", "score": "0.49824932", "text": "public interface ObserverSip {\n void onRegistration(String accountID, pjsip_status_code registrationStateCode);\n void onCallState(String accountID, int callID, pjsip_inv_state callStateCode, long connectTimestamp, boolean isLocalHold, boolean isLocalMute);\n void onMessageNotify(String accountID, String fromUri, String msg);\n void onOutgoingCall(String accountID, int callID, String number);\n}", "title": "" }, { "docid": "15f2ca82741e1da52074f38e39984f42", "score": "0.49750462", "text": "@Override\n\tpublic void writeOnStatusBar(String s, int size) {\n\t}", "title": "" }, { "docid": "562e2477d08858f989c48a8233114813", "score": "0.497252", "text": "public abstract void updateConnectivityStatus(boolean z);", "title": "" }, { "docid": "dfa8aae115e278783399070381e86946", "score": "0.49710187", "text": "public void setStatus(String status){\n\t\tlblStatus.setText(\"Status: \"+status);\n\t}", "title": "" }, { "docid": "6ae7528a371a8f39dc0b306072fd4752", "score": "0.49654865", "text": "public void changeLocalStatus(View view){\n Button button = view.findViewById(R.id.safeLocalButton);\n View parent_view = (View) button.getParent();\n TextView textView = parent_view.findViewById(R.id.safeLocalTextView);\n boolean markAsSafe = textView.getText().equals(getResources().getString(R.string.this_location_is_unsafe));\n try {\n int wifiId = ((DrawerActivity)getActivity()).getWifiId();\n if (markAsSafe)\n ((DrawerActivity)getActivity()).addSafeWifi(wifiId);\n else\n ((DrawerActivity)getActivity()).removeSafeWifi(wifiId);\n parent_view.findViewById(R.id.safeLocalProgress).setVisibility(View.VISIBLE);\n new Thread(() -> {\n try {\n if(!((DrawerActivity)getActivity()).updateLocalStatus(markAsSafe ? \"OK\" : \"NO\"))\n try {\n getActivity().runOnUiThread(() -> { Toast.makeText(getContext(), \"Could not update server, attempting later!\", Toast.LENGTH_LONG).show(); });\n } catch (NullPointerException ignored) {}\n } catch (Exception e) {\n e.printStackTrace();\n try {\n getActivity().runOnUiThread(() -> { Toast.makeText(getContext(), \"Could not update server, attempting later!\", Toast.LENGTH_LONG).show(); });\n } catch (NullPointerException ignored) {}\n } finally {\n try {\n getActivity().runOnUiThread(() -> { parent_view.findViewById(R.id.safeLocalProgress).setVisibility(View.GONE); });\n } catch (NullPointerException ignored) {}\n }\n }).start(); // send information to auth\n updateUI(view, markAsSafe);\n } catch (Exception e) {\n e.printStackTrace();\n Toast.makeText(getContext(), \"An error occurred, please try again!\", Toast.LENGTH_LONG).show();\n }\n }", "title": "" }, { "docid": "440b7326ed7a46aa0241cda27047bb09", "score": "0.49650717", "text": "private void updateLocationUI(Location location) {\n if (!isLocationNameAvailable) {\n locationTv.setText(\"Latitude : \" + location.getLatitude() + \"\\nLongitude : \" + location.getLongitude());\n }\n }", "title": "" }, { "docid": "9db93b63dd5f24e52e6908ca159486aa", "score": "0.49576354", "text": "public void setStatus(Status status) {\n this.statusLabel.setText(status.toString());\n }", "title": "" }, { "docid": "60902de449da93043f0e58c0fb2d4b8d", "score": "0.49544176", "text": "@Headers({\n \"Content-Type:application/json\"\n })\n @POST(\"watchlist_screening/individual/update\")\n Call<WatchlistScreeningIndividualUpdateResponse> watchlistScreeningIndividualUpdate(\n @retrofit2.http.Body WatchlistScreeningIndividualUpdateRequest watchlistScreeningIndividualUpdateRequest\n );", "title": "" }, { "docid": "311c239e8800a569196b55e460dffe8b", "score": "0.49463382", "text": "@Override\r\n\tpublic void updateStatus(String report_missing_sta, String report_missing_id, String missing_case_id) {\n\t\t\r\n\t}", "title": "" }, { "docid": "6ffe0c79c966bbf64c054c2601b75a99", "score": "0.49442866", "text": "private void updateEETStatus() {\n\t\tILocationProxy eet = mServiceConnector.getService().getLocationProxy();\n\t\teet_status.setText(eet.getEETStatus());\n\n\t\tif (eet.getPredStatus() == ILocationProxy.PRED_ON) {\n\t\t\tPolylineOptions options = new PolylineOptions().width(5).color(\n\t\t\t\t\tColor.RED);\n\t\t\tfor (GPXTrack.Trkpt pt : eet.getPredTempTrack().getTrackPoints()) {\n\t\t\t\toptions.add(new LatLng(pt.lat, pt.lon));\n\t\t\t}\n\t\t\tmMap.addPolyline(options);\n\t\t}\n\t}", "title": "" }, { "docid": "5b9ff8d835fcbef1656bcc1bf6758d13", "score": "0.49429315", "text": "public void refresh()\r\n {\r\n audioManager.sendRequest(MainUI.connection.getRoster().getPresence(entry.getUser()).getFrom());\r\n }", "title": "" }, { "docid": "3da096bad90745bb77e1122172a8b75d", "score": "0.49378103", "text": "private void updateGuiPccSP(String nextRoundSp) {\r\n \trsGui.getDisplay().asyncExec(new Runnable() {\r\n public void run() {\r\n \t\trsGui.updatePCCsetpoint(getName(), nextRoundSp); \t\r\n }\r\n \t});\r\n }", "title": "" }, { "docid": "68b41e6ae8f490362266f104032d52f1", "score": "0.49314597", "text": "private void updateStat() {\r\n\t mgr = (LocationManager) getSystemService(LOCATION_SERVICE);\r\n\t \r\n\t Criteria criteria = new Criteria();\r\n\t best = mgr.getBestProvider(criteria, true);\r\n\t Location location = mgr.getLastKnownLocation(best);\r\n\t onLocationChanged(location);\r\n\t // pop up\r\n\t located=new String();\r\n\t StringBuffer msg = new StringBuffer();\r\n\t msg.append(\"Now you location: \");\r\n\t msg.append(\"Latitude: \");\r\n\t msg.append(Double.toString(location.getLatitude()));\r\n\t msg.append(\", Longitude: \");\r\n\t msg.append(Double.toString(location.getLongitude()));\r\n\t if(emotion.i==4){\r\n\t \temotion.i=3;\r\n\t }\r\n\t \r\n\t located=Double.toString(location.getLatitude()-25)+\"-\"+Double.toString(location.getLongitude()-121)+\"-\"+String.valueOf(emotion.i+1)+\"-\";\r\n\t }", "title": "" }, { "docid": "4f63370235d15f44edd17efbeda991cd", "score": "0.49243322", "text": "private void changeStatus(){\n int receiptId = salesList.get(0).getReceiptId();\n System.out.println(\"receipt id : \" + receiptId);\n listOfItem(receiptId);\n Sales sale = salesDao.getUpdateUnpaidFromId(receiptId);\n try {\n salesDao.update(new Sales(sale.getDate(), sale.getReceiptId(), sale.getCompany(), sale.getQuantity(), sale.getTotal(), \"paid\"));\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\n alert.setTitle(\"Update status\");\n alert.setHeaderText(\"Order: \" + receiptId + \"\\n\" + salesList.get(0).getCompany());\n alert.setContentText(\"Paid, Successful!\");\n\n alert.showAndWait();\n\n ChangePage.changeUI(\"UI/SaleUI.fxml\", pane);\n }", "title": "" }, { "docid": "28b22ecfd92ff9b8b27ec759f54a452c", "score": "0.49131948", "text": "public void updateStatus() {\n\t\t//\n\t\t// Robot.table.putNumber(\"Front Left Position X\",\n\t\t// this.m_leftFront.fieldX);\n\t\t// Robot.table.putNumber(\"Front Left Position Y\",\n\t\t// this.m_leftFront.fieldY);\n\t\t//\n\t\t// Robot.table.putNumber(\"Back Left Position X\",\n\t\t// this.m_leftBack.fieldX);\n\t\t// Robot.table.putNumber(\"Back Left Position Y\",\n\t\t// this.m_leftBack.fieldY);\n\t\t//\n\t\t// Robot.table.putNumber(\"Front Right Position X\",\n\t\t// this.m_rightFront.fieldX);\n\t\t// Robot.table.putNumber(\"Front Right Position Y\",\n\t\t// this.m_rightFront.fieldY);\n\t\t//\n\t\t// Robot.table.putNumber(\"Back Right Position X\",\n\t\t// this.m_rightBack.fieldX);\n\t\t// Robot.table.putNumber(\"Back Right Position Y\",\n\t\t// this.m_rightBack.fieldY);\n\n\t\tSmartDashboard.putNumber(\"Robot Position X\", robotPosition()[0]);\n\t\tSmartDashboard.putNumber(\"Robot Position Y\", robotPosition()[1]);\n\n\t\t// SmartDashboard.putNumber(\"Front Left Error\",\n\t\t// this.m_leftFront.PIDController.getError());\n\t\t// SmartDashboard.putNumber(\"Back Left Error\",\n\t\t// this.m_leftBack.PIDController.getError());\n\t\t// SmartDashboard.putNumber(\"Front Right Error\",\n\t\t// this.m_rightFront.PIDController.getError());\n\t\t// SmartDashboard.putNumber(\"Back Right Error\",\n\t\t// this.m_rightBack.PIDController.getError());\n\n\t\t// SmartDashboard.putNumber(\"Encoder\",\n\t\t// this.m_leftFront.driveEncoder.get());\n\n\t\t// SmartDashboard.putNumber(\"Front Left Test Angle\",\n\t\t// this.m_leftFront.testAng);\n\t\t// SmartDashboard.putNumber(\"Back Left Test Angle\",\n\t\t// this.m_leftBack.testAng);\n\t\t// SmartDashboard.putNumber(\"Front Right Test Angle\",\n\t\t// this.m_rightFront.testAng);\n\t\t// SmartDashboard.putNumber(\"Back Right Test Angle\",\n\t\t// this.m_rightBack.testAng);\n\t}", "title": "" }, { "docid": "90c2d1f433b8986c5e5db158bb70bd48", "score": "0.49130827", "text": "@Override\n\tprotected void sendStatusMSGtoUI(String msg) {\n\t\t\n\t}", "title": "" }, { "docid": "f76a8ce1d4dd21381d1d4b321ef9f5ad", "score": "0.49100247", "text": "default void onPpnStatusUpdated(PpnConnectionStatus status) {}", "title": "" }, { "docid": "af90779cac5670055121040b41dc1059", "score": "0.49060857", "text": "public void setPhone(java.lang.String param){\n localPhoneTracker = true;\n \n this.localPhone=param;\n \n\n }", "title": "" }, { "docid": "9bcd9394c34a02bc03f88a71b144a5cd", "score": "0.49053168", "text": "public void updateWindow(long totalMemory, long freeMemory) {\n getStatusBar().setText(\"Total/Free Memory: \" \n + Long.toString(totalMemory) + \"/\" + Long.toString(freeMemory) + \" bytes (\" + \n Tools.getTimeString() + \")\");\n timeInterval = Long.parseLong(nfield.getText());\n }", "title": "" } ]
badca484d36a21e7d883e8b171199779
$ANTLR end ruleInstType $ANTLR start entryRuleCoding ../nel.Mcore/srcgen/nel/parser/antlr/internal/InternalMcore.g:280:1: entryRuleCoding returns [EObject current=null] : iv_ruleCoding= ruleCoding EOF ;
[ { "docid": "e3215d13021e9ff86bff5798eec1637a", "score": "0.7920549", "text": "public final EObject entryRuleCoding() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCoding = null;\n\n\n try {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:280:48: (iv_ruleCoding= ruleCoding EOF )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:281:2: iv_ruleCoding= ruleCoding EOF\n {\n currentNode = createCompositeNode(grammarAccess.getCodingRule(), currentNode); \n pushFollow(FOLLOW_ruleCoding_in_entryRuleCoding541);\n iv_ruleCoding=ruleCoding();\n _fsp--;\n\n current =iv_ruleCoding; \n match(input,EOF,FOLLOW_EOF_in_entryRuleCoding551); \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": "284d0ed3a5f73f0e3129b6507fc5ca38", "score": "0.640562", "text": "public final EObject entryRuleInstruction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleInstruction = null;\n\n\n try {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:114:53: (iv_ruleInstruction= ruleInstruction EOF )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:115:2: iv_ruleInstruction= ruleInstruction EOF\n {\n currentNode = createCompositeNode(grammarAccess.getInstructionRule(), currentNode); \n pushFollow(FOLLOW_ruleInstruction_in_entryRuleInstruction178);\n iv_ruleInstruction=ruleInstruction();\n _fsp--;\n\n current =iv_ruleInstruction; \n match(input,EOF,FOLLOW_EOF_in_entryRuleInstruction188); \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": "a777e6c8b5719fecf42e9b1bd84e31f9", "score": "0.6352412", "text": "public final EObject entryRuleInstType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleInstType = null;\n\n\n try {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:230:50: (iv_ruleInstType= ruleInstType EOF )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:231:2: iv_ruleInstType= ruleInstType EOF\n {\n currentNode = createCompositeNode(grammarAccess.getInstTypeRule(), currentNode); \n pushFollow(FOLLOW_ruleInstType_in_entryRuleInstType417);\n iv_ruleInstType=ruleInstType();\n _fsp--;\n\n current =iv_ruleInstType; \n match(input,EOF,FOLLOW_EOF_in_entryRuleInstType427); \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": "59c773835a7640a43db7ba2ab3f27f14", "score": "0.6262761", "text": "public final EObject entryRuleInstruction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleInstruction = null;\n\n\n try {\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:107:2: (iv_ruleInstruction= ruleInstruction EOF )\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:108:2: iv_ruleInstruction= ruleInstruction EOF\n {\n newCompositeNode(grammarAccess.getInstructionRule()); \n pushFollow(FOLLOW_ruleInstruction_in_entryRuleInstruction166);\n iv_ruleInstruction=ruleInstruction();\n\n state._fsp--;\n\n current =iv_ruleInstruction; \n match(input,EOF,FOLLOW_EOF_in_entryRuleInstruction176); \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": "db11e0737b643ab6bb683da33c553bf4", "score": "0.6061739", "text": "public final EObject entryRuleAnnotation() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleAnnotation = null;\r\n\r\n\r\n try {\r\n // ../co.edu.uniandes.csw.dsl.entities/src-gen/co/edu/uniandes/csw/dsl/parser/antlr/internal/InternalEntities.g:208:2: (iv_ruleAnnotation= ruleAnnotation EOF )\r\n // ../co.edu.uniandes.csw.dsl.entities/src-gen/co/edu/uniandes/csw/dsl/parser/antlr/internal/InternalEntities.g:209:2: iv_ruleAnnotation= ruleAnnotation EOF\r\n {\r\n newCompositeNode(grammarAccess.getAnnotationRule()); \r\n pushFollow(FollowSets000.FOLLOW_ruleAnnotation_in_entryRuleAnnotation406);\r\n iv_ruleAnnotation=ruleAnnotation();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleAnnotation; \r\n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAnnotation416); \r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "843e69543676145aa5beb11a76e52a34", "score": "0.6019332", "text": "public final EObject entryRuleE8Rule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleE8Rule = null;\n\n\n try {\n // InternalUclid.g:4619:47: (iv_ruleE8Rule= ruleE8Rule EOF )\n // InternalUclid.g:4620:2: iv_ruleE8Rule= ruleE8Rule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getE8RuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleE8Rule=ruleE8Rule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleE8Rule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "9b2deb3010bb7337dc23ce1d6a6c32ea", "score": "0.600657", "text": "public final EObject ruleCoding() throws RecognitionException {\n EObject current = null;\n\n Token lv_coding_1=null;\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:293:6: ( ( 'coding' (lv_coding_1= RULE_BINARY ) ';' ) )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:294:1: ( 'coding' (lv_coding_1= RULE_BINARY ) ';' )\n {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:294:1: ( 'coding' (lv_coding_1= RULE_BINARY ) ';' )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:294:2: 'coding' (lv_coding_1= RULE_BINARY ) ';'\n {\n match(input,17,FOLLOW_17_in_ruleCoding585); \n\n createLeafNode(grammarAccess.getCodingAccess().getCodingKeyword_0(), null); \n \n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:298:1: (lv_coding_1= RULE_BINARY )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:300:6: lv_coding_1= RULE_BINARY\n {\n lv_coding_1=(Token)input.LT(1);\n match(input,RULE_BINARY,FOLLOW_RULE_BINARY_in_ruleCoding607); \n\n \t\tcreateLeafNode(grammarAccess.getCodingAccess().getCodingBinaryTerminalRuleCall_1_0(), \"coding\"); \n \t\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getCodingRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode, current);\n \t }\n \t \n \t try {\n \t \t\tset(current, \"coding\", lv_coding_1, \"Binary\", lastConsumedNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t \n\n }\n\n match(input,16,FOLLOW_16_in_ruleCoding624); \n\n createLeafNode(grammarAccess.getCodingAccess().getSemicolonKeyword_2(), null); \n \n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" }, { "docid": "ca4246b60b13bdf6d2180b34f5aa3421", "score": "0.58481544", "text": "public final EObject entryRuleStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStatement = null;\n\n\n try {\n // InternalMyDsl.g:152:50: (iv_ruleStatement= ruleStatement EOF )\n // InternalMyDsl.g:153:2: iv_ruleStatement= ruleStatement EOF\n {\n newCompositeNode(grammarAccess.getStatementRule()); \n pushFollow(FOLLOW_1);\n iv_ruleStatement=ruleStatement();\n\n state._fsp--;\n\n current =iv_ruleStatement; \n match(input,EOF,FOLLOW_2); \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": "65f237ac464fe73a7c7fbea11f3ddbc0", "score": "0.5846273", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n try {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:409:52: (iv_ruleExpression= ruleExpression EOF )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:410:2: iv_ruleExpression= ruleExpression EOF\n {\n currentNode = createCompositeNode(grammarAccess.getExpressionRule(), currentNode); \n pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression848);\n iv_ruleExpression=ruleExpression();\n _fsp--;\n\n current =iv_ruleExpression; \n match(input,EOF,FOLLOW_EOF_in_entryRuleExpression858); \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": "e2a1df4c88e05aa693cea221287e11e7", "score": "0.5812603", "text": "public final String entryRuleCodeBlock() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleCodeBlock = null;\n\n\n\n \tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();\n\n try {\n // InternalTdlParser.g:1220:2: (iv_ruleCodeBlock= ruleCodeBlock EOF )\n // InternalTdlParser.g:1221:2: iv_ruleCodeBlock= ruleCodeBlock EOF\n {\n newCompositeNode(grammarAccess.getCodeBlockRule()); \n pushFollow(FOLLOW_1);\n iv_ruleCodeBlock=ruleCodeBlock();\n\n state._fsp--;\n\n current =iv_ruleCodeBlock.getText(); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n\n \tmyHiddenTokenState.restore();\n\n }\n return current;\n }", "title": "" }, { "docid": "38dd2e76ae1ab70ff99703cb34c222b0", "score": "0.5728178", "text": "public final EObject entryRuleE9Rule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleE9Rule = null;\n\n\n try {\n // InternalUclid.g:4682:47: (iv_ruleE9Rule= ruleE9Rule EOF )\n // InternalUclid.g:4683:2: iv_ruleE9Rule= ruleE9Rule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getE9RuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleE9Rule=ruleE9Rule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleE9Rule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "6d8ef2da7f6bba2e1d11e126efec8b24", "score": "0.57211447", "text": "public final EObject entryRuleCodeBlock() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCodeBlock = null;\n\n\n try {\n // InternalMASLParser.g:7738:50: (iv_ruleCodeBlock= ruleCodeBlock EOF )\n // InternalMASLParser.g:7739:2: iv_ruleCodeBlock= ruleCodeBlock EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCodeBlockRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCodeBlock=ruleCodeBlock();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCodeBlock; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "7de72d4c0e9b952b6fef304344211020", "score": "0.5713175", "text": "public final String entryRuleInstTypeLabel() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleInstTypeLabel = null;\n\n\n try {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:1095:54: (iv_ruleInstTypeLabel= ruleInstTypeLabel EOF )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:1096:2: iv_ruleInstTypeLabel= ruleInstTypeLabel EOF\n {\n currentNode = createCompositeNode(grammarAccess.getInstTypeLabelRule(), currentNode); \n pushFollow(FOLLOW_ruleInstTypeLabel_in_entryRuleInstTypeLabel2519);\n iv_ruleInstTypeLabel=ruleInstTypeLabel();\n _fsp--;\n\n current =iv_ruleInstTypeLabel.getText(); \n match(input,EOF,FOLLOW_EOF_in_entryRuleInstTypeLabel2530); \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": "f2052923aadd2824a1ae0a6e7debeb08", "score": "0.5695708", "text": "public final EObject entryRuleStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStatement = null;\n\n\n try {\n // InternalMASLParser.g:6192:50: (iv_ruleStatement= ruleStatement EOF )\n // InternalMASLParser.g:6193:2: iv_ruleStatement= ruleStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getStatementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleStatement=ruleStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleStatement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "e0bc381c0a93bb0aa647dd74f2f8e0d4", "score": "0.56322384", "text": "public final EObject entryRuleCondicion() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleCondicion = null;\r\n\r\n\r\n try {\r\n // InternalPila.g:643:50: (iv_ruleCondicion= ruleCondicion EOF )\r\n // InternalPila.g:644:2: iv_ruleCondicion= ruleCondicion EOF\r\n {\r\n newCompositeNode(grammarAccess.getCondicionRule()); \r\n pushFollow(FOLLOW_1);\r\n iv_ruleCondicion=ruleCondicion();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleCondicion; \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "c4005ad46869a61534dc600403043d78", "score": "0.5604743", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n try {\n // InternalMASLParser.g:8710:51: (iv_ruleExpression= ruleExpression EOF )\n // InternalMASLParser.g:8711:2: iv_ruleExpression= ruleExpression EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpressionRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleExpression=ruleExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExpression; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "779f027eedbee02c38fffe77491e4622", "score": "0.55862164", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n try {\n // ../com.crubier.lil/src-gen/com/crubier/lil/parser/antlr/internal/InternalLil.g:2798:2: (iv_ruleExpression= ruleExpression EOF )\n // ../com.crubier.lil/src-gen/com/crubier/lil/parser/antlr/internal/InternalLil.g:2799:2: iv_ruleExpression= ruleExpression EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpressionRule()); \n }\n pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression5756);\n iv_ruleExpression=ruleExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExpression; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleExpression5766); if (state.failed) return current;\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": "d815eaf81840272008fb0fd87e562137", "score": "0.55756533", "text": "public final EObject entryRuleAssignmentRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAssignmentRule = null;\n\n\n try {\n // InternalUclid.g:3101:55: (iv_ruleAssignmentRule= ruleAssignmentRule EOF )\n // InternalUclid.g:3102:2: iv_ruleAssignmentRule= ruleAssignmentRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getAssignmentRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleAssignmentRule=ruleAssignmentRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleAssignmentRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "4be8ceaefc36194dbd7e85fa976e1429", "score": "0.5559665", "text": "public final void entryRuleRule() throws RecognitionException {\r\n try {\r\n // ../org.kermeta.language.sample.cellularautomata.rules.evolution.cs.ui/src-gen/org/kermeta/language/sample/cellularautomata/rules/ui/contentassist/antlr/internal/InternalEvol.g:89:1: ( ruleRule EOF )\r\n // ../org.kermeta.language.sample.cellularautomata.rules.evolution.cs.ui/src-gen/org/kermeta/language/sample/cellularautomata/rules/ui/contentassist/antlr/internal/InternalEvol.g:90:1: ruleRule EOF\r\n {\r\n before(grammarAccess.getRuleRule()); \r\n pushFollow(FollowSets000.FOLLOW_ruleRule_in_entryRuleRule121);\r\n ruleRule();\r\n\r\n state._fsp--;\r\n\r\n after(grammarAccess.getRuleRule()); \r\n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRule128); \r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ad608e1f3aa5b408ff1602a42bf99ddd", "score": "0.5548782", "text": "public final EObject entryRuleExitStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExitStatement = null;\n\n\n try {\n // InternalMASLParser.g:6421:54: (iv_ruleExitStatement= ruleExitStatement EOF )\n // InternalMASLParser.g:6422:2: iv_ruleExitStatement= ruleExitStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExitStatementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleExitStatement=ruleExitStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExitStatement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "1a5de19c070b736552b676b3fe1d9f9b", "score": "0.55392843", "text": "public final EObject entryRuleStatementRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStatementRule = null;\n\n\n try {\n // InternalUclid.g:2590:54: (iv_ruleStatementRule= ruleStatementRule EOF )\n // InternalUclid.g:2591:2: iv_ruleStatementRule= ruleStatementRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getStatementRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleStatementRule=ruleStatementRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleStatementRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "22497abb060d8480cd85909b78c9b5af", "score": "0.5521532", "text": "public final EObject entryRuleDeclRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleDeclRule = null;\n\n\n try {\n // InternalUclid.g:255:49: (iv_ruleDeclRule= ruleDeclRule EOF )\n // InternalUclid.g:256:2: iv_ruleDeclRule= ruleDeclRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getDeclRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleDeclRule=ruleDeclRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleDeclRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "51a35da84e6808d3a0cd60a5f74569d0", "score": "0.55106544", "text": "public final EObject entryRuleCodeBlockStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCodeBlockStatement = null;\n\n\n try {\n // InternalMASLParser.g:7705:59: (iv_ruleCodeBlockStatement= ruleCodeBlockStatement EOF )\n // InternalMASLParser.g:7706:2: iv_ruleCodeBlockStatement= ruleCodeBlockStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCodeBlockStatementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCodeBlockStatement=ruleCodeBlockStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCodeBlockStatement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "bfa634b2a22e7a92dd2a8cd66259d13e", "score": "0.5498619", "text": "public final EObject entryRuleType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleType = null;\n\n\n try {\n // InternalMyDsl.g:942:45: (iv_ruleType= ruleType EOF )\n // InternalMyDsl.g:943:2: iv_ruleType= ruleType EOF\n {\n newCompositeNode(grammarAccess.getTypeRule()); \n pushFollow(FOLLOW_1);\n iv_ruleType=ruleType();\n\n state._fsp--;\n\n current =iv_ruleType; \n match(input,EOF,FOLLOW_2); \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": "ce6c1a6db4934b17206f540e3974eea1", "score": "0.5495309", "text": "public final String entryRuleEnd() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleEnd = null;\n\n\n try {\n // InternalRuby.g:311:43: (iv_ruleEnd= ruleEnd EOF )\n // InternalRuby.g:312:2: iv_ruleEnd= ruleEnd EOF\n {\n newCompositeNode(grammarAccess.getEndRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEnd=ruleEnd();\n\n state._fsp--;\n\n current =iv_ruleEnd.getText(); \n match(input,EOF,FOLLOW_2); \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": "2007e1cead7151a1766dafd621962a34", "score": "0.54936683", "text": "public final String entryRuleAtom() throws RecognitionException {\r\n String current = null;\r\n\r\n AntlrDatatypeRuleToken iv_ruleAtom = null;\r\n\r\n\r\n try {\r\n // InternalScheme.g:579:44: (iv_ruleAtom= ruleAtom EOF )\r\n // InternalScheme.g:580:2: iv_ruleAtom= ruleAtom EOF\r\n {\r\n newCompositeNode(grammarAccess.getAtomRule()); \r\n pushFollow(FOLLOW_1);\r\n iv_ruleAtom=ruleAtom();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleAtom.getText(); \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "a0ed0e62b7204fb4e8259aecff6d029d", "score": "0.54921967", "text": "public final EObject entryRuleElement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleElement = null;\n\n\n try {\n // InternalMyDsl.g:1804:48: (iv_ruleElement= ruleElement EOF )\n // InternalMyDsl.g:1805:2: iv_ruleElement= ruleElement EOF\n {\n newCompositeNode(grammarAccess.getElementRule()); \n pushFollow(FOLLOW_1);\n iv_ruleElement=ruleElement();\n\n state._fsp--;\n\n current =iv_ruleElement; \n match(input,EOF,FOLLOW_2); \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": "fa9662ffc96de812f10068434359d8cc", "score": "0.5484976", "text": "public final EObject entryRuleTag() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleTag = null;\n\n\n try {\n // InternalMyDsl.g:1887:44: (iv_ruleTag= ruleTag EOF )\n // InternalMyDsl.g:1888:2: iv_ruleTag= ruleTag EOF\n {\n newCompositeNode(grammarAccess.getTagRule()); \n pushFollow(FOLLOW_1);\n iv_ruleTag=ruleTag();\n\n state._fsp--;\n\n current =iv_ruleTag; \n match(input,EOF,FOLLOW_2); \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": "4a8f59b517907e3de94a813a3e6727a5", "score": "0.54640204", "text": "public final EObject entryRuleType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleType = null;\n\n\n try {\n // InternalDomainDSL.g:293:45: (iv_ruleType= ruleType EOF )\n // InternalDomainDSL.g:294:2: iv_ruleType= ruleType EOF\n {\n newCompositeNode(grammarAccess.getTypeRule()); \n pushFollow(FOLLOW_1);\n iv_ruleType=ruleType();\n\n state._fsp--;\n\n current =iv_ruleType; \n match(input,EOF,FOLLOW_2); \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": "fb1fa1a9e38a5cea915bd28207b1f961", "score": "0.54608464", "text": "public final EObject entryRuleLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleLiteral = null;\n\n\n try {\n // InternalMASLParser.g:11262:48: (iv_ruleLiteral= ruleLiteral EOF )\n // InternalMASLParser.g:11263:2: iv_ruleLiteral= ruleLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getLiteralRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleLiteral=ruleLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleLiteral; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "40e14fe6bc41ded1b8d942e53bb72121", "score": "0.543784", "text": "public final EObject entryRuleElement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleElement = null;\n\n\n try {\n // InternalSpeADL.g:234:2: (iv_ruleElement= ruleElement EOF )\n // InternalSpeADL.g:235:2: iv_ruleElement= ruleElement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getElementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleElement=ruleElement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleElement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "470b9e2ac03f729b1f4b220950ad170f", "score": "0.54272664", "text": "public final Boolean entryRuleModel() throws RecognitionException {\n Boolean current = false;\n\n Boolean iv_ruleModel = null;\n\n\n try {\n // PsiInternalTerminalRulesTestLanguage.g:52:47: (iv_ruleModel= ruleModel EOF )\n // PsiInternalTerminalRulesTestLanguage.g:53:2: iv_ruleModel= ruleModel EOF\n {\n markComposite(elementTypeProvider.getModelElementType()); \n pushFollow(FollowSets000.FOLLOW_1);\n iv_ruleModel=ruleModel();\n\n state._fsp--;\n\n current =iv_ruleModel; \n match(input,EOF,FollowSets000.FOLLOW_2); \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": "3d2bc9c84feb94f55300f83a29715718", "score": "0.54231656", "text": "public final EObject entryRuleAction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAction = null;\n\n\n try {\n // InternalMyDsl.g:265:47: (iv_ruleAction= ruleAction EOF )\n // InternalMyDsl.g:266:2: iv_ruleAction= ruleAction EOF\n {\n newCompositeNode(grammarAccess.getActionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleAction=ruleAction();\n\n state._fsp--;\n\n current =iv_ruleAction; \n match(input,EOF,FOLLOW_2); \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": "1dd2d6c82953e7ad240f22631073649e", "score": "0.53962696", "text": "public final EObject entryRuleAttribute() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleAttribute = null;\r\n\r\n\r\n try {\r\n // ../co.edu.uniandes.csw.dsl.entities/src-gen/co/edu/uniandes/csw/dsl/parser/antlr/internal/InternalEntities.g:604:2: (iv_ruleAttribute= ruleAttribute EOF )\r\n // ../co.edu.uniandes.csw.dsl.entities/src-gen/co/edu/uniandes/csw/dsl/parser/antlr/internal/InternalEntities.g:605:2: iv_ruleAttribute= ruleAttribute EOF\r\n {\r\n newCompositeNode(grammarAccess.getAttributeRule()); \r\n pushFollow(FollowSets000.FOLLOW_ruleAttribute_in_entryRuleAttribute1230);\r\n iv_ruleAttribute=ruleAttribute();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleAttribute; \r\n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAttribute1240); \r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "8481c214fcdad49bbee91448fbee4306", "score": "0.5394198", "text": "public final EObject entryRuleAnnotationAttribute() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleAnnotationAttribute = null;\r\n\r\n\r\n try {\r\n // ../co.edu.uniandes.csw.dsl.entities/src-gen/co/edu/uniandes/csw/dsl/parser/antlr/internal/InternalEntities.g:503:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF )\r\n // ../co.edu.uniandes.csw.dsl.entities/src-gen/co/edu/uniandes/csw/dsl/parser/antlr/internal/InternalEntities.g:504:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF\r\n {\r\n newCompositeNode(grammarAccess.getAnnotationAttributeRule()); \r\n pushFollow(FollowSets000.FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute1003);\r\n iv_ruleAnnotationAttribute=ruleAnnotationAttribute();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleAnnotationAttribute; \r\n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAnnotationAttribute1013); \r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "8de80f1b856aaa61c3ffbc48f985b205", "score": "0.5392888", "text": "public final EObject entryRuleCondition() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCondition = null;\n\n\n try {\n // InternalMyDsl.g:1646:50: (iv_ruleCondition= ruleCondition EOF )\n // InternalMyDsl.g:1647:2: iv_ruleCondition= ruleCondition EOF\n {\n newCompositeNode(grammarAccess.getConditionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleCondition=ruleCondition();\n\n state._fsp--;\n\n current =iv_ruleCondition; \n match(input,EOF,FOLLOW_2); \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": "18f798c40cffa028f45f330d089c851c", "score": "0.5391128", "text": "public final EObject entryRuleCondition() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCondition = null;\n\n\n try {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:624:51: (iv_ruleCondition= ruleCondition EOF )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:625:2: iv_ruleCondition= ruleCondition EOF\n {\n currentNode = createCompositeNode(grammarAccess.getConditionRule(), currentNode); \n pushFollow(FOLLOW_ruleCondition_in_entryRuleCondition1333);\n iv_ruleCondition=ruleCondition();\n _fsp--;\n\n current =iv_ruleCondition; \n match(input,EOF,FOLLOW_EOF_in_entryRuleCondition1343); \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": "f9b20d87b8765ff256172d04713f46bc", "score": "0.53896356", "text": "public final Boolean entryRuleDecl() throws RecognitionException {\n Boolean current = false;\n\n Boolean iv_ruleDecl = null;\n\n\n try {\n // PsiInternalFormatterTestLanguage.g:222:46: (iv_ruleDecl= ruleDecl EOF )\n // PsiInternalFormatterTestLanguage.g:223:2: iv_ruleDecl= ruleDecl EOF\n {\n markComposite(elementTypeProvider.getDeclElementType()); \n pushFollow(FollowSets000.FOLLOW_1);\n iv_ruleDecl=ruleDecl();\n\n state._fsp--;\n\n current =iv_ruleDecl; \n match(input,EOF,FollowSets000.FOLLOW_2); \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": "2e02ee47384ace2de404bff8c3cf67bc", "score": "0.5387741", "text": "public final EObject entryRuleModel() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModel = null;\n\n\n try {\n // InternalRuby.g:64:46: (iv_ruleModel= ruleModel EOF )\n // InternalRuby.g:65:2: iv_ruleModel= ruleModel EOF\n {\n newCompositeNode(grammarAccess.getModelRule()); \n pushFollow(FOLLOW_1);\n iv_ruleModel=ruleModel();\n\n state._fsp--;\n\n current =iv_ruleModel; \n match(input,EOF,FOLLOW_2); \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": "37bbd9f27030bfcc3a99c192ca9c006e", "score": "0.538604", "text": "public final EObject entryRuleContractInstance() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleContractInstance = null;\n\n\n try {\n // ../org.xtext.hipie/src-gen/org/xtext/hipie/parser/antlr/internal/InternalHIPIE.g:917:2: (iv_ruleContractInstance= ruleContractInstance EOF )\n // ../org.xtext.hipie/src-gen/org/xtext/hipie/parser/antlr/internal/InternalHIPIE.g:918:2: iv_ruleContractInstance= ruleContractInstance EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getContractInstanceRule()); \n }\n pushFollow(FOLLOW_ruleContractInstance_in_entryRuleContractInstance1843);\n iv_ruleContractInstance=ruleContractInstance();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleContractInstance; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleContractInstance1853); if (state.failed) return current;\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": "a6bf4c3df0963f8f7d34a4f68e8b34db", "score": "0.5382975", "text": "public final EObject entryRuleModel() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleModel = null;\r\n\r\n\r\n try {\r\n // InternalScheme.g:64:46: (iv_ruleModel= ruleModel EOF )\r\n // InternalScheme.g:65:2: iv_ruleModel= ruleModel EOF\r\n {\r\n newCompositeNode(grammarAccess.getModelRule()); \r\n pushFollow(FOLLOW_1);\r\n iv_ruleModel=ruleModel();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleModel; \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "f73f9481ec07a88352ee1ffabb1114a0", "score": "0.5379486", "text": "public final EObject entryRuleDeclaration() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleDeclaration = null;\n\n\n try {\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:147:2: (iv_ruleDeclaration= ruleDeclaration EOF )\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:148:2: iv_ruleDeclaration= ruleDeclaration EOF\n {\n newCompositeNode(grammarAccess.getDeclarationRule()); \n pushFollow(FOLLOW_ruleDeclaration_in_entryRuleDeclaration285);\n iv_ruleDeclaration=ruleDeclaration();\n\n state._fsp--;\n\n current =iv_ruleDeclaration; \n match(input,EOF,FOLLOW_EOF_in_entryRuleDeclaration295); \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": "2e2e7829e804e8049e87eaeaa34bff34", "score": "0.53724504", "text": "public final EObject entryRuleComponent() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleComponent = null;\n\n\n try {\n // InternalSpeADL.g:623:2: (iv_ruleComponent= ruleComponent EOF )\n // InternalSpeADL.g:624:2: iv_ruleComponent= ruleComponent EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getComponentRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleComponent=ruleComponent();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleComponent; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "6baa34f5eb8ec1408de61461150586a4", "score": "0.5359041", "text": "public final EObject entryRuleTypeDeclRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleTypeDeclRule = null;\n\n\n try {\n // InternalUclid.g:441:53: (iv_ruleTypeDeclRule= ruleTypeDeclRule EOF )\n // InternalUclid.g:442:2: iv_ruleTypeDeclRule= ruleTypeDeclRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getTypeDeclRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleTypeDeclRule=ruleTypeDeclRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleTypeDeclRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "92416709b0f5a94e4971033a959f1591", "score": "0.5335726", "text": "public final EObject entryRuleModelRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModelRule = null;\n\n\n try {\n // InternalUclid.g:70:50: (iv_ruleModelRule= ruleModelRule EOF )\n // InternalUclid.g:71:2: iv_ruleModelRule= ruleModelRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getModelRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleModelRule=ruleModelRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleModelRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "4c8b155f2355fa2fedb9ffe5af937c1b", "score": "0.5324865", "text": "public final EObject entryRuleE12Rule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleE12Rule = null;\n\n\n try {\n // InternalUclid.g:4955:48: (iv_ruleE12Rule= ruleE12Rule EOF )\n // InternalUclid.g:4956:2: iv_ruleE12Rule= ruleE12Rule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getE12RuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleE12Rule=ruleE12Rule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleE12Rule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "80398c2fdcb1f3ab2e4d3eef0c5f7146", "score": "0.5308124", "text": "public final EObject entryRuleModel() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModel = null;\n\n\n try {\n // InternalMyDsl.g:65:46: (iv_ruleModel= ruleModel EOF )\n // InternalMyDsl.g:66:2: iv_ruleModel= ruleModel EOF\n {\n newCompositeNode(grammarAccess.getModelRule()); \n pushFollow(FOLLOW_1);\n iv_ruleModel=ruleModel();\n\n state._fsp--;\n\n current =iv_ruleModel; \n match(input,EOF,FOLLOW_2); \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": "04515748526f5f50174f373420460545", "score": "0.53006995", "text": "public final EObject entryRuleE1Rule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleE1Rule = null;\n\n\n try {\n // InternalUclid.g:3809:47: (iv_ruleE1Rule= ruleE1Rule EOF )\n // InternalUclid.g:3810:2: iv_ruleE1Rule= ruleE1Rule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getE1RuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleE1Rule=ruleE1Rule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleE1Rule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "7094c63ca1c7329d7fc0126aadb2d0b6", "score": "0.52888644", "text": "public final EObject entryRuleModel() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModel = null;\n\n\n try {\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:72:47: (iv_ruleModel= ruleModel EOF )\n // ../nel.Mcore/src-gen/nel/parser/antlr/internal/InternalMcore.g:73:2: iv_ruleModel= ruleModel EOF\n {\n currentNode = createCompositeNode(grammarAccess.getModelRule(), currentNode); \n pushFollow(FOLLOW_ruleModel_in_entryRuleModel73);\n iv_ruleModel=ruleModel();\n _fsp--;\n\n current =iv_ruleModel; \n match(input,EOF,FOLLOW_EOF_in_entryRuleModel83); \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": "68415fe5763d0e9c73679adbe0344e60", "score": "0.5278293", "text": "public final String entryRuleType() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleType = null;\n\n\n try {\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:208:2: (iv_ruleType= ruleType EOF )\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:209:2: iv_ruleType= ruleType EOF\n {\n newCompositeNode(grammarAccess.getTypeRule()); \n pushFollow(FOLLOW_ruleType_in_entryRuleType411);\n iv_ruleType=ruleType();\n\n state._fsp--;\n\n current =iv_ruleType.getText(); \n match(input,EOF,FOLLOW_EOF_in_entryRuleType422); \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": "d624b026affb8f2a1c6ea237339f14da", "score": "0.5270588", "text": "public final EObject entryRuleE11Rule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleE11Rule = null;\n\n\n try {\n // InternalUclid.g:4843:48: (iv_ruleE11Rule= ruleE11Rule EOF )\n // InternalUclid.g:4844:2: iv_ruleE11Rule= ruleE11Rule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getE11RuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleE11Rule=ruleE11Rule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleE11Rule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "fb60b5e6ca46d0e427f12fcf156d96c7", "score": "0.5270053", "text": "public final EObject entryRuleIfStmtRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleIfStmtRule = null;\n\n\n try {\n // InternalUclid.g:3299:51: (iv_ruleIfStmtRule= ruleIfStmtRule EOF )\n // InternalUclid.g:3300:2: iv_ruleIfStmtRule= ruleIfStmtRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getIfStmtRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleIfStmtRule=ruleIfStmtRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleIfStmtRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "32b19ce71fd90dcaf3e7b876ecccef4e", "score": "0.5260436", "text": "public final EObject entryRuleE2Rule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleE2Rule = null;\n\n\n try {\n // InternalUclid.g:3963:47: (iv_ruleE2Rule= ruleE2Rule EOF )\n // InternalUclid.g:3964:2: iv_ruleE2Rule= ruleE2Rule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getE2RuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleE2Rule=ruleE2Rule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleE2Rule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "4ff665707ed8017ebf4ec48b91014c24", "score": "0.5255139", "text": "public final EObject entryRuleCharacterLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCharacterLiteral = null;\n\n\n try {\n // InternalMASLParser.g:11511:57: (iv_ruleCharacterLiteral= ruleCharacterLiteral EOF )\n // InternalMASLParser.g:11512:2: iv_ruleCharacterLiteral= ruleCharacterLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCharacterLiteralRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCharacterLiteral=ruleCharacterLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCharacterLiteral; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "07873801cc8d876360c7ba922b1780ed", "score": "0.5254674", "text": "public final EObject entryRuleAdd() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAdd = null;\n\n\n try {\n // InternalMDEProject.g:277:44: (iv_ruleAdd= ruleAdd EOF )\n // InternalMDEProject.g:278:2: iv_ruleAdd= ruleAdd EOF\n {\n newCompositeNode(grammarAccess.getAddRule()); \n pushFollow(FOLLOW_1);\n iv_ruleAdd=ruleAdd();\n\n state._fsp--;\n\n current =iv_ruleAdd; \n match(input,EOF,FOLLOW_2); \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": "c2beec803a06b3d85eb55744af18203b", "score": "0.52531445", "text": "public final EObject entryRuleModel() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModel = null;\n\n\n try {\n // InternalTdlParser.g:57:46: (iv_ruleModel= ruleModel EOF )\n // InternalTdlParser.g:58:2: iv_ruleModel= ruleModel EOF\n {\n newCompositeNode(grammarAccess.getModelRule()); \n pushFollow(FOLLOW_1);\n iv_ruleModel=ruleModel();\n\n state._fsp--;\n\n current =iv_ruleModel; \n match(input,EOF,FOLLOW_2); \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": "906b1719f1981222ebe456ae5b6403c3", "score": "0.52489144", "text": "public final EObject entryRuleAttribute() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAttribute = null;\n\n\n try {\n // InternalStateSystem.g:1198:50: (iv_ruleAttribute= ruleAttribute EOF )\n // InternalStateSystem.g:1199:2: iv_ruleAttribute= ruleAttribute EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getAttributeRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleAttribute=ruleAttribute();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleAttribute; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "2d2a59d8b719e17549bfc4d14dc0542c", "score": "0.52484757", "text": "public final EObject entryRuleTypeRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleTypeRule = null;\n\n\n try {\n // InternalUclid.g:5649:49: (iv_ruleTypeRule= ruleTypeRule EOF )\n // InternalUclid.g:5650:2: iv_ruleTypeRule= ruleTypeRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getTypeRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleTypeRule=ruleTypeRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleTypeRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "967a89150d75c153dea84357dd6c8318", "score": "0.524701", "text": "public final EObject entryRuleModel() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModel = null;\n\n\n try {\n // InternalSpeADL.g:68:2: (iv_ruleModel= ruleModel EOF )\n // InternalSpeADL.g:69:2: iv_ruleModel= ruleModel EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getModelRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleModel=ruleModel();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleModel; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "51e20ebf28569c9aafdde493b286dae3", "score": "0.5242256", "text": "public final EObject entryRuleFunction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFunction = null;\n\n\n try {\n // InternalMyDsl.g:1174:49: (iv_ruleFunction= ruleFunction EOF )\n // InternalMyDsl.g:1175:2: iv_ruleFunction= ruleFunction EOF\n {\n newCompositeNode(grammarAccess.getFunctionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFunction=ruleFunction();\n\n state._fsp--;\n\n current =iv_ruleFunction; \n match(input,EOF,FOLLOW_2); \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": "8a4c8234fd56d8801a441ebf98709bf0", "score": "0.52376497", "text": "public final EObject entryRuleTalk() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleTalk = null;\n\n\n try {\n // ../org.eclipse.eclipsecon.conference/src-gen/org/eclipse/eclipsecon/parser/antlr/internal/InternalConference.g:213:2: (iv_ruleTalk= ruleTalk EOF )\n // ../org.eclipse.eclipsecon.conference/src-gen/org/eclipse/eclipsecon/parser/antlr/internal/InternalConference.g:214:2: iv_ruleTalk= ruleTalk EOF\n {\n newCompositeNode(grammarAccess.getTalkRule()); \n pushFollow(FOLLOW_ruleTalk_in_entryRuleTalk375);\n iv_ruleTalk=ruleTalk();\n\n state._fsp--;\n\n current =iv_ruleTalk; \n match(input,EOF,FOLLOW_EOF_in_entryRuleTalk385); \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": "5101a955e03753352ed26710e20491b3", "score": "0.52357584", "text": "public final EObject entryRuleVisBasis() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleVisBasis = null;\n\n\n try {\n // ../org.xtext.hipie/src-gen/org/xtext/hipie/parser/antlr/internal/InternalHIPIE.g:3922:2: (iv_ruleVisBasis= ruleVisBasis EOF )\n // ../org.xtext.hipie/src-gen/org/xtext/hipie/parser/antlr/internal/InternalHIPIE.g:3923:2: iv_ruleVisBasis= ruleVisBasis EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getVisBasisRule()); \n }\n pushFollow(FOLLOW_ruleVisBasis_in_entryRuleVisBasis9122);\n iv_ruleVisBasis=ruleVisBasis();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleVisBasis; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleVisBasis9132); if (state.failed) return current;\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": "977d78794e37e50331675297daf34186", "score": "0.52257603", "text": "public final EObject entryRuleReturnStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleReturnStatement = null;\n\n\n try {\n // InternalMASLParser.g:6476:56: (iv_ruleReturnStatement= ruleReturnStatement EOF )\n // InternalMASLParser.g:6477:2: iv_ruleReturnStatement= ruleReturnStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getReturnStatementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleReturnStatement=ruleReturnStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleReturnStatement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "8f5be378be4e9f42bf4c42fcdfb1e7ca", "score": "0.52165926", "text": "public final String entryRuleBegin() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleBegin = null;\n\n\n try {\n // InternalRuby.g:100:45: (iv_ruleBegin= ruleBegin EOF )\n // InternalRuby.g:101:2: iv_ruleBegin= ruleBegin EOF\n {\n newCompositeNode(grammarAccess.getBeginRule()); \n pushFollow(FOLLOW_1);\n iv_ruleBegin=ruleBegin();\n\n state._fsp--;\n\n current =iv_ruleBegin.getText(); \n match(input,EOF,FOLLOW_2); \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": "3e3251aef4ca737a887914a6eb9ab432", "score": "0.5201329", "text": "public final Boolean entryRuleLine() throws RecognitionException {\n Boolean current = false;\n\n Boolean iv_ruleLine = null;\n\n\n try {\n // PsiInternalFormatterTestLanguage.g:110:46: (iv_ruleLine= ruleLine EOF )\n // PsiInternalFormatterTestLanguage.g:111:2: iv_ruleLine= ruleLine EOF\n {\n markComposite(elementTypeProvider.getLineElementType()); \n pushFollow(FollowSets000.FOLLOW_1);\n iv_ruleLine=ruleLine();\n\n state._fsp--;\n\n current =iv_ruleLine; \n match(input,EOF,FollowSets000.FOLLOW_2); \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": "5593e1bb3c0cace5b2d2670b7c0f26a2", "score": "0.52010196", "text": "public final EObject entryRuleCaseStmtRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCaseStmtRule = null;\n\n\n try {\n // InternalUclid.g:3393:53: (iv_ruleCaseStmtRule= ruleCaseStmtRule EOF )\n // InternalUclid.g:3394:2: iv_ruleCaseStmtRule= ruleCaseStmtRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCaseStmtRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCaseStmtRule=ruleCaseStmtRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCaseStmtRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "317656c687fa2c4527e075fab54de1bf", "score": "0.5196109", "text": "public final String entryRuleCodeBlock_2() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleCodeBlock_2 = null;\n\n\n\n \tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();\n\n try {\n // InternalTdlParser.g:1362:2: (iv_ruleCodeBlock_2= ruleCodeBlock_2 EOF )\n // InternalTdlParser.g:1363:2: iv_ruleCodeBlock_2= ruleCodeBlock_2 EOF\n {\n newCompositeNode(grammarAccess.getCodeBlock_2Rule()); \n pushFollow(FOLLOW_1);\n iv_ruleCodeBlock_2=ruleCodeBlock_2();\n\n state._fsp--;\n\n current =iv_ruleCodeBlock_2.getText(); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n\n \tmyHiddenTokenState.restore();\n\n }\n return current;\n }", "title": "" }, { "docid": "e0ca86d6a06da316f45b24667f0a980f", "score": "0.519438", "text": "public final EObject entryRuleEquality() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEquality = null;\n\n\n try {\n // InternalMASLParser.g:9127:49: (iv_ruleEquality= ruleEquality EOF )\n // InternalMASLParser.g:9128:2: iv_ruleEquality= ruleEquality EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getEqualityRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleEquality=ruleEquality();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleEquality; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "fd85bcb1c5ebad0a6ea3c3e43dbff7f0", "score": "0.5188642", "text": "public final EObject entryRuleEdge() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEdge = null;\n\n\n try {\n // InternalStateSystem.g:376:45: (iv_ruleEdge= ruleEdge EOF )\n // InternalStateSystem.g:377:2: iv_ruleEdge= ruleEdge EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getEdgeRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleEdge=ruleEdge();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleEdge; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "c9ca6a0f711347f148f5a9c176afda94", "score": "0.51883906", "text": "public final EObject entryRuleAsset() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleAsset = null;\r\n\r\n\r\n try {\r\n // InternalDmodel.g:2508:2: (iv_ruleAsset= ruleAsset EOF )\r\n // InternalDmodel.g:2509:2: iv_ruleAsset= ruleAsset EOF\r\n {\r\n newCompositeNode(grammarAccess.getAssetRule()); \r\n pushFollow(FOLLOW_1);\r\n iv_ruleAsset=ruleAsset();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleAsset; \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "5e77efc5f1a3e8fd116938a1ab46c070", "score": "0.51760113", "text": "public final EObject entryRuleCmdRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCmdRule = null;\n\n\n try {\n // InternalUclid.g:6356:48: (iv_ruleCmdRule= ruleCmdRule EOF )\n // InternalUclid.g:6357:2: iv_ruleCmdRule= ruleCmdRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCmdRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCmdRule=ruleCmdRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCmdRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "19e340e1d40e3849252f7163ab996e37", "score": "0.51739097", "text": "public final EObject entryRuleIntegerLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleIntegerLiteral = null;\n\n\n try {\n // InternalMASLParser.g:11441:55: (iv_ruleIntegerLiteral= ruleIntegerLiteral EOF )\n // InternalMASLParser.g:11442:2: iv_ruleIntegerLiteral= ruleIntegerLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getIntegerLiteralRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleIntegerLiteral=ruleIntegerLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleIntegerLiteral; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "cc15f68eca6115e4fa50ecc47474f30f", "score": "0.5172895", "text": "public final EObject entryRuleE10Rule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleE10Rule = null;\n\n\n try {\n // InternalUclid.g:4745:48: (iv_ruleE10Rule= ruleE10Rule EOF )\n // InternalUclid.g:4746:2: iv_ruleE10Rule= ruleE10Rule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getE10RuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleE10Rule=ruleE10Rule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleE10Rule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "5d6e98ad4377a58363405705d1c850f1", "score": "0.51712507", "text": "public final EObject entryRuleExprRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExprRule = null;\n\n\n try {\n // InternalUclid.g:3781:49: (iv_ruleExprRule= ruleExprRule EOF )\n // InternalUclid.g:3782:2: iv_ruleExprRule= ruleExprRule EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExprRuleRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleExprRule=ruleExprRule();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExprRule; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "f821df13d38ccd6882d52793c95b2ae5", "score": "0.5168638", "text": "public final EObject entryRuleAction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAction = null;\n\n\n try {\n // InternalPerspectiveDSL.g:1064:47: (iv_ruleAction= ruleAction EOF )\n // InternalPerspectiveDSL.g:1065:2: iv_ruleAction= ruleAction EOF\n {\n newCompositeNode(grammarAccess.getActionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleAction=ruleAction();\n\n state._fsp--;\n\n current =iv_ruleAction; \n match(input,EOF,FOLLOW_2); \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": "cad76542a4f98e2e0a276652eff629a3", "score": "0.5154471", "text": "public final EObject entryRuleGo() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGo = null;\n\n\n try {\n // InternalMyDsl.g:370:43: (iv_ruleGo= ruleGo EOF )\n // InternalMyDsl.g:371:2: iv_ruleGo= ruleGo EOF\n {\n newCompositeNode(grammarAccess.getGoRule()); \n pushFollow(FOLLOW_1);\n iv_ruleGo=ruleGo();\n\n state._fsp--;\n\n current =iv_ruleGo; \n match(input,EOF,FOLLOW_2); \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": "3a51ccdbf458c2c7d2dcc39653fe8698", "score": "0.5144812", "text": "public final EObject entryRuleLinkExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleLinkExpression = null;\n\n\n try {\n // InternalMASLParser.g:9682:55: (iv_ruleLinkExpression= ruleLinkExpression EOF )\n // InternalMASLParser.g:9683:2: iv_ruleLinkExpression= ruleLinkExpression EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getLinkExpressionRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleLinkExpression=ruleLinkExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleLinkExpression; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "19b9e569d8f63bcf5f52a98d3a2b8189", "score": "0.5135234", "text": "public final EObject entryRuleIfStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleIfStatement = null;\n\n\n try {\n // InternalMASLParser.g:7015:52: (iv_ruleIfStatement= ruleIfStatement EOF )\n // InternalMASLParser.g:7016:2: iv_ruleIfStatement= ruleIfStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getIfStatementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleIfStatement=ruleIfStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleIfStatement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "037f0d859beac91e7c9b3666416ae652", "score": "0.51321405", "text": "public final EObject entryRuleThisLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleThisLiteral = null;\n\n\n try {\n // InternalMASLParser.g:11723:52: (iv_ruleThisLiteral= ruleThisLiteral EOF )\n // InternalMASLParser.g:11724:2: iv_ruleThisLiteral= ruleThisLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getThisLiteralRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleThisLiteral=ruleThisLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleThisLiteral; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "f2345a077c4a7c15e1c4af96a2b48480", "score": "0.5123006", "text": "public final EObject entryRuleImpact() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleImpact = null;\r\n\r\n\r\n try {\r\n // InternalDmodel.g:2021:2: (iv_ruleImpact= ruleImpact EOF )\r\n // InternalDmodel.g:2022:2: iv_ruleImpact= ruleImpact EOF\r\n {\r\n newCompositeNode(grammarAccess.getImpactRule()); \r\n pushFollow(FOLLOW_1);\r\n iv_ruleImpact=ruleImpact();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleImpact; \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "b6c7c7e05c1992ae3162aa635f75291c", "score": "0.51219565", "text": "public final EObject entryRuleExpressionLiteral() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpressionLiteral = null;\n\n\n try {\n // ../com.crubier.lil/src-gen/com/crubier/lil/parser/antlr/internal/InternalLil.g:3806:2: (iv_ruleExpressionLiteral= ruleExpressionLiteral EOF )\n // ../com.crubier.lil/src-gen/com/crubier/lil/parser/antlr/internal/InternalLil.g:3807:2: iv_ruleExpressionLiteral= ruleExpressionLiteral EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpressionLiteralRule()); \n }\n pushFollow(FOLLOW_ruleExpressionLiteral_in_entryRuleExpressionLiteral8299);\n iv_ruleExpressionLiteral=ruleExpressionLiteral();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExpressionLiteral; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleExpressionLiteral8309); if (state.failed) return current;\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": "5839d8840711a5d0debe3df9d60ca94c", "score": "0.5121609", "text": "public final EObject entryRuleState() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleState = null;\n\n\n try {\n // ../org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/fowlerdsl/parser/antlr/internal/InternalStatemachine.g:300:2: (iv_ruleState= ruleState EOF )\n // ../org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/fowlerdsl/parser/antlr/internal/InternalStatemachine.g:301:2: iv_ruleState= ruleState EOF\n {\n newCompositeNode(grammarAccess.getStateRule()); \n pushFollow(FOLLOW_ruleState_in_entryRuleState553);\n iv_ruleState=ruleState();\n\n state._fsp--;\n\n current =iv_ruleState; \n match(input,EOF,FOLLOW_EOF_in_entryRuleState563); \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": "bc2aeaa8807d8afe1ea5d861399ba842", "score": "0.5117043", "text": "public final EObject entryRuleWorkItem() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleWorkItem = null;\r\n\r\n\r\n try {\r\n // InternalDmodel.g:1467:2: (iv_ruleWorkItem= ruleWorkItem EOF )\r\n // InternalDmodel.g:1468:2: iv_ruleWorkItem= ruleWorkItem EOF\r\n {\r\n newCompositeNode(grammarAccess.getWorkItemRule()); \r\n pushFollow(FOLLOW_1);\r\n iv_ruleWorkItem=ruleWorkItem();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleWorkItem; \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "322098854a8c506917e3dc345416b790", "score": "0.51154685", "text": "public final EObject entryRulePart() throws RecognitionException {\n EObject current = null;\n\n EObject iv_rulePart = null;\n\n\n try {\n // InternalSpeADL.g:324:2: (iv_rulePart= rulePart EOF )\n // InternalSpeADL.g:325:2: iv_rulePart= rulePart EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getPartRule()); \n }\n pushFollow(FOLLOW_1);\n iv_rulePart=rulePart();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_rulePart; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "491ca3beafdd020d6f40b40cf34abf22", "score": "0.5115133", "text": "public final EObject entryRuleCommand() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleCommand = null;\r\n\r\n\r\n try {\r\n // InternalScheme.g:100:48: (iv_ruleCommand= ruleCommand EOF )\r\n // InternalScheme.g:101:2: iv_ruleCommand= ruleCommand EOF\r\n {\r\n newCompositeNode(grammarAccess.getCommandRule()); \r\n pushFollow(FOLLOW_1);\r\n iv_ruleCommand=ruleCommand();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleCommand; \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException re) {\r\n recover(input,re);\r\n appendSkippedTokens();\r\n }\r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "260025085e079ee624a4c90d326b4594", "score": "0.5109883", "text": "public final EObject entryRuleImport() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleImport = null;\n\n\n try {\n // ../org.eclipse.eclipsecon.conference/src-gen/org/eclipse/eclipsecon/parser/antlr/internal/InternalConference.g:170:2: (iv_ruleImport= ruleImport EOF )\n // ../org.eclipse.eclipsecon.conference/src-gen/org/eclipse/eclipsecon/parser/antlr/internal/InternalConference.g:171:2: iv_ruleImport= ruleImport EOF\n {\n newCompositeNode(grammarAccess.getImportRule()); \n pushFollow(FOLLOW_ruleImport_in_entryRuleImport271);\n iv_ruleImport=ruleImport();\n\n state._fsp--;\n\n current =iv_ruleImport; \n match(input,EOF,FOLLOW_EOF_in_entryRuleImport281); \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": "66a066ea3fe2077bb94b7a9e699bbd91", "score": "0.5099812", "text": "public final EObject entryRuleEclass() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEclass = null;\n\n\n try {\n // InternalMDEProject.g:453:47: (iv_ruleEclass= ruleEclass EOF )\n // InternalMDEProject.g:454:2: iv_ruleEclass= ruleEclass EOF\n {\n newCompositeNode(grammarAccess.getEclassRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEclass=ruleEclass();\n\n state._fsp--;\n\n current =iv_ruleEclass; \n match(input,EOF,FOLLOW_2); \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": "26ed948c00ada8570c2804a02e0c1bef", "score": "0.5095079", "text": "public final EObject entryRuleAddCondition() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAddCondition = null;\n\n\n try {\n // InternalMyDsl.g:1697:53: (iv_ruleAddCondition= ruleAddCondition EOF )\n // InternalMyDsl.g:1698:2: iv_ruleAddCondition= ruleAddCondition EOF\n {\n newCompositeNode(grammarAccess.getAddConditionRule()); \n pushFollow(FOLLOW_1);\n iv_ruleAddCondition=ruleAddCondition();\n\n state._fsp--;\n\n current =iv_ruleAddCondition; \n match(input,EOF,FOLLOW_2); \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": "9a503bd3ab7a9c2f03641565228d0dcb", "score": "0.5086325", "text": "public final EObject entryRuleOperand() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleOperand = null;\n\n\n try {\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:374:2: (iv_ruleOperand= ruleOperand EOF )\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:375:2: iv_ruleOperand= ruleOperand EOF\n {\n newCompositeNode(grammarAccess.getOperandRule()); \n pushFollow(FOLLOW_ruleOperand_in_entryRuleOperand805);\n iv_ruleOperand=ruleOperand();\n\n state._fsp--;\n\n current =iv_ruleOperand; \n match(input,EOF,FOLLOW_EOF_in_entryRuleOperand815); \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": "e7ab2cad6482eb2cac37ee1ccffa0f96", "score": "0.50777376", "text": "public final EObject entryRuleSkill() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleSkill = null;\r\n\r\n\r\n try {\r\n // InternalDmodel.g:2643:2: (iv_ruleSkill= ruleSkill EOF )\r\n // InternalDmodel.g:2644:2: iv_ruleSkill= ruleSkill EOF\r\n {\r\n newCompositeNode(grammarAccess.getSkillRule()); \r\n pushFollow(FOLLOW_1);\r\n iv_ruleSkill=ruleSkill();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleSkill; \r\n match(input,EOF,FOLLOW_2); \r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "56bb51dc88e62e7423e078c7f273427a", "score": "0.50767136", "text": "public final EObject entryRuleIfStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleIfStatement = null;\n\n\n try {\n // InternalMyDsl.g:449:52: (iv_ruleIfStatement= ruleIfStatement EOF )\n // InternalMyDsl.g:450:2: iv_ruleIfStatement= ruleIfStatement EOF\n {\n newCompositeNode(grammarAccess.getIfStatementRule()); \n pushFollow(FOLLOW_1);\n iv_ruleIfStatement=ruleIfStatement();\n\n state._fsp--;\n\n current =iv_ruleIfStatement; \n match(input,EOF,FOLLOW_2); \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": "fcf0fb569c5e41d94e06eb055e30d3b8", "score": "0.50690806", "text": "public final EObject entryRuleCaseStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCaseStatement = null;\n\n\n try {\n // InternalMASLParser.g:7317:54: (iv_ruleCaseStatement= ruleCaseStatement EOF )\n // InternalMASLParser.g:7318:2: iv_ruleCaseStatement= ruleCaseStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCaseStatementRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCaseStatement=ruleCaseStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCaseStatement; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "5fe414fc842404dc01058a544e09f80c", "score": "0.50649214", "text": "public final EObject entryRuleImport() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleImport = null;\n\n\n try {\n // InternalDomainDSL.g:215:47: (iv_ruleImport= ruleImport EOF )\n // InternalDomainDSL.g:216:2: iv_ruleImport= ruleImport EOF\n {\n newCompositeNode(grammarAccess.getImportRule()); \n pushFollow(FOLLOW_1);\n iv_ruleImport=ruleImport();\n\n state._fsp--;\n\n current =iv_ruleImport; \n match(input,EOF,FOLLOW_2); \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": "e5b3fd996538d4e0fad0cd0afc51bd24", "score": "0.5064046", "text": "public final EObject entryRuleValue() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleValue = null;\n\n\n try {\n // ../org.xtext.hipie/src-gen/org/xtext/hipie/parser/antlr/internal/InternalHIPIE.g:596:2: (iv_ruleValue= ruleValue EOF )\n // ../org.xtext.hipie/src-gen/org/xtext/hipie/parser/antlr/internal/InternalHIPIE.g:597:2: iv_ruleValue= ruleValue EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getValueRule()); \n }\n pushFollow(FOLLOW_ruleValue_in_entryRuleValue1165);\n iv_ruleValue=ruleValue();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleValue; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleValue1175); if (state.failed) return current;\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": "f135dfc6a6e1c0e984ebe799d6864fb4", "score": "0.50638866", "text": "public final EObject entryRuleCaseAlternative() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCaseAlternative = null;\n\n\n try {\n // InternalMASLParser.g:7411:56: (iv_ruleCaseAlternative= ruleCaseAlternative EOF )\n // InternalMASLParser.g:7412:2: iv_ruleCaseAlternative= ruleCaseAlternative EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getCaseAlternativeRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleCaseAlternative=ruleCaseAlternative();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleCaseAlternative; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "7ba8131b20a781fa4d508fadd2da4799", "score": "0.5062613", "text": "public final EObject entryRuleFunction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFunction = null;\n\n\n try {\n // ../org.xtext.hipie/src-gen/org/xtext/hipie/parser/antlr/internal/InternalHIPIE.g:4043:2: (iv_ruleFunction= ruleFunction EOF )\n // ../org.xtext.hipie/src-gen/org/xtext/hipie/parser/antlr/internal/InternalHIPIE.g:4044:2: iv_ruleFunction= ruleFunction EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getFunctionRule()); \n }\n pushFollow(FOLLOW_ruleFunction_in_entryRuleFunction9387);\n iv_ruleFunction=ruleFunction();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleFunction; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleFunction9397); if (state.failed) return current;\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": "b041272044c5d98fca878810b22e9241", "score": "0.5051346", "text": "public final EObject entryRuleInputDecl() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleInputDecl = null;\n\n\n try {\n // InternalUclid.g:735:50: (iv_ruleInputDecl= ruleInputDecl EOF )\n // InternalUclid.g:736:2: iv_ruleInputDecl= ruleInputDecl EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getInputDeclRule()); \n }\n pushFollow(FOLLOW_1);\n iv_ruleInputDecl=ruleInputDecl();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleInputDecl; \n }\n match(input,EOF,FOLLOW_2); if (state.failed) return current;\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": "b50e17181a4fcd7d6cdbf4a6da78fd3a", "score": "0.5050145", "text": "public final EObject entryRuleCalculation() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCalculation = null;\n\n\n try {\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:305:2: (iv_ruleCalculation= ruleCalculation EOF )\n // ../fr.imta.tp.calcDSL/src-gen/fr/imta/tp/parser/antlr/internal/InternalCalcDSL.g:306:2: iv_ruleCalculation= ruleCalculation EOF\n {\n newCompositeNode(grammarAccess.getCalculationRule()); \n pushFollow(FOLLOW_ruleCalculation_in_entryRuleCalculation662);\n iv_ruleCalculation=ruleCalculation();\n\n state._fsp--;\n\n current =iv_ruleCalculation; \n match(input,EOF,FOLLOW_EOF_in_entryRuleCalculation672); \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": "5c4c0eede8073c6d04cc6aa722186e1d", "score": "0.5049024", "text": "public final String entryRuleEInt() throws RecognitionException {\r\n String current = null;\r\n\r\n AntlrDatatypeRuleToken iv_ruleEInt = null;\r\n\r\n\r\n try {\r\n // ../co.edu.uniandes.csw.dsl.entities/src-gen/co/edu/uniandes/csw/dsl/parser/antlr/internal/InternalEntities.g:834:2: (iv_ruleEInt= ruleEInt EOF )\r\n // ../co.edu.uniandes.csw.dsl.entities/src-gen/co/edu/uniandes/csw/dsl/parser/antlr/internal/InternalEntities.g:835:2: iv_ruleEInt= ruleEInt EOF\r\n {\r\n newCompositeNode(grammarAccess.getEIntRule()); \r\n pushFollow(FollowSets000.FOLLOW_ruleEInt_in_entryRuleEInt1677);\r\n iv_ruleEInt=ruleEInt();\r\n\r\n state._fsp--;\r\n\r\n current =iv_ruleEInt.getText(); \r\n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEInt1688); \r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "title": "" }, { "docid": "61ee5eade60c580ec4c9da412190a047", "score": "0.5047992", "text": "public final String entryRuleEInt() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleEInt = null;\n\n\n try {\n // InternalServiceDefinition.g:245:44: (iv_ruleEInt= ruleEInt EOF )\n // InternalServiceDefinition.g:246:2: iv_ruleEInt= ruleEInt EOF\n {\n newCompositeNode(grammarAccess.getEIntRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEInt=ruleEInt();\n\n state._fsp--;\n\n current =iv_ruleEInt.getText(); \n match(input,EOF,FOLLOW_2); \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": "1c3d7db4429ace9fac02be2c15d5efdc", "score": "0.5037536", "text": "public final EObject entryRuleImportStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleImportStatement = null;\n\n\n try {\n // ../com.crubier.lil/src-gen/com/crubier/lil/parser/antlr/internal/InternalLil.g:185:2: (iv_ruleImportStatement= ruleImportStatement EOF )\n // ../com.crubier.lil/src-gen/com/crubier/lil/parser/antlr/internal/InternalLil.g:186:2: iv_ruleImportStatement= ruleImportStatement EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getImportStatementRule()); \n }\n pushFollow(FOLLOW_ruleImportStatement_in_entryRuleImportStatement279);\n iv_ruleImportStatement=ruleImportStatement();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleImportStatement; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleImportStatement289); if (state.failed) return current;\n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" } ]
2bbeb1ebe19dae2af624c48f5fead981
Get Landmark Object at Current Position
[ { "docid": "eed7a5e13cca445a8877f9079f1b4414", "score": "0.0", "text": "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n Landmark monument = monuments.get(position);\n\n // Start Intent and Send Landmark Object to DetailActivity\n Utils.openDetailActivity(getContext(), monument);\n\n }", "title": "" } ]
[ { "docid": "f7806d6715fcfcef35277495b757b874", "score": "0.599113", "text": "public static LandMarkReader getLandMarkReader () {\r\n\t\treturn (LandMarkReader)myApplicationContext.getBean(BeanNames.LAND_MARK_READER.getValue());\r\n\t}", "title": "" }, { "docid": "907556f7880b1e6dadebb87b1e8d66d1", "score": "0.5828996", "text": "private void setLocalLandmark() {\n Landmark newLm = new Landmark();\n newLm.setPosition(new Point3D(downx, 1, downy));\n Point3D newPos = newLm.getLocation().copy();\n newLocalLM = newLm;\n Point3D map = screenPointToMapPoint((float) newPos.getX(), (float) newPos.getZ());\n newLocalLM.setPosition(map.copy());\n newLocalLM.setTitle(\"New Landmark\");\n newLocalLM.setDescription(\" \");\n newLocalLM.setAreaID(areaID);\n newLocalLM.buildingID = buildingID;\n int id = hash(formStringFromLocation(newPos));\n newLocalLM.setID(id);\n\n longpress = true;\n Vibrator v = (Vibrator) getContext().getSystemService(Context.VIBRATOR_SERVICE);\n v.vibrate(50);\n invalidate();\n if(listener != null) listener.removeOtherLocalLMs(this);\n }", "title": "" }, { "docid": "228cafb2ebb3ac8c15226b377ab7985b", "score": "0.5807994", "text": "Point getAccessLocation();", "title": "" }, { "docid": "285e35ce8b4f3b142aac66e98e3c18d6", "score": "0.5794439", "text": "public Vector3d getLocation(){return pos;}", "title": "" }, { "docid": "eeb646d1b7b9d5d9d2f87baa78585d03", "score": "0.57122666", "text": "abstract public Position getStartPosition();", "title": "" }, { "docid": "5c95e7fc7e7bbedb352618233319bc62", "score": "0.56781536", "text": "public LMPoint getPoint(int position);", "title": "" }, { "docid": "7f937dc23ff5df502bf23bb8c2e46004", "score": "0.56423837", "text": "public Landmark findLandmarFromList(List<Landmark> lmlist, int landmarkID) {\n Landmark rlm = null;\n for (Landmark lm : lmlist) {\n if(lm.getID() == landmarkID) { rlm = lm; }\n }\n return rlm;\n }", "title": "" }, { "docid": "32bf762c4e6deaeb77fa92a184099e15", "score": "0.5634378", "text": "public Coordinates getLandingLocation() {\n\t\treturn landingLocation;\n\t}", "title": "" }, { "docid": "15636b6ff5cba8e012482da674952310", "score": "0.5605633", "text": "public Point getEmplacementPoint();", "title": "" }, { "docid": "e5bc00d0eb56a83f7422a7f3975e4bad", "score": "0.55911", "text": "public Vector3i getLocation();", "title": "" }, { "docid": "c635f860b8137f62e2a9bfe2064624bf", "score": "0.5583998", "text": "public void lookAt(Location location);", "title": "" }, { "docid": "1e5999916dc3a26d37ac175d11fe5f87", "score": "0.55740106", "text": "public Location getLandingPad(){\n return this.landingPad;\n }", "title": "" }, { "docid": "4d6e58b3002ddf67850e0e899d42636e", "score": "0.5569406", "text": "ModelLocation location();", "title": "" }, { "docid": "71d38088c562cc94efe497da78a5d776", "score": "0.555732", "text": "Position getPosition();", "title": "" }, { "docid": "71d38088c562cc94efe497da78a5d776", "score": "0.555732", "text": "Position getPosition();", "title": "" }, { "docid": "71d38088c562cc94efe497da78a5d776", "score": "0.555732", "text": "Position getPosition();", "title": "" }, { "docid": "4af88cbff0dcc6e00d660c86a55e8829", "score": "0.5516333", "text": "public Location position () {\n return position;\n }", "title": "" }, { "docid": "6663cb254d3da6e9da5cc54e9c4145e3", "score": "0.55016583", "text": "@java.lang.Override\n public com.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark getLandmarks(int index) {\n return landmarks_.get(index);\n }", "title": "" }, { "docid": "2f2d6c7f2da533d21eda122a75207771", "score": "0.5453765", "text": "IPolyomino getCurrent();", "title": "" }, { "docid": "b5c6510154c6dd161dbff9ae7a37dbb7", "score": "0.54529494", "text": "public static Location getCurrentLocationObject(){ return currentLocationObject;}", "title": "" }, { "docid": "dc8888e318ed7c1c72d3c469d73af658", "score": "0.5449741", "text": "serialization.GameState.Intersection getPlace();", "title": "" }, { "docid": "0a740c16adb1cfe8e99ed5438db9b48e", "score": "0.5444383", "text": "private PlayerObjectSprite getObjectUnderCursor()\n {\n if(getPointerPosition() == null)\n {\n return null;\n }\n final List<? extends PlayerObjectSprite> obj = extractObjects(null, null, null,\n new ConstRect(getPointerPosition()));\n return obj.isEmpty() ? null : obj.get(0);\n }", "title": "" }, { "docid": "72c60623c4428bee889a93a5ff1d059c", "score": "0.5433951", "text": "public LongLat getPosition() {\n return position;\n }", "title": "" }, { "docid": "99f8e2afa343bc43a194346d9bf32322", "score": "0.54072875", "text": "public Point3d getLocation()\n {\n\treturn new Point3d(xpos, ypos, 0);\n }", "title": "" }, { "docid": "b382169f1c6528282b576453e7850bcc", "score": "0.54050046", "text": "long getRegionOffset();", "title": "" }, { "docid": "3491456d5f37e23d997db494e7288e8d", "score": "0.5401892", "text": "public int getXlocation();", "title": "" }, { "docid": "1901bbcc344869fb5e94ad3ff06bdc1f", "score": "0.5396845", "text": "public Coordinate getLocation();", "title": "" }, { "docid": "3f8ee9201f14c90090a723c9d4a94a54", "score": "0.53946185", "text": "private Point getGUILocation() {\n\t\tdouble worldX = physicalObject.getLocation().getX();\n\t\tdouble worldY = physicalObject.getLocation().getY();\n\t\tint x = (int) ((Simulator.pixelsPerMeter * worldX) - offsetX + .5);\n\t\tint y = (int) ((Simulator.pixelsPerMeter * (World.HEIGHT - worldY))\n\t\t\t\t- offsetY + .5);\n\t\treturn new Point(x, y);\n\t}", "title": "" }, { "docid": "64cb58776d83cbb6e895c1a7364b4ad5", "score": "0.538688", "text": "public Location getLoca(){\n \t return this.loca;\n \t }", "title": "" }, { "docid": "d5dadbe67e25daa4b1c82876f5f7ff64", "score": "0.5385652", "text": "@Basic @Raw \r\n\tpublic Position getPositionObj(){\r\n\t\treturn this.positionObj;\r\n\t}", "title": "" }, { "docid": "cacffce1a57d872d8013f295302c28ea", "score": "0.5378693", "text": "public static LandmarkFragment newInstance() {\r\n LandmarkFragment fragment = new LandmarkFragment();\r\n return fragment;\r\n }", "title": "" }, { "docid": "8bf962c2b6fdd9fe2f8349472760d496", "score": "0.53741693", "text": "Point getPos();", "title": "" }, { "docid": "867321f14de510c3d5e2aa31b937fb1e", "score": "0.53608024", "text": "long getPosition();", "title": "" }, { "docid": "867321f14de510c3d5e2aa31b937fb1e", "score": "0.53608024", "text": "long getPosition();", "title": "" }, { "docid": "501b1ed7f913005f85b1d3013e45da11", "score": "0.53333664", "text": "Location getCenter();", "title": "" }, { "docid": "8bbb95c185074b41545eb7611b5af761", "score": "0.5332033", "text": "Point getPosition();", "title": "" }, { "docid": "cf34c21559e40e804893829293ffca8b", "score": "0.53249985", "text": "@Override\r\n\tpublic Point getLoc() {\n\t\treturn this.loc.getLocation();\r\n\t}", "title": "" }, { "docid": "b2ad54cecc218b64fce9793ac9f72920", "score": "0.53214484", "text": "@Override\n\tpublic List<Land> displayLand() {\n\t\treturn dao.displayLand();\n\t}", "title": "" }, { "docid": "46c822a08e7392d146f964db93ab1e5c", "score": "0.53193825", "text": "com.google.cloud.vision.v1p2beta1.Position getPosition();", "title": "" }, { "docid": "05238978ae9c453e06a95cc30f67f7ef", "score": "0.531457", "text": "Point getLocation();", "title": "" }, { "docid": "1a0eb9cdb9d8962dc0b960492d1237a1", "score": "0.53023815", "text": "public com.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark getLandmarks(int index) {\n if (landmarksBuilder_ == null) {\n return landmarks_.get(index);\n } else {\n return landmarksBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "9a020c01b4d89066389f7dde0f24015e", "score": "0.5296495", "text": "LatLon getLatLon();", "title": "" }, { "docid": "8af2658747c3c5b40ef0b0f13a848a8b", "score": "0.5281943", "text": "public EntityImpl getSectorMstLngEO() {\n return (EntityImpl)getEntity(0);\n }", "title": "" }, { "docid": "3ca51e8babaebcba7f47ea1ce6eae614", "score": "0.52764773", "text": "Position getStart();", "title": "" }, { "docid": "c0887d2a4c6a11aa29b56e96b3a21eb8", "score": "0.5276324", "text": "public int getCurrentPosition();", "title": "" }, { "docid": "9dbca7f809caafb765bdbdb84afa933d", "score": "0.5273375", "text": "public Entity getObjectAt(Location location)\r\n\t{\r\n\t\treturn getObjectAt(location.getRow(), location.getCol());\r\n\t}", "title": "" }, { "docid": "7ff0764b4d867ea93b61901c50e762d8", "score": "0.52686375", "text": "Vector3 getPosition();", "title": "" }, { "docid": "f6d8f7df8e1c3409f74f898fdf189f5a", "score": "0.5261343", "text": "public LandmarkRecord() {\n super(Landmark.LANDMARK);\n }", "title": "" }, { "docid": "0f25535a24b2b9cc2878cb16ddda45f3", "score": "0.525866", "text": "Vector3 GetPosition()\n\t{\n\t\treturn m_Position;\n\t}", "title": "" }, { "docid": "f0c9dbdf12f9a89cad0176e6ceb3dbd7", "score": "0.52498364", "text": "Point getPosition() {\n return position;\n }", "title": "" }, { "docid": "c6f7199937267912e8bf1485a2944cd8", "score": "0.52486116", "text": "public int getThisLandIdentifier(){\n\t\treturn landIdentifier;\n\t}", "title": "" }, { "docid": "817b40660a6dedd909cfded0ce858fcb", "score": "0.5247136", "text": "public int getLocation() { return this.location; }", "title": "" }, { "docid": "fdff89b1d9aad24b047a7706ee82dd04", "score": "0.5239926", "text": "public Vector getLocalLocation() {\n return localLocation;\n }", "title": "" }, { "docid": "118e22d34fab30839ec2fc28eac6ff6e", "score": "0.52353656", "text": "public Point getLocation() {\n Map<String, Long> map = (Map<String, Long>) driver.executeAtom(\n AndroidAtoms.GET_TOP_LEFT_COORDINATES.getValue(), this);\n return new Point(map.get(\"x\").intValue(), map.get(\"y\").intValue());\n }", "title": "" }, { "docid": "673c9fed0577003c4ce265835efe3c42", "score": "0.5234458", "text": "public MazeCoord getEntryLoc() {\r\n return start; // DUMMY CODE TO GET IT TO COMPILE\r\n }", "title": "" }, { "docid": "ad16ce9845ac3d152e4afe28b904865d", "score": "0.5232404", "text": "public java.util.List<com.google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark>\n getLandmarksList() {\n if (landmarksBuilder_ == null) {\n return java.util.Collections.unmodifiableList(landmarks_);\n } else {\n return landmarksBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "a444b2d80e472879c92a3fc9ac0bd3b9", "score": "0.5228902", "text": "public Geocoordinate getPosition()\r\n\t{\r\n\t\treturn (Geocoordinate)data[0];\r\n\t}", "title": "" }, { "docid": "051fbb131052421432e45ee9b54eaf22", "score": "0.52250063", "text": "public BoundingRechteck position() {\r\n\t\treturn bild;\r\n\t}", "title": "" }, { "docid": "16fbc6584086781bb20c7b5672ab20b2", "score": "0.52244765", "text": "long position();", "title": "" }, { "docid": "96cb165f42e79b71663ecbacaf95274e", "score": "0.5216451", "text": "String getAccidentLocation();", "title": "" }, { "docid": "99ad998ccbdf019a3cba95fad2f8c8ce", "score": "0.5215468", "text": "public Marker getMarker() {\n return marker;\n }", "title": "" }, { "docid": "da04057d04885e3c08debf6ecf02085c", "score": "0.52100956", "text": "public Location getLocationFromInnerObjectPosition(float x, float y) {\n\t\tCoordinate coord = getCoordinateFromInnerPosition(x, y);\n\t\treturn provider.coordinateLocation(coord);\n\t}", "title": "" }, { "docid": "da75b457665b83b0c066069c8d6d667d", "score": "0.52074313", "text": "public float[] getPosition() {\n\treturn location;\n }", "title": "" }, { "docid": "695b6fca9958c2acf57a55345a65fec4", "score": "0.5197219", "text": "public int getLocator();", "title": "" }, { "docid": "7c212b8cbf6a2665c57db7d7777782b7", "score": "0.5193433", "text": "@NotNull\n Position getLocation();", "title": "" }, { "docid": "a5bc3391db5b7e9ea470b83eff9db6f3", "score": "0.51888996", "text": "public Location getLocation() {\n\t\treturn this.bounds.center;\n\t}", "title": "" }, { "docid": "9245a45d65f7399db76df0453c78cc7b", "score": "0.518875", "text": "Instance getLocations();", "title": "" }, { "docid": "9f5ed221c808c9c7fe52015908554087", "score": "0.5186951", "text": "public void encontrarGasolineras(){\n obtenerGasolinerasCercanasGoogle();\n\n //gasolinera = new LatLng(19.50213, -99.14932);\n //marcador=mMap.addMarker(new MarkerOptions().position(gasolinera).title(getResources().getString(R.string.texto_barra_inferior_nombre_gasolinera)).icon(BitmapDescriptorFactory.fromResource(R.drawable.ic_gasolinera)));\n //marcador.setSnippet(getResources().getString(R.string.texto_barra_inferior_rating_gasolinera));\n //marcador.showInfoWindow();\n\n }", "title": "" }, { "docid": "d2d41cc27a0befb3cae3e0f7a8adb316", "score": "0.51819783", "text": "public Island getIsland()\n\t{\n\t\treturn island;\n\t}", "title": "" }, { "docid": "dd9118a2ab05f51a8270207b0be52e78", "score": "0.5164844", "text": "float getLat();", "title": "" }, { "docid": "4497678b1898e08dbae7fd14c03974a3", "score": "0.51627886", "text": "messaging.Service.Point getPos();", "title": "" }, { "docid": "4497678b1898e08dbae7fd14c03974a3", "score": "0.51627886", "text": "messaging.Service.Point getPos();", "title": "" }, { "docid": "70f635959aeab590af4f45031f8206a6", "score": "0.51621044", "text": "public Vector4 getLocalPosition() { return matTransformation.extractPosition(); }", "title": "" }, { "docid": "d31a7ad29219f4e3207789cdd5253a4f", "score": "0.51614356", "text": "int getPosition();", "title": "" }, { "docid": "d31a7ad29219f4e3207789cdd5253a4f", "score": "0.51614356", "text": "int getPosition();", "title": "" }, { "docid": "424764d484542bb30005f30623c1119d", "score": "0.5158851", "text": "long getCurrentPosition();", "title": "" }, { "docid": "c024aba0ee81ccc738cced01d5f2fe85", "score": "0.51556146", "text": "Position getPosition(int positionId);", "title": "" }, { "docid": "a9df011ef7497433d2c1f6ba38f2beb0", "score": "0.51520056", "text": "public Vec4 location()\n\t{\n\t\treturn Vec4.origin().transform(getGlobalTransform());\n\t}", "title": "" }, { "docid": "ae6de8de8ff64f058a962d4967449bb9", "score": "0.5150662", "text": "@Override\r\n\t//return the offset\r\n\tpublic Location getOffset() {\n\t\treturn this.pos;\r\n\t}", "title": "" }, { "docid": "6abb35fc6e51a9eaabfa7568ffc84502", "score": "0.5149589", "text": "public Location getLocation(){\n\t\treturn new Location(location.getxPos(), location.getyPos());\n\t}", "title": "" }, { "docid": "02753f83e11889dec791e9384bd2a1f4", "score": "0.5149566", "text": "public MazeLocation retrieve(int i);", "title": "" }, { "docid": "a8134a6f0b400c95ad111336c4748d76", "score": "0.51422536", "text": "public Vecteur getPosRayon()\n\t{\n\t\treturn posRayon;\n\t}", "title": "" }, { "docid": "2beeab6393c6c11b6f048aeefce3899c", "score": "0.51391464", "text": "private PointF getPlaceCoordinates(String selection) {\n\t\tPointF pan = new PointF();\r\n\t\tDBAdapter coordinates = new DBAdapter(getApplicationContext());\r\n\t\ttry {\r\n\t\t\tcoordinates.getInstance(getApplicationContext());\r\n\t\t\tcoordinates.createDataBase();\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tpan = coordinates.searchPlaceForCoordinates(selection);\r\n\t\tcoordinates.close();\r\n\t\tif (pan == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\tpan.x /= mBitmap.getWidth();\r\n\t\tpan.y /= mBitmap.getHeight();\r\n\t\treturn pan;\r\n\t}", "title": "" }, { "docid": "e2d4813f4c2358250a5f0e32c40f7e45", "score": "0.5128816", "text": "public final MWC.GenericData.WorldLocation getOrigin()\n {\n return _origin;\n }", "title": "" }, { "docid": "a95ebb666bb9d0072e40fa204c0bd6ce", "score": "0.5128705", "text": "IPosn getPos();", "title": "" }, { "docid": "14615ffdec78926a234f11efac550132", "score": "0.51264656", "text": "GeographicPoint getLocation()\n\t{\n\t\treturn mLocation;\n\t}", "title": "" }, { "docid": "2bb39568e04643b148e212fa4950d3aa", "score": "0.5125095", "text": "@Override\n public Point getLocation() {\n return location;\n }", "title": "" }, { "docid": "6dc959d8a0438a3899b0bb59c39cbba6", "score": "0.5120497", "text": "io.opencannabis.schema.geo.Location getLocation();", "title": "" }, { "docid": "5aee54dd6c66da9e6fef258c15819ca0", "score": "0.5113363", "text": "private void pickCurrentPlace() {\n if (mMap == null) {\n return;\n }\n\n if (mLocationPermissionGranted) {\n getDeviceLocation();\n } else {\n // Pengguna belum memberikan izin.\n Log.i(TAG, \"The user did not grant location permission.\");\n\n // Tambahkan marker default, karena pengguna belum memilih tempat.\n mMap.addMarker(new MarkerOptions()\n .title(getString(R.string.default_info_title))\n .position(mDefaultLocation)\n .snippet(getString(R.string.default_info_snippet)));\n\n // Meminta pengguna untuk izin.\n getLocationPermission();\n }\n }", "title": "" }, { "docid": "433268b5743f3698e79646d0466d39a1", "score": "0.5109072", "text": "public static BodyImage getLandingLeft() {\n return landingLeft;\n }", "title": "" }, { "docid": "eae723c53b352c6a8fdc85e38df9bcbb", "score": "0.51067746", "text": "Vector getL(Point3D p);", "title": "" }, { "docid": "65d2c33d723aedf2f2f61409e2cfa582", "score": "0.5105842", "text": "public abstract Point getLocation();", "title": "" }, { "docid": "5eb2e600ab5370b315daa22073b4fb7e", "score": "0.5097898", "text": "String getCoordinates();", "title": "" }, { "docid": "33edb393c2fa0c3c197e56339c1ebdc1", "score": "0.5095125", "text": "public Object findObject(long address);", "title": "" }, { "docid": "10e07b0762986867b233518f321baaf6", "score": "0.50919974", "text": "public Location getLocation() {\n\treturn a.clone();\n }", "title": "" }, { "docid": "ade5780575f2bdd04959ee138972dcf8", "score": "0.5081879", "text": "public Landmark() {\n java.util.Random randGen = new java.util.Random();\n\n oxPrice = (randGen.nextInt(PURCHASE_RANGE)+3) * 100;\n foodPrice = (randGen.nextInt(PURCHASE_RANGE)+1) * 100;\n clothesPrice = (randGen.nextInt(PURCHASE_RANGE)+1) * 100;\n ammoPrice = (randGen.nextInt(PURCHASE_RANGE)+1) * 100;\n partsPrice = (randGen.nextInt(PURCHASE_RANGE)+1) * 100;\n }", "title": "" }, { "docid": "0986f004358c6e93d93891a4f10d1ea6", "score": "0.5081295", "text": "PositionFactory getPositionFactory();", "title": "" }, { "docid": "5702f4b836c4c1bce65b667e90d65df2", "score": "0.5075993", "text": "public Position getPosition(){\n return position;\n }", "title": "" }, { "docid": "acfab3baacc13142dfd2794b0f54ff6d", "score": "0.50736856", "text": "public int getAvailableLand() {\n\t\treturn model.getLand();\n\t}", "title": "" }, { "docid": "6364bb81773dc10b5d3d74620bb43883", "score": "0.5070486", "text": "public LatLng fromScreenLocation(Point paramPoint) {\n\n\t\tRequest req = new Request(\"screenToLatlng\", paramPoint.x + \",\"\n\t\t\t\t+ paramPoint.y, Request.Type_NeedResponse);\n\n//\t\tResponse res = map.addRequest(req);\n//\t\tLatLng latlng = (LatLng) res.getAnswer();\n//\t\tLog.d(\"screenToLatlng\", \"lat:\"+latlng.latitude+\";lng:\"+latlng.longitude);\n//\t\treturn latlng;\n\t\treturn projectingLatLng;\n\t}", "title": "" }, { "docid": "ae1d3199cf6200d90f7dd10a340ba9f5", "score": "0.50645584", "text": "public List<Landmark> getLandMarkList(SharedPreferences prefs) {\n Gson gson = new Gson();\n String jsonPreferences = prefs.getString(\"landmarks\", \"\");\n Type type = new TypeToken<List<Landmark>>() {}.getType();\n List<Landmark> productFromShared = gson.fromJson(jsonPreferences, type);\n if(productFromShared == null) return new ArrayList();\n return productFromShared;\n }", "title": "" } ]
508826cc06e9f805a4b4947f7cb4b72a
Returns the graph associated with the name Throws exception if it doesn't exist
[ { "docid": "b73e9849c6ccf257b6c6bb3cf9de8e7b", "score": "0.8373191", "text": "Graph getGraph(String name) {\n\t\tif (this.hasGraph(name)) {\n\t\t\treturn this.graphs.get(name);\n\t\t} else {\n\t\t\tthrow new RuntimeException(\"Graph not found!\");\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "a579df531da1d0939eaf3aaa6cb53454", "score": "0.77430636", "text": "@Override\n\tpublic Graph getGraph(UriRef name) throws NoSuchEntityException {\n\t\tif(!isInitialized) {\n\t\t\tinitialize();\n\t\t}\n\t\tif ((name == null) || (name.getUnicodeString() == null) || \n\t\t\t\t(name.getUnicodeString().trim().length() == 0)) {\n\t\t\tthrow new IllegalArgumentException(\"Name must not be null\");\n\t\t}\n\n\t\tif (!graphs.containsKey(name)) {\n\t\t\tthrow new NoSuchEntityException(name);\n\t\t}\n\n\t\treturn graphs.get(name);\n\t}", "title": "" }, { "docid": "6e53b86dbbffe41a8a83a2ba15b53756", "score": "0.73192686", "text": "@Override\n\tpublic MGraph getMGraph(UriRef name) throws NoSuchEntityException {\n\t\tif(!isInitialized) {\n\t\t\tinitialize();\n\t\t}\n\t\tif ((name == null) || (name.getUnicodeString() == null) ||\n\t\t\t\t(name.getUnicodeString().trim().length() == 0)) {\n\t\t\tthrow new IllegalArgumentException(\"Name must not be null\");\n\t\t}\n\t\tif (!mGraphs.containsKey(name)) {\n\t\t\tthrow new NoSuchEntityException(name);\n\t\t}\n\t\treturn mGraphs.get(name);\n\t}", "title": "" }, { "docid": "0a4099a44a7f79eaf7fedcb4ff89a585", "score": "0.6757796", "text": "Graph openGraph(String graphName) throws GraphManagementException;", "title": "" }, { "docid": "ad3936a86e5947e6cb9664d2cf5db976", "score": "0.67116445", "text": "public static IRI asGraph(String name) {\r\n\t\treturn F.createIRI(name);\r\n\t}", "title": "" }, { "docid": "429c43501ceab4ec93e7f3c86778e053", "score": "0.6689617", "text": "boolean hasGraph(String name) {\n\t\treturn this.graphs.containsKey(name);\n\t}", "title": "" }, { "docid": "48eea98a78af8884fdbfe0f671ca9caf", "score": "0.64826906", "text": "public Graph openGraph( String name, boolean strict )\n {\n boolean fresh = hasGraph( name ) == false && strict == false;\n if (fresh) created.add( name );\n return consGraph( name, fresh );\n }", "title": "" }, { "docid": "160280782bd781772db475c7c785eb2f", "score": "0.63308007", "text": "public GraphNode getNode(int name) throws GraphException{\r\n\t\ttry {\r\n\t\t\treturn stop[name];\r\n\t\t}catch(Exception e){\r\n\t\t\tthrow new GraphException(\"Error: node doesn not exist\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "56b024bd9915d792f206a59b4e964fde", "score": "0.6291083", "text": "public Location getLocationByName(String name) {\n\t\t// if(name.equals( graph.getVertexData().getName() );\n\t\tif(name == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\t\n\t\tfor(GraphNode<Location, Path> n : graph){\n\t\t\tif(name.equals(n.getVertexData().getName()))\n\t\t\t\treturn n.getVertexData();\n\t\t}\n\t\t\n\t\treturn null; //TO: implement correctly. \n\t}", "title": "" }, { "docid": "d59810ec05e0b053cb46c04999ac182d", "score": "0.623928", "text": "public GraphNode getNode(int name) throws GraphException {\n\n\t\tif (name >= size) {\t\t//if the name is greater than the size of the graph, it cannot be in the graph, throw an exception\n\n\t\t\tthrow new GraphException(\"node with given name was not found in the graph\");\n\t\t}\n\n\t\treturn nodeArray[name];\t\t//otherwise, return the node\n\t}", "title": "" }, { "docid": "a450ed90046710dc9d981d60a24283d5", "score": "0.6170412", "text": "public Graph createGraph(final String name) {\n if (name == null) {\n throw new IllegalArgumentException(\"Graph name cannot be null\");\n }\n\n // Construct the graph object\n final Graph graph = new Graph(name);\n\n // Now we can add our graph\n graphs.add(graph);\n\n // and return back\n return graph;\n }", "title": "" }, { "docid": "9a5993c36f46c82621623d784377d612", "score": "0.61619073", "text": "public Node getNodeByName(String name){\n return graphNodes.stream()\n .filter(node -> node.getName().equals(name))\n .findFirst()\n .get();\n }", "title": "" }, { "docid": "141080c49a7865352b3091d470263095", "score": "0.6128082", "text": "public URI getNamedGraph() {\n\t\treturn this.namedGraph;\n\t}", "title": "" }, { "docid": "14e35bd6334a5dd4f157b8a88d9e4d94", "score": "0.6107609", "text": "public String getGraphName() {\n return graphName;\n }", "title": "" }, { "docid": "61cd9162efd9a216d41a7d0f48154fc1", "score": "0.60993606", "text": "@Override\n\tpublic TripleCollection getTriples(UriRef name)\n\t\t\tthrows NoSuchEntityException {\n\t\tif(!isInitialized) {\n\t\t\tinitialize();\n\t\t}\n\t\ttry {\n\t\t\tMGraph mGraph = getMGraph(name);\n\t\t\treturn mGraph;\n\t\t} catch (NoSuchEntityException nsee) {\n\t\t\treturn getGraph(name);\n\t\t}\n\t}", "title": "" }, { "docid": "b1452e9fb9595342d51b207bc12cce87", "score": "0.59872055", "text": "public String getGraphName() {\n return graphName;\n }", "title": "" }, { "docid": "c9616302795846a79aaf62470fd7f1bf", "score": "0.59069407", "text": "private Graph getGraph(String searchname, String viewtype, String direction)\r\n\t\t\tthrows MalformedURLException, IOException, ClassNotFoundException {\n\r\n String location=\"http://localhost:8080/kms/\";\r\n\tsearchname=\"火箭发动机\";\r\n\tviewtype=\"tree\";\r\n\tdirection=\"forward\";\r\n\r\n\t\tURL url = new URL(location + \"kmap/onto!loadGraph.action?tagname=\" + URLEncoder.encode(searchname, \"UTF-8\")\r\n\t\t\t\t+ \"&viewtype=\" + viewtype + \"&direction=\" + direction);\r\n\t\tURLConnection con = url.openConnection();\r\n\t\tcon.setUseCaches(false);\r\n\t\tInputStream in = con.getInputStream();\r\n\t\tObjectInputStream objStream;\r\n\t\tobjStream = new ObjectInputStream(in);\r\n\t\tGraph graph = (Graph) objStream.readObject();\r\n\t\treturn graph;\r\n\t}", "title": "" }, { "docid": "d15d7aebca4b87f9bcdf81430e1add62", "score": "0.5884928", "text": "public MNode getNodeByPathWithCheck(String path) throws PathException, StorageGroupException {\n lock.readLock().lock();\n try {\n return mgraph.getNodeByPathWithCheck(path);\n } finally {\n lock.readLock().unlock();\n }\n }", "title": "" }, { "docid": "c741d197effff1956e21ba2af54f1ae6", "score": "0.58517766", "text": "GraphPackage getGraphPackage();", "title": "" }, { "docid": "6880845a23cfdcea1d46fe710e3d9572", "score": "0.58332074", "text": "public Graph createGraph( String name, boolean strict )\n {\n created.add( name );\n boolean fresh = strict || !hasGraph( name );\n return consGraph( name, fresh );\n }", "title": "" }, { "docid": "707497d5739ddff65af1117ac5ab58ac", "score": "0.58322686", "text": "public boolean hasGraph( String name )\n { return c.containsModel( name ); }", "title": "" }, { "docid": "25823f1e0c40972eb74e943efc27fcf0", "score": "0.5819437", "text": "void addGraph(String graphName) throws GraphManagementException;", "title": "" }, { "docid": "191c96bd583860a5af1b87a75266f254", "score": "0.57350457", "text": "static public HyperGraph loadGraph(String filename) throws IOException,\n\t\t\tFileNotFoundException\n\t{\n\t\tif (!filename.endsWith(\".hg\"))\n\t\t\tthrow new FileNotFoundException(errorMessageFile);\n\n\t\tFileReader fileinput = new FileReader(filename);\n\t\tBufferedReader reader = new BufferedReader(fileinput);\n\n\t\tString graphName = filename.substring(0, filename.length() - 3);\n\n\t\tLinkedList<String> lineTags;\n\n\t\tHashMap<String, Node> nodes = new HashMap<String, Node>();\n\n\t\tNode start = null, end = null;\n\n\t\tint linesRead = 0;\n\n\t\twhile (reader.ready() && linesRead != 2)\n\t\t{\n\t\t\tString line = reader.readLine();\n\n\t\t\tif (line.startsWith(\"#\")) continue;\n\n\t\t\tlinesRead++;\n\t\t\t\n\t\t\tif (linesRead == 1)\n\t\t\t\tstart = new Node(parseSingleTag(line));\n\t\t\telse if (linesRead == 2)\n\t\t\t\tend = new Node(parseSingleTag(line));\n\t\t}\n\n\t\tHyperGraph graph = new HyperGraph(graphName, start, end);\n\n\t\tnodes.put(start.getName(), start);\n\t\tnodes.put(end.getName(), end);\n\n\t\twhile (reader.ready())\n\t\t{\n\t\t\tString line = reader.readLine();\n\t\t\t\n\t\t\tif (line.isEmpty()) \n\t\t\t\tthrow new IOException(errorMessageFormat);\n\n\t\t\tif (line.startsWith(\"#\")) continue;\n\n\t\t\tlineTags = parseMultipleTags(line);\n\t\t\tIterator<String> iterator = lineTags.iterator();\n\n\t\t\tString edgeName = iterator.next();\n\t\t\tdouble edgeWeight = Double.valueOf(iterator.next());\n\n\t\t\tHyperEdge edge = new HyperEdge(edgeName, edgeWeight);\n\n\t\t\tNode aux;\n\t\t\t\n\t\t\tString next = iterator.next();\n\t\t\t\n\t\t\tif (!next.matches(\"[0-9]+\"))\n\t\t\t\tthrow new IOException(\"Error: \" + next + \" no es un numero.\");\n\n\t\t\tint exitCount = Integer.valueOf(next);\n\n\t\t\tfor (; exitCount > 0; exitCount--)\n\t\t\t{\n\t\t\t\tif (!iterator.hasNext())\n\t\t\t\t\tthrow new IOException(errorMessageNumbers);\n\t\t\t\t\n\t\t\t\tString nodeName = iterator.next();\n\n\t\t\t\tif (nodes.containsKey(nodeName))\n\t\t\t\t\taux = nodes.get(nodeName);\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\taux = new Node(nodeName);\n\n\t\t\t\t\tnodes.put(nodeName, aux);\n\t\t\t\t\tgraph.nodes.add(aux);\n\t\t\t\t}\n\n\t\t\t\tedge.head.add(aux);\n\t\t\t\t\n\t\t\t\tif(aux == end){\n\t\t\t\t\tedge.isBottom = true;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (Node node : edge.head)\n\t\t\t{\n\t\t\t\tnode.tail.add(edge);\n\t\t\t}\n\n\t\t\tnext = iterator.next();\n\t\t\t\n\t\t\tif (!next.matches(\"[0-9]+\"))\n\t\t\t\tthrow new IOException(\"Error: \" + next + \" no es un numero.\");\n\t\t\t\n\t\t\tint entryCount = Integer.valueOf(next);\n\n\t\t\tfor (; entryCount > 0; entryCount--)\n\t\t\t{\n\t\t\t\tif (!iterator.hasNext())\n\t\t\t\t\tthrow new IOException(errorMessageNumbers);\n\t\t\t\t\n\t\t\t\tString nodeName = iterator.next();\n\n\t\t\t\tif (nodes.containsKey(nodeName))\n\t\t\t\t\taux = nodes.get(nodeName);\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\taux = new Node(nodeName);\n\n\t\t\t\t\tnodes.put(nodeName, aux);\n\t\t\t\t\tgraph.nodes.add(aux);\n\t\t\t\t}\n\n\t\t\t\tedge.tail.add(aux);\n\n\t\t\t\tif (aux == start) \n\t\t\t\t\tedge.isTop = true;\n\t\t\t}\n\n\t\t\tfor (Node node : edge.tail)\n\t\t\t{\n\t\t\t\tnode.head.add(edge);\n\t\t\t}\n\n\t\t\tgraph.hyperEdges.add(edge);\n\t\t}\n\t\t\n\t\treader.close();\n\t\tfileinput.close();\n\n\t\treturn graph;\n\t}", "title": "" }, { "docid": "e8dcee2b36da16098d5edd8ee2b60a87", "score": "0.56939757", "text": "private SLayer findOrAddSLayer(String name, SDocumentGraph graph)\n {\n List<SLayer> layerList = graph.getLayerByName(name);\n SLayer layer = (layerList != null && layerList.size() > 0)\n ? layerList.get(0) : null;\n if (layer == null)\n {\n layer = SaltFactory.createSLayer();\n layer.setName(name);\n graph.addLayer(layer);\n }\n return layer;\n }", "title": "" }, { "docid": "d369d97fa17103fc2ce33ee0730e1e4b", "score": "0.5682838", "text": "Vertex findYourVertex(String vertexName);", "title": "" }, { "docid": "ad9043cf5d7e66494ae5e8063f1fdbcd", "score": "0.567756", "text": "public Graph(String name) {\n\t\tthis(name, new HashMap<>());\n\t}", "title": "" }, { "docid": "63bde26d13cdb6b4375bef7ea7b702e5", "score": "0.56676775", "text": "G getGraph();", "title": "" }, { "docid": "25b9b00b2195de4868276eddefcd6e1d", "score": "0.5583149", "text": "public E edgeForName(String s);", "title": "" }, { "docid": "86f676604cceb7caa50da0371803c6e7", "score": "0.55716354", "text": "Graph<String, DefaultEdge> readGraph(File file) throws IOException, ImportException;", "title": "" }, { "docid": "28d364eabca2f411b1bfef25a55b1ac9", "score": "0.556972", "text": "public static Graph getGraph()\n {\n return graph;\n }", "title": "" }, { "docid": "4d1692d8da0d5362b686b592a388ee47", "score": "0.5525714", "text": "@Override\n\tpublic MGraph createMGraph(UriRef name)\n\t\t\tthrows EntityAlreadyExistsException {\n\t\tif(!isInitialized) {\n\t\t\tinitialize();\n\t\t}\n\t\tif ((name == null) || (name.getUnicodeString() == null) \n\t\t\t\t|| (name.getUnicodeString().trim().length() == 0)) {\n\t\t\tthrow new IllegalArgumentException(\"Name must not be null\");\n\t\t}\n\t\t// Checks that an MGraph with this name does not already exist\n\t\tif (mGraphs.containsKey(name)) {\n\t\t\tthrow new EntityAlreadyExistsException(name);\n\t\t}\n\t\tURI graphUri = URI.create(name.getUnicodeString());\n\t\tcreateNewModel(graphUri);\n\t\tMGraph mGraph = new PrivilegedMGraphWrapper(new MulgaraMGraph(graphUri,lsf));\n\t\tmGraphs.put(name, mGraph);\n\t\t// save mapping persistent\n\t\tTriple triple = new TripleImpl(name, RDF.type, TCPROVIDER.MGraph);\n\t\tmulgaraInfoGraph.add(triple);\n\t\treturn mGraph;\n\t}", "title": "" }, { "docid": "5792f64b421a7bce7fe0f3ca19ae5adf", "score": "0.5505866", "text": "public BasicGraph<String> generateGraph() {\n for (Parser p : parsers) {\n snapshotGraph.addNode(new BasicNode<>(p.getName()));\n if(classes.contains(p.getName())){\n// throw new IllegalStateException(\"Class already present in graph: \"+p.getName());\n }\n classes.add(p.getName());\n }\n\n for (Parser p : parsers) {\n // add known dependendies and edge (checks if a class is already added\n for (String dependency : p.getKnownDependencies()) {\n if(snapshotGraph.getNode(dependency)==null){\n snapshotGraph.addNode(new BasicNode<>(dependency));\n }\n snapshotGraph.addEdge(p.getName(), dependency);\n }\n\n // try to resolve the unknown dependencies, if can not resolved the dependency is an external dependency\n for (String dependency : p.getDependencies()) {\n String name = p.getPackageName()+\".\"+dependency;\n if (classes.contains(name)) {\n boolean found = false;\n for (Parser parser : parsers) {\n if (parser.getName().equals(name)) {\n snapshotGraph.addEdge(p.getName(), parser.getName());\n found = true;\n break;\n }\n }\n if(!found) {\n throw new IllegalStateException(\"Class should be present in parser set, class: \" + name + \"\\nparsers: \" + parsers);\n }\n } else {\n parserDependenciesStillToResolve.add(p);\n p.addUnknownExternalDependencies(dependency);\n }\n }\n }\n\n for(Parser p : parserDependenciesStillToResolve){\n Iterator<String> iterator = p.getUnknownExternalDependencies().iterator();\n while(iterator.hasNext()){\n String dependency = iterator.next();\n boolean found = false;\n checkDependency:\n for(Parser p2 : parsers){\n if(!(p2 == p)) {\n for (String imp : p2.getKnownDependencies()) {\n if (imp.endsWith(dependency)) {\n for(String prefix : p.getStarImports()){\n if(imp.startsWith(prefix)){\n snapshotGraph.addEdge(p.getName(), imp);\n p.getKnownDependencies().add(imp);\n iterator.remove();\n //break to next to resolve\n found = true;\n break checkDependency;\n }\n }\n }\n }\n }\n }\n if(!found){\n if(snapshotGraph.getNode(dependency)==null){\n snapshotGraph.addNode(new BasicNode<>(dependency));\n }\n snapshotGraph.addEdge(p.getName(), dependency);\n }\n }\n }\n\n\n return snapshotGraph;\n }", "title": "" }, { "docid": "87acf5bd07b6c5aeb3a89070e38f085c", "score": "0.5501454", "text": "void addGraph(String name, Graph graph) {\n\t\tgraphs.put(name, graph);\n\t}", "title": "" }, { "docid": "f8e726cb182b5f40a853c25f6cfba6a3", "score": "0.54996586", "text": "public Vertex getVertex(String name) {\n\t\treturn vertexNames.get(name);\n\t}", "title": "" }, { "docid": "60bf791c16615f18e7a8d6bfd75afd85", "score": "0.5498689", "text": "public void removeGraph( String name )\n {\n GraphRDB toDelete = (GraphRDB) openGraph( name, true );\n toDelete.remove();\n toDelete.close();\n created.remove( name );\n }", "title": "" }, { "docid": "5c1fa543a96d15dafa35a4d59cdf0110", "score": "0.5491628", "text": "private Vertex getVertex( String vertexName )\n {\n Vertex v = vertexMap.get( vertexName );\n if( v == null )\n {\n v = new Vertex( vertexName );\n vertexMap.put( vertexName, v );\n }\n return v;\n }", "title": "" }, { "docid": "f5429684abc5ce0414d557897f02bd00", "score": "0.54317576", "text": "public static void updateGraph(String name) {\n\t\tTopology g = new Topology();\n\t\tfor (int i = 0; i < k.nodes.size(); i++) {\n\t\t\tArrayList<Router> allKnownNodes = g.getRouters();\n\t\t\tboolean alreadyExisted = false;\n\t\t\tint indexOfExistedNode = -1;\n\t\t\tRouter currentNode;\n\t\t\tfor (int p = 0; p < allKnownNodes.size(); p++) {\n\t\t\t\tif (allKnownNodes.get(p).getName().equals(k.nodes.get(i).getName())) {\n\t\t\t\t\talreadyExisted = true;\n\t\t\t\t\tindexOfExistedNode = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!alreadyExisted) {\n\t\t\t\tcurrentNode = g.addRouter(k.nodes.get(i).getName());\n\t\t\t} else {\n\t\t\t\tcurrentNode = allKnownNodes.get(indexOfExistedNode);\n\t\t\t}\n\n\t\t\tfor (int j = 0; j < k.nodes.get(i).getNeighbor().size(); j++) {\n\t\t\t\talreadyExisted = false;\n\t\t\t\tindexOfExistedNode = -1;\n\t\t\t\tfor (int m = 0; m < allKnownNodes.size(); m++) {\n\t\t\t\t\tif (allKnownNodes.get(m).getName().equals(k.nodes.get(i).getNeighbor().get(j).getName())) {\n\t\t\t\t\t\t// System.out.println(allKnownNodes.get(m).getName() +\n\t\t\t\t\t\t// k.nodes.get(i).getNeighbor().get(j).getName());\n\t\t\t\t\t\talreadyExisted = true;\n\t\t\t\t\t\tindexOfExistedNode = m;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!alreadyExisted) {\n\t\t\t\t\tRouter neighbor = g.addRouter(k.nodes.get(i).getNeighbor().get(j).getName());\n\t\t\t\t\tg.addLink(currentNode, neighbor, k.nodes.get(i).getNeighbor().get(j).getDistance());\n\t\t\t\t} else {\n\t\t\t\t\tRouter neighbor = allKnownNodes.get(indexOfExistedNode);\n\t\t\t\t\tg.addLink(currentNode, neighbor, k.nodes.get(i).getNeighbor().get(j).getDistance());\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t\tDijkstras d = new Dijkstras(g);\n\t\t// ArrayList<String> nodeNames = k.getNodeNames();\n\t\tArrayList<Router> allKnownNodes = g.getRouters();\n\t\tint indexSelf = -1;\n\t\tfor (int i = 0; i < allKnownNodes.size(); i++) {\n\t\t\tif (allKnownNodes.get(i).getName().equals(name)) {\n\t\t\t\tindexSelf = i;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < allKnownNodes.size(); i++) {\n\t\t\tif (i != indexSelf) {\n\t\t\t\tfloat cost = 0.0f;\n\t\t\t\tArrayList<Router> path = d.getShortestPath(allKnownNodes.get(indexSelf), allKnownNodes.get(i));\n\t\t\t\tSystem.out.print(\"least-cost path to node \" + allKnownNodes.get(i).getName() + \": \");\n\t\t\t\tfor (int j = 0; j < path.size(); j++)\n\t\t\t\t\tSystem.out.print(path.get(j));\n\t\t\t\tfor (int j = 0; j < path.size() - 1; j++) {\n\t\t\t\t\tcost += d.getDistance(path.get(j), path.get(j + 1));\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\" and the cost is \" + cost);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "f30eaa42f3cdcc21665434095bb53368", "score": "0.54143274", "text": "MNode getNodeByPath(String path) throws PathException {\n lock.readLock().lock();\n try {\n return mgraph.getNodeByPath(path);\n } finally {\n lock.readLock().unlock();\n }\n }", "title": "" }, { "docid": "b140fef733714f8f514b467eab682f4d", "score": "0.54127514", "text": "@Override\n\tpublic Vertex <V> getVertex(String VertexName) \n\t{\n\t\t\n\t\tVertex j;\n\t\tfor(int i = 0; i < v.size(); i++)\n\t\t{\n\t\t\tj = v.get(i);\n\t\t\tif(j.getVertexName().equals(VertexName))\n\t\t\t{\n\t\t\t\treturn j;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "523a6e0afbd4d598b5372fe8b4900c50", "score": "0.5412183", "text": "protected Graph getGraph() {\n return graph;\n }", "title": "" }, { "docid": "0d0ca7ca30ad49b0a37dd39a5335f9c2", "score": "0.5393029", "text": "public interface GraphReader {\n /**\n * Method for reading a graph from file\n *\n * @param file file to read graph from\n * @return graph, that was read from the specified file\n * @throws IOException if the specified file is not valid or for some other reason cannot be read\n * from\n * @throws ImportException if the format of the graph in the specified file is not valid\n */\n Graph<String, DefaultEdge> readGraph(File file) throws IOException, ImportException;\n}", "title": "" }, { "docid": "d03d86b279a75429e80f4b55cab235d5", "score": "0.5391757", "text": "private GraphNode getGraphNode(String vertex) {\n\n\t\tfor(GraphNode node : vertexList) {\n\t\t\tif(node.name.equals(vertex)) {\n\t\t\t\treturn node;\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "883b0b892b1b1d5dec33bf665efc7880", "score": "0.538484", "text": "default Optional<Network> networkFromName(String name) {\n return networkFromName(name, DEFAULT_SLIM);\n }", "title": "" }, { "docid": "4f626a2cb93bbf1a2887eec5ca1775c6", "score": "0.538425", "text": "Graph(String name) //constructor\n\t\t{\n\t\t//NodeList = new ArrayList<Node>(); //list of neighbors\n\t\tNametoNode = new HashMap<String,Node>();\n\t\tthis.Name = name;\n\t\t}", "title": "" }, { "docid": "080fe39b40b541c1afe1570a452c3a13", "score": "0.5371736", "text": "public Excursion findByName(String name);", "title": "" }, { "docid": "f91cd6f311566ab4840207034a9fc428", "score": "0.53629625", "text": "public static String doGraphFilter(Graph graph, String name) {\n \tif (graph.E() == 0) throw new NullPointerException(\"GraphFuncionality.doGraphFilter\");\n \t\n \tString result = new String(\"\");\n \tArrayList<String> allNames = new ArrayList<String>();\n \tString noMatch = \"<p>Ninguna coincidencia. Error al introducir nombre,\" +\n \t\t\t\t\t\"o no existe en nuestra BD</p><br>\";\n \ttry {\n\t \tif (name.equals(\"\")){ //caso de no introducir nada\n\t \t\tthrow new IllegalArgumentException(\"GraphFuncionality.doGraphFilter\");\n\t \t}else if (!graph.hasVertex(name)){ //no coincidencia nombre\n\t \t\tallNames = nameChecker(Main.getConnection(),name);\n\t \t\tif (!allNames.isEmpty()) {\n\t \t\t\tresult = \"<p>Múltiples coincidencias. Copia nombre exacto en el formulario:</p><ul>\"; \n\t \t\t\tfor(String aux: allNames) {\n\t \t\t\t\tresult += \"<li>\" + aux + \"</li>\"; \n\t \t\t\t}\n\t \t\t\tresult += \"</ul>\";\n\t \t\t}else { //no coincidencia\n\t \t\t\tresult += noMatch;\n\t \t\t}\n\t\t\t}else{\n\t\t \tfor (String w : graph.adjacentTo(name)){\n\t\t \t\tresult += \"<li>\" + w + \"</li>\";\n\t\t }\n\t\t\t}\n \t}catch(IllegalArgumentException e) {\n \t\tresult =\"<p>ERROR. Ver 'uso'. Por favor, inténtalo de nuevo.</p>\";\n \t}\n\t\treturn result;\n }", "title": "" }, { "docid": "8b9a6d13ca18da424991827275b2a56f", "score": "0.5352005", "text": "public void createGraph(String graph) throws OtmException;", "title": "" }, { "docid": "d2f82291fbd29cb362ea0712eca36e7a", "score": "0.534986", "text": "FunctionCallGraph getGraph();", "title": "" }, { "docid": "750c1ffb482c26f3ce4cf0587969d732", "score": "0.5345987", "text": "private TraineeGrades find(String name) {\n\t\tfor (TraineeGrades t : trainees) {\n\t\t\tif (t.trainee.getName().equals(name)) {\n\t\t\t\treturn t;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "dfbf4fa2fe84a090ad0873fe837852c2", "score": "0.53373647", "text": "public Graph createGraphStructure(String file_name){\r\n\t\r\n\t\t//Create a new graph g\r\n\t\tGraph g = new Graph();\r\n\t\t\r\n\t\t//Parse the input\r\n\t\tHashMap<String,int[]> mapGraph = this.readGraphFile(file_name);\r\n\t\t\t\r\n\t\t//Get list of nodes in the graph\r\n\t\tArrayList<Node> listNodes = this.getListNodes(mapGraph);\r\n\t\tg.setSetNodes(listNodes);\r\n\t\t\t\t\r\n\t\t//Create list of links in the graph\r\n\t\tIterator<String> iter = mapGraph.keySet().iterator();\r\n\t\tString entry = new String();\r\n\t\twhile(iter.hasNext()){\r\n\t\t\tentry = (String)iter.next();\r\n\t\t\t//Bidirectional edges\r\n\t\t\tg.insertEdge(g.getNode(mapGraph.get(entry)[0]),g.getNode(mapGraph.get(entry)[1]));\r\n\t\t\tg.insertEdge(g.getNode(mapGraph.get(entry)[1]), g.getNode(mapGraph.get(entry)[0]));\r\n\t\t\tg.findEdge(g.getNode(mapGraph.get(entry)[0]),g.getNode(mapGraph.get(entry)[1])).setWeight(mapGraph.get(entry)[2]);\r\n\t\t \tg.findEdge(g.getNode(mapGraph.get(entry)[1]),g.getNode(mapGraph.get(entry)[0])).setWeight(mapGraph.get(entry)[2]);\r\n\t\t \tlong capacityBps = Long.parseLong(\"\" + mapGraph.get(entry)[3])*1000;\r\n\t\t \tg.findEdge(g.getNode(mapGraph.get(entry)[0]),g.getNode(mapGraph.get(entry)[1])).setCapacity(capacityBps);\r\n\t\t \tg.findEdge(g.getNode(mapGraph.get(entry)[1]),g.getNode(mapGraph.get(entry)[0])).setCapacity(capacityBps);\r\n\t\t \tdouble delay = mapGraph.get(entry)[4];\r\n\t\t \tg.findEdge(g.getNode(mapGraph.get(entry)[0]),g.getNode(mapGraph.get(entry)[1])).setDelay(delay);\r\n\t\t \tg.findEdge(g.getNode(mapGraph.get(entry)[1]),g.getNode(mapGraph.get(entry)[0])).setDelay(delay);\r\n\t\t}\r\n\t\t\r\n\t\treturn g;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "fccd35380d257c3c809542bbe09c8b67", "score": "0.5335021", "text": "@Override\r\n\tpublic Town getTown(String name) \r\n\t{\r\n\t\tTown t = new Town(name);\r\n\t\tTown temp;\r\n\t\tif(graph.containsVertex(t))\r\n\t\t{\r\n\t\t\t\r\n\t\t\tSet<Town> towns = graph.vertexSet();\r\n\t\t\tIterator<Town> i = towns.iterator();\r\n\t\t\twhile(i.hasNext())\r\n\t\t\t{\r\n\t\t\t\ttemp = i.next();\r\n\t\t\t\tif(temp.equals(t))\r\n\t\t\t\t{\r\n\t\t\t\t\treturn temp;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "7ac0e158601af7a52ebd4bd74d8bd579", "score": "0.53325367", "text": "@Override\n\tpublic Graph createGraph(UriRef name, TripleCollection triples) {\n\t\tif(!isInitialized) {\n\t\t\tinitialize();\n\t\t}\n\t\tif ((name == null) || (name.getUnicodeString() == null)\n\t\t\t\t|| (name.getUnicodeString().trim().length() == 0)) {\n\t\t\tthrow new IllegalArgumentException(\"Name must not be null\");\n\t\t}\n\t\t// Checks that an MGraph with this name does not already exist\n\t\tif (graphs.containsKey(name)) {\n\t\t\tthrow new EntityAlreadyExistsException(name);\n\t\t}\n\n\t\tURI graphUri = URI.create(name.getUnicodeString());\n\t\tcreateNewModel(graphUri);\n\t\tfinal MGraph mGraph = new PrivilegedMGraphWrapper(new MulgaraMGraph(graphUri, lsf));\n\t\tmGraph.addAll(triples);\n\t\tGraph graph = new SimpleGraph(mGraph);\n\t\tgraphs.put(name, graph);\n\t\t// save mapping persistent\n\t\tTriple triple = new TripleImpl(name, RDF.type, TCPROVIDER.Graph);\n\t\tmulgaraInfoGraph.add(triple);\n\t\treturn graph;\n\t}", "title": "" }, { "docid": "1bfed3b9eafd709329bdc81ed050ec3f", "score": "0.52925235", "text": "public Graph getGraph() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "7086c278f50c16fc50ff98bfe1211d23", "score": "0.52887774", "text": "void removeGraph(String graphName) throws GraphManagementException;", "title": "" }, { "docid": "0c3356cea4e1bd5eeda2ee2cee3b6988", "score": "0.5245783", "text": "public Symbol getSymbol(String name)\r\n {\r\n if (symbols.containsKey(name))\r\n {\r\n return symbols.get(name);\r\n }\r\n if (parentSymbolTable != null && !name.equals(\"this\"))\r\n {\r\n return parentSymbolTable.getSymbol(name);\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "88cc67a2cb1bbc38f6ed08fb2677d418", "score": "0.52145505", "text": "public Graph readGraphFromFile(String path) throws Exception {\n\n File file = new File(path);\n\n ArrayList<Node> v = new ArrayList<Node>();\n ArrayList<Edge> e = new ArrayList<Edge>();\n\n BufferedReader br = new BufferedReader(new FileReader(file));\n String st;\n\n while ((st = br.readLine()) != null) {\n String[] parts = st.split(\"\\t\");\n if (isNum(parts[0]) && isNum(parts[1])) {\n double x = Double.parseDouble(parts[0]);\n double y = Double.parseDouble(parts[1]);\n v.add(new Node(x, y));\n } else return null;\n }\n br.close();\n return new Graph(v, e);\n }", "title": "" }, { "docid": "995ccb3a9227ea202debbb89fdfe18b9", "score": "0.52113396", "text": "public Net getNet(String name) {\n return netMap.get(name);\n }", "title": "" }, { "docid": "6abda881bac1fe865f073d18e543640d", "score": "0.52106386", "text": "public V vertexForName(String s);", "title": "" }, { "docid": "3693805cebb81108020c475856ec0f51", "score": "0.5205699", "text": "public static buildingGraph readGraph(String graphID) {\n File graphFile = Paths.get(Main.GRAPHDIR.getPath(), graphID).toFile();\n if (graphFile.exists()) {\n return serializeUtils.readObject(graphFile, buildingGraph.class);\n }\n return null;\n }", "title": "" }, { "docid": "fd34aae3c28ec86dc594762e798e1e94", "score": "0.5205096", "text": "@GET\n @Path(\"{graph}\")\n @SuppressWarnings(\"UseSpecificCatch\")\n public Response get(@Context HttpServletRequest request,\n @Context HttpServletResponse response,\n @PathParam(\"graph\") String graph){\n Model model;\n try {\n model = manager.getModel(new URI(GraphResource.PATH + \"/\" + graph));\n if (model == null)\n return Response.status(Response.Status.NOT_FOUND).build();\n else if (model.isEmpty())\n return Response.noContent().build();\n else\n return write(model, response, request.getHeader(HttpHeaders.ACCEPT));\n } catch (Exception ex) {\n LOG.error(\"Could not retrieve RDF\", ex);\n return Response.serverError().entity(\"Unexpected error\").build();\n }\n }", "title": "" }, { "docid": "730b243a9f3a7c36fc070f5181bf07b2", "score": "0.52017933", "text": "public Graph getGraph(@Nullable String graphIri) throws LpAppsException {\n SelectSparqlQueryProvider provider = new GraphQueryProvider();\n return JenaUtils.withQueryExecution(provider.get(graphIri), GraphExtractor::extract);\n }", "title": "" }, { "docid": "500ac76f473b00b7bd930bff7bef2991", "score": "0.52003926", "text": "public static OptionalThing<GroupingReference> byName(String name) { return _slimmer.byName(name); }", "title": "" }, { "docid": "3b88dd941ee428f1cdd04d4a9e123e4e", "score": "0.519056", "text": "private Relation findRelation(String name)\n\t{\n\t\tfor (Relation relation : Database.getRelations())\n\t\t{\n\t\t\tif (relation.getName().equals(name))\n\t\t\t{\n\t\t\t\treturn relation;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "0420172464df9582d6da89dc0685e0b1", "score": "0.5161374", "text": "public Iterable<IGraphInfo> getGraphInfos() throws StoreException;", "title": "" }, { "docid": "c6a8b69d1cc7c025d4a4171b7a8dd817", "score": "0.514347", "text": "public Network getNetwork(String name){\n Vector childs=getChilds();\n for(int i=0;i<childs.size(); i++){\n Element e=(Element)childs.elementAt(i);\n if(e.getType()==Element.NETWORK&&e.getName().equals(name)){\n return(Network)e;\n }\n }\n return null;\n }", "title": "" }, { "docid": "55921a005e8cbab7c4f8d6ab2e225503", "score": "0.51368403", "text": "IGraphNode getGraphNode();", "title": "" }, { "docid": "665d3d8c8d180a9451d1b21478cb5222", "score": "0.51285195", "text": "@Override\n public Graph createGraph()\n { return createGraph( freshGraphName(), false ); }", "title": "" }, { "docid": "9ad698a3066bb4ff6bfb461aac5a5d2d", "score": "0.5093504", "text": "G createGraph(Context.GraphClass graphClass);", "title": "" }, { "docid": "bfa620ae6a57847ddc3a56e84c569ce3", "score": "0.50863206", "text": "Graph getGraph() {\n return this.graph;\n }", "title": "" }, { "docid": "d51c3f80e6ee43b2b37a57ee62e69b0d", "score": "0.50771", "text": "public Graph getGraph() {\r\n\t\treturn m_graph;\r\n\t}", "title": "" }, { "docid": "c8b653167d0ee2698f2b18fb1369eeba", "score": "0.50683033", "text": "public RelationMapping tryGetRelationMapping(String name) throws ObjectNotFoundException {\n return nameToRelations.get(name);\n }", "title": "" }, { "docid": "9037f8936899975a07c83df65c27e6a8", "score": "0.5067571", "text": "public void addGraph(String name, int n) \n throws RemoteException;", "title": "" }, { "docid": "6bee4a92c2528f08a706a91737fa8375", "score": "0.5061718", "text": "DGraph getDGraph();", "title": "" }, { "docid": "874a1b9a2c47e92f2a3c16c526107b03", "score": "0.50556713", "text": "private void buildGraph() {\n try {\n Collection<FacilityVertex> facilityVertices = loader.load();\n for (FacilityVertex facilityVertex : facilityVertices){\n String facilityName = facilityVertex.getFacilityName();\n networkGraph.addFacility(facilityName);\n facilities.add(facilityName);\n\n Iterator<String> iterator = facilityVertex.neighbors();\n while (iterator.hasNext()){\n String neighbor = iterator.next();\n int distance = facilityVertex.distanceTo(neighbor);\n networkGraph.addNeighbor(facilityName, neighbor, distance);\n }\n\n }\n } catch (LoaderFileNotFoundException e) {\n e.printStackTrace();\n } catch (NullParameterException e) {\n e.printStackTrace();\n } catch (FacilityNotFoundInNetworkException e) {\n e.printStackTrace();\n } catch (SelfLoopNetworkException e) {\n e.printStackTrace();\n } catch (NeighborNotFoundInNetworkException e) {\n e.printStackTrace();\n } catch (NegativeOrZeroParameterException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "e4f0a67a64127fe90e5b4e2fab92c79c", "score": "0.50224304", "text": "@SubL(source = \"cycl/sbhl/sbhl-graphs.lisp\", position = 7123) \n public static final SubLObject get_sbhl_graph_link_from_graph(SubLObject node, SubLObject graph, SubLObject v_cache) {\n {\n final SubLThread thread = SubLProcess.currentSubLThread();\n {\n SubLObject result = NIL;\n {\n SubLObject _prev_bind_0 = file_vector_utilities.$file_vector_backed_map_read_lock$.currentBinding(thread);\n SubLObject _prev_bind_1 = cfasl.$cfasl_common_symbols$.currentBinding(thread);\n try {\n file_vector_utilities.$file_vector_backed_map_read_lock$.bind($sbhl_file_vector_data_stream_lock$.getGlobalValue(), thread);\n cfasl.$cfasl_common_symbols$.bind(NIL, thread);\n cfasl.cfasl_set_common_symbols_simple(misc_utilities.get_hl_store_caches_shared_symbols());\n result = file_vector_utilities.file_vector_backed_map_wX_cache_get(graph, $sbhl_backing_file_vector$.getGlobalValue(), v_cache, node, UNPROVIDED);\n } finally {\n cfasl.$cfasl_common_symbols$.rebind(_prev_bind_1, thread);\n file_vector_utilities.$file_vector_backed_map_read_lock$.rebind(_prev_bind_0, thread);\n }\n }\n return result;\n }\n }\n }", "title": "" }, { "docid": "e9da93ebe990d75140761969fe9ea648", "score": "0.50208277", "text": "public Vertex getVertex(String vertexName) {\r\n\t\tVertex v = (Vertex) vertexMap.get(vertexName);\r\n\t\tif (v == null) {\r\n\t\t\tv = new Vertex(vertexName);\r\n\t\t\tvertexMap.put(vertexName, v);\r\n\t\t}\r\n\t\treturn v;\r\n\t}", "title": "" }, { "docid": "38c9f3156f3c6fc45c84b72d68757c81", "score": "0.50167626", "text": "private AbstractGraphDatabase localGraph()\n {\n // try\n // {\n // if (databaseLock.readLock().tryLock( localGraphWait, TimeUnit.SECONDS ))\n // {\n // try\n // {\n // if (internalGraphDatabase == null)\n // if ( causeOfShutdown != null )\n // {\n // throw new RuntimeException( \"Graph database not started\", causeOfShutdown );\n // }\n // else\n // {\n // throw new RuntimeException( \"Graph database not assigned and no cause of shutdown, \" +\n // \"maybe not started yet or in the middle of master/slave swap?\" );\n // }\n //\n // return internalGraphDatabase;\n // } finally\n // {\n // databaseLock.readLock().unlock();\n // }\n // } else\n // {\n // if ( causeOfShutdown != null )\n // {\n // throw new RuntimeException( \"Graph database not started\", causeOfShutdown );\n // }\n // else\n // {\n // throw new RuntimeException( \"Graph database not assigned and no cause of shutdown, \" +\n // \"maybe not started yet or in the middle of master/slave swap?\" );\n // }\n // }\n // }\n // catch( InterruptedException e )\n // {\n // if ( causeOfShutdown != null )\n // {\n // throw new RuntimeException( \"Graph database not started\", causeOfShutdown );\n // }\n // else\n // {\n // throw new RuntimeException( \"Graph database not assigned and no cause of shutdown, \" +\n // \"maybe not started yet or in the middle of master/slave swap?\" );\n // }\n // }\n \n AbstractGraphDatabase result = internalGraphDatabase;\n if( result != null )\n {\n return result;\n }\n \n long endTime = System.currentTimeMillis()+SECONDS.toMillis( localGraphWait );\n while ( result == null && System.currentTimeMillis() < endTime )\n {\n sleepWithoutInterruption( 1, \"Failed waiting for local graph to be available\" );\n result = internalGraphDatabase;\n }\n if( result != null )\n {\n return result;\n }\n \n if ( causeOfShutdown != null )\n {\n throw new RuntimeException( \"Graph database not started\", causeOfShutdown );\n }\n else\n {\n throw new RuntimeException( \"Graph database not assigned and no cause of shutdown, \" +\n \"maybe not started yet or in the middle of master/slave swap?\" );\n }\n }", "title": "" }, { "docid": "d649d96233c97e6a708e2a7185cb2ed1", "score": "0.5014382", "text": "public String getGraph() {\n\t\treturn this.graph.toString();\n\t}", "title": "" }, { "docid": "98bf4089ead127aec70a2dcf187efa42", "score": "0.500127", "text": "public abstract Graph<T> getOwnerGraph();", "title": "" }, { "docid": "70f2e8ee8bbf0d709739dd4a0c3873ef", "score": "0.49938506", "text": "public GraphEdge getEdge(GraphNode u, GraphNode v) throws GraphException{\r\n\t\ttry {\r\n\t\t\treturn edge[u.getName()][v.getName()];\r\n\t\t}catch(Exception e) {\r\n\t\t\tthrow new GraphException(\"Error: edge does not exist or node(s) does not exist\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "63978fcded56a37624042df7e7947893", "score": "0.49870402", "text": "public interface Graph<Vertex> {\n\n /**\n * Adds the specified vertex to this graph if not already present.\n * More formally, adds the specified vertex, v, to this graph if this graph contains no vertex u such that u.equals(v).\n * If this graph already contains such vertex, the call leaves this graph unchanged and returns false.\n * @param vertex vertex to be added to this graph.\n * @return <code>true</code> if this graph did not already contain the specified vertex.\n * @throws NullPointerException if the specified vertex is null.\n */\n boolean addVertex(@Nonnull Vertex vertex);\n\n /**\n * Creates a new edge in this graph, going from the source vertex to the target vertex, and returns the created edge.\n * <p/>Edge-multiplicity is not allowed.\n * If the graph already contains an edge from the specified source to the specified target,\n * than this method does not change the graph and returns false.\n * <p/>Loops are not allowed.\n * If source vertex equals to target vertex IllegalArgumentException is thrown.\n * <p/>The source and target vertices must already be contained in this graph.\n * If they are not found in graph IllegalArgumentException is thrown.\n * @param sourceVertex source vertex of the edge.\n * @param targetVertex target vertex of the edge.\n * @return <code>false</code> if the graph already contains an edge from the specified source to the specified target.\n * Otherwise <code>true</code>\n * @throws NullPointerException if any of the specified vertices is null.\n * @throws IllegalArgumentException if source or target vertices are not found in the graph.\n * @throws IllegalArgumentException if source vertex equals to target vertex.\n */\n boolean addEdge(@Nonnull Vertex sourceVertex, @Nonnull Vertex targetVertex);\n\n /**\n * Finds optimal path from source vertex to target vertex in the graph using 'Breadth-first search' algorithm.\n * Returns sorted list of {@link Edge} connecting source and target vertices.\n * Returns empty list if path is not found.\n * @param sourceVertex source vertex of the path.\n * @param targetVertex target vertex of the path.\n * @return sorted list of {@link Edge} connecting source and target vertices.\n * Or empty list if path is not found.\n * @throws NullPointerException if any of the specified vertices is null.\n * @throws IllegalArgumentException if source or target vertices are not found in the graph.\n */\n @Nonnull\n List<Edge<Vertex>> getPath(@Nonnull Vertex sourceVertex, @Nonnull Vertex targetVertex);\n\n /**\n * Traverses vertices in the graph from specified vertex using 'Breadth-first search' algorithm.\n * Applies consumer (if specified) to every discovered vertex.\n * @param rootVertex root vertex to be used as start point.\n * @param consumer {@link Consumer} implementation to be applied to every discovered vertex in traverse.\n * @throws NullPointerException if the specified vertex is null.\n * @throws IllegalArgumentException if specified vertex is not found in the graph.\n */\n void traverseFrom(@Nonnull Vertex rootVertex, @Nullable Consumer<Vertex> consumer);\n\n /**\n * Traverses all vertices in the graph using 'Breadth-first search' algorithm.\n * Applies consumer (if specified) to every discovered vertex.\n * @param consumer {@link Consumer} implementation to be applied to every discovered vertex in traverse.\n */\n void traverseAll(@Nullable Consumer<Vertex> consumer);\n\n}", "title": "" }, { "docid": "b4d907f303dbc8ef58b5c5cb9bb517af", "score": "0.498654", "text": "private static CustomGraph loadGraphFromDotFile(File filepath) {\n CustomGraph graph = new CustomGraph(CustomGraphEdge.class, createGraphName(filepath));\n GraphImporter<CustomGraphVertex, CustomGraphEdge> importer = createImporter();\n try {\n importer.importGraph(graph, filepath);\n return graph;\n } catch (ImportException e) {\n Dialogs.exceptionDialog(e);\n return null;\n }\n }", "title": "" }, { "docid": "edeb38730514186f58313da0cd3f754b", "score": "0.49583513", "text": "static public Symbol symbolForName(String name)\n throws NoSuchElementException {\n String ls = \"urn:lsid:biojava.org:symbol:\"+name;\n LifeScienceIdentifier lsid = null;\n try {\n lsid = LifeScienceIdentifier.valueOf(ls);\n } catch (LifeScienceIdentifierParseException ex) {\n throw new BioError(\"Cannot construct LSID for \"+name, ex);\n }\n Symbol s = (Symbol) lsidToSymbol.get(lsid);\n if(s == null) {\n throw new NoSuchElementException(\"Could not find symbol under the name \" + lsid);\n }\n return s;\n }", "title": "" }, { "docid": "0c62aef3d5679b56cac6f00fce88c10a", "score": "0.49542964", "text": "TopologyInfo getTopologyInfoByName(String name) throws TException;", "title": "" }, { "docid": "096bfc23ca49e82d997d4336b15a33d9", "score": "0.4933099", "text": "public Gene getGene(String name) throws HibernateException {\n List<Gene> genesList = null;\n Gene gene = null;\n \n if ((name == null) || (name.trim().isEmpty()))\n return gene;\n \n try {\n getCurrentSession().beginTransaction();\n genesList = getCurrentSession()\n .createQuery(\"FROM Gene g WHERE name = :name\")\n .setParameter(\"name\", name)\n .list();\n getCurrentSession().getTransaction().commit();\n } catch (HibernateException e) {\n getCurrentSession().getTransaction().rollback();\n throw e;\n }\n \n if ((genesList != null) && ( ! genesList.isEmpty())) {\n gene = genesList.get(0);\n }\n \n return gene;\n }", "title": "" }, { "docid": "e97149d2b5a861387f75d27409603239", "score": "0.4918773", "text": "public _model getNest( String name )\r\n {\r\n return this.nesteds.getByName( name );\r\n }", "title": "" }, { "docid": "1765ce78e27029c108481d61d82e706c", "score": "0.4915687", "text": "default Optional<Network> networkFromName(String name, boolean slim) {\n return networkFromName(name, Instant.now(), Instant.now(), slim);\n }", "title": "" }, { "docid": "9ab9bf6d602998458b289e849f3b455f", "score": "0.48879606", "text": "@Test\r\n\tpublic void testReadGraph() {\r\n\t\ttry {\r\n\t\t\tGraph grafo = null;\r\n\r\n\t\t\tgrafo = GraphControl.readGraph(\"teste1.txt\");\r\n\t\t\tassertNotNull(grafo);\r\n\r\n\t\t\tgrafo = GraphControl.readGraph(\"teste3.txt\");\r\n\t\t\tassertNotNull(grafo);\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\tfail();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e9bce541ef4df8252ab99936b8d68bc9", "score": "0.4882337", "text": "boolean checkGraph() {\n boolean undirected = true;\n for (Map.Entry<String, List<String>> node : graph.entrySet())\n for (String adjNodeName : node.getValue()) {\n if (!graph.containsKey(adjNodeName)) {\n System.err.println(\"No graph entry for \" + adjNodeName);\n undirected = false;\n } else if (!graph.get(adjNodeName).contains(node.getKey())) {\n System.err.println(node.getKey() + \" => \" + adjNodeName + \" exists, but \" + adjNodeName +\n \" => \" + node.getKey() + \" doesn't\");\n undirected = false;\n }\n }\n return undirected;\n }", "title": "" }, { "docid": "4c04a8ebe897774d496afbb4925ed0a4", "score": "0.48797947", "text": "@Override\r\n public Node getNodeByString(String s) {\r\n //this method will scan through the vertex list\r\n for (int i = 0; i < nV; i++) {\r\n //if the portName is equivalent, then return the node that has the same port name\r\n if (vertices.get(i).getPortName().equals(s))\r\n return vertices.get(i);\r\n }\r\n //return null if no node is found\r\n return null;\r\n }", "title": "" }, { "docid": "1ff796c4dc13e80f4061e28b53a48d18", "score": "0.48722067", "text": "@Override\n public Graph getGraph()\n { if (defaultGraph == null) \n defaultGraph = consGraph( null, !c.containsDefaultModel() ); \n return defaultGraph; }", "title": "" }, { "docid": "220bd7be1905a97f1707a798ae03681c", "score": "0.4859756", "text": "private MeasurementSchema getSchemaForOnePathWithCheck(String path) throws PathException {\n\n lock.readLock().lock();\n try {\n return mgraph.getSchemaForOnePathWithCheck(path);\n } finally {\n lock.readLock().unlock();\n }\n }", "title": "" }, { "docid": "cea924c8101caee6381bf9f6a54c750e", "score": "0.48489034", "text": "public Vertex(String name) {\n this.name = name;\n this.adjacenciesList = new ArrayList<Edge>(); \n }", "title": "" }, { "docid": "f4ed1df6d18fbecbb15f88fe92e70616", "score": "0.48483846", "text": "private static ArrayList<Graph> loadGraphSetFromFile(Path inpath, String namePrefix) throws FileNotFoundException{\n\t\tArrayList<Graph> graphSet = new ArrayList<Graph>();\n\t\tScanner scanner = new Scanner(inpath.toFile());\n\t\tGraph graph = null;\n\t\twhile (scanner.hasNextLine()){\n\t\t\tString line = scanner.nextLine().trim();\n\t\t\tif (line.equals(\"\")){\n\t\t\t\tcontinue;\n\t\t\t} else if (line.startsWith(\"t\")) {\n\t\t\t\tString graphId = line.split(\" \")[2];\n\t\t\t\tif (graph != null){\n\t\t\t\t\tgraphSet.add(graph);\n\t\t\t\t}\n\t\t\t\tgraph = new Graph(namePrefix + graphId);\n\t\t\t} else if (line.startsWith(\"v\")) {\n\t\t\t\tString[] lineSplit = line.split(\" \");\n\t\t\t\tint nodeId = Integer.parseInt(lineSplit[1]);\n\t\t\t\tint nodeLabel = Integer.parseInt(lineSplit[2]);\n\t\t\t\tgraph.addNode(nodeId, nodeLabel);\n\t\t\t} else if (line.startsWith(\"e\")) {\n\t\t\t\tString[] lineSplit = line.split(\" \");\n\t\t\t\tint sourceId = Integer.parseInt(lineSplit[1]);\n\t\t\t\tint targetId = Integer.parseInt(lineSplit[2]);\n\t\t\t\tint edgeLabel = Integer.parseInt(lineSplit[3]);\n\t\t\t\tgraph.addEdge(sourceId, targetId, edgeLabel);\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t\treturn graphSet;\n\t}", "title": "" }, { "docid": "717b1e7a5f68927dc824639788b2c821", "score": "0.4848346", "text": "@Override\n public void process(final Graph graph) throws IOException {\n throw new RuntimeException(\"found\");\n }", "title": "" }, { "docid": "033032d58444f0473ab5ff2edf19d792", "score": "0.48421392", "text": "public Symbol lookup(String name) {\n\t\treturn lookupEntry(name).sym;\n\t}", "title": "" }, { "docid": "232ae72e6d482dfe511c4458d73efb5b", "score": "0.48391873", "text": "private synchronized DataSources getDatasourcesGraph() {\n \n try {\n if (datasourcesFile.exists()) {\n // load configuration if already exists\n try {\n if (datasources == null)\n datasources = DataSources.createGraph(datasourcesFile);\n } catch (IOException ioe) {\n Exceptions.printStackTrace(ioe);\n } catch (RuntimeException re) {\n // jboss-ds.xml is not parseable, do nothing\n }\n } else {\n // create jboss-ds.xml if it does not exist yet\n datasources = new DataSources();\n \n OC4JResourceConfigurationHelper.writefile(datasourcesFile, datasources);\n }\n } catch (ConfigurationException ce) {\n Exceptions.printStackTrace(ce);\n }\n \n return datasources;\n }", "title": "" }, { "docid": "fcf95823249d023405a224d72390cbfe", "score": "0.4833481", "text": "public Series getSeries(String name) {\n try (PreparedStatement ps = connection.prepareStatement(\"SELECT * FROM series WHERE name = ?\")) {\n ps.setString(1, name);\n try (ResultSet resultSet = ps.executeQuery()) {\n if (resultSet.next())\n return new Series(resultSet.getInt(1), resultSet.getString(2));\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "35154b7d85cb57fdb82217b5618909ba", "score": "0.48265243", "text": "@Override\r\n\tpublic ElementDomainObject findByName(String name) throws Exception {\r\n\t\tElementRDG element = ElementRDG.findByName(name);\r\n\t\treturn createElement(element.getID(), element.getName(), element.getAtomicNumber(), element.getAtomicMass(),\r\n\t\t\t\telement.getMoles());\r\n\t}", "title": "" }, { "docid": "9f5cc09c37ce69bc5fa882bf83d97ed7", "score": "0.48223844", "text": "public Graph<Attribute, EdgeStatementMap> getGraph() {\n\t\treturn graph;\n\t}", "title": "" }, { "docid": "4575091d2fe635e9cb3b759a3f6e3cb0", "score": "0.48180762", "text": "public Graph concreteRead(String spaceURI, String graphURI, SemanticFormat outputFormat) throws SpaceNotExistsException {\n\t\tif (this.spaces.containsKey(spaceURI)) {\n\t\t\treturn convertToGraph(this.spaces.get(spaceURI).read(graphURI),outputFormat);\n\t\t}\n\t\tthrow new SpaceNotExistsException(\"The space you are trying to remove, doesn't exist.\");\n\t}", "title": "" } ]
532c9babbaf3a9752715fcd1c96a44c6
Mock having liked the comment previously
[ { "docid": "d949cc4be836ae5632c51f61c500ff4b", "score": "0.7352605", "text": "@Test\n\tpublic void getLikeStatus_ExpectTrue()\n\t{\n\t\tfinal Set<Account> likedBy = comment.getLikedBy();\n\t\tlikedBy.add(account);\n\n\t\tMockito.when(commentRepository.findById(COMMENT_ID)).thenReturn(Optional.of(comment));\n\n\t\tassertEquals(commentService.getLikeStatus(String.valueOf(COMMENT_ID)), true);\n\t}", "title": "" } ]
[ { "docid": "1619d53f1da910046ec4f4652bd89285", "score": "0.7861246", "text": "@Test\n\tpublic void unlikeCommentSuccessfully()\n\t{\n\t\tfinal Set<Account> likedBy = comment.getLikedBy();\n\t\tlikedBy.add(account);\n\n\t\tMockito.when(commentRepository.findById(COMMENT_ID)).thenReturn(Optional.of(comment));\n\n\t\tassertEquals(comment.getLikedBy().size(), 1);\n\t\tassertEquals(commentService.unlikeComment(String.valueOf(COMMENT_ID)), 0);\n\t}", "title": "" }, { "docid": "2eb8cf5e77e07554d0afcd5276ea53e3", "score": "0.64537793", "text": "public void like() {\n likes++;\n }", "title": "" }, { "docid": "c5fb5ac6ac26b60fda85a66029af07ba", "score": "0.6408112", "text": "void liked(CalObject object, int newLikeCount, int newDislikesCount);", "title": "" }, { "docid": "7bbb1fefab17da0372a0870104a20fcb", "score": "0.6313538", "text": "@Test\n public void testCommentLikeWithValidValuesIsCreated() {\n final User mockedUser = Mockito.mock(User.class);\n final Comment mockedComment = Mockito.mock(Comment.class);\n\n final CommentLike commentLike = new CommentLike(mockedUser, mockedComment);\n\n Assert.assertEquals(\"The created comment like did not contain the user liking as user\",\n mockedUser, commentLike.getUser());\n Assert.assertEquals(\"The created comment like did not contain the comment being liked as comment\",\n mockedComment, commentLike.getComment());\n }", "title": "" }, { "docid": "2712f31f7564239f64d4b6c1e627c174", "score": "0.57670283", "text": "@Override\n public void onAddLikeSuccess(String message)\n {\n currentPost.addLike();\n postHolder.lblPostLikes.setText(\"Likes: \" + currentPost.getLikes());\n }", "title": "" }, { "docid": "9d0a5d33447056119290ef5c407b134d", "score": "0.57332975", "text": "@Test(expected = ValidationException.class)\n public void testMissingCommentThrowsException() {\n final User mockedUser = Mockito.mock(User.class);\n\n new CommentLike(mockedUser, null);\n }", "title": "" }, { "docid": "24c1b4451011ddca19a089ca0fe11cd0", "score": "0.5706901", "text": "public void like(final TwitterClient client) {\n //likeCount++;\n if (hasRetweet)\n retweet.likeCount++;\n\n likeCount++;\n\n isFavorited = true;\n client.likeTweet(tweetId, new JsonHttpResponseHandler() {\n @Override\n public void onSuccess(int statusCode, Headers headers, JSON json) {\n Log.i(TAG, \"like tweet\");\n }\n\n @Override\n public void onFailure(int statusCode, Headers headers, String response, Throwable throwable) {\n Log.e(TAG, \"onLikeFailure: \" + response, throwable);\n }\n });\n\n if (hasRetweet) {\n client.likeTweet(retweet.tweetId, new JsonHttpResponseHandler() {\n @Override\n public void onSuccess(int statusCode, Headers headers, JSON json) {\n Log.i(TAG, \"like retweet\");\n }\n\n @Override\n public void onFailure(int statusCode, Headers headers, String response, Throwable throwable) {\n Log.e(TAG, \"onLikeFailure retweet: \" + response, throwable);\n }\n });\n }\n }", "title": "" }, { "docid": "5bd1ff431858453c0a3aa45a52e5950f", "score": "0.5671987", "text": "public void addLike(Person person) {\r\n peopleLiked.add(person);\r\n numLikes++;\r\n }", "title": "" }, { "docid": "ae23f0b19c8862a1f0769b50f9d5bf0b", "score": "0.56244385", "text": "public interface LikeCallback {\n\n\t/**\n\t * The given object has been successfully liked. this method will be called\n\t * on the main thread.\n\t * \n\t * @param object\n\t * the object which has been liked\n\t * @param newLikeCount\n\t * the new like count\n\t * @param newDislikesCount\n\t * the new dislikes count\n\t */\n\tvoid liked(CalObject object, int newLikeCount, int newDislikesCount);\n}", "title": "" }, { "docid": "619e84b158f21f642883bf8cbfa26406", "score": "0.5588435", "text": "@Test\n public void testStep15SetCurrentCommentsLikesCount() {\n System.out.println(\"testStep15SetCurrentCommentsLikesCount\");\n yearStat.setCurrentCommentsLikesCount(CURRENT_COMMENTS_LIKES_COUNT); \n }", "title": "" }, { "docid": "643222c7a0b763786caee926c851fac6", "score": "0.55859584", "text": "public boolean addLike(LikesBean L);", "title": "" }, { "docid": "6788cda5c6f3a38fa10ea2c056bfa8cc", "score": "0.5577099", "text": "@OnClick(R.id.image_place_details_like)\n void like(){\n int likes = mNewPlace.getLikes() + 1;\n pushLike(likes, Constants.PLACES, mKey);\n text_place_details_likes.setText(String.valueOf(likes));\n }", "title": "" }, { "docid": "5643d9af55eda0eedf42f28acf7f5b42", "score": "0.55763036", "text": "@Test(expected = ValidationException.class)\n public void testMissingUserThrowsException() {\n final Comment mockedComment = Mockito.mock(Comment.class);\n\n new CommentLike(null, mockedComment);\n }", "title": "" }, { "docid": "0be5f45c7a0326e1bf159f7e5bdbc464", "score": "0.55644524", "text": "@Test\r\n public void testGetComments() {\r\n String comment = \" \";\r\n\r\n Meal meal1 = new Meal();\r\n\r\n when(controller.getComments(meal1)).thenReturn(comment);\r\n assertEquals(controller.getComments(meal1), comment);\r\n }", "title": "" }, { "docid": "c56227bb43a113d0d836d2fde07f15fb", "score": "0.55313206", "text": "public void unlike() {\n if(likes>=1) {\n likes--;\n }\n }", "title": "" }, { "docid": "aa9d24a0af75b493d62f5d48a7439fff", "score": "0.55069774", "text": "@Test\n public void testStep14SetPreviousCommentsLikesCount() {\n System.out.println(\"testStep14SetPreviousCommentsLikesCount\");\n yearStat.setPreviousCommentsLikesCount(PREVIOUS_COMMENTS_LIKES_COUNT); \n }", "title": "" }, { "docid": "41b778d7133ab873c6d5744668cef58b", "score": "0.5496859", "text": "private static Long getLikes(Long id_comment, WebElement commentElement) {\n\t\t\n\t\tWebElement likeElement = null;\n\t\t\n\t\tif (commentElement.findElements(By.xpath(\".//span[@class='dsq-user-like']\")).size() > 0){\n\t\t\tlikeElement = commentElement.findElement(By.xpath(\".//span[@class='dsq-user-like']\"));\n\t\t}else return new Long(0);\n\t\t\n\t\tboolean group_sep = (likeElement.findElements(By.tagName(\"a\")).size()) == 2;\n\t\tboolean sep = (likeElement.findElements(By.tagName(\"a\")).size()) == 1;\n\t\tboolean group = (likeElement.findElements(By.tagName(\"a\")).size()) == 0;\n\t\t\t\t\n\t\tif(group_sep){\n\t\t\tInteger count = new Integer(commentElement.findElement(By.xpath(\".//span[@id='dsq-like-pts-\" + id_comment + \"']\")).getText().trim().split(\" \")[1]);\n\t\t\treturn new Long(count + 1);\n\t\t} else if(sep) {\n\t\t\treturn new Long(1);\n\t\t} else if(group){\n\t\t\tInteger count = new Integer(commentElement.findElement(By.xpath(\".//span[@id='dsq-like-pts-\" + id_comment + \"']\")).getText().trim().split(\" \")[0]);\n\t\t\treturn new Long(count);\n\t\t} else return new Long(0);\n\t\t\t\t\n\t}", "title": "" }, { "docid": "0a1c61698556746f695d5f9ee542478d", "score": "0.54954135", "text": "public void liking() {\n int index = historyListView.getSelectionModel().getSelectedIndex();\n CommonElements.like(currHistoryIds.get(currHistory.size()-(index+1)));\n }", "title": "" }, { "docid": "394a0649a70dfecb36155f349584faa8", "score": "0.5488675", "text": "@Test\n public void testStep34GetPreviousCommentsLikesCount() {\n System.out.println(\"testStep34GetPreviousCommentsLikesCount\");\n assertEquals(PREVIOUS_COMMENTS_LIKES_COUNT, yearStat.getPreviousCommentsLikesCount());\n }", "title": "" }, { "docid": "8e70edf6cecea92f2a524079dd7c2d89", "score": "0.5473429", "text": "@Test\n @SmallTest\n public void testGetComment() {\n Comments instance = new Comments();\n String expResult = \"I like this place\";\n instance.setComment(\"I like this place\");\n String result = instance.getComment();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "5e27cca143254ab9c3143d3b181e5099", "score": "0.5467333", "text": "@Test\n public void testStep33GetCurrentCommentsLikesCount() {\n System.out.println(\"testStep33GetCurrentCommentsLikesCount\");\n assertEquals(CURRENT_COMMENTS_LIKES_COUNT, yearStat.getCurrentCommentsLikesCount());\n }", "title": "" }, { "docid": "3519b2dce2bba43b3e3a21211ee3fa23", "score": "0.54641306", "text": "public void like(FBPost post){\n getPost(post.getId()).setLikes(post.getLikes()+1);\n }", "title": "" }, { "docid": "bd6425ff6fb96746b294c979b23f4584", "score": "0.5459561", "text": "@Test\r\n public void testGetLikes() {\r\n System.out.println(\"getLikes\");\r\n Post instance = new Post();\r\n int expResult = 0;\r\n int result = instance.getLikes();\r\n assertEquals(result, expResult);\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": "be9552d5420f66e59114e2022600412a", "score": "0.5445105", "text": "public void like(User u){\n\t\tif(!(likers.contains(u))){\n\t\t\tlikers.add(u);\n\t\t\tlikes++;\n\t\t}\n\t}", "title": "" }, { "docid": "9905c82ae1989f6c6a23f6bebc4264d2", "score": "0.5442009", "text": "public sust.bookshelves.entity.Commentlike addCommentlike(sust.bookshelves.entity.Commentlike model) throws GenericBusinessException {\n sust.bookshelves.hibernatehelper.HibernateQueryHelper hibernateTemplate = new sust.bookshelves.hibernatehelper.HibernateQueryHelper();\n try {\n hibernateTemplate.save(model);\n return getCommentlike(model.getPrimaryKey());\n } finally {\n log.debug(\"finished addCommentlike(sust.bookshelves.entity.Commentlike model)\");\n }\n }", "title": "" }, { "docid": "fe418ede46ca076823c884e2a1e161da", "score": "0.5392261", "text": "@Test\n public void testGet_IndividualDiscussionCommentHelpful() {\n ServiceLogger.log(LOGTAG, \"starting testGet_IndividualDiscussionCommentHelpful\");\n String accountId = \"550\";\n String commentId = \"2\";\n Boolean helpful = true;\n\n IndividualDiscussionCommentHelpful received = given().param(\"accountId\", accountId)\n .param(\"commentId\", commentId).header(\"AJP_eppn\", knownEPPN).expect().statusCode(OK.value())\n .when().get(INDIVIDUAL_DISCUSSION_COMMENTS_HELPFUL).as(IndividualDiscussionCommentHelpful.class);\n\n assertTrue(\"testGet_IndividualDiscussionCommentHelpful: id values are not equal\",\n (received.getId().equals(\"1\")));\n assertTrue(\"testGet_IndividualDiscussionCommentHelpful: accountId values are not equal\",\n (received.getAccountId().equals(accountId)));\n assertTrue(\"testGet_IndividualDiscussionCommentHelpful: commentId values are not equal\",\n (received.getCommentId().equals(commentId)));\n assertTrue(\"testGet_IndividualDiscussionCommentHelpful: helpful values are not equal\",\n (received.getHelpful().equals(helpful)));\n }", "title": "" }, { "docid": "01dccc07b74cf3fd8c438f386d1ce0d6", "score": "0.5371706", "text": "@Override\n public int compare(Comment o1, Comment o2) {\n return o2.getLikes() - o1.getLikes();\n }", "title": "" }, { "docid": "635db940eefbe531a8966fa7c5bb3e95", "score": "0.5343618", "text": "@Test\r\n public void testSetLikes() {\r\n System.out.println(\"setLikes\");\r\n int likes = 0;\r\n Post instance = new Post();\r\n instance.setLikes(likes);\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": "ca204bdb7247c8fb35b57dce27a7dd24", "score": "0.5332467", "text": "public int getLikes() { return likes;}", "title": "" }, { "docid": "f448831ca1024f07a2b71b523f144311", "score": "0.53163165", "text": "public void like(int postid){\n FBPost aux = getPost(postid);\n aux.setLikes(aux.getLikes()+1);\n }", "title": "" }, { "docid": "383308cd0d38a11c73e81883b5914085", "score": "0.5314185", "text": "@Test\n public void testStep16SetPreviousPostsLikesCount() {\n System.out.println(\"testStep16SetPreviousPostsLikesCount\");\n yearStat.setPreviousPostsLikesCount(PREVIOUS_POSTS_LIKES_COUNT);\n }", "title": "" }, { "docid": "96a21d4d65e7a4a0757e58dddc6bc302", "score": "0.5310234", "text": "private boolean userHasLiked(List<Like> likes, int userID, int commentID) {\n for (Like like : likes) {\n if (like.getCommentID() == commentID && like.getUserID() == userID) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "125922c5ef186db0570db26862a8c832", "score": "0.5282265", "text": "public void updateUserLikeState(boolean liked) {\n if(liked) {\n // check if not liked previously\n if(!userLikes) {\n // set it and increment count\n userLikes = true;\n ++likeCount;\n }\n }\n else {\n // check if liked previously\n if(userLikes) {\n // set it and decrement count\n userLikes = false;\n --likeCount;\n }\n }\n }", "title": "" }, { "docid": "e6a1984f142cdfd343b947092b90e732", "score": "0.52401644", "text": "public void likePost(String likerUserId){\n if(this.likerIds.contains(likerUserId)){\n removeLiker(likerUserId);\n } else{\n addLiker(likerUserId);\n }\n }", "title": "" }, { "docid": "0f230f84a5d0469706b206f63fd2046e", "score": "0.52378577", "text": "private void readCommentsFromMocks(CommentAdapter adapter) {\r\n Logger.d(\">>>\");\r\n Comment mock;\r\n String cardId = Comment.DEFAULT_CARD_ID;\r\n String commentId = Comment.DEFAULT_COMMENT_ID;\r\n String profilePhoto = Comment.DEFAULT_PROFILE_PHOTO_URL;\r\n String profileName = Comment.DEFAULT_PROFILE_NAME;\r\n String profileID = Comment.DEFAULT_PROFILE_ID;\r\n String comment = Comment.DEFAULT_COMMENT;\r\n int distance = Comment.DEFAULT_DISTANCE;\r\n long date = (new Date()).getTime();\r\n\r\n for (int i = 0; i < 1; i++) {\r\n mock = new Comment(cardId, commentId, profilePhoto, profileName, profileID, comment, distance, date);\r\n //mock.printCommentData();\r\n adapter.addItemToDataSet(CommentAdapter.ADD_POSITION_AT_LAST, mock);\r\n }\r\n }", "title": "" }, { "docid": "0eacc60766cbe054f3423a66208a1421", "score": "0.52270705", "text": "@Override\r\n public void onGetLike(ActionBarView actionBar,\r\n Like like) {\n }", "title": "" }, { "docid": "8f972b21a1d219a1325ae5f953bec9d2", "score": "0.5190007", "text": "int getLikes();", "title": "" }, { "docid": "d1d98ba0ef71fd868ce401d0f36eeb73", "score": "0.5178202", "text": "@Test\n public void replayExplanationTest() {\n // TODO: test replayExplanation\n }", "title": "" }, { "docid": "ddc16273a194ed77c365ca9fae4f8d13", "score": "0.5173827", "text": "@Test\n public void shouldRememberClientAfterLending() {\n BookId bookId = addBookToRepo();\n lendingProcess.lend(bookId, new Client(\"Joe Normal\"));\n //when - I view book details\n BookDto bookDto = bookManager.showDetails(bookId);\n //then - it shows Client upon inspection\n assertThat(bookDto.getClient()).isEqualTo(new Client(\"Joe Normal\"));\n }", "title": "" }, { "docid": "2acc46f414bd715a59d174b9f145d748", "score": "0.5167315", "text": "@Test\n public void testGetCommentExisting() throws Exception {\n String uuid = plc1.getKey().get();\n CommentResource commentRes = comments.parse(revRes1, IdString.fromUrl(uuid));\n CommentInfo actual = getComment.apply(commentRes);\n assertComment(plc1, actual, true);\n }", "title": "" }, { "docid": "f7af9694643a1c4637272637361321b7", "score": "0.515624", "text": "@Override\r\n public void onPostLike(ActionBarView actionBar,\r\n Like like) {\n }", "title": "" }, { "docid": "f5cbe636d1bb69198825a7d7fde6e41f", "score": "0.51542497", "text": "public static boolean performLikeAction(final ReaderPost post,\n final boolean isAskingToLike) {\n // do nothing if post's like state is same as passed\n boolean isCurrentlyLiked = ReaderPostTable.isPostLikedByCurrentUser(post);\n if (isCurrentlyLiked == isAskingToLike) {\n AppLog.w(AppLog.T.READER, \"post like unchanged\");\n return false;\n }\n\n // update like status and like count in local db\n int newNumLikes = (isAskingToLike ? post.numLikes + 1 : post.numLikes - 1);\n ReaderPostTable.setLikesForPost(post, newNumLikes, isAskingToLike);\n ReaderLikeTable.setCurrentUserLikesPost(post, isAskingToLike);\n\n final String actionName = isAskingToLike ? \"like\" : \"unlike\";\n String path = \"sites/\" + post.blogId + \"/posts/\" + post.postId + \"/likes/\";\n if (isAskingToLike) {\n path += \"new\";\n } else {\n path += \"mine/delete\";\n }\n\n RestRequest.Listener listener = new RestRequest.Listener() {\n @Override\n public void onResponse(JSONObject jsonObject) {\n AppLog.d(AppLog.T.READER, String.format(\"post %s succeeded\", actionName));\n }\n };\n\n RestRequest.ErrorListener errorListener = new RestRequest.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError volleyError) {\n String error = VolleyUtils.errStringFromVolleyError(volleyError);\n if (TextUtils.isEmpty(error)) {\n AppLog.w(AppLog.T.READER, String.format(\"post %s failed\", actionName));\n } else {\n AppLog.w(AppLog.T.READER, String.format(\"post %s failed (%s)\", actionName, error));\n }\n AppLog.e(AppLog.T.READER, volleyError);\n ReaderPostTable.setLikesForPost(post, post.numLikes, post.isLikedByCurrentUser);\n ReaderLikeTable.setCurrentUserLikesPost(post, post.isLikedByCurrentUser);\n }\n };\n\n CMS.getRestClientUtilsV1_1().post(path, listener, errorListener);\n return true;\n }", "title": "" }, { "docid": "4bb9f95e9540a2459fdb06b3f822877a", "score": "0.51536745", "text": "@Test\n public void testSetComments() {\n\n\tString comments = \"1\";\n\tCheckinActivityMessage instance = new CheckinActivityMessage(null, null);\n\tinstance.setComments(comments);\n\tassertEquals(comments, instance.comments);\n }", "title": "" }, { "docid": "b49a4e2fd91637f2a4d40429d949cc89", "score": "0.5147957", "text": "@Test\n @Rollback(value = false)\n void addCommentToPostTest() {\n Post savedPost = postRepository.findById(43).orElse(null);\n assertThat(savedPost).isNotNull();\n assertThat(savedPost.getComment()).hasSize(0);\n\n\n //create a comment object\n Comment comment1 = new Comment(\"job\", \"Really insightfull post\");\n Comment comment2 = new Comment(\"Billy\", \"Nice One\");\n\n\n //map the post and comments\n savedPost.addComment(comment1, comment2);\n\n //save comment\n postRepository.save(savedPost);\n\n Post commentedPost = postRepository.findById(savedPost.getId()).orElse(null);\n assertThat(commentedPost).isNotNull();\n assertThat(commentedPost.getComment()).hasSize(2);\n log.info(\"commented post --> {}\", commentedPost);\n\n }", "title": "" }, { "docid": "f4e47abdb0097107abfd1f629e31daa8", "score": "0.5143318", "text": "@Override\r\n public void addLike(Person person) {\r\n super.addLike(person);\r\n numLikes.setText(Integer.toString(super.getNumLikes()));\r\n }", "title": "" }, { "docid": "b1f500c9b3322a72ba1248281ade5798", "score": "0.51418406", "text": "@FormUrlEncoded\n @Headers(HEADER_KEY)\n @POST(USER_MIDWIFE_COMMENT)\n Call<ParentResponse> userCommentMidwife(@Header(AUTHORIZATION) String token,\n @Field(RateRequest.UNIQUE_KEY) String uniqueKey,\n @Field(RateRequest.COMMENT) String comment);", "title": "" }, { "docid": "dec75be9dcab206951a59500ee6f691e", "score": "0.51405925", "text": "@Test\n @SmallTest\n public void testSetComment() {\n String comment = \"I like this place\";\n Comments instance = new Comments();\n instance.setComment(comment);\n assertEquals(instance.getComment(), comment);\n }", "title": "" }, { "docid": "4c60d71dcea1cb3c3802a9b5b9b5338b", "score": "0.51398957", "text": "public Integer getLikeCount() {\n return likeCount;\n }", "title": "" }, { "docid": "4c60d71dcea1cb3c3802a9b5b9b5338b", "score": "0.51398957", "text": "public Integer getLikeCount() {\n return likeCount;\n }", "title": "" }, { "docid": "e53f8216024107e080628a80cc7129bd", "score": "0.5124316", "text": "public void setLikeCount(Integer likeCount) {\n this.likeCount = likeCount;\n }", "title": "" }, { "docid": "e53f8216024107e080628a80cc7129bd", "score": "0.5124316", "text": "public void setLikeCount(Integer likeCount) {\n this.likeCount = likeCount;\n }", "title": "" }, { "docid": "50f313784842874c5174ce2100bc5178", "score": "0.51092666", "text": "@Test\n public void testCredits() throws Exception {\n EntityPlayer player = mock(EntityPlayer.class);\n EntityPlayer.class.getDeclaredField(\"viewingCredits\").set(player, true);\n\n CraftPlayer craftPlayer = mock(CraftPlayer.class);\n when(craftPlayer.getHandle()).thenReturn(player);\n\n assertThat(adapter.isViewingCredits(craftPlayer), is(true));\n }", "title": "" }, { "docid": "825bc064da235d84b0b11dffbda4a426", "score": "0.5100274", "text": "@Override\n public void onClick(View v)\n {\n viewModel.setAddLikeListener(new ShowPosts_VM.AddLikeListener() {\n @Override\n public void onAddLikeSuccess(String message)\n {\n //Updating model and UI\n currentPost.addLike();\n postHolder.lblPostLikes.setText(\"Likes: \" + currentPost.getLikes());\n }\n\n @Override\n public void onAddLikeFailure(String message)\n {\n Toast.makeText(context, message, Toast.LENGTH_LONG).show();\n }\n });\n\n //Store the new like into the db\n viewModel.addLikeToPost(v.getContext(), currentPost.getID(), loggedUser, currentPost.getLikes());\n }", "title": "" }, { "docid": "55d33950df2a068cbe93e4d7006a5137", "score": "0.5091653", "text": "public void likeUnlikePost() {\n\t\twait.until(ExpectedConditions.elementToBeClickable(By.xpath(\".//*[@class='activity-item-like']\")));\n\t\tps.scrollTo(BrowserUtil.driver.findElement(By.xpath(\".//*[@class='activity-item-content-container']\")));\n\t\tBrowserUtil.driver.findElement(By.xpath(\"//div[@class='activity-item-like']\")).click();\n\t}", "title": "" }, { "docid": "479368a1fca449257db5e70ce1148f90", "score": "0.5076082", "text": "public void saveCommentlike(sust.bookshelves.entity.Commentlike model) throws GenericBusinessException {\n // We have to create an object:\n sust.bookshelves.hibernatehelper.HibernateQueryHelper hibernateTemplate = new sust.bookshelves.hibernatehelper.HibernateQueryHelper();\n try {\n // Now update the data.\n hibernateTemplate.update(model);\n } finally {\n log.debug(\"finished saveCommentlike(sust.bookshelves.entity.Commentlike model)\");\n }\n }", "title": "" }, { "docid": "1c1bdef0090876148329695cea79b5c9", "score": "0.50648934", "text": "public void FollowLikeComment(String screenName, int number, boolean doLike, boolean doComment, double[] params) {\n\n String rootUserId = getUserId(screenName);\n String collectionName = rootUserId + \"_Follower\" + \"_follow\" + \"_\" + doLike + \"_\" + doComment;\n\n extractFollower(rootUserId, number, collectionName , params);\n\n DBCollection collFollower = db.getCollection(collectionName);\n DBCursor curs = collFollower.find(new BasicDBObject(\"follow\", 0));\n\n System.out.println(collFollower.count()\n + \" follower from \" + getScreenName(rootUserId) + \" userId:\" + rootUserId + \"\\n\");\n\n while (curs.hasNext()){\n\n //Show how many users left\n System.out.println(\"\\n\" + collFollower.find(new BasicDBObject(\"follow\", 0)).size() + \" user left!\");\n String userId = (String) curs.next().get(\"_id\");\n\n //Follow\n if(isNotMyFriend(userId)) {\n if(followUser(userId)) {\n DBObject doc = new BasicDBObject(\"_id\", userId).append(\"follow\", 1);\n collFollower.save(doc);\n System.out.println((\"Follow user:\" + getScreenName(userId) + \" userId:\" + userId));\n } else {\n DBObject doc = new BasicDBObject(\"_id\", userId).append(\"follow\", 0);\n collFollower.save(doc);\n }\n }\n waitSomeTime(20);\n //Like or comment\n if (doLike || doComment) {\n String postId = getRandomPostId(userId);\n\n if (doLike) {\n if(!likePost(postId)) {\n DBObject doc = new BasicDBObject(\"_id\", userId).append(\"follow\", 0);\n collFollower.save(doc);\n }\n System.out.println(\"Like\");\n }\n waitSomeTime(30);\n if (doComment) {\n if(!doComment(postId, getScreenName(userId),getRandomComment())) {\n DBObject doc = new BasicDBObject(\"_id\", userId).append(\"follow\", 0);\n collFollower.save(doc);\n }\n System.out.println(\"Comment\");\n }\n System.out.println(\"postId:\" + postId);\n }\n //Wait\n waitSomeTime(120);\n }\n showNewFollower(collectionName);\n }", "title": "" }, { "docid": "03624b112fb978163a809737d05a6131", "score": "0.5063652", "text": "@Test\n public void testStep32GetPreviousPostsLikesCount() {\n System.out.println(\"testStep32GetPreviousPostsLikesCount\");\n assertEquals(PREVIOUS_POSTS_LIKES_COUNT, yearStat.getPreviousPostsLikesCount()); \n }", "title": "" }, { "docid": "0e203475f488ec7429942f09aa8bf230", "score": "0.50600886", "text": "@Test\n public void testStep17SetCurrentPostsLikesCount() {\n System.out.println(\"testStep17SetCurrentPostsLikesCount\");\n yearStat.setCurrentPostsLikesCount(CURRENT_POSTS_LIKES_COUNT);\n }", "title": "" }, { "docid": "5f5a654fd60140033a19509707564b63", "score": "0.50563735", "text": "@POST(\"/{object-id}/likes\")\n GetGlueInteraction like(\n @EncodedPath(\"object-id\") String objectId\n );", "title": "" }, { "docid": "7b8062e2a03d020ad24ed076b37bd856", "score": "0.5051013", "text": "@Override\n public boolean addLike(String userID, String likedUserID) {\n if (userID.equals(likedUserID)) {\n return false;\n }\n // logic for if user already made decision on this other user\n Optional<String> lod = this.jdbi.withHandle(handle ->\n handle.createQuery(\"SELECT like_dislike FROM likes_dislikes WHERE from_userID = ? AND to_userID = ?\")\n .bind(0, userID)\n .bind(1, likedUserID)\n .mapTo(String.class)\n .findOne());\n if (lod.isPresent()) {\n // cant change decision\n // decision was already handled (matched if necessary)\n return false;\n }\n else {\n this.jdbi.useHandle(handle ->\n handle.execute(\"INSERT INTO likes_dislikes (from_userID, to_userID, like_dislike) VALUES (?, ?, 'LIKE')\",\n userID, likedUserID));\n Optional<String> likedlod = jdbi.withHandle(handle ->\n handle.createQuery(\"SELECT like_dislike FROM likes_dislikes WHERE from_userID = ? AND to_userID = ?\")\n .bind(0, likedUserID)\n .bind(1, userID)\n .mapTo(String.class)\n .findOne());\n return likedlod.isPresent() && likedlod.get().equals(\"LIKE\");\n }\n }", "title": "" }, { "docid": "103cb1b802243792dc9473122b865aa8", "score": "0.5049504", "text": "int countByExample(UserDislikeExample example);", "title": "" }, { "docid": "3b72663a97f00251ef6f96ede7b7116e", "score": "0.5049376", "text": "public void unLike(){\n if(likes > 0){\n likes--;\n }\n }", "title": "" }, { "docid": "5fb1de98896ab583afd9bfd6f6fc3986", "score": "0.5046871", "text": "public void setNumLikes(java.lang.Integer value) {\n this.num_likes = value;\n }", "title": "" }, { "docid": "de1d24268339c0ed0f12cc2ee866719c", "score": "0.5046272", "text": "@Test\npublic void testAddComment()\n{\n//TODO: Test goes here... \n}", "title": "" }, { "docid": "4f34649078f59a36e2d383b9a1690411", "score": "0.5020074", "text": "private void changeLikesCount(int position,int likesCount,String result) {\n Feeds feed = listItems.get(position);\n feed.setUserLiked(result);\n feed.setLikesCount(likesCount + \"\");\n //feed.setPostId(listItems.get(position).getPostId());\n //feed.setCommentsCount(listItems.get(position).getCommentsCount());\n //feed.setPostDate(listItems.get(position).getPostDate());\n //feed.setPostTime(listItems.get(position).getPostTime());\n //feed.setPostDescription(listItems.get(position).getPostDescription());\n //feed.setPostImage(listItems.get(position).getPostImage());\n //feed.setPostedUserId(listItems.get(position).getPostedUserId());\n //feed.setPostedUserImage(listItems.get(position).getPostedUserImage());\n //feed.setPostedUserName(listItems.get(position).getPostedUserName());\n //feed.setUserLiked(listItems.get(position).isUserLiked());\n listItems.set(position, feed);\n databaseHandler.updateFeedsData(likesCount+\"\",result,listItems.get(position).getPostId());\n //Constants.postpojosMap.put(listItems.get(position).getPostId(),listItems);\n //Constants.postpojosMap\n notifyItemChanged(position);\n }", "title": "" }, { "docid": "7a1bc8705569bc9799e26beeedfe279b", "score": "0.50196284", "text": "@Test\n\tpublic void testShouldAddfollower() {\t\t\n\t\tFriends frnd = mock(Friends.class);\n\t\tfrnd.setFrndId1(1);\n\t\tfrnd.setFrndId2(2);\n\t\tfrnd.setFrndStatus(\"FOLLOW\");\n\t\twhen(friendsRepository.save(any(Friends.class))).thenReturn(frnd);\n\t\tJSONObject res = friendsServiceImpl.addfollower(1, 2, \"FOLLOW\");\n\t\tSystem.out.println(\"Add Follower \"+res);\n\t\tassertNotNull(res);\n\t}", "title": "" }, { "docid": "4db5ddc62c8ade236dc004173e2a7c43", "score": "0.5019402", "text": "public void unlike(final TwitterClient client) {\n //This is done so the timeline is accurately depicted\n //I included the retweet if available to like the correct tweet\n if (hasRetweet) {\n if (retweet.likeCount > 0)\n retweet.likeCount--;\n }\n\n if (likeCount > 0)\n likeCount--;\n\n isFavorited = false;\n client.unlikeTweet(tweetId, new JsonHttpResponseHandler() {\n @Override\n public void onSuccess(int statusCode, Headers headers, JSON json) {\n Log.i(TAG, \"unlike tweet\");\n }\n\n @Override\n public void onFailure(int statusCode, Headers headers, String response, Throwable throwable) {\n Log.e(TAG, \"onUnlikeFailure: \" + response, throwable);\n }\n });\n\n if (hasRetweet) {\n client.unlikeTweet(retweet.tweetId, new JsonHttpResponseHandler() {\n @Override\n public void onSuccess(int statusCode, Headers headers, JSON json) {\n Log.i(TAG, \"unlike retweet\");\n }\n\n @Override\n public void onFailure(int statusCode, Headers headers, String response, Throwable throwable) {\n Log.e(TAG, \"onUnlikeFailure retweet: \" + response, throwable);\n }\n });\n }\n }", "title": "" }, { "docid": "39349f2d6797dd109b68e67e94620c02", "score": "0.50174826", "text": "@Test\n public void testStep05SetCurrentLikesCount() {\n System.out.println(\"testStep5SetCurrentLikesCount\");\n yearStat.setCurrentLikesCount(CURRENT_LIKES_COUNT);\n }", "title": "" }, { "docid": "bfe7dfddc132600c4bd23fe5ec8a83f6", "score": "0.5009743", "text": "@Test\n public void testPost_IndividualDiscussionCommentHelpfulWithInvalidCommentId() {\n ServiceLogger.log(LOGTAG, \"starting testPost_IndividualDiscussionCommentHelpfulWithInvalidCommentId\");\n IndividualDiscussionCommentHelpful commentHelpful = new IndividualDiscussionCommentHelpful();\n ObjectMapper mapper = new ObjectMapper();\n String postedIndividualDiscussionCommentHelpfulJSONString = null;\n String accountId = \"550\";\n String commentId = \"0\";\n Boolean helpful = true;\n\n commentHelpful.setAccountId(accountId);\n commentHelpful.setCommentId(commentId);\n commentHelpful.setHelpful(helpful);\n\n try {\n postedIndividualDiscussionCommentHelpfulJSONString = mapper.writeValueAsString(commentHelpful);\n } catch (JsonProcessingException e) {\n e.printStackTrace();\n }\n\n given().header(\"Content-type\", APPLICATION_JSON_VALUE).header(\"AJP_eppn\", knownEPPN)\n .body(postedIndividualDiscussionCommentHelpfulJSONString).expect()\n .statusCode(BAD_REQUEST.value()).when().post(\"/individual-discussion-comments-helpful\");\n\n }", "title": "" }, { "docid": "0513920057b47f71cfd423ac58fa1c0c", "score": "0.50054973", "text": "private void setLike() {\n final ImageView likeButton = getView().findViewById(R.id.likeButton);\n GetFavouritesAsyncTask getFavouritesAsyncTask = new GetFavouritesAsyncTask();\n getFavouritesAsyncTask.setDatabase(database);\n getFavouritesAsyncTask.setDelegate(this);\n getFavouritesAsyncTask.execute(id);\n\n }", "title": "" }, { "docid": "6d6a8beee5b8c71c1f8e898176cc6b66", "score": "0.50042105", "text": "private List<Like> parseLikes(ResultSet likesSet) {\n List<Like> likes = new ArrayList<>();\n try {\n while (likesSet.next()) {\n int userID = likesSet.getInt(\"user_id\");\n int commentID = likesSet.getInt(\"comment_id\");\n likes.add(new Like(commentID, userID));\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n return likes;\n }", "title": "" }, { "docid": "79c3f0e2cc3022868d25c1a3121546f7", "score": "0.4987966", "text": "@Test\n public void testPost_IndividualDiscussionCommentHelpfulWithValidAttributes() {\n ServiceLogger.log(LOGTAG, \"starting testPost_IndividualDiscussionCommentHelpfulWithValidAttributes\");\n IndividualDiscussionCommentHelpful commentHelpful = new IndividualDiscussionCommentHelpful();\n ObjectMapper mapper = new ObjectMapper();\n String postedIndividualDiscussionCommentHelpfulJSONString = null;\n String accountId = \"550\";\n String commentId = \"2\";\n Boolean helpful = true;\n\n commentHelpful.setAccountId(accountId);\n commentHelpful.setCommentId(commentId);\n commentHelpful.setHelpful(helpful);\n\n try {\n postedIndividualDiscussionCommentHelpfulJSONString = mapper.writeValueAsString(commentHelpful);\n } catch (JsonProcessingException e) {\n e.printStackTrace();\n }\n\n IndividualDiscussionCommentHelpful postedHelpful = given().header(\"Content-type\", APPLICATION_JSON_VALUE)\n .header(\"AJP_eppn\", knownEPPN).body(postedIndividualDiscussionCommentHelpfulJSONString).expect()\n .statusCode(CREATED.value()).when().post(\"/individual-discussion-comments-helpful\")\n .as(IndividualDiscussionCommentHelpful.class);\n\n assertTrue(\"testPost_IndividualDiscussionCommentHelpfulWithValidAttributes: accountId values are not equal\",\n (postedHelpful.getAccountId().equals(accountId)));\n assertTrue(\"testPost_IndividualDiscussionCommentHelpfulWithValidAttributes: commentId values are not equal\",\n (postedHelpful.getCommentId().equals(commentId)));\n assertTrue(\"testPost_IndividualDiscussionCommentHelpfulWithValidAttributes: helpful values are not equal\",\n (postedHelpful.getHelpful().equals(helpful)));\n\n }", "title": "" }, { "docid": "2012457ac0d419554039663800095877", "score": "0.4986906", "text": "@Test\n void counterAttackResponse()\n {\n CardPower cp = mock(CardPower.class);\n this.g.getPlayer(1).addCardPower(cp);\n CounterAttackResponse msg = new CounterAttackResponse(cp,this.g.getPlayer(2));\n this.controller.handle(msg);\n assertTrue(this.g.getPlayer(1).getCardPower().size()==1 && this.g.getPlayer(2).getThisTurnMarks().size()==1);\n }", "title": "" }, { "docid": "2df8a5a7fde0cb55892e36da0b3d0b88", "score": "0.49825662", "text": "public String addLikeUnlike(String commentID, Integer userID, String type);", "title": "" }, { "docid": "f5580b9f56ae4fbbdebab64af193c371", "score": "0.49776354", "text": "public Likes() {\n }", "title": "" }, { "docid": "1f0d4466956e73eca7b21eb0f6711d7d", "score": "0.49710268", "text": "@Test\n @SmallTest\n public void testGetPhotoUrl() {\n Comments instance = new Comments();\n String expResult = \"photo of author\";\n instance.setPhotoUrl(\"photo of author\");\n String result = instance.getPhotoUrl();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "94e4f8243fd943629aa25416e89e7687", "score": "0.4967844", "text": "@Test\n public void testMarkPlayedItemAsNew_itemNotPlayed() {\n original.setPlayed(true);\n original.setNew();\n\n assertFalse(original.isPlayed());\n }", "title": "" }, { "docid": "2c58d9bc1a3fb6a4b5868894fee70dd2", "score": "0.49672437", "text": "private void generateLikeId(Comment comment) {\n }", "title": "" }, { "docid": "d5b0905ebd587e45ca7ee93087573f0c", "score": "0.49578938", "text": "@Test\n public void testPost_followDiscussionWithValidObject() {\n ServiceLogger.log(LOGTAG, \"starting testPost_followDiscussionWithValidObject\");\n FollowingIndividualDiscussion followToPost = new FollowingIndividualDiscussion();\n ObjectMapper mapper = new ObjectMapper();\n String postedFollowDiscussionsJSONString = null;\n\n String accountId = \"550\";\n // use discussion 4 to avoid conflict with similar test in ProjectIT\n String individualDiscussionId = \"4\";\n String userEPPN = \"joeengineer\";\n\n followToPost.setIndividualDiscussionId(individualDiscussionId);\n followToPost.setAccountId(accountId);\n\n try {\n postedFollowDiscussionsJSONString = mapper.writeValueAsString(followToPost);\n } catch (JsonProcessingException e) {\n e.printStackTrace();\n }\n\n FollowingIndividualDiscussion postedFollow = given().header(\"Content-type\", APPLICATION_JSON_VALUE)\n .header(\"AJP_eppn\", userEPPN).body(postedFollowDiscussionsJSONString).expect()\n .statusCode(CREATED.value()).when().post(FOLLOW_DISCUSSIONS)\n .as(FollowingIndividualDiscussion.class);\n\n assertTrue(\"testPost_followDiscussionWithValidObject: individual discussion id values are not equal\",\n postedFollow.getIndividualDiscussionId().equals(individualDiscussionId));\n assertTrue(\"testPost_followDiscussionWithValidObject: account id values are not equal\",\n postedFollow.getAccountId().equals(accountId));\n\n ServiceLogger.log(LOGTAG, \"try to post following discussion twice\");\n FollowingIndividualDiscussion postedFollowTwice = given().header(\"Content-type\", APPLICATION_JSON_VALUE)\n .header(\"AJP_eppn\", userEPPN).body(postedFollowDiscussionsJSONString).expect()\n .statusCode(CREATED.value()).when().post(FOLLOW_DISCUSSIONS)\n .as(FollowingIndividualDiscussion.class);\n\n assertEquals(\"following twice should give same result without an exception\", postedFollow, postedFollowTwice);\n }", "title": "" }, { "docid": "a87e1117bcd8b82ef4428f0c469d8f24", "score": "0.4955593", "text": "@Test\n public void testMarkNewItemAsPlayed_itemNotNew() {\n original.setNew();\n original.setPlayed(true);\n\n assertFalse(original.isNew());\n }", "title": "" }, { "docid": "9468fcde5e71c4c297c0bb28f0819596", "score": "0.4949515", "text": "protected void LikeUnlike() {\n new Like().execute();\n }", "title": "" }, { "docid": "f3520ad14359ad754f7270bb2c18ea3f", "score": "0.49433774", "text": "@Test\n public void testUpdateIsFavoriteViewNotAFavorite() {\n when(mockGlobalApplicationState.getFavorites())\n .thenReturn(new ArrayList<EntityHeader>());\n favoriteWidget.updateIsFavoriteView();\n verify(mockView).setNotFavoriteVisible(true);\n verify(mockView).setFavoriteVisible(false);\n }", "title": "" }, { "docid": "ea8955c9686ea494ca2d087376898d29", "score": "0.4932155", "text": "@Test\r\n public void testSuccessUpdate() {\r\n when(repository.get(commentId)).thenReturn(comment);\r\n when(repository.update(comment)).thenReturn(true);\r\n Comment updated = service.update(comment);\r\n assertSame(comment, updated);\r\n }", "title": "" }, { "docid": "93c75027c501132eb20ffc87c7899a3e", "score": "0.49245256", "text": "public responseEnum getLike() {\n return like;\n }", "title": "" }, { "docid": "c392121eb17705ee88518dc7f40f9881", "score": "0.4923196", "text": "@Override\r\n public String getDescription() {\r\n return \"More Like This\";\r\n }", "title": "" }, { "docid": "d9446acfa1c091048b60fdd09c86b5b5", "score": "0.4915639", "text": "@Test\n public void pageOneHasMatchedAReply () {\n ArrayList<String> responses = new ArrayList<>();\n responses.add(\"hello\");\n\n Page clonePage = new Page(1, leadersClone, matchablesClone);\n clonePage.setBackgroundFilename(\"one.jpg\");\n assertTrue(origPage.equals(clonePage));\n assertTrue(origPage.hashCode() == clonePage.hashCode());\n origPage.acceptResponses(responses);\n\n assertFalse(origPage.equals(clonePage));\n assertFalse(origPage.hashCode() == clonePage.hashCode());\n }", "title": "" }, { "docid": "1c5fea076af5e645ad40961f7fd0f4be", "score": "0.49135554", "text": "@Test\n public void testGetMentionedUsersFakeMentions() {\n Set<String> mentionedUsers = Extract.getMentionedUsers(Arrays.asList(tweet5, tweet8));\n \n Set<String> theseUsers = new HashSet<String>();\n theseUsers.add(\"crammed\");\n \n assertTrue(\"expected mentions: crammed\", SetCompareIgnoreCase.equals(mentionedUsers, theseUsers));\n }", "title": "" }, { "docid": "d9937c5843211a2ec6ad24d8f5e603e3", "score": "0.49115354", "text": "@Test\n public void testUpdateIsFavoriteViewIsFavorite() {\n ArrayList<EntityHeader> favorites = new ArrayList<EntityHeader>();\n EntityHeader fav = new EntityHeader();\n fav.setId(entityId);\n favorites.add(fav);\n when(mockGlobalApplicationState.getFavorites()).thenReturn(favorites);\n favoriteWidget.updateIsFavoriteView();\n verify(mockView).setNotFavoriteVisible(false);\n verify(mockView).setFavoriteVisible(true);\n }", "title": "" }, { "docid": "11647e5e6a95a2165f11c575dda1c0be", "score": "0.49104127", "text": "public void like() {\n if (isAvailable()) {\n mEventBus.post(new PlayerAction(PlayerAction.ActionType.LIKE));\n }\n }", "title": "" }, { "docid": "865d03e6448e5f8cbba3151c08ae9240", "score": "0.49071282", "text": "@Test\n public void commentRepo_좋아요_테스트() {\n }", "title": "" }, { "docid": "9b2c8a05300f4d767b4d964d115e89d1", "score": "0.48972234", "text": "public Integer getLikeNum() {\n return likeNum;\n }", "title": "" }, { "docid": "9b2c8a05300f4d767b4d964d115e89d1", "score": "0.48972234", "text": "public Integer getLikeNum() {\n return likeNum;\n }", "title": "" }, { "docid": "0d25536c7b5a4b234df318b2f480fa3c", "score": "0.48959762", "text": "@Test\n public void testStep31GetCurrentPostsLikesCount() {\n System.out.println(\"testStep31GetCurrentPostsLikesCount\");\n assertEquals(CURRENT_POSTS_LIKES_COUNT, yearStat.getCurrentPostsLikesCount());\n }", "title": "" }, { "docid": "68ba3f5e0af7f38d0e3e58d2b6d4eac4", "score": "0.48915935", "text": "@org.junit.Test\r\n public void testIsNewTrue() {\r\n // arrange : set up the test\r\n final ShareBOApplicationComponent shareAC = mock(ShareBOApplicationComponent.class);\r\n assert shareAC != null;\r\n\r\n final Share share = new Share(shareAC);\r\n\r\n // act : run the test\r\n final boolean result = share.isNew();\r\n\r\n // assert : verify that the test run correctly\r\n assertTrue(result);\r\n }", "title": "" }, { "docid": "039941c6ab77bd62674ce80a53cf8a49", "score": "0.48912358", "text": "@Test(expectedExceptions = HuntersServiceException.class)\n public void testAddDuplicateComment() {\n Location klin = new Location(\"Klin\", \"Taka diera v lese.\");\n locationService.addComment(klin, comment);\n locationService.addComment(klin, comment);\n }", "title": "" }, { "docid": "69cd7225b215ad105bea3d118aade717", "score": "0.48912182", "text": "public void setLikeNum(Integer likeNum) {\n this.likeNum = likeNum;\n }", "title": "" }, { "docid": "69cd7225b215ad105bea3d118aade717", "score": "0.48912182", "text": "public void setLikeNum(Integer likeNum) {\n this.likeNum = likeNum;\n }", "title": "" }, { "docid": "e620f6c81bdf161388390d9dff23c49f", "score": "0.48902494", "text": "public String getLikeId() {\n return likeId;\n }", "title": "" }, { "docid": "f72f8a87dfd22e317ff9a705f50c5de1", "score": "0.48839018", "text": "@Test\n\t@DisplayName(\"PostLike 저장 -> 정상\")\n\tvoid saveTest() {\n\t\t//Given\n\t\tgiven(postLikeRepository.save(postLike)).willReturn(postLike);\n\t\t\n\t\t//When\n\t\tPostLike result = postLikeService.save(postLike);\n\t\t\n\t\t//Then\n\t\tassertEquals(postLike, result);\n\t}", "title": "" }, { "docid": "fdb1d85f8b71bc15070312299da14e27", "score": "0.48784575", "text": "@Test\n public void testStep30GetCurrentLikesCount() {\n System.out.println(\"testStep30GetCurrentLikesCount\");\n assertEquals(CURRENT_LIKES_COUNT, yearStat.getCurrentLikesCount());\n }", "title": "" } ]
12c2f41f2fa54c80cae8a84b641c46c2
Returns the status by user name of this person.
[ { "docid": "441e94a6e89b320dbc78ab320f3ff1b0", "score": "0.77878237", "text": "@Override\n public java.lang.String getStatusByUserName() {\n return _person.getStatusByUserName();\n }", "title": "" } ]
[ { "docid": "8c0e570a36f7ea939800518e209fc8df", "score": "0.735177", "text": "@Override\n\tpublic String getStatusByUserName() {\n\t\treturn model.getStatusByUserName();\n\t}", "title": "" }, { "docid": "b45093c74d500aca4646f4dfc4014476", "score": "0.70744884", "text": "@AutoEscape\n\tpublic String getStatusByUserName();", "title": "" }, { "docid": "f0731d375fdb351ac0c35d25389413e9", "score": "0.70446026", "text": "@Override\n\tpublic java.lang.String getStatusByUserName() {\n\t\treturn _pathologyData.getStatusByUserName();\n\t}", "title": "" }, { "docid": "0a5f3c6bda278e92c94021f4b05fbe1f", "score": "0.6685256", "text": "@Override\n public long getStatusByUserId() {\n return _person.getStatusByUserId();\n }", "title": "" }, { "docid": "c5c9af185c51e280b698740afe4ebb3a", "score": "0.6683064", "text": "im.turms.server.common.access.client.dto.constant.UserStatus getUserStatus();", "title": "" }, { "docid": "6ca5d098c04f7fee06ad53698a6dd595", "score": "0.6546847", "text": "public long getStatusByUserId();", "title": "" }, { "docid": "6d7458a25da22b3c0012f08801e4d956", "score": "0.6483539", "text": "public void setStatusByUserName(String statusByUserName);", "title": "" }, { "docid": "ce042297eef8f34f1525ea27a3a7257d", "score": "0.64808774", "text": "UserStatus findByTitle(String title);", "title": "" }, { "docid": "5729d2702fb864c1f93bb86d64fd0ccd", "score": "0.6458682", "text": "public String getUserstatus() {\n return userstatus;\n }", "title": "" }, { "docid": "bc10807112fbbeb41b0f87c432df6d64", "score": "0.63988805", "text": "@Override\n\tpublic String getStatusByUserName() {\n\t\treturn _importHistoric.getStatusByUserName();\n\t}", "title": "" }, { "docid": "e6b3ebfe87d1d258801264be19369c4c", "score": "0.63934344", "text": "@Override\n\tpublic String getStatusByUserName() {\n\t\treturn _budgetPhase.getStatusByUserName();\n\t}", "title": "" }, { "docid": "30cf1c73cf4b1300d046649ad4eecba9", "score": "0.6311801", "text": "public UserStatus getStatus() {\n return status;\n }", "title": "" }, { "docid": "98f37485292f7610880cd10eb3f9e52a", "score": "0.63077617", "text": "public String getUserStatus() {\n\n if(data.getFriend_status().equals( \"pending_request\" )){\n setAdded( true );\n return \"Request pending\";\n }else if(data.getFriend_status().equals( \"friends\" )){\n setAdded( true );\n return \"Already added\";\n }else if(data.getFriend_status().equals( \"confirm_request\" )){\n setAdded( true );\n return \"Confirm request\";\n }else {\n setAdded( false );\n return \"\";\n }\n\n }", "title": "" }, { "docid": "5065869645d08fa8b8c78db8f0d8fc5a", "score": "0.62686133", "text": "@Override\n\tpublic long getStatusByUserId() {\n\t\treturn model.getStatusByUserId();\n\t}", "title": "" }, { "docid": "d4962af830ec947e1e0aab06cc2c45d4", "score": "0.62667966", "text": "public Integer getUserStatus() {\n return userStatus;\n }", "title": "" }, { "docid": "8e953368c2a0502f332b5839759d4d21", "score": "0.6259038", "text": "ProfileCompletionStatusModel getProfileCompletionStatus(long userID);", "title": "" }, { "docid": "7d2ac4a107c6e4c29944bfbce8cbe49b", "score": "0.61404204", "text": "@Override\n\tpublic java.lang.String getStatusByUserUuid() {\n\t\treturn _pathologyData.getStatusByUserUuid();\n\t}", "title": "" }, { "docid": "b80c633b890bf46996dbe379ac9ff8c5", "score": "0.6126748", "text": "@Override\n\tpublic String getStatusByUserUuid() {\n\t\treturn model.getStatusByUserUuid();\n\t}", "title": "" }, { "docid": "eb8b006b3dcdf2190b264e7c297fec81", "score": "0.61018586", "text": "@java.lang.Override\n public im.turms.client.model.proto.constant.UserStatus getUserStatus() {\n im.turms.client.model.proto.constant.UserStatus result =\n im.turms.client.model.proto.constant.UserStatus.forNumber(userStatus_);\n return result == null\n ? im.turms.client.model.proto.constant.UserStatus.UNRECOGNIZED\n : result;\n }", "title": "" }, { "docid": "32b1fc37ba076b0f3d3d120926c8c354", "score": "0.60168535", "text": "public Status getStatus(String name)\n\t{\n\t\tint index=statusNames.indexOf(name);\n\t\tif(index!=-1){\n\t\t\treturn statuses.get(index);\n\t\t}else{\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "3c51a80fe0454e5e5c561ca7b5d2e3d3", "score": "0.5991963", "text": "@java.lang.Override\n public im.turms.client.model.proto.constant.UserStatus getUserStatus() {\n return instance.getUserStatus();\n }", "title": "" }, { "docid": "15713402bf47bef95982e8e40dd8d505", "score": "0.5977454", "text": "public List<String> getUserStatuses() {\n\n\t\tString encQueryUser = \"user_name=%s\";\n\t\tString encQueryUserStat = \"certification.name!=NULL &&!=empty^user.user_name=%s\";\n\t\tList<String> Users = getUniqueUser();\n\t\tList<String> reqFieldValues = null;\n\t\tString impersonateUser = (null != Users && Users.size() > 0) ? Users.get(0) : null;\n\t\tif (impersonateUser!=null) {\n\t\t\tencQueryUser = String.format(encQueryUser, impersonateUser);\n\t\t\tleUtils.updateGlideRecordValue(USER_TABLE, \"user\", impersonateUser, \"active\", \"True\");\n\n\t\t\tString[] reqFields = { \"certification\", \"status\" };\n\t\t\tencQueryUserStat = String.format(encQueryUserStat, impersonateUser);\n\t\t\treqFieldValues = leUtils.getMultipleFieldsDisplayValues_EncodedQuery(USER_CERTIFICATION_TABLE, reqFields,\n\t\t\t\t\tencQueryUserStat);\n\t\t\tLog.info(\"Fetched values:\" + reqFieldValues);\n\t\t\treqFieldValues.add(impersonateUser);\n\t\t}\n\n\t\treturn reqFieldValues;\n\n\t}", "title": "" }, { "docid": "e25369cb7c0f15633fb461096b925e27", "score": "0.5952815", "text": "String getStatusName();", "title": "" }, { "docid": "efa5a9254c706dc1297dd2491c3e6509", "score": "0.5895997", "text": "@java.lang.Override\n public int getUserStatusValue() {\n return userStatus_;\n }", "title": "" }, { "docid": "00d88bbc25c599f7b56b5bc0c01ef995", "score": "0.58814615", "text": "@Override\n\tpublic long getStatusByUserId() {\n\t\treturn _pathologyData.getStatusByUserId();\n\t}", "title": "" }, { "docid": "a435b0699a883ac9fc35667a0f1ae961", "score": "0.5878041", "text": "int getUserStatusValue();", "title": "" }, { "docid": "4c2195ae3a032cf9209399dd746b3b94", "score": "0.5865897", "text": "@Override\n public void setStatusByUserName(java.lang.String statusByUserName) {\n _person.setStatusByUserName(statusByUserName);\n }", "title": "" }, { "docid": "bc94da2571f214d76c12a806257536c2", "score": "0.58631974", "text": "public org.apache.axis.types.UnsignedByte getUserStatus() {\r\n return userStatus;\r\n }", "title": "" }, { "docid": "b3952dfd6781c741105c2a35697abe03", "score": "0.5793235", "text": "@Override\n public java.lang.String getStatusByUserUuid()\n throws com.liferay.portal.kernel.exception.SystemException {\n return _person.getStatusByUserUuid();\n }", "title": "" }, { "docid": "2e356d7aa9fe25526a57da9e631432cc", "score": "0.5703911", "text": "public Status getAugmentStatus(String user)\n {\n switch (status)\n {\n case Available:\n case Requested:\n if (this.requesters != null && (this.requesters.contains(user) || user.equals(this.owner) && this.requesters.size() > 0))\n {\n return Status.Requested;\n }\n else\n {\n return Status.Available;\n }\n case Accepted:\n return Status.Accepted;\n case bPending:\n if (user.equals(this.owner))\n {\n return Status.Borrowed;\n }\n else\n {\n return Status.Accepted;\n }\n case Borrowed:\n return Status.Borrowed;\n case rPending:\n if (user.equals(this.owner))\n {\n return Status.Borrowed;\n }\n else\n {\n return Status.Available;\n }\n default:\n /* We would not expect any other id */\n throw new InvalidParameterException(\"Unknown status passed to Book.getAugmentStatus()\");\n }\n }", "title": "" }, { "docid": "c9af11c28fd045410f3eb740a19f1e39", "score": "0.56733024", "text": "@Override\n public UserAccountStatus getStatus() {\n return _status;\n }", "title": "" }, { "docid": "7b2fda1bd5a5842e368d884313c247fd", "score": "0.56422657", "text": "public String getStatusName() {\r\n return statusName;\r\n }", "title": "" }, { "docid": "7ffccb5697f01bf8f0d43a230e3a12fe", "score": "0.5640905", "text": "ResponseMessage updateActiveStatus(String username);", "title": "" }, { "docid": "960eff0cdce87c980e210b838fbd5d0f", "score": "0.56334496", "text": "@GetMapping(value = \"/player/details/{userId}\", produces = {MediaType.APPLICATION_JSON_VALUE})\n public ResponseEntity<List<StompPrincipal>> playerStatusById(@PathVariable(\"userId\") String name) {\n if (StringUtils.isBlank(name)) {\n log.error(\"Invalid user id, user id is empty\");\n return ResponseEntity.status(400).body(Collections.emptyList());\n }\n List<StompPrincipal> playerByIdList = playerService.getReadyPlayerList().stream()\n .filter(player -> player.getName().equalsIgnoreCase(name))\n .collect(Collectors.toList());\n return ResponseEntity.ok(playerByIdList);\n }", "title": "" }, { "docid": "36b13691d18c4b6620b5335bc699c956", "score": "0.56191516", "text": "@Override\n\tpublic User getName(String name) throws ServiceException {\n\t\tQUser qUser = QUser.user;\n\t\t\n\t\tJPQLQuery query = new JPAQuery (getEntityManager());\n\t\t\n\t\tquery.from(qUser)\n\t\t\t.where(qUser.adminName.eq(name));\n\t\t\n\t\t\n\n\t\tUser user = query.uniqueResult(qUser);\n\t\treturn user;\n\t}", "title": "" }, { "docid": "f409da9e979a5f04f64b14405401d7f4", "score": "0.56098014", "text": "String getName(String username);", "title": "" }, { "docid": "bbb3983c92f40c96f1069ba4a23a73d7", "score": "0.5593196", "text": "@Override\n\tpublic String getStatusByUserUuid() {\n\t\treturn _importHistoric.getStatusByUserUuid();\n\t}", "title": "" }, { "docid": "f69cfa1f7532e169b0120e38f5097810", "score": "0.5591509", "text": "@Override\n\tpublic String getStatusByUserUuid() {\n\t\treturn _budgetPhase.getStatusByUserUuid();\n\t}", "title": "" }, { "docid": "e3fb44594b0db9fbc2cfee075c90ad32", "score": "0.5576549", "text": "public String getStatusName() {\n return statusName;\n }", "title": "" }, { "docid": "396f49b98ef946e14a56f08ac4c48751", "score": "0.5573425", "text": "@Override\n\tpublic void setStatusByUserName(java.lang.String statusByUserName) {\n\t\t_pathologyData.setStatusByUserName(statusByUserName);\n\t}", "title": "" }, { "docid": "dbe0575e9c719d5003c5f3c2372b7680", "score": "0.5571525", "text": "public String getUsername(int user_id);", "title": "" }, { "docid": "cc9722b51d0a47725e781b9fb7446559", "score": "0.5561315", "text": "@Override\n public int getStatus() {\n return _person.getStatus();\n }", "title": "" }, { "docid": "95675c91b8edaf2ba0faed7abede92b1", "score": "0.5550283", "text": "public Integer getPersonStatus() {\n return personStatus;\n }", "title": "" }, { "docid": "5c5929486b6925a5479bbe952af10f80", "score": "0.54962826", "text": "public User getAUserByName(String name) {\r\n List<User> users = getUsers();\r\n User user = null;\r\n for (int i = 0; i < users.size(); i++) {\r\n if(users.get(i).getName().equals(name)){\r\n user = users.get(i);\r\n break;\r\n } \r\n }\r\n return user;\r\n }", "title": "" }, { "docid": "36a74230d40344e943905ff8a9682e9e", "score": "0.5465932", "text": "public User getUserByUserName (String userName ) ;", "title": "" }, { "docid": "e37f5fb7c6318b73a1c54f4fd9a91fc9", "score": "0.5457191", "text": "@java.lang.Override\n public int getUserStatusValue() {\n return instance.getUserStatusValue();\n }", "title": "" }, { "docid": "744219c3dd4fca91242c4016ed3eea30", "score": "0.5440842", "text": "public Room getStatus(User user, String roomName) {\n\t\tObjects.requireNonNull(user, \"user may not be null\");\n\t\tObjects.requireNonNull(roomName, \"room name may not be null\");\n\n\t\tRoom room = rooms.get(roomName);\n\t\tsynchronized(room) {\n\t\t\t// check if the user requesting the status of the room has\n\t\t\t// actually joined the room.\n\t\t\tUserRoomData userData = room.songsPerUser.get(user.name);\n\t\t\tif(userData == null) throw new RuntimeException(\"User hasn't joined room!\");\n\t\t\tuserData.lastUpdate = System.nanoTime();\n\t\t\troom.lastUpdate = System.nanoTime();\n\t\t\t\n\t\t\t// time to switch the song, cause the current one has ended or +50% of users downvoted it \n\t\t\tif(room.switchTime < System.nanoTime() || room.negativeVotes > Math.ceil(room.users.size() / 2f)) {\n\t\t\t\t// check if there are any users that haven't been calling us\n\t\t\t\t// for a while (10 seconds == HEART_BEAT) and remove them\n\t\t\t\t// from the room if that's the case. We do this here, so a\n\t\t\t\t// user may get disconnected only after the current song is \n\t\t\t\t// done/skipped!\n\t\t\t\tList<User> usersToRemove = new ArrayList<>();\t\t\t\t\n\t\t\t\tfor(User otherUser: room.users) {\n\t\t\t\t\tUserRoomData otherUserData = room.songsPerUser.get(otherUser.name);\n\t\t\t\t\totherUserData.lastVote = 0;\n\t\t\t\t\tif(System.nanoTime() - otherUserData.lastUpdate > heartBeat) {\n\t\t\t\t\t\tusersToRemove.add(otherUser);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor(User otherUser: usersToRemove) {\n\t\t\t\t\tleave(otherUser, roomName);\n\t\t\t\t}\t\t\n\t\t\t\t\n\t\t\t\t// reset the votes for the new song\n\t\t\t\troom.positiveVotes = 0;\n\t\t\t\troom.negativeVotes = 0;\n\t\t\t\t\n\t\t\t\t// move to the next user, this assumes that there's at least one user in the room!\n\t\t\t\troom.currentUser++;\n\t\t\t\tif(room.currentUser >= room.users.size()) room.currentUser = 0;\n\t\t\t\t\n\t\t\t\t// get the current song of the current user\n\t\t\t\tUserRoomData currentUserData = room.songsPerUser.get(room.users.get(room.currentUser).name);\n\t\t\t\troom.currentSong = currentUserData.playList.size() > 0? currentUserData.playList.get(0): null;\n\t\t\t\tif(currentUserData.playList.size() > 0) currentUserData.playList.remove(0);\n\t\t\t\t\n\t\t\t\t// calculate when the song has started in UTC, as well as when to switch to the next song, in server time\n\t\t\t\t// we use a delay of 4 seconds between songs.\n\t\t\t\troom.startTime = room.currentSong == null? 0: new Date().getTime();\n\t\t\t\tif(room.currentSong != null) {\n\t\t\t\t\troom.switchTime = System.nanoTime() + room.currentSong.duration * 1000000000l + DELAY_BETWEEN_SONGS;\n\t\t\t\t} else {\n\t\t\t\t\troom.switchTime = System.nanoTime() + 1000000000;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// if this song was skipped, add a message to the chat\n\t\t\t\tif(room.negativeVotes > Math.ceil(room.users.size() / 2f)) {\n\t\t\t\t\tMessage msg = new Message();\n\t\t\t\t\tmsg.message = \"Skipped song due to vote\";\n\t\t\t\t\tmsg.utcTimeStamp = new Date().getTime();\n\t\t\t\t\tmsg.userName = null;\n\t\t\t\t\troom.messages.add(msg);\n\t\t\t\t}\t\t\t\t\t\t\t\t\t\t\n\t\t\t}\n\t\t\troom.playedTime = (new Date().getTime() - room.startTime) / 1000;\n\t\t}\n\t\treturn room;\n\t}", "title": "" }, { "docid": "e9e9418dc78e57c4ee2302b04575ff1f", "score": "0.54281586", "text": "public String getDeviceStatusValue(String name){\n\t\treturn status;\n\t}", "title": "" }, { "docid": "a6e39f8da606e377ac847bc04d7e8300", "score": "0.54228735", "text": "public Report_Status getReport_Status(String name) {\n\t\treturn delegate.getWrappedIndividual(name, Vocabulary.CLASS_REPORT_STATUS, DefaultReport_Status.class);\n }", "title": "" }, { "docid": "7488de44a8798554770e66b923eee2a5", "score": "0.54185385", "text": "StatusItem getStatus();", "title": "" }, { "docid": "f3ad93dfd997fd1d91f7ff94e3438ea2", "score": "0.5364714", "text": "public String getName() {\n return user;\n }", "title": "" }, { "docid": "f89929d002b73aac9fac6c9593e1e2f7", "score": "0.53548515", "text": "public User getUserByName(String username);", "title": "" }, { "docid": "500c231c53b5445e70e1ed9bfb0c3e23", "score": "0.5335366", "text": "void changeStatusUser(Integer status, Integer userId);", "title": "" }, { "docid": "76b58ff8a9e51b8086101c040eb48dd9", "score": "0.5329334", "text": "public String getStatus(int id);", "title": "" }, { "docid": "f70a8012a7672bdfe31e98b1464b8e1a", "score": "0.53282547", "text": "User lookupUser();", "title": "" }, { "docid": "f9c90590c499ea4053343a25f857ee49", "score": "0.53046966", "text": "String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.52930975", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.52930975", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.52930975", "text": "java.lang.String getUser();", "title": "" }, { "docid": "eda859ab9ef9f62ceb3aae8ba6324f3a", "score": "0.5288787", "text": "private User findUser(String name) {\n Vector<User> users = mediator.getUserList();\n for (User u : users) {\n \tif (name.equals(u.getName())) return u;\n }\n return null;\n }", "title": "" }, { "docid": "575a2fa1adb12b4596ef43b0842e098e", "score": "0.52877754", "text": "User get(String name);", "title": "" }, { "docid": "0eaab042841cfe6cec391b2a28908535", "score": "0.52866447", "text": "@Override\n\tpublic long getStatusByUserId() {\n\t\treturn _budgetPhase.getStatusByUserId();\n\t}", "title": "" }, { "docid": "98951a5e1466b0affc30e0a51a814e3b", "score": "0.5276929", "text": "private void setUserStatus(im.turms.client.model.proto.constant.UserStatus value) {\n userStatus_ = value.getNumber();\n\n }", "title": "" }, { "docid": "8ad67a37183dd2ef5ba88b09679a8612", "score": "0.5273", "text": "java.lang.String getStatus();", "title": "" }, { "docid": "1ab8725c6ede7accf0f17bae6021936f", "score": "0.5261418", "text": "Person getByUsername(String username);", "title": "" }, { "docid": "6bfd5ff1ee4c2e0025ef69cb31cbb6a9", "score": "0.52602726", "text": "@Override\n\tpublic long getStatusByUserId() {\n\t\treturn _importHistoric.getStatusByUserId();\n\t}", "title": "" }, { "docid": "63cc5b027d6f0bca1e56d14c597079e7", "score": "0.5259295", "text": "public User getUserByUsername(String userName);", "title": "" }, { "docid": "d3a6ab7a516580d35fa0883e4258bd8d", "score": "0.52519274", "text": "@Override\n\tpublic User lookup(String userName) {\n\t\tUUID uuid = userNames.get(userName);\n\t\tUser client = userAccount.get(uuid);\n\t\treturn client;\n\t}", "title": "" }, { "docid": "dea0f4cedd1a2e3fae7dccde59fe8231", "score": "0.5245054", "text": "@Override\n\tpublic String getUserName() {\n\t\treturn _badgeType.getUserName();\n\t}", "title": "" }, { "docid": "5bfb1076998f94af39f0074a89deb258", "score": "0.5233872", "text": "public void setStatusByUserId(long statusByUserId);", "title": "" }, { "docid": "4cfab67ed10739d5aa79192f0b1933b2", "score": "0.52173495", "text": "@Override\r\n\tpublic Task getStatus(String status, String assignee) {\r\n\t\tTask task = new Task();\r\n\t\tUserDetails userDetail = null;\r\n\t\tList<UserDetails> userDetails = new ArrayList<>();\r\n\t\tSqlRowSet sqlRowSet = jdbcTemplate.queryForRowSet(UserServiceConstants.GET_STATUS, status, assignee);\r\n\t\twhile (sqlRowSet.next()) {\r\n\t\t\tuserDetail = new UserDetails();\r\n\t\t\tuserDetail.setName(sqlRowSet.getString(\"name\"));\r\n\t\t\tuserDetail.setUser(sqlRowSet.getString(\"userid\"));\r\n\t\t\tuserDetail.setStartDate(sqlRowSet.getString(\"start_date\"));\r\n\t\t\tuserDetail.setCompletionDate(sqlRowSet.getString(\"completion_date\"));\r\n\t\t\tuserDetail.setStatus(sqlRowSet.getString(\"status\"));\r\n\t\t\tuserDetails.add(userDetail);\r\n\t\t}\r\n\t\ttask.setUserDetails(userDetails);\r\n\t\treturn task;\r\n\t}", "title": "" }, { "docid": "f8f610c6813d3458c3349ad1a69e9cbe", "score": "0.52106893", "text": "public UserData getUserByUserName(String userName);", "title": "" }, { "docid": "55a34e0382ddfc0d31253eb4410f8dd3", "score": "0.5198208", "text": "public ResultStatus checkForUserNameAvailabilityForFreashUser(String userName){\r\n\t\tResultStatus resultStatus = new ResultStatus();\r\n\t\tList<User> detailsList = null;\r\n\t\tList<User> detailsListForEmail = null;\r\n\t\ttry{\r\n\t\t\tdetailsList = userDAO.checkForUserNameAvailabiity(userName);\r\n\t\t\tdetailsListForEmail = userDAO.checkForUserNameAvailabiityForEmail(userName);\r\n\t\t\tif(detailsList.size()!=0 || detailsListForEmail.size()!=0){\r\n\t\t\t\t\r\n\t\t\t\tresultStatus.setResultCode(ResultCodeMapper.SUCCESS);\t\r\n\t\t\t}else{\r\n\t\t\t\tresultStatus.setResultCode(ResultCodeMapper.DATA_NOT_FOUND);\r\n\t\t\t}\r\n\t\t\tresultStatus.setResultPartial(false);\r\n\t\t}catch(Exception e){\r\n\t\t\tresultStatus.setExceptionEncountered(e);\r\n\t\t\tresultStatus.setResultCode(ResultCodeMapper.FAILURE);\r\n\t\t\tresultStatus.setResultPartial(true);\r\n\t\t}\r\n\t\treturn resultStatus;\r\n\t}", "title": "" }, { "docid": "7056a57c6bac40e9cfb59d8f571459a0", "score": "0.51893646", "text": "java.lang.String getUserName();", "title": "" }, { "docid": "7056a57c6bac40e9cfb59d8f571459a0", "score": "0.51893646", "text": "java.lang.String getUserName();", "title": "" }, { "docid": "7056a57c6bac40e9cfb59d8f571459a0", "score": "0.51893646", "text": "java.lang.String getUserName();", "title": "" }, { "docid": "e6abd56d0c630b44b38fb0397a3d40c1", "score": "0.5186657", "text": "public String getUserName() {\r\n\t\treturn sharedPref.getString(username, \"Player 1\");\r\n\t}", "title": "" }, { "docid": "3c0198c7992b3c78322592a7a01c9fcf", "score": "0.51853365", "text": "public void updateUserStatus(String value, int id) throws RemoteException;", "title": "" }, { "docid": "003aadb672dcf164ca9f396eab247a02", "score": "0.51697177", "text": "@RequestMapping(value = \"/findUser/{name}\", method = RequestMethod.GET)\n public User findByname(@PathVariable(\"name\") String name)\n {\n User user = userService.findByName(name);\n if (user == null )\n {\n throw new ConflictException(CustomResponseCode.CONFLICT_EXCEPTION, \"user does not exist\");\n }\n return user;\n }", "title": "" }, { "docid": "7e1ac5a649a50b368df16e6dec1fede4", "score": "0.51595056", "text": "public User getUser(ActionContext context, int userId) {\n ConnectionElement ce = (ConnectionElement) context.getSession().getAttribute(\n \"ConnectionElement\");\n SystemStatus systemStatus = (SystemStatus) ((Hashtable) context.getServletContext().getAttribute(\n \"SystemStatus\")).get(ce.getUrl());\n return systemStatus.getUser(userId);\n }", "title": "" }, { "docid": "520572d0ec3dc7fe84e9625ed919298f", "score": "0.5151037", "text": "public boolean getSupervisorStatus(String username){\n return utilizadoresRegistadosMap.get(username) instanceof Supervisor;\n }", "title": "" }, { "docid": "f63e55bd8eb71d0bb282f8ef587279e1", "score": "0.5149877", "text": "public UserAccount getUser(String userName);", "title": "" }, { "docid": "94c7a3a4b737604e55f2d8aae46fdd71", "score": "0.514903", "text": "String getStatus();", "title": "" }, { "docid": "94c7a3a4b737604e55f2d8aae46fdd71", "score": "0.514903", "text": "String getStatus();", "title": "" }, { "docid": "94c7a3a4b737604e55f2d8aae46fdd71", "score": "0.514903", "text": "String getStatus();", "title": "" }, { "docid": "94c7a3a4b737604e55f2d8aae46fdd71", "score": "0.514903", "text": "String getStatus();", "title": "" }, { "docid": "94c7a3a4b737604e55f2d8aae46fdd71", "score": "0.514903", "text": "String getStatus();", "title": "" }, { "docid": "c0b76c46f17d6b8cc2fd225b5d15fbc9", "score": "0.5146194", "text": "@Override\n\tpublic void setStatusByUserName(String statusByUserName) {\n\t\tmodel.setStatusByUserName(statusByUserName);\n\t}", "title": "" }, { "docid": "6cfc487637f638dc9aaa8fab16959fd0", "score": "0.5144183", "text": "@Override\r\n\tpublic User findByUserName(String name) {\n\t\treturn userDao.findByUserName(name);\r\n\t}", "title": "" }, { "docid": "e928000c661a517da5778e680c56e33c", "score": "0.5140507", "text": "public User get (String username);", "title": "" }, { "docid": "2b4c2fc2de9aa074e4cd76c5556f5e90", "score": "0.51400256", "text": "public Statuses getStatus() {return this.status;}", "title": "" }, { "docid": "0b02a3ded6114da2d6d05b10f3e278a9", "score": "0.5138409", "text": "public User getUser(String username);", "title": "" }, { "docid": "ced186025c5ba8f51e802f2c42e1f422", "score": "0.51304996", "text": "int selectByName(String username, String user_name);", "title": "" }, { "docid": "6b2b3474d94d9343ede6b6a761f8ddc7", "score": "0.5127198", "text": "String getCustomerStatus();", "title": "" }, { "docid": "e9029694083c34abed616716567bb5e3", "score": "0.5127145", "text": "public User getUserByUsername(String username);", "title": "" }, { "docid": "cf24181853c9817db113cc75f56eb903", "score": "0.5125426", "text": "public String getUser_name() {\r\n return user_name;\r\n }", "title": "" }, { "docid": "2ec74fcdb6ae14cbb0ba5a5b6696800e", "score": "0.511819", "text": "public Status getStatus();", "title": "" }, { "docid": "bae7fb03d92e42504d7deca0505c5673", "score": "0.5116886", "text": "@POST\n\t@Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })\n\t@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })\n\t@Path(\"/{userName}\")\n\tpublic Response update(@PathParam(\"userName\") String userName,\n\t\t\tStatus status) {\n\t\tLog.enter(userName, status);\n\t\tUser resp = new User();\n\t\tstatus.setUserName(userName);\n\n\t\tStatusPO statusPO = null;\n\t\ttry {\n\t\t\tIUserDAO dao = DAOFactory.getInstance().getUserDAO();\n\t\t\tIStatusDAO statusDao = DAOFactory.getInstance().getStatusDAO();\n\t\t\tUserPO existingUser = dao.findByName(userName);\n\n\t\t\t// Validation to check that user name should be unique\n\t\t\t// in the system. If a new users tries to register with\n\t\t\t// an existing userName, notify that to the user.\n\t\t\tif (existingUser != null) {\n\t\t\t\tstatusPO = ConverterUtils.convert(status);\n\t\t\t\tLog.trace(\"User name provided already exists. Validating if it is same password ...\");\n\t\t\t\texistingUser.setLastStatusCode(status.getStatusCode());\n\t\t\t\tif (status.getCreateAt() == 0) {\n\t\t\t\t existingUser.setModifiedTimeStamp(new Date().getTime() / 1000);\n\t\t\t\t} else {\n\t\t\t\t existingUser.setModifiedTimeStamp(status.getCreateAt());\n\t\t\t\t}\t\t\t\t\n\t\t\t\tdao.updateStatus(existingUser);\n\t\t\t\tstatusDao.save(statusPO);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tLog.trace(\"No such user!!\");\n\t\t\t}\n\n\t\t\tresp = ConverterUtils.convert(existingUser);\n\t\t} catch (Exception e) {\n\t\t\thandleException(e);\n\t\t} finally {\n\t\t\tLog.exit();\n\t\t}\n\n\t\treturn created(resp);\n\t}", "title": "" }, { "docid": "d859fdaac217b17b48c4d3093c48f537", "score": "0.511219", "text": "public User findOne(String name){\n\t\treturn userRepository.findByName(name);\n\t}", "title": "" }, { "docid": "3913d153b27a8fcb68178920dd418ff9", "score": "0.50981504", "text": "UserMessageProto.StatusMessage getStatusMessage();", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c5e21e7181b58b582151b777b3e3cd60", "score": "0.0", "text": "@Override\n\tpublic void onRebind(Intent intent) {\n\t\tLog.i(TAG,\"onRebind\");\n\t\tsuper.onRebind(intent);\n\t}", "title": "" } ]
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "93de84d0e77a5e19e12e7d0655c39af3", "score": "0.67339545", "text": "@Override\n\tpublic void agit() {\n\t\t\n\t}", "title": "" }, { "docid": "f8d94fd3a365ff0f8b293a42b581cc33", "score": "0.6584661", "text": "@Override\r\n public void caminar() {\r\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "b256767990570c27f4f2479e85bd7f03", "score": "0.64964134", "text": "@Override\r\n\tpublic void otkazi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2104f557428f6e269f61b8f05a73cc43", "score": "0.6485333", "text": "@Override\n\tpublic void repare() {\n\t\t\n\t}", "title": "" }, { "docid": "2dcda7054abb2ac593302e39a2284f12", "score": "0.64569044", "text": "@Override\n\tprotected void getExras() {\n\n\t}", "title": "" }, { "docid": "0a93ae79a871bc2bb8787223c8b043a4", "score": "0.6412003", "text": "@Override\n\tpublic void interogare() {\n\t\t\n\t}", "title": "" }, { "docid": "16c30d73c1df796c0e31e93eb0f6e02e", "score": "0.6404783", "text": "@Override\r\n\tpublic void atacar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2e18c1d20c67735ba2db1c70042e02d7", "score": "0.6337855", "text": "@Override\r\n\tpublic void embalar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "83c17378086426b4324c4ea8c160e29d", "score": "0.626611", "text": "@Override\r\n\tpublic void provjeri() {\n\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": "289f89533edfafac14fcf50ce6d1dcfb", "score": "0.62031794", "text": "@Override\n\t\t\t\t\tpublic void accionSi() {\n\n\t\t\t\t\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.6193997", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "038aba0c2804848e5fbdbafd6a794e97", "score": "0.6188789", "text": "@Override\r\n\tpublic void genererFacture() {\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": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9da42c54ca8fb8825afce96ad2d2781c", "score": "0.61519784", "text": "@Override\r\n\tpublic void comenzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "29cde3f10dab87cebafdd9412ef4b29f", "score": "0.60600275", "text": "@Override\r\n\tpublic void embala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7aa6963c647c1b2028e2058b152485e1", "score": "0.60484", "text": "@Override\n\tpublic void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "7aa6963c647c1b2028e2058b152485e1", "score": "0.60484", "text": "@Override\n\tpublic void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.60443264", "text": "protected void method_3848() {}", "title": "" }, { "docid": "63d27d2836275ed0fc981c7cfae8e737", "score": "0.6031051", "text": "@Override\n\tprotected void init(){\n\t}", "title": "" }, { "docid": "d49d17272b1c32563649e99191745398", "score": "0.6026582", "text": "@Override\n\tpublic void inchide() {\n\t\t\n\t}", "title": "" }, { "docid": "b7d3c2b49702a5ed673b243bf8d2b7c0", "score": "0.6023586", "text": "@Override\n\tprotected void funcionario() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "85245b1c9026959162e61e0473f9cf29", "score": "0.5962836", "text": "@Override\n\t\t\t\t\tpublic void accionNo() {\n\n\t\t\t\t\t}", "title": "" }, { "docid": "f0512ddbeb7af0b9d9405114f8362f5d", "score": "0.59361994", "text": "private void recupererPliPrecedent() {\n\t}", "title": "" }, { "docid": "66f76462eb0121053379289c39650179", "score": "0.5929797", "text": "public void mo19333b() {\n }", "title": "" }, { "docid": "2d61391fe8770661f25917f3770f2a26", "score": "0.592505", "text": "@Override\n\t\tpublic void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "da5f753a7cd33da8d5581d14337c059f", "score": "0.5909544", "text": "@Override\n\tpublic void tauchen() {\n\t\t\n\t}", "title": "" }, { "docid": "21e83e0c6fdd60581bc05b6e8f682d1e", "score": "0.59009665", "text": "public void mo7875c() {\n }", "title": "" }, { "docid": "cad86041007c052466e6525bc7dcd8c8", "score": "0.5898701", "text": "@Override\r\n\tpublic void trasation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cfd10238a4f026fdd414282790c4920f", "score": "0.58981574", "text": "@Override\r\n\t\tprotected void initData() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "5477922fce309be487fa552d27c3bf32", "score": "0.5887271", "text": "public void mo7873a() {\n }", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "69b1247a4afd513b9853da385d6f2d24", "score": "0.5865623", "text": "@Override\n\tpublic void resta() {\n\t\t\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.5854053", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "c5648e3463d069bbd00252aa57baecf9", "score": "0.58529", "text": "@Override\r\n\r\n\t\t\tpublic void init() {\n\r\n\t\t\t\t\r\n\r\n\t\t\t\t\r\n\r\n\t\t\t}", "title": "" }, { "docid": "9a2bf99ecbc04ed75ccb3e865d3d8a64", "score": "0.5851984", "text": "@Override\n public void vypisSudy() {\n }", "title": "" }, { "docid": "9a2bf99ecbc04ed75ccb3e865d3d8a64", "score": "0.5851984", "text": "@Override\n public void vypisSudy() {\n }", "title": "" }, { "docid": "2a6c59f221c7c146ab9267197b8cf257", "score": "0.58494717", "text": "@Override\n\tpublic void prnt() {\n\t\t\n\t}", "title": "" }, { "docid": "451aac44b51bc834350309c1b94be619", "score": "0.5846654", "text": "@Override\r\n\tprotected void speichereSonderwuensche() {\n\t\t\r\n\t}", "title": "" }, { "docid": "39c15addb7f9cae9284ae4af01c5a911", "score": "0.5836237", "text": "@Override\r\n\tpublic void cortar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fab6f4103beb4667b90da1eb3672a4fa", "score": "0.5820677", "text": "@Override\n\tprotected void update() {\n\n\t}", "title": "" }, { "docid": "97c456611a497fb152db478124462615", "score": "0.5805655", "text": "public void mo7874b() {\n }", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.58032876", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.58032876", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.58032876", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "63519e7beede7b06dcebbca99514f5c5", "score": "0.5800136", "text": "@Override\n\tprotected void salirsePorXIzq() {\n\t\t\n\t}", "title": "" }, { "docid": "c60781d66bd146683572dce40076140d", "score": "0.5792193", "text": "private LIDAR() \n\t\t{\n\n\t\t}", "title": "" }, { "docid": "3138943fc1f99b10746b6218fb0522fe", "score": "0.5788738", "text": "@Override\n public int order() {\n return 1;\n }", "title": "" }, { "docid": "f93772ae3050679cb5cad45b34d90052", "score": "0.5785588", "text": "public void mo36368c() {\n }", "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": "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": "4049f356224496e4636627d70f5c0e9a", "score": "0.5765812", "text": "@Override\n\tpublic void generateData() \n\t{\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "8843ebe8d692b94536f16d5f07fdff4f", "score": "0.57587487", "text": "@Override\n public void update() {\n // TODO Auto-generated method stub\n }", "title": "" }, { "docid": "3013650e7b02771c88bbeb22d93b2660", "score": "0.57571363", "text": "@Override\r\n public String toString(){\n return null;\r\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\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": "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": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b6c53604ad2f38e9cacf958a442de4cf", "score": "0.57416445", "text": "@Override\n\tprotected void initAfterData() {\n\n\t}", "title": "" }, { "docid": "5485c75c53fb64a169034dd96e00cb59", "score": "0.57348526", "text": "@Override\n public void init() { \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": "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": "c8c5ebd68bae88ac49f0df82efdf5eac", "score": "0.5719438", "text": "@Override\n\tprotected void body()\n\t{\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "5a8ab197ccef743fd48bf5cf5814c8e3", "score": "0.5714109", "text": "public void atacar(){\n\t\t\r\n\t}", "title": "" }, { "docid": "10ec55a5c701bead54e2106675e8d0e2", "score": "0.5702788", "text": "@Override\n\tpublic void somma() {\n\t\t\n\t}", "title": "" }, { "docid": "ad9858643cb51c92112f1a2ed05ea34e", "score": "0.5702442", "text": "public void mo7876d() {\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "cc445ddeaecb385fbe47df8b7c49ffc4", "score": "0.56983995", "text": "@Override\r\n\tpublic void effectuerRemboursement() {\n\t\t\r\n\t}", "title": "" }, { "docid": "57dab2b5051a2a184d855564327c4b1a", "score": "0.5698314", "text": "@Override\n\tpublic void init() \n\t{\n\n\t}", "title": "" }, { "docid": "01841f81ab35e62f2bd0f7128634a0ab", "score": "0.56905705", "text": "@Override\n\tpublic void laufen() {\n\t\t\n\t}", "title": "" }, { "docid": "20b42a0c3fee6c140a112d40354f4298", "score": "0.5688991", "text": "@Override\r\n\tpublic void prepara() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4dff52b2278f26ec5d11e194ed9cf5a6", "score": "0.5688383", "text": "@Override\n public String toString() {\n return null;\n }", "title": "" }, { "docid": "e77a68a99f5bd2a047671668b77c1854", "score": "0.567911", "text": "@Override\n public void generate() {\n }", "title": "" }, { "docid": "2a0ef0804fb04e99e4054007df8500da", "score": "0.56778574", "text": "public void mo11098e() {\n }", "title": "" } ]